Lines Matching refs:ext_kekls
202 struct tape390_kekl_pair *ext_kekls) in tape_3592_kekl_query() argument
229 int_to_ext_kekl_pair(&int_kekls->kekls, ext_kekls); in tape_3592_kekl_query()
246 struct tape390_kekl_pair *ext_kekls; in tape_3592_ioctl_kekl_query() local
253 ext_kekls = kmalloc(sizeof(*ext_kekls), GFP_KERNEL); in tape_3592_ioctl_kekl_query()
254 if (!ext_kekls) in tape_3592_ioctl_kekl_query()
256 rc = tape_3592_kekl_query(device, ext_kekls); in tape_3592_ioctl_kekl_query()
259 if (copy_to_user((char __user *) arg, ext_kekls, sizeof(*ext_kekls))) { in tape_3592_ioctl_kekl_query()
265 kfree(ext_kekls); in tape_3592_ioctl_kekl_query()
275 struct tape390_kekl_pair *ext_kekls) in tape_3592_kekl_set() argument
281 if (check_ext_kekl_pair(ext_kekls)) { in tape_3592_kekl_set()
294 ext_to_int_kekl(&ext_kekls->kekl[0], &order->kekls.kekl[0]); in tape_3592_kekl_set()
295 ext_to_int_kekl(&ext_kekls->kekl[1], &order->kekls.kekl[1]); in tape_3592_kekl_set()
309 struct tape390_kekl_pair *ext_kekls; in tape_3592_ioctl_kekl_set() local
316 ext_kekls = memdup_user((char __user *)arg, sizeof(*ext_kekls)); in tape_3592_ioctl_kekl_set()
317 if (IS_ERR(ext_kekls)) in tape_3592_ioctl_kekl_set()
318 return PTR_ERR(ext_kekls); in tape_3592_ioctl_kekl_set()
319 rc = tape_3592_kekl_set(device, ext_kekls); in tape_3592_ioctl_kekl_set()
320 kfree(ext_kekls); in tape_3592_ioctl_kekl_set()