Lines Matching refs:device_status
1601 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1605 device_status = kvcalloc(MAX_ZDEV_ENTRIES_EXT, in zcrypt_unlocked_ioctl()
1608 if (!device_status) in zcrypt_unlocked_ioctl()
1610 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1611 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1614 kvfree(device_status); in zcrypt_unlocked_ioctl()
1660 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1664 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1665 if (!device_status) in zcrypt_unlocked_ioctl()
1667 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1668 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1671 kfree(device_status); in zcrypt_unlocked_ioctl()