Lines Matching refs:device_status
1612 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1616 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1617 if (!device_status) in zcrypt_unlocked_ioctl()
1619 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1620 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1623 kfree(device_status); in zcrypt_unlocked_ioctl()
1669 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1673 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1674 if (!device_status) in zcrypt_unlocked_ioctl()
1676 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1677 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1680 kfree(device_status); in zcrypt_unlocked_ioctl()