Lines Matching refs:cmd
3112 [_IOC_NR(ioctl)] = {.cmd = ioctl, .func = _func, .flags = _flags, \
3233 static long kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) in kfd_ioctl() argument
3238 unsigned int nr = _IOC_NR(cmd); in kfd_ioctl()
3253 amdkfd_size = _IOC_SIZE(ioctl->cmd); in kfd_ioctl()
3254 usize = asize = _IOC_SIZE(cmd); in kfd_ioctl()
3258 cmd = ioctl->cmd; in kfd_ioctl()
3262 dev_dbg(kfd_device, "ioctl cmd 0x%x (#0x%x), arg 0x%lx\n", cmd, nr, arg); in kfd_ioctl()
3305 if (cmd & (IOC_IN | IOC_OUT)) { in kfd_ioctl()
3319 if (cmd & IOC_IN) { in kfd_ioctl()
3324 } else if (cmd & IOC_OUT) { in kfd_ioctl()
3330 if (cmd & IOC_OUT) in kfd_ioctl()
3337 task_pid_nr(current), cmd, nr); in kfd_ioctl()