Lines Matching refs:cmd
435 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext4_ioctl() argument
442 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); in ext4_ioctl()
444 switch (cmd) { in ext4_ioctl()
746 int flags = cmd == FIDTRIM ? BLKDEV_DISCARD_SECURE : 0; in ext4_ioctl()
882 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext4_compat_ioctl() argument
885 switch (cmd) { in ext4_compat_ioctl()
887 cmd = EXT4_IOC_GETFLAGS; in ext4_compat_ioctl()
890 cmd = EXT4_IOC_SETFLAGS; in ext4_compat_ioctl()
893 cmd = EXT4_IOC_GETVERSION; in ext4_compat_ioctl()
896 cmd = EXT4_IOC_SETVERSION; in ext4_compat_ioctl()
899 cmd = EXT4_IOC_GROUP_EXTEND; in ext4_compat_ioctl()
902 cmd = EXT4_IOC_GETVERSION_OLD; in ext4_compat_ioctl()
905 cmd = EXT4_IOC_SETVERSION_OLD; in ext4_compat_ioctl()
908 cmd = EXT4_IOC_GETRSVSZ; in ext4_compat_ioctl()
911 cmd = EXT4_IOC_SETRSVSZ; in ext4_compat_ioctl()
946 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext4_compat_ioctl()