Lines Matching refs:cmd
23 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext4_ioctl() argument
30 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); in ext4_ioctl()
32 switch (cmd) { in ext4_ioctl()
409 int flags = cmd == FIDTRIM ? BLKDEV_DISCARD_SECURE : 0; in ext4_ioctl()
449 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext4_compat_ioctl() argument
452 switch (cmd) { in ext4_compat_ioctl()
454 cmd = EXT4_IOC_GETFLAGS; in ext4_compat_ioctl()
457 cmd = EXT4_IOC_SETFLAGS; in ext4_compat_ioctl()
460 cmd = EXT4_IOC_GETVERSION; in ext4_compat_ioctl()
463 cmd = EXT4_IOC_SETVERSION; in ext4_compat_ioctl()
466 cmd = EXT4_IOC_GROUP_EXTEND; in ext4_compat_ioctl()
469 cmd = EXT4_IOC_GETVERSION_OLD; in ext4_compat_ioctl()
472 cmd = EXT4_IOC_SETVERSION_OLD; in ext4_compat_ioctl()
475 cmd = EXT4_IOC_GETRSVSZ; in ext4_compat_ioctl()
478 cmd = EXT4_IOC_SETRSVSZ; in ext4_compat_ioctl()
510 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext4_compat_ioctl()