Lines Matching refs:iwr

945 static int wireless_process_ioctl(struct net *net, struct iwreq *iwr,  in wireless_process_ioctl()  argument
958 if ((dev = __dev_get_by_name(net, iwr->ifr_name)) == NULL) in wireless_process_ioctl()
965 return standard(dev, iwr, cmd, info, in wireless_process_ioctl()
970 return standard(dev, iwr, cmd, info, in wireless_process_ioctl()
983 return standard(dev, iwr, cmd, info, handler); in wireless_process_ioctl()
985 return private(dev, iwr, cmd, info, handler); in wireless_process_ioctl()
1004 static int wext_ioctl_dispatch(struct net *net, struct iwreq *iwr, in wext_ioctl_dispatch() argument
1014 dev_load(net, iwr->ifr_name); in wext_ioctl_dispatch()
1016 ret = wireless_process_ioctl(net, iwr, cmd, info, standard, private); in wext_ioctl_dispatch()
1028 struct iwreq *iwr, in ioctl_standard_call() argument
1045 ret = handler(dev, info, &(iwr->u), NULL); in ioctl_standard_call()
1050 wireless_send_event(dev, cmd, &(iwr->u), NULL); in ioctl_standard_call()
1052 ret = ioctl_standard_iw_point(&iwr->u.data, cmd, descr, in ioctl_standard_call()
1069 struct iwreq iwr; in wext_handle_ioctl() local
1072 if (copy_from_user(&iwr, arg, sizeof(iwr))) in wext_handle_ioctl()
1075 iwr.ifr_name[sizeof(iwr.ifr_name) - 1] = 0; in wext_handle_ioctl()
1077 ret = wext_ioctl_dispatch(net, &iwr, cmd, &info, in wext_handle_ioctl()
1082 copy_to_user(arg, &iwr, sizeof(struct iwreq))) in wext_handle_ioctl()
1090 struct iwreq *iwr, in compat_standard_call() argument
1103 return ioctl_standard_call(dev, iwr, cmd, info, handler); in compat_standard_call()
1105 iwp_compat = (struct compat_iw_point *) &iwr->u.data; in compat_standard_call()
1124 struct iwreq iwr; in compat_wext_handle_ioctl() local
1128 if (copy_from_user(&iwr, argp, sizeof(struct iwreq))) in compat_wext_handle_ioctl()
1131 iwr.ifr_name[IFNAMSIZ-1] = 0; in compat_wext_handle_ioctl()
1132 colon = strchr(iwr.ifr_name, ':'); in compat_wext_handle_ioctl()
1139 ret = wext_ioctl_dispatch(net, &iwr, cmd, &info, in compat_wext_handle_ioctl()
1145 copy_to_user(argp, &iwr, sizeof(struct iwreq))) in compat_wext_handle_ioctl()