Lines Matching refs:device_status
1607 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1611 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1612 if (!device_status) in zcrypt_unlocked_ioctl()
1614 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1615 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1618 kfree(device_status); in zcrypt_unlocked_ioctl()
1664 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1668 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1669 if (!device_status) in zcrypt_unlocked_ioctl()
1671 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1672 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1675 kfree(device_status); in zcrypt_unlocked_ioctl()