ContainerTracer  0.1
Macros | Functions | Variables
disk_io.c File Reference
#include <trace_replay.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/mount.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sgio.h>
Include dependency graph for disk_io.c:

Macros

#define ENOIOCTLCMD   ENOTTY
 

Functions

int timeval_subtract (struct timeval *result, struct timeval *x, struct timeval *y)
 
int disk_open (const char *dev, int flag)
 
void flush_buffer_cache (int fd)
 
void disk_close (int fd)
 

Variables

int verbose
 

Macro Definition Documentation

◆ ENOIOCTLCMD

#define ENOIOCTLCMD   ENOTTY

Function Documentation

◆ disk_close()

void disk_close ( int  fd)
Here is the call graph for this function:

◆ disk_open()

int disk_open ( const char *  dev,
int  flag 
)

◆ flush_buffer_cache()

void flush_buffer_cache ( int  fd)
Here is the call graph for this function:

◆ timeval_subtract()

int timeval_subtract ( struct timeval *  result,
struct timeval *  x,
struct timeval *  y 
)

Variable Documentation

◆ verbose

int verbose