Lines Matching refs:cmd
125 static __attribute_const__ bool is_masked_device_ioctl(const unsigned int cmd) in is_masked_device_ioctl() argument
127 switch (cmd) { in is_masked_device_ioctl()
220 is_masked_device_ioctl_compat(const unsigned int cmd) in is_masked_device_ioctl_compat() argument
222 switch (cmd) { in is_masked_device_ioctl_compat()
248 return is_masked_device_ioctl(cmd); in is_masked_device_ioctl_compat()
1722 const unsigned int cmd, const bool is_compat) in hook_file_ioctl_common() argument
1738 if (unlikely(is_compat) ? is_masked_device_ioctl_compat(cmd) : in hook_file_ioctl_common()
1739 is_masked_device_ioctl(cmd)) in hook_file_ioctl_common()
1748 .cmd = cmd, in hook_file_ioctl_common()
1760 static int hook_file_ioctl(struct file *file, unsigned int cmd, in hook_file_ioctl() argument
1763 return hook_file_ioctl_common(file, cmd, false); in hook_file_ioctl()
1766 static int hook_file_ioctl_compat(struct file *file, unsigned int cmd, in hook_file_ioctl_compat() argument
1769 return hook_file_ioctl_common(file, cmd, true); in hook_file_ioctl_compat()