store_io.cc File Reference
#include "squid.h"
#include "MemObject.h"
#include "SquidConfig.h"
#include "Store.h"
#include "store/Disk.h"
#include "store/Disks.h"
Include dependency graph for store_io.cc:

Go to the source code of this file.

Functions

StoreIOState::Pointer storeCreate (StoreEntry *e, StoreIOState::STFNCB *file_callback, StoreIOState::STIOCB *close_callback, void *callback_data)
 
StoreIOState::Pointer storeOpen (StoreEntry *e, StoreIOState::STFNCB *file_callback, StoreIOState::STIOCB *callback, void *callback_data)
 
void storeClose (StoreIOState::Pointer sio, int how)
 
void storeRead (StoreIOState::Pointer sio, char *buf, size_t size, off_t offset, StoreIOState::STRCB *callback, void *callback_data)
 
void storeIOWrite (StoreIOState::Pointer sio, char const *buf, size_t size, off_t offset, FREE *free_func)
 

Variables

StoreIoStats store_io_stats
 

Function Documentation

void storeClose ( StoreIOState::Pointer  sio,
int  how 
)
void storeIOWrite ( StoreIOState::Pointer  sio,
char const *  buf,
size_t  size,
off_t  offset,
FREE free_func 
)

Definition at line 88 of file store_io.cc.

References StoreIOState::write().

Referenced by storeSwapOutStart().

StoreIOState::Pointer storeOpen ( StoreEntry e,
StoreIOState::STFNCB file_callback,
StoreIOState::STIOCB callback,
void *  callback_data 
)

Definition at line 61 of file store_io.cc.

References StoreEntry::disk(), and Store::Disk::openStoreIO().

Referenced by storeSwapInStart().

void storeRead ( StoreIOState::Pointer  sio,
char *  buf,
size_t  size,
off_t  offset,
StoreIOState::STRCB callback,
void *  callback_data 
)

Definition at line 82 of file store_io.cc.

References StoreIOState::read_().

Referenced by store_client::fileRead(), and Rock::HeaderUpdater::readMore().

Variable Documentation

StoreIoStats store_io_stats

Definition at line 16 of file store_io.cc.

Referenced by Mgr::StoreIoAction::collect().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors