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::STIOCB *close_callback, void *callback_data)
 
StoreIOState::Pointer storeOpen (StoreEntry *e, 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

◆ storeClose()

void storeClose ( StoreIOState::Pointer  sio,
int  how 
)

◆ storeCreate()

◆ storeIOWrite()

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

Definition at line 85 of file store_io.cc.

References size, and StoreIOState::write().

Referenced by storeSwapOutStart().

◆ storeOpen()

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

Definition at line 58 of file store_io.cc.

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

Referenced by storeSwapInStart().

◆ storeRead()

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

Definition at line 79 of file store_io.cc.

References StoreIOState::read_(), and size.

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

Variable Documentation

◆ store_io_stats

StoreIoStats store_io_stats

Definition at line 16 of file store_io.cc.

Referenced by Mgr::StoreIoAction::collect(), and storeCreate().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors