Lines Matching refs:device_status
875 struct zcrypt_device_status_ext *device_status; in zcrypt_unlocked_ioctl() local
879 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
880 if (!device_status) in zcrypt_unlocked_ioctl()
882 zcrypt_device_status_mask_ext(device_status); in zcrypt_unlocked_ioctl()
883 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
886 kfree(device_status); in zcrypt_unlocked_ioctl()
931 struct zcrypt_device_status *device_status; in zcrypt_unlocked_ioctl() local
935 device_status = kzalloc(total_size, GFP_KERNEL); in zcrypt_unlocked_ioctl()
936 if (!device_status) in zcrypt_unlocked_ioctl()
938 zcrypt_device_status_mask(device_status); in zcrypt_unlocked_ioctl()
939 if (copy_to_user((char __user *) arg, device_status, in zcrypt_unlocked_ioctl()
942 kfree(device_status); in zcrypt_unlocked_ioctl()