Lines Matching refs:device_status
1623 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1627 device_status = kvcalloc(MAX_ZDEV_ENTRIES_EXT, in zcrypt_unlocked_ioctl()
1630 if (!device_status) in zcrypt_unlocked_ioctl()
1632 zcrypt_device_status_mask_ext(device_status, in zcrypt_unlocked_ioctl()
1635 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1638 kvfree(device_status); in zcrypt_unlocked_ioctl()
1684 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1688 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1689 if (!device_status) in zcrypt_unlocked_ioctl()
1691 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1692 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1695 kfree(device_status); in zcrypt_unlocked_ioctl()