Lines Matching refs:device_status
1571 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1575 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in zcrypt_unlocked_ioctl()
1578 if (!device_status) in zcrypt_unlocked_ioctl()
1580 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1581 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1584 kvfree(device_status); in zcrypt_unlocked_ioctl()
1630 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1634 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1635 if (!device_status) in zcrypt_unlocked_ioctl()
1637 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1638 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1641 kfree(device_status); in zcrypt_unlocked_ioctl()