Coda Distributed File System
Classes | Functions | Variables
worker.h File Reference
#include <sys/types.h>
#include <vice.h>
#include <olist.h>
#include "fso.h"
#include "vproc.h"
Include dependency graph for worker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  msgent
 
class  msg_iterator
 
class  worker
 
class  worker_iterator
 

Functions

int WorkerCloseMuxfd (void)
 
void ReadUpcallMsg (int fd, size_t size)
 
msgentFindMsg (olist &, u_long)
 
int k_Purge ()
 
int k_Purge (VenusFid *, int=0)
 
int k_Purge (uid_t)
 
int k_Replace (VenusFid *, VenusFid *)
 
void VFSMount ()
 
void VFSUnmount ()
 
void WorkerInit ()
 
workerFindWorker (u_long)
 
workerGetIdleWorker ()
 
void DispatchWorker (msgent *)
 
void WorkerMux (int fd, void *udata)
 
time_t GetWorkerIdleTime (void)
 
void PrintWorkers ()
 
void PrintWorkers (FILE *)
 
void PrintWorkers (int)
 
int GetKernelModuleVersion ()
 

Variables

const int DFLT_MAXWORKERS = 20
 
const int UNSET_MAXWORKERS = -1
 
const int DFLT_MAXPREFETCHERS = 1
 
int MaxWorkers
 
int MaxPrefetchers
 

Function Documentation

◆ DispatchWorker()

void DispatchWorker ( msgent m)

◆ FindMsg()

msgent * FindMsg ( olist ol,
u_long  seq 
)

◆ FindWorker()

worker * FindWorker ( u_long  seq)

◆ GetIdleWorker()

worker * GetIdleWorker ( )

◆ GetKernelModuleVersion()

int GetKernelModuleVersion ( )

◆ GetWorkerIdleTime()

time_t GetWorkerIdleTime ( void  )

◆ k_Purge() [1/3]

int k_Purge ( )

◆ k_Purge() [2/3]

int k_Purge ( uid_t  uid)

◆ k_Purge() [3/3]

int k_Purge ( VenusFid fid,
int  severely = 0 
)

◆ k_Replace()

int k_Replace ( VenusFid fid_1,
VenusFid fid_2 
)

◆ PrintWorkers() [1/3]

void PrintWorkers ( )

◆ PrintWorkers() [2/3]

void PrintWorkers ( FILE *  fp)

◆ PrintWorkers() [3/3]

void PrintWorkers ( int  fd)

◆ ReadUpcallMsg()

void ReadUpcallMsg ( int  fd,
size_t  size 
)

◆ VFSMount()

void VFSMount ( )

◆ VFSUnmount()

void VFSUnmount ( )

◆ WorkerCloseMuxfd()

int WorkerCloseMuxfd ( void  )

◆ WorkerInit()

void WorkerInit ( )

◆ WorkerMux()

void WorkerMux ( int  fd,
void *  udata 
)

Variable Documentation

◆ DFLT_MAXPREFETCHERS

const int DFLT_MAXPREFETCHERS = 1

◆ DFLT_MAXWORKERS

const int DFLT_MAXWORKERS = 20

◆ MaxPrefetchers

int MaxPrefetchers
extern

◆ MaxWorkers

int MaxWorkers
extern

◆ UNSET_MAXWORKERS

const int UNSET_MAXWORKERS = -1