Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions
read_write.h File Reference

Go to the source code of this file.

Typedefs

typedef ssize_t(* io_fn_t )(struct file *, char __user *, size_t, loff_t *)
 
typedef ssize_t(* iov_fn_t )(struct kiocb *, const struct iovec *, unsigned long, loff_t)
 

Functions

ssize_t do_sync_readv_writev (struct file *filp, const struct iovec *iov, unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn)
 
ssize_t do_loop_readv_writev (struct file *filp, struct iovec *iov, unsigned long nr_segs, loff_t *ppos, io_fn_t fn)
 
ssize_t do_sendfile (int out_fd, int in_fd, loff_t *ppos, size_t count, loff_t max)
 

Typedef Documentation

typedef ssize_t(* io_fn_t)(struct file *, char __user *, size_t, loff_t *)

Definition at line 7 of file read_write.h.

typedef ssize_t(* iov_fn_t)(struct kiocb *, const struct iovec *, unsigned long, loff_t)

Definition at line 8 of file read_write.h.

Function Documentation

ssize_t do_loop_readv_writev ( struct file filp,
struct iovec iov,
unsigned long  nr_segs,
loff_t *  ppos,
io_fn_t  fn 
)

Definition at line 585 of file read_write.c.

ssize_t do_sendfile ( int  out_fd,
int  in_fd,
loff_t *  ppos,
size_t  count,
loff_t  max 
)

Definition at line 865 of file read_write.c.

ssize_t do_sync_readv_writev ( struct file filp,
const struct iovec iov,
unsigned long  nr_segs,
size_t  len,
loff_t *  ppos,
iov_fn_t  fn 
)

Definition at line 560 of file read_write.c.