/net/bluetooth/bnep/ |
D | sock.c | 59 void __user *argp = (void __user *)arg; in bnep_sock_ioctl() local 69 if (copy_from_user(&ca, argp, sizeof(ca))) in bnep_sock_ioctl() 84 if (copy_to_user(argp, &ca, sizeof(ca))) in bnep_sock_ioctl() 95 if (copy_from_user(&cd, argp, sizeof(cd))) in bnep_sock_ioctl() 101 if (copy_from_user(&cl, argp, sizeof(cl))) in bnep_sock_ioctl() 108 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in bnep_sock_ioctl() 114 if (copy_from_user(&ci, argp, sizeof(ci))) in bnep_sock_ioctl() 118 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in bnep_sock_ioctl()
|
/net/bluetooth/cmtp/ |
D | sock.c | 73 void __user *argp = (void __user *)arg; in cmtp_sock_ioctl() local 83 if (copy_from_user(&ca, argp, sizeof(ca))) in cmtp_sock_ioctl() 97 if (copy_to_user(argp, &ca, sizeof(ca))) in cmtp_sock_ioctl() 108 if (copy_from_user(&cd, argp, sizeof(cd))) in cmtp_sock_ioctl() 114 if (copy_from_user(&cl, argp, sizeof(cl))) in cmtp_sock_ioctl() 121 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in cmtp_sock_ioctl() 127 if (copy_from_user(&ci, argp, sizeof(ci))) in cmtp_sock_ioctl() 131 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in cmtp_sock_ioctl()
|
/net/irda/irnet/ |
D | irnet_ppp.c | 646 void __user *argp = (void __user *)arg; in dev_irnet_ioctl() local 663 if(get_user(val, (int __user *)argp)) in dev_irnet_ioctl() 714 (int __user *)argp)) in dev_irnet_ioctl() 724 (int __user *)argp)) in dev_irnet_ioctl() 764 if(!kernel_termios_to_user_termios((struct termios __user *)argp, &ap->termios)) in dev_irnet_ioctl() 767 if(kernel_termios_to_user_termios_1((struct termios __user *)argp, &ap->termios)) in dev_irnet_ioctl() 780 if(!user_termios_to_kernel_termios(&ap->termios, (struct termios __user *)argp)) in dev_irnet_ioctl() 783 if(!user_termios_to_kernel_termios_1(&ap->termios, (struct termios __user *)argp)) in dev_irnet_ioctl() 821 if(put_user(val, (int __user *)argp)) in dev_irnet_ioctl() 1028 void __user *argp = (void __user *)arg; in ppp_irnet_ioctl() local [all …]
|
/net/bluetooth/hidp/ |
D | sock.c | 51 void __user *argp = (void __user *) arg; in hidp_sock_ioctl() local 67 if (copy_from_user(&ca, argp, sizeof(ca))) in hidp_sock_ioctl() 81 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in hidp_sock_ioctl() 93 if (copy_from_user(&cd, argp, sizeof(cd))) in hidp_sock_ioctl() 99 if (copy_from_user(&cl, argp, sizeof(cl))) in hidp_sock_ioctl() 106 if (!err && copy_to_user(argp, &cl, sizeof(cl))) in hidp_sock_ioctl() 112 if (copy_from_user(&ci, argp, sizeof(ci))) in hidp_sock_ioctl() 116 if (!err && copy_to_user(argp, &ci, sizeof(ci))) in hidp_sock_ioctl()
|
/net/atm/ |
D | ioctl.c | 57 void __user *argp = (void __user *)arg; in do_vcc_ioctl() local 68 (int __user *)argp) ? -EFAULT : 0; in do_vcc_ioctl() 80 (int __user *)argp) ? -EFAULT : 0; in do_vcc_ioctl() 86 error = compat_sock_get_timestamp(sk, argp); in do_vcc_ioctl() 89 error = sock_get_timestamp(sk, argp); in do_vcc_ioctl() 94 error = compat_sock_get_timestampns(sk, argp); in do_vcc_ioctl() 97 error = sock_get_timestampns(sk, argp); in do_vcc_ioctl() 138 error = get_user(backend, (atm_backend_t __user *)argp); in do_vcc_ioctl() 180 error = atm_dev_ioctl(cmd, argp, compat); in do_vcc_ioctl()
|
D | pppoatm.c | 452 void __user *argp = (void __user *)arg; in pppoatm_ioctl() local 459 if (get_user(b, (atm_backend_t __user *) argp)) in pppoatm_ioctl() 467 return pppoatm_assign_vcc(atmvcc, argp); in pppoatm_ioctl() 471 chan), (int __user *) argp) ? -EFAULT : 0; in pppoatm_ioctl() 474 chan), (int __user *) argp) ? -EFAULT : 0; in pppoatm_ioctl()
|
D | br2684.c | 724 void __user *argp = (void __user *)arg; in br2684_ioctl() local 731 err = get_user(b, (atm_backend_t __user *) argp); in br2684_ioctl() 741 return br2684_regvcc(atmvcc, argp); in br2684_ioctl() 743 return br2684_create(argp); in br2684_ioctl() 751 err = br2684_setfilt(atmvcc, argp); in br2684_ioctl()
|
/net/x25/ |
D | af_x25.c | 1362 void __user *argp = (void __user *)arg; in x25_ioctl() local 1372 rc = put_user(amount, (unsigned int __user *)argp); in x25_ioctl() 1387 rc = put_user(amount, (unsigned int __user *)argp); in x25_ioctl() 1395 (struct timeval __user *)argp); in x25_ioctl() 1401 (struct timespec __user *)argp); in x25_ioctl() 1420 rc = x25_route_ioctl(cmd, argp); in x25_ioctl() 1423 rc = x25_subscr_ioctl(cmd, argp); in x25_ioctl() 1429 rc = x25_subscr_ioctl(cmd, argp); in x25_ioctl() 1433 rc = copy_to_user(argp, &x25->facilities, in x25_ioctl() 1443 if (copy_from_user(&facilities, argp, sizeof(facilities))) in x25_ioctl() [all …]
|
/net/ |
D | socket.c | 1035 void __user *argp = (void __user *)arg; in sock_do_ioctl() local 1044 err = dev_ioctl(net, cmd, argp); in sock_do_ioctl() 1058 void __user *argp = (void __user *)arg; in sock_ioctl() local 1066 err = dev_ioctl(net, cmd, argp); in sock_ioctl() 1070 err = dev_ioctl(net, cmd, argp); in sock_ioctl() 1077 if (get_user(pid, (int __user *)argp)) in sock_ioctl() 1085 (int __user *)argp); in sock_ioctl() 1097 err = br_ioctl_hook(net, cmd, argp); in sock_ioctl() 1108 err = vlan_ioctl_hook(net, argp); in sock_ioctl() 1119 err = dlci_ioctl_hook(cmd, argp); in sock_ioctl() [all …]
|
/net/ax25/ |
D | af_ax25.c | 1686 void __user *argp = (void __user *)arg; in ax25_ioctl() local 1697 res = put_user(amount, (int __user *)argp); in ax25_ioctl() 1707 res = put_user(amount, (int __user *) argp); in ax25_ioctl() 1712 res = sock_get_timestamp(sk, argp); in ax25_ioctl() 1716 res = sock_get_timestampns(sk, argp); in ax25_ioctl() 1723 if (copy_from_user(&sax25, argp, sizeof(sax25))) { in ax25_ioctl() 1737 if (get_user(amount, (long __user *)argp)) { in ax25_ioctl() 1757 res = ax25_rt_ioctl(cmd, argp); in ax25_ioctl() 1765 res = ax25_ctl_ioctl(cmd, argp); in ax25_ioctl() 1802 if (copy_to_user(argp, &ax25_info, sizeof(struct ax25_info_struct_deprecated))) { in ax25_ioctl() [all …]
|
/net/rose/ |
D | af_rose.c | 1281 void __user *argp = (void __user *)arg; in rose_ioctl() local 1290 return put_user(amount, (unsigned int __user *) argp); in rose_ioctl() 1299 return put_user(amount, (unsigned int __user *) argp); in rose_ioctl() 1303 return sock_get_timestamp(sk, (struct timeval __user *) argp); in rose_ioctl() 1306 return sock_get_timestampns(sk, (struct timespec __user *) argp); in rose_ioctl() 1325 return rose_rt_ioctl(cmd, argp); in rose_ioctl() 1331 return copy_to_user(argp, &rose_cause, sizeof(struct rose_cause_struct)) ? -EFAULT : 0; in rose_ioctl() 1336 if (copy_from_user(&rose_cause, argp, sizeof(struct rose_cause_struct))) in rose_ioctl() 1347 if (copy_from_user(&rose_callsign, argp, sizeof(ax25_address))) in rose_ioctl() 1355 return copy_to_user(argp, &rose_callsign, sizeof(ax25_address)) ? -EFAULT : 0; in rose_ioctl()
|
/net/bluetooth/ |
D | hci_sock.c | 574 void __user *argp = (void __user *) arg; in hci_sock_ioctl() local 591 return hci_get_dev_list(argp); in hci_sock_ioctl() 594 return hci_get_dev_info(argp); in hci_sock_ioctl() 597 return hci_get_conn_list(argp); in hci_sock_ioctl() 629 return hci_dev_cmd(cmd, argp); in hci_sock_ioctl() 632 return hci_inquiry(argp); in hci_sock_ioctl()
|
/net/ipx/ |
D | af_ipx.c | 1842 void __user *argp = (void __user *)arg; in ipx_ioctl() local 1850 rc = put_user(amount, (int __user *)argp); in ipx_ioctl() 1858 rc = put_user(amount, (int __user *)argp); in ipx_ioctl() 1865 rc = ipxrtr_ioctl(cmd, argp); in ipx_ioctl() 1874 rc = ipxitf_ioctl(cmd, argp); in ipx_ioctl() 1877 rc = ipxcfg_get_config_data(argp); in ipx_ioctl() 1888 (const unsigned short __user *)argp); in ipx_ioctl() 1891 rc = sock_get_timestamp(sk, argp); in ipx_ioctl()
|
/net/netrom/ |
D | af_netrom.c | 1195 void __user *argp = (void __user *)arg; in nr_ioctl() local 1207 return put_user(amount, (int __user *)argp); in nr_ioctl() 1219 return put_user(amount, (int __user *)argp); in nr_ioctl() 1224 ret = sock_get_timestamp(sk, argp); in nr_ioctl() 1230 ret = sock_get_timestampns(sk, argp); in nr_ioctl() 1251 return nr_rt_ioctl(cmd, argp); in nr_ioctl()
|
/net/appletalk/ |
D | ddp.c | 1787 void __user *argp = (void __user *)arg; in atalk_ioctl() local 1796 rc = put_user(amount, (int __user *)argp); in atalk_ioctl() 1809 rc = put_user(amount, (int __user *)argp); in atalk_ioctl() 1813 rc = sock_get_timestamp(sk, argp); in atalk_ioctl() 1816 rc = sock_get_timestampns(sk, argp); in atalk_ioctl() 1823 rc = atrtr_ioctl(cmd, argp); in atalk_ioctl() 1834 rc = atif_ioctl(cmd, argp); in atalk_ioctl()
|
/net/wireless/ |
D | wext-core.c | 1090 void __user *argp = (void __user *)arg; in compat_wext_handle_ioctl() local 1096 if (copy_from_user(&iwr, argp, sizeof(struct iwreq))) in compat_wext_handle_ioctl() 1113 copy_to_user(argp, &iwr, sizeof(struct iwreq))) in compat_wext_handle_ioctl()
|
/net/tipc/ |
D | socket.c | 2671 void __user *argp = (void __user *)arg; in tipc_ioctl() local 2675 if (copy_from_user(&lnr, argp, sizeof(lnr))) in tipc_ioctl() 2679 if (copy_to_user(argp, &lnr, sizeof(lnr))) in tipc_ioctl()
|