compat.c File Reference

#include "compat.h"
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>

Include dependency graph for compat.c:

Go to the source code of this file.

Functions

int sync_range_submit (int fd, off_t offset, size_t nbytes)
int sync_range_wait (int fd, off_t offset, size_t nbytes)
int clock_gettime (int clk_id, struct timespec *tp)
int fdatasync (int fd)

Variables

const int have_sync_range = 0


Function Documentation

int sync_range_submit ( int  fd,
off_t  offset,
size_t  nbytes 
)

Definition at line 19 of file compat.c.

Referenced by journal_pre_commit(), and jtrans_commit().

Here is the caller graph for this function:

int sync_range_wait ( int  fd,
off_t  offset,
size_t  nbytes 
)

Definition at line 24 of file compat.c.

Referenced by jtrans_commit().

Here is the call graph for this function:

Here is the caller graph for this function:

int clock_gettime ( int  clk_id,
struct timespec *  tp 
)

Definition at line 71 of file compat.c.

Referenced by autosync_thread().

Here is the caller graph for this function:

int fdatasync ( int  fd  ) 

Definition at line 91 of file compat.c.

Referenced by corrupt_journal_file(), jsync(), jtrans_commit(), and sync_range_wait().

Here is the caller graph for this function:


Variable Documentation

const int have_sync_range = 0

Definition at line 17 of file compat.c.

Referenced by jtrans_commit().


Generated on Sat Sep 12 13:33:31 2009 for libjio (internal) by  doxygen 1.5.8