Lines Matching refs:argp
1056 void __user *argp = (void __user *)arg; in sock_do_ioctl() local
1069 if (copy_from_user(&ifc, argp, sizeof(struct ifconf))) in sock_do_ioctl()
1074 if (!err && copy_to_user(argp, &ifc, sizeof(struct ifconf))) in sock_do_ioctl()
1079 if (copy_from_user(&ifr, argp, sizeof(struct ifreq))) in sock_do_ioctl()
1083 if (copy_to_user(argp, &ifr, sizeof(struct ifreq))) in sock_do_ioctl()
1100 void __user *argp = (void __user *)arg; in sock_ioctl() local
1110 if (copy_from_user(&ifr, argp, sizeof(struct ifreq))) in sock_ioctl()
1114 if (copy_to_user(argp, &ifr, sizeof(struct ifreq))) in sock_ioctl()
1119 err = wext_handle_ioctl(net, cmd, argp); in sock_ioctl()
1126 if (get_user(pid, (int __user *)argp)) in sock_ioctl()
1133 (int __user *)argp); in sock_ioctl()
1145 err = br_ioctl_hook(net, cmd, argp); in sock_ioctl()
1156 err = vlan_ioctl_hook(net, argp); in sock_ioctl()
1167 err = dlci_ioctl_hook(cmd, argp); in sock_ioctl()
1183 err = sock->ops->gettstamp(sock, argp, in sock_ioctl()
1193 err = sock->ops->gettstamp(sock, argp, in sock_ioctl()
3378 unsigned int cmd, void __user *argp) in routing_ioctl() argument
3389 struct in6_rtmsg32 __user *ur6 = argp; in routing_ioctl()
3402 struct rtentry32 __user *ur4 = argp; in routing_ioctl()
3438 static int old_bridge_ioctl(compat_ulong_t __user *argp) in old_bridge_ioctl() argument
3442 if (get_user(tmp, argp)) in old_bridge_ioctl()
3452 void __user *argp = compat_ptr(arg); in compat_sock_ioctl_trans() local
3457 return compat_ifr_data_ioctl(net, cmd, argp); in compat_sock_ioctl_trans()
3462 return old_bridge_ioctl(argp); in compat_sock_ioctl_trans()
3464 return compat_dev_ifconf(net, argp); in compat_sock_ioctl_trans()
3466 return ethtool_ioctl(net, argp); in compat_sock_ioctl_trans()
3468 return compat_siocwandev(net, argp); in compat_sock_ioctl_trans()
3471 return compat_sioc_ifmap(net, cmd, argp); in compat_sock_ioctl_trans()
3474 return routing_ioctl(net, sock, cmd, argp); in compat_sock_ioctl_trans()
3479 return sock->ops->gettstamp(sock, argp, cmd == SIOCGSTAMP_OLD, in compat_sock_ioctl_trans()
3486 return compat_ifr_data_ioctl(net, cmd, argp); in compat_sock_ioctl_trans()
3541 return compat_ifreq_ioctl(net, sock, cmd, argp); in compat_sock_ioctl_trans()