Lines Matching refs:ext_kekls
201 struct tape390_kekl_pair *ext_kekls) in tape_3592_kekl_query() argument
228 int_to_ext_kekl_pair(&int_kekls->kekls, ext_kekls); in tape_3592_kekl_query()
245 struct tape390_kekl_pair *ext_kekls; in tape_3592_ioctl_kekl_query() local
252 ext_kekls = kmalloc(sizeof(*ext_kekls), GFP_KERNEL); in tape_3592_ioctl_kekl_query()
253 if (!ext_kekls) in tape_3592_ioctl_kekl_query()
255 rc = tape_3592_kekl_query(device, ext_kekls); in tape_3592_ioctl_kekl_query()
258 if (copy_to_user((char __user *) arg, ext_kekls, sizeof(*ext_kekls))) { in tape_3592_ioctl_kekl_query()
264 kfree(ext_kekls); in tape_3592_ioctl_kekl_query()
274 struct tape390_kekl_pair *ext_kekls) in tape_3592_kekl_set() argument
280 if (check_ext_kekl_pair(ext_kekls)) { in tape_3592_kekl_set()
293 ext_to_int_kekl(&ext_kekls->kekl[0], &order->kekls.kekl[0]); in tape_3592_kekl_set()
294 ext_to_int_kekl(&ext_kekls->kekl[1], &order->kekls.kekl[1]); in tape_3592_kekl_set()
308 struct tape390_kekl_pair *ext_kekls; in tape_3592_ioctl_kekl_set() local
315 ext_kekls = kmalloc(sizeof(*ext_kekls), GFP_KERNEL); in tape_3592_ioctl_kekl_set()
316 if (!ext_kekls) in tape_3592_ioctl_kekl_set()
318 if (copy_from_user(ext_kekls, (char __user *)arg, sizeof(*ext_kekls))) { in tape_3592_ioctl_kekl_set()
322 rc = tape_3592_kekl_set(device, ext_kekls); in tape_3592_ioctl_kekl_set()
324 kfree(ext_kekls); in tape_3592_ioctl_kekl_set()