Lines Matching refs:cmd
548 unsigned int cmd) in zcrypt_check_ioctl() argument
551 int ioctlnr = (cmd & _IOC_NRMASK) >> _IOC_NRSHIFT; in zcrypt_check_ioctl()
1552 static long zcrypt_unlocked_ioctl(struct file *filp, unsigned int cmd, in zcrypt_unlocked_ioctl() argument
1559 rc = zcrypt_check_ioctl(perms, cmd); in zcrypt_unlocked_ioctl()
1563 switch (cmd) { in zcrypt_unlocked_ioctl()
1675 ZCRYPT_DBF_DBG("unknown ioctl 0x%08x\n", cmd); in zcrypt_unlocked_ioctl()
1694 unsigned int cmd, unsigned long arg) in trans_modexpo32() argument
1744 unsigned int cmd, unsigned long arg) in trans_modexpo_crt32() argument
1805 unsigned int cmd, unsigned long arg) in trans_xcrb32() argument
1858 static long zcrypt_compat_ioctl(struct file *filp, unsigned int cmd, in zcrypt_compat_ioctl() argument
1865 rc = zcrypt_check_ioctl(perms, cmd); in zcrypt_compat_ioctl()
1869 if (cmd == ICARSAMODEXPO) in zcrypt_compat_ioctl()
1870 return trans_modexpo32(perms, filp, cmd, arg); in zcrypt_compat_ioctl()
1871 if (cmd == ICARSACRT) in zcrypt_compat_ioctl()
1872 return trans_modexpo_crt32(perms, filp, cmd, arg); in zcrypt_compat_ioctl()
1873 if (cmd == ZSECSENDCPRB) in zcrypt_compat_ioctl()
1874 return trans_xcrb32(perms, filp, cmd, arg); in zcrypt_compat_ioctl()
1875 return zcrypt_unlocked_ioctl(filp, cmd, arg); in zcrypt_compat_ioctl()