fs_io.h File Reference
#include "mem/forward.h"
#include "typedefs.h"
Include dependency graph for fs_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dread_ctrl
 
class  dwrite_q
 

Functions

int file_open (const char *path, int mode)
 
void file_close (int fd)
 
void file_write (int, off_t, void const *, int len, DWCB *, void *, FREE *)
 
void file_write_mbuf (int fd, off_t, MemBuf mb, DWCB *handler, void *handler_data)
 
void file_read (int, char *, int, off_t, DRCB *, void *)
 
void safeunlink (const char *path, int quiet)
 
int xrename (const char *from, const char *to)
 
int fsBlockSize (const char *path, int *blksize)
 
int fsStats (const char *, int *, int *, int *, int *)
 

Function Documentation

void file_write_mbuf ( int  fd,
off_t  ,
MemBuf  mb,
DWCB handler,
void *  handler_data 
)

Definition at line 395 of file fs_io.cc.

References MemBuf::buf, file_write(), MemBuf::freeFunc(), and MemBuf::size.

int fsBlockSize ( const char *  path,
int blksize 
)

Definition at line 530 of file fs_io.cc.

References DBG_IMPORTANT, debugs, statvfs::f_frsize, int, xstatvfs(), and xstrerr().

Referenced by Fs::Ufs::UFSSwapDir::init().

int fsStats ( const char *  ,
int ,
int ,
int ,
int  
)
void safeunlink ( const char *  path,
int  quiet 
)
int xrename ( const char *  from,
const char *  to 
)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors