Home
last modified time | relevance | path

Searched refs:user_arg (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/hid/usbhid/
Dhiddev.c427 …tic noinline int hiddev_ioctl_usage(struct hiddev *hiddev, unsigned int cmd, void __user *user_arg) in hiddev_ioctl_usage() argument
442 if (copy_from_user(uref_multi, user_arg, in hiddev_ioctl_usage()
446 if (copy_from_user(uref, user_arg, sizeof(*uref))) in hiddev_ioctl_usage()
470 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage()
525 if (copy_to_user(user_arg, uref, sizeof(*uref))) in hiddev_ioctl_usage()
543 if (copy_to_user(user_arg, uref_multi, in hiddev_ioctl_usage()
566 …ic noinline int hiddev_ioctl_string(struct hiddev *hiddev, unsigned int cmd, void __user *user_arg) in hiddev_ioctl_string() argument
573 if (get_user(idx, (int __user *)user_arg)) in hiddev_ioctl_string()
584 if (copy_to_user(user_arg+sizeof(int), buf, len+1)) { in hiddev_ioctl_string()
605 void __user *user_arg = (void __user *)arg; in hiddev_ioctl() local
[all …]
/linux-6.1.9/drivers/tty/ipwireless/
Dnetwork.c162 int __user *user_arg = (int __user *) arg; in ipwireless_ppp_ioctl() local
168 if (put_user(val, user_arg)) in ipwireless_ppp_ioctl()
174 if (get_user(val, user_arg)) in ipwireless_ppp_ioctl()
182 if (put_user(network->xaccm[0], user_arg)) in ipwireless_ppp_ioctl()
188 if (get_user(network->xaccm[0], user_arg)) in ipwireless_ppp_ioctl()
194 if (put_user(network->raccm, user_arg)) in ipwireless_ppp_ioctl()
200 if (get_user(network->raccm, user_arg)) in ipwireless_ppp_ioctl()
222 if (put_user(network->mru, user_arg)) in ipwireless_ppp_ioctl()
228 if (get_user(val, user_arg)) in ipwireless_ppp_ioctl()
/linux-6.1.9/drivers/hid/
Dhidraw.c372 void __user *user_arg = (void __user*) arg; in hidraw_ioctl() local
395 else if (copy_to_user(user_arg + offsetof( in hidraw_ioctl()
410 if (copy_to_user(user_arg, &dinfo, sizeof(dinfo))) in hidraw_ioctl()
424 ret = hidraw_send_report(file, user_arg, len, HID_FEATURE_REPORT); in hidraw_ioctl()
429 ret = hidraw_get_report(file, user_arg, len, HID_FEATURE_REPORT); in hidraw_ioctl()
435 ret = hidraw_send_report(file, user_arg, len, HID_INPUT_REPORT); in hidraw_ioctl()
440 ret = hidraw_get_report(file, user_arg, len, HID_INPUT_REPORT); in hidraw_ioctl()
446 ret = hidraw_send_report(file, user_arg, len, HID_OUTPUT_REPORT); in hidraw_ioctl()
451 ret = hidraw_get_report(file, user_arg, len, HID_OUTPUT_REPORT); in hidraw_ioctl()
465 ret = copy_to_user(user_arg, hid->name, len) ? in hidraw_ioctl()
[all …]
/linux-6.1.9/drivers/net/wireless/microchip/wilc1000/
Dhif.h180 void *user_arg, struct cfg80211_scan_request *request);
200 void *user_arg);
Dhif.c158 void *user_arg, struct cfg80211_scan_request *request) in wilc_scan() argument
252 hif_drv->usr_scan_req.arg = user_arg; in wilc_scan()
1675 void *user_arg) in wilc_remain_on_channel() argument
1682 roc.arg = user_arg; in wilc_remain_on_channel()
/linux-6.1.9/drivers/crypto/ccree/
Dcc_request_mgr.c363 req = creq->user_arg; in cc_proc_backlog()
462 cc_req->user_arg = &cc_req->seq_compl; in cc_send_sync_request()
597 cc_req->user_cb(dev, cc_req->user_arg, rc); in proc_completions()
Dcc_driver.h122 void *user_arg; member
Dcc_hash.c462 cc_req.user_arg = req; in cc_hash_digest()
600 cc_req.user_arg = req; in cc_hash_update()
672 cc_req.user_arg = req; in cc_do_finup()
1207 cc_req.user_arg = req; in cc_mac_update()
1265 cc_req.user_arg = req; in cc_mac_final()
1379 cc_req.user_arg = req; in cc_mac_finup()
1457 cc_req.user_arg = req; in cc_mac_digest()
Dcc_cipher.c935 cc_req.user_arg = req; in cc_cipher_process()
Dcc_aead.c1919 cc_req.user_arg = req; in cc_proc_aead()