Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sync.c File Reference
#include <linux/kernel.h>
#include <linux/file.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/namei.h>
#include <linux/sched.h>
#include <linux/writeback.h>
#include <linux/syscalls.h>
#include <linux/linkage.h>
#include <linux/pagemap.h>
#include <linux/quotaops.h>
#include <linux/backing-dev.h>
#include "internal.h"

Go to the source code of this file.




int sync_filesystem (struct super_block *sb)
 EXPORT_SYMBOL_GPL (sync_filesystem)
void emergency_sync (void)
 SYSCALL_DEFINE1 (syncfs, int, fd)
int vfs_fsync_range (struct file *file, loff_t start, loff_t end, int datasync)
 EXPORT_SYMBOL (vfs_fsync_range)
int vfs_fsync (struct file *file, int datasync)
 EXPORT_SYMBOL (vfs_fsync)
 SYSCALL_DEFINE1 (fsync, unsigned int, fd)
 SYSCALL_DEFINE1 (fdatasync, unsigned int, fd)
int generic_write_sync (struct file *file, loff_t pos, loff_t count)
 EXPORT_SYMBOL (generic_write_sync)
SYSCALL_DEFINE() sync_file_range (int fd, loff_t offset, loff_t nbytes, unsigned int flags)
SYSCALL_DEFINE() sync_file_range2 (int fd, unsigned int flags, loff_t offset, loff_t nbytes)

Macro Definition Documentation


Definition at line 20 of file sync.c.

Function Documentation

void emergency_sync ( void  )

Definition at line 135 of file sync.c.

EXPORT_SYMBOL ( vfs_fsync_range  )
EXPORT_SYMBOL ( vfs_fsync  )
EXPORT_SYMBOL ( generic_write_sync  )
EXPORT_SYMBOL_GPL ( sync_filesystem  )
int generic_write_sync ( struct file file,
loff_t  pos,
loff_t  count 

Definition at line 230 of file sync.c.

SYSCALL_DEFINE() sync_file_range ( int  fd,
loff_t  offset,
loff_t  nbytes,
unsigned int  flags 

Definition at line 286 of file sync.c.

SYSCALL_DEFINE() sync_file_range2 ( int  fd,
unsigned int  flags,
loff_t  offset,
loff_t  nbytes 

Definition at line 380 of file sync.c.

int sync_filesystem ( struct super_block sb)

Definition at line 47 of file sync.c.


Definition at line 102 of file sync.c.

SYSCALL_DEFINE1 ( syncfs  ,
int  ,

Definition at line 149 of file sync.c.

SYSCALL_DEFINE1 ( fsync  ,
unsigned  int,

Definition at line 212 of file sync.c.

SYSCALL_DEFINE1 ( fdatasync  ,
unsigned  int,

Definition at line 217 of file sync.c.

int vfs_fsync ( struct file file,
int  datasync 

Definition at line 194 of file sync.c.

int vfs_fsync_range ( struct file file,
loff_t  start,
loff_t  end,
int  datasync 

Definition at line 178 of file sync.c.