Lines Matching refs:device_status
1599 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1603 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1604 if (!device_status) in zcrypt_unlocked_ioctl()
1606 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1607 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1610 kfree(device_status); in zcrypt_unlocked_ioctl()
1656 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1660 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1661 if (!device_status) in zcrypt_unlocked_ioctl()
1663 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1664 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1667 kfree(device_status); in zcrypt_unlocked_ioctl()