Lines Matching defs:int
37 static int setfl(int fd, struct file * filp, unsigned int arg)
40 int error = 0;
90 int force)
108 int force)
115 int f_setown(struct file *filp, int who, int force)
119 int ret = 0;
167 static int f_setown_ex(struct file *filp, unsigned long arg)
172 int type;
173 int ret;
207 static int f_getown_ex(struct file *filp, unsigned long arg)
211 int ret = 0;
247 static int f_getowner_uids(struct file *filp, unsigned long arg)
252 int err;
265 static int f_getowner_uids(struct file *filp, unsigned long arg)
286 static long fcntl_rw_hint(struct file *file, unsigned int cmd,
314 static long do_fcntl(int fd, unsigned int cmd, unsigned long arg,
318 int argi = (int)arg;
426 static int check_fcntl_cmd(unsigned cmd)
439 SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
463 SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd,
522 static int get_compat_flock(struct flock *kfl, const struct compat_flock __user *ufl)
532 static int get_compat_flock64(struct flock *kfl, const struct compat_flock64 __user *ufl)
542 static int put_compat_flock(const struct flock *kfl, struct compat_flock __user *ufl)
553 static int put_compat_flock64(const struct flock *kfl, struct compat_flock64 __user *ufl)
568 static unsigned int
569 convert_fcntl_cmd(unsigned int cmd)
592 static int fixup_compat_flock(struct flock *flock)
601 static long do_compat_fcntl64(unsigned int fd, unsigned int cmd,
666 COMPAT_SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd,
672 COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd,
699 static inline int sigio_perm(struct task_struct *p,
700 struct fown_struct *fown, int sig)
703 int ret;
717 int fd, int reason, enum pid_type type)
723 int signum = READ_ONCE(fown->signum);
771 void send_sigio(struct fown_struct *fown, int fd, int band)
809 int send_sigurg(struct fown_struct *fown)
815 int ret = 0;
862 int fasync_remove_entry(struct file *filp, struct fasync_struct **fapp)
865 int result = 0;
910 struct fasync_struct *fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new)
944 static int fasync_add_entry(int fd, struct file *filp, struct fasync_struct **fapp)
973 int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp)
985 static void kill_fasync_rcu(struct fasync_struct *fa, int sig, int band)
1010 void kill_fasync(struct fasync_struct **fp, int sig, int band)
1023 static int __init fcntl_init(void)