Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 71) sorted by relevance

123

/fs/ocfs2/
Dlocks.c25 int cmd, struct file_lock *fl) in ocfs2_do_flock()
83 static int ocfs2_do_funlock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_do_funlock()
99 int ocfs2_flock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_flock()
119 int ocfs2_lock(struct file *file, int cmd, struct file_lock *fl) in ocfs2_lock()
/fs/
Dcompat_ioctl.c82 static int do_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in do_ioctl()
146 static int sg_ioctl_trans(struct file *file, unsigned int cmd, in sg_ioctl_trans()
251 unsigned int cmd, struct compat_sg_req_info __user *o) in sg_grt_trans()
283 unsigned int cmd, struct sock_fprog32 __user *u_fprog32) in ppp_sock_fprog_ioctl_trans()
321 static int ppp_gidle(struct file *file, unsigned int cmd, in ppp_gidle()
342 static int ppp_scompress(struct file *file, unsigned int cmd, in ppp_scompress()
383 unsigned int cmd, void __user *argp) in mt_ioctl_trans()
445 unsigned cmd, void __user *argp) in rtc_ioctl()
511 #define COMPATIBLE_IOCTL(cmd) XFORM((u32)cmd), argument
519 #define IGNORE_IOCTL(cmd) COMPATIBLE_IOCTL(cmd) argument
[all …]
Dfcntl.c276 static long fcntl_rw_hint(struct file *file, unsigned int cmd, in fcntl_rw_hint()
322 static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, in do_fcntl()
435 static int check_fcntl_cmd(unsigned cmd) in check_fcntl_cmd()
448 SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument
472 SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd, in SYSCALL_DEFINE3() argument
578 convert_fcntl_cmd(unsigned int cmd) in convert_fcntl_cmd()
610 static long do_compat_fcntl64(unsigned int fd, unsigned int cmd, in do_compat_fcntl64()
675 COMPAT_SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd, in COMPAT_SYSCALL_DEFINE3() argument
681 COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, in COMPAT_SYSCALL_DEFINE3() argument
Dioctl.c40 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl()
494 static int file_ioctl(struct file *filp, unsigned int cmd, in file_ioctl()
635 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl()
705 int ksys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in ksys_ioctl()
719 SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument
748 long compat_ptr_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in compat_ptr_ioctl()
Dfsopen.c216 static int vfs_fsconfig_locked(struct fs_context *fc, int cmd, in vfs_fsconfig_locked()
316 unsigned int, cmd, in SYSCALL_DEFINE5() argument
Dlocks.c463 static inline int flock_translate_cmd(int cmd) { in flock_translate_cmd()
479 flock_make_lock(struct file *filp, unsigned int cmd, struct file_lock *fl) in flock_make_lock()
2188 SYSCALL_DEFINE2(flock, unsigned int, fd, unsigned int, cmd) in SYSCALL_DEFINE2() argument
2320 int fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) in fcntl_getlk()
2394 int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) in vfs_lock_file()
2403 static int do_lock_file_wait(struct file *filp, unsigned int cmd, in do_lock_file_wait()
2444 int fcntl_setlk(unsigned int fd, struct file *filp, unsigned int cmd, in fcntl_setlk()
2532 int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) in fcntl_getlk64()
2575 int fcntl_setlk64(unsigned int fd, struct file *filp, unsigned int cmd, in fcntl_setlk64()
/fs/nilfs2/
Dioctl.c203 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode()
258 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint()
337 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_cpstat()
404 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_sustat()
513 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_bdescs()
860 unsigned int cmd, void __user *argp) in nilfs_ioctl_clean_segments()
999 unsigned int cmd, void __user *argp) in nilfs_ioctl_sync()
1165 unsigned int cmd, void __user *argp, in nilfs_ioctl_get_info()
1216 unsigned int cmd, void __user *argp) in nilfs_ioctl_set_suinfo()
1280 long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in nilfs_ioctl()
[all …]
/fs/ext2/
Dioctl.c21 long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext2_ioctl()
159 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext2_compat_ioctl()
/fs/reiserfs/
Dioctl.c23 long reiserfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in reiserfs_ioctl()
130 long reiserfs_compat_ioctl(struct file *file, unsigned int cmd, in reiserfs_compat_ioctl()
/fs/quota/
Dquota.c23 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, in check_quotactl_permission()
684 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, in do_quotactl()
755 static int quotactl_cmd_write(int cmd) in quotactl_cmd_write()
778 static bool quotactl_cmd_onoff(int cmd) in quotactl_cmd_onoff()
788 static struct super_block *quotactl_block(const char __user *special, int cmd) in quotactl_block()
823 int kernel_quotactl(unsigned int cmd, const char __user *special, in kernel_quotactl()
876 SYSCALL_DEFINE4(quotactl, unsigned int, cmd, const char __user *, special, in SYSCALL_DEFINE4() argument
/fs/overlayfs/
Dfile.c389 static long ovl_real_ioctl(struct file *file, unsigned int cmd, in ovl_real_ioctl()
409 static long ovl_ioctl_set_flags(struct file *file, unsigned int cmd, in ovl_ioctl_set_flags()
464 static long ovl_ioctl_set_fsflags(struct file *file, unsigned int cmd, in ovl_ioctl_set_fsflags()
492 static long ovl_ioctl_set_fsxflags(struct file *file, unsigned int cmd, in ovl_ioctl_set_fsxflags()
505 static long ovl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ovl_ioctl()
530 static long ovl_compat_ioctl(struct file *file, unsigned int cmd, in ovl_compat_ioctl()
/fs/jfs/
Dioctl.c60 long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_ioctl()
161 long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jfs_compat_ioctl()
/fs/ubifs/
Dioctl.c136 long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ubifs_ioctl()
209 long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ubifs_compat_ioctl()
/fs/9p/
Dvfs_file.c116 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
135 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock()
306 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
341 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl()
/fs/autofs/
Ddev-ioctl.c54 static int check_dev_ioctl_version(int cmd, struct autofs_dev_ioctl *param) in check_dev_ioctl_version()
109 static int validate_dev_ioctl(int cmd, struct autofs_dev_ioctl *param) in validate_dev_ioctl()
562 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) argument
564 static ioctl_fn lookup_dev_ioctl(unsigned int cmd) in lookup_dev_ioctl()
594 unsigned int cmd_first, cmd; in _autofs_dev_ioctl() local
Droot.c871 unsigned int cmd, unsigned long arg) in autofs_root_ioctl_unlocked()
922 unsigned int cmd, unsigned long arg) in autofs_root_ioctl()
931 unsigned int cmd, unsigned long arg) in autofs_root_compat_ioctl()
/fs/ceph/
Dlocks.c64 int cmd, u8 wait, struct file_lock *fl) in ceph_lock_message()
217 int ceph_lock(struct file *file, int cmd, struct file_lock *fl) in ceph_lock()
277 int ceph_flock(struct file *file, int cmd, struct file_lock *fl) in ceph_flock()
/fs/nfs/
Dfile.c657 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
686 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
722 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
766 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
805 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()
/fs/xfs/
Dxfs_ioctl32.c26 #define _NATIVE_IOC(cmd, type) \ argument
213 unsigned int cmd, in xfs_compat_ioc_fsbulkstat()
544 unsigned cmd, in xfs_file_compat_ioctl()
Dxfs_ioctl.c53 unsigned int cmd, in xfs_find_handle()
591 unsigned int cmd, in xfs_ioc_space()
746 unsigned int cmd, in xfs_ioc_fsbulkstat()
920 unsigned int cmd, in xfs_ioc_bulkstat()
970 unsigned int cmd, in xfs_ioc_inumbers()
1774 unsigned int cmd, in xfs_ioc_getbmap()
2105 unsigned int cmd, in xfs_file_ioctl()
/fs/jffs2/
Dioctl.c16 long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in jffs2_ioctl()
/fs/coda/
Dpioctl.c48 static long coda_pioctl(struct file *filp, unsigned int cmd, in coda_pioctl()
/fs/gfs2/
Dfile.c342 static long gfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gfs2_ioctl()
359 static long gfs2_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in gfs2_compat_ioctl()
1194 static int gfs2_lock(struct file *file, int cmd, struct file_lock *fl) in gfs2_lock()
1223 static int do_flock(struct file *file, int cmd, struct file_lock *fl) in do_flock()
1302 static int gfs2_flock(struct file *file, int cmd, struct file_lock *fl) in gfs2_flock()
/fs/orangefs/
Dfile.c377 static long orangefs_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in orangefs_ioctl()
602 static int orangefs_lock(struct file *filp, int cmd, struct file_lock *fl) in orangefs_lock()
/fs/ecryptfs/
Dfile.c347 ecryptfs_unlocked_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ecryptfs_unlocked_ioctl()
372 ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ecryptfs_compat_ioctl()

123