Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fcntl.c File Reference
#include <linux/syscalls.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/fdtable.h>
#include <linux/capability.h>
#include <linux/dnotify.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pipe_fs_i.h>
#include <linux/security.h>
#include <linux/ptrace.h>
#include <linux/signal.h>
#include <linux/rcupdate.h>
#include <linux/pid_namespace.h>
#include <linux/user_namespace.h>
#include <asm/poll.h>
#include <asm/siginfo.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define SETFL_MASK   (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)
 

Functions

int __f_setown (struct file *filp, struct pid *pid, enum pid_type type, int force)
 
 EXPORT_SYMBOL (__f_setown)
 
int f_setown (struct file *filp, unsigned long arg, int force)
 
 EXPORT_SYMBOL (f_setown)
 
void f_delown (struct file *filp)
 
pid_t f_getown (struct file *filp)
 
 SYSCALL_DEFINE3 (fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
 
void send_sigio (struct fown_struct *fown, int fd, int band)
 
int send_sigurg (struct fown_struct *fown)
 
int fasync_remove_entry (struct file *filp, struct fasync_struct **fapp)
 
struct fasync_structfasync_alloc (void)
 
void fasync_free (struct fasync_struct *new)
 
struct fasync_structfasync_insert_entry (int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new)
 
int fasync_helper (int fd, struct file *filp, int on, struct fasync_struct **fapp)
 
 EXPORT_SYMBOL (fasync_helper)
 
void kill_fasync (struct fasync_struct **fp, int sig, int band)
 
 EXPORT_SYMBOL (kill_fasync)
 

Macro Definition Documentation

#define SETFL_MASK   (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME)

Definition at line 29 of file fcntl.c.

Function Documentation

int __f_setown ( struct file filp,
struct pid pid,
enum pid_type  type,
int  force 
)

Definition at line 101 of file fcntl.c.

EXPORT_SYMBOL ( __f_setown  )
EXPORT_SYMBOL ( f_setown  )
EXPORT_SYMBOL ( fasync_helper  )
EXPORT_SYMBOL ( kill_fasync  )
void f_delown ( struct file filp)

Definition at line 134 of file fcntl.c.

pid_t f_getown ( struct file filp)

Definition at line 139 of file fcntl.c.

int f_setown ( struct file filp,
unsigned long  arg,
int  force 
)

Definition at line 115 of file fcntl.c.

struct fasync_struct* fasync_alloc ( void  )
read

Definition at line 591 of file fcntl.c.

void fasync_free ( struct fasync_struct new)

Definition at line 601 of file fcntl.c.

int fasync_helper ( int  fd,
struct file filp,
int  on,
struct fasync_struct **  fapp 
)

Definition at line 676 of file fcntl.c.

struct fasync_struct* fasync_insert_entry ( int  fd,
struct file filp,
struct fasync_struct **  fapp,
struct fasync_struct new 
)
read

Definition at line 613 of file fcntl.c.

int fasync_remove_entry ( struct file filp,
struct fasync_struct **  fapp 
)

Definition at line 565 of file fcntl.c.

void kill_fasync ( struct fasync_struct **  fp,
int  sig,
int  band 
)

Definition at line 713 of file fcntl.c.

void send_sigio ( struct fown_struct fown,
int  fd,
int  band 
)

Definition at line 480 of file fcntl.c.

int send_sigurg ( struct fown_struct fown)

Definition at line 515 of file fcntl.c.

SYSCALL_DEFINE3 ( fcntl  ,
unsigned  int,
fd  ,
unsigned  int,
cmd  ,
unsigned  long,
arg   
)

Definition at line 349 of file fcntl.c.