Lines Matching refs:device_status
1611 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1615 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1616 if (!device_status) in zcrypt_unlocked_ioctl()
1618 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1619 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1622 kfree(device_status); in zcrypt_unlocked_ioctl()
1668 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1672 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1673 if (!device_status) in zcrypt_unlocked_ioctl()
1675 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1676 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
1679 kfree(device_status); in zcrypt_unlocked_ioctl()