Lines Matching refs:cmd
35 static long vfs_ioctl(struct file *filp, unsigned int cmd, in vfs_ioctl() argument
43 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl()
449 static int file_ioctl(struct file *filp, unsigned int cmd, in file_ioctl() argument
455 switch (cmd) { in file_ioctl()
465 return vfs_ioctl(filp, cmd, arg); in file_ioctl()
546 int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, in do_vfs_ioctl() argument
553 switch (cmd) { in do_vfs_ioctl()
596 error = file_ioctl(filp, cmd, arg); in do_vfs_ioctl()
598 error = vfs_ioctl(filp, cmd, arg); in do_vfs_ioctl()
604 SYSCALL_DEFINE3(ioctl, unsigned int, fd, unsigned int, cmd, unsigned long, arg) in SYSCALL_DEFINE3() argument
614 error = security_file_ioctl(filp, cmd, arg); in SYSCALL_DEFINE3()
618 error = do_vfs_ioctl(filp, fd, cmd, arg); in SYSCALL_DEFINE3()