Lines Matching refs:device_status
1573 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
1577 device_status = kvmalloc_array(MAX_ZDEV_ENTRIES_EXT, in zcrypt_unlocked_ioctl()
1580 if (!device_status) in zcrypt_unlocked_ioctl()
1582 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
1583 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1586 kvfree(device_status); in zcrypt_unlocked_ioctl()
1632 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
1636 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
1637 if (!device_status) in zcrypt_unlocked_ioctl()
1639 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
1640 if (copy_to_user((char __user *)arg, device_status, in zcrypt_unlocked_ioctl()
1643 kfree(device_status); in zcrypt_unlocked_ioctl()