Searched refs:arg (Results 1 - 25 of 176) sorted by relevance

12345678

/net/wireless/
H A Dgenregdb.awk92 for (arg in flagarray) {
93 if (flagarray[arg] == "NO-OFDM") {
95 } else if (flagarray[arg] == "NO-CCK") {
97 } else if (flagarray[arg] == "NO-INDOOR") {
99 } else if (flagarray[arg] == "NO-OUTDOOR") {
101 } else if (flagarray[arg] == "DFS") {
103 } else if (flagarray[arg] == "PTP-ONLY") {
105 } else if (flagarray[arg] == "PTMP-ONLY") {
107 } else if (flagarray[arg] == "PASSIVE-SCAN") {
109 } else if (flagarray[arg]
[all...]
/net/bridge/
H A Dbr_stp_timer.c34 static void br_hello_timer_expired(unsigned long arg) argument
36 struct net_bridge *br = (struct net_bridge *)arg;
48 static void br_message_age_timer_expired(unsigned long arg) argument
50 struct net_bridge_port *p = (struct net_bridge_port *) arg;
81 static void br_forward_delay_timer_expired(unsigned long arg) argument
83 struct net_bridge_port *p = (struct net_bridge_port *) arg;
104 static void br_tcn_timer_expired(unsigned long arg) argument
106 struct net_bridge *br = (struct net_bridge *) arg;
118 static void br_topology_change_timer_expired(unsigned long arg) argument
120 struct net_bridge *br = (struct net_bridge *) arg;
129 br_hold_timer_expired(unsigned long arg) argument
[all...]
/net/sctp/
H A Dsm_statefuns.c84 void *arg,
90 void *arg,
96 void *arg,
110 void *arg,
120 void *arg,
128 void *arg, void *ext,
136 void *arg,
144 void *arg,
157 void *arg,
221 void *arg,
217 sctp_sf_do_4_C(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
303 sctp_sf_do_5_1B_init(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
499 sctp_sf_do_5_1C_ack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
649 sctp_sf_do_5_1D_ce(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
875 sctp_sf_do_5_1E_ca(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
953 sctp_sf_heartbeat(const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
978 sctp_sf_sendbeat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1049 sctp_sf_beat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1123 sctp_sf_backbeat_8_3(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1387 sctp_sf_do_unexpected_init( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1601 sctp_sf_do_5_2_1_siminit(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1655 sctp_sf_do_5_2_2_dupinit(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
1678 sctp_sf_do_5_2_3_initack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2001 sctp_sf_do_5_2_4_dupcook(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2116 sctp_sf_shutdown_pending_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2159 sctp_sf_shutdown_sent_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2209 sctp_sf_shutdown_ack_sent_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2237 sctp_sf_cookie_echoed_err(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2301 sctp_sf_do_5_2_6_stale(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2424 sctp_sf_do_9_1_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2461 __sctp_sf_do_9_1_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2498 sctp_sf_cookie_wait_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2537 sctp_sf_cookie_wait_icmp_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2552 sctp_sf_cookie_echoed_abort(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2624 sctp_sf_do_9_2_shutdown(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2714 sctp_sf_do_9_2_shut_ctsn(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2768 sctp_sf_do_9_2_reshutack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2832 sctp_sf_do_ecn_cwr(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2888 sctp_sf_do_ecne(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
2945 sctp_sf_eat_data_6_2(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3067 sctp_sf_eat_data_fast_4_4(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3158 sctp_sf_eat_sack_6_2(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3232 sctp_sf_tabort_8_4_8(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3284 sctp_sf_operr_notify(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3322 sctp_sf_do_9_2_final(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3405 sctp_sf_ootb(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3498 sctp_sf_shut_8_4_5(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3562 sctp_sf_do_8_5_1_E_sa(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3587 sctp_sf_do_asconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3703 sctp_sf_do_asconf_ack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3832 sctp_sf_eat_fwd_tsn(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
3899 sctp_sf_eat_fwd_tsn_fast( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4062 sctp_sf_eat_auth(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4159 sctp_sf_unk_chunk(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4239 sctp_sf_discard_chunk(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4279 sctp_sf_pdiscard(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4307 sctp_sf_violation(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4327 sctp_sf_abort_violation( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, void *arg, sctp_cmd_seq_t *commands, const __u8 *payload, const size_t paylen) argument
4445 sctp_sf_violation_chunklen( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4465 sctp_sf_violation_paramlen( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, void *ext, sctp_cmd_seq_t *commands) argument
4508 sctp_sf_violation_ctsn( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4528 sctp_sf_violation_chunk( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4604 sctp_sf_do_prm_asoc(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4716 sctp_sf_do_prm_send(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4755 sctp_sf_do_9_2_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4811 sctp_sf_do_9_1_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4851 sctp_sf_error_closed(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4865 sctp_sf_error_shutdown(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4891 sctp_sf_cookie_wait_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4926 sctp_sf_cookie_echoed_prm_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
4953 sctp_sf_cookie_wait_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5003 sctp_sf_cookie_echoed_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5029 sctp_sf_shutdown_pending_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5056 sctp_sf_shutdown_sent_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5087 sctp_sf_shutdown_ack_sent_prm_abort( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5123 sctp_sf_do_prm_requestheartbeat( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5156 sctp_sf_do_prm_asconf(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5177 sctp_sf_ignore_primitive( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5201 sctp_sf_do_no_pending_tsn( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5233 sctp_sf_do_9_2_start_shutdown( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5303 sctp_sf_do_9_2_shutdown_ack( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5375 sctp_sf_ignore_other(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5403 sctp_sf_do_6_3_3_rtx(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5490 sctp_sf_do_6_2_sack(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5521 sctp_sf_t1_init_timer_expire(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5585 sctp_sf_t1_cookie_timer_expire(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5635 sctp_sf_t2_timer_expire(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5705 sctp_sf_t4_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5777 sctp_sf_t5_timer_expire(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5813 sctp_sf_autoclose_timer_expire( struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5856 sctp_sf_not_impl(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5874 sctp_sf_bug(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
5895 sctp_sf_timer_ignore(struct net *net, const struct sctp_endpoint *ep, const struct sctp_association *asoc, const sctp_subtype_t type, void *arg, sctp_cmd_seq_t *commands) argument
[all...]
H A Dprimitive.c54 void *arg) { \
66 arg, GFP_KERNEL); \
/net/atm/
H A Dioctl.c51 unsigned long arg, int compat)
57 void __user *argp = (void __user *)arg;
169 error = ic->ioctl(sock, cmd, arg);
186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
188 return do_vcc_ioctl(sock, cmd, arg, 0);
246 unsigned long arg)
255 iobuf32 = compat_ptr(arg);
277 unsigned long arg)
286 sioc32 = compat_ptr(arg);
289 get_user(data, &sioc32->arg))
50 do_vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg, int compat) argument
245 do_atm_iobuf(struct socket *sock, unsigned int cmd, unsigned long arg) argument
276 do_atmif_sioc(struct socket *sock, unsigned int cmd, unsigned long arg) argument
305 do_atm_ioctl(struct socket *sock, unsigned int cmd32, unsigned long arg) argument
358 vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dresources.h16 int atm_dev_ioctl(unsigned int cmd, void __user *arg, int compat);
H A Dcommon.h21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
/net/bluetooth/bnep/
H A Dsock.c52 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
59 void __user *argp = (void __user *)arg;
62 BT_DBG("cmd %x arg %lx", cmd, arg);
131 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
138 if (get_user(cl.cnum, (u32 __user *) arg) ||
139 get_user(uci, (u32 __user *) (arg + 4)))
149 if (!err && put_user(cl.cnum, (u32 __user *) arg))
155 return bnep_sock_ioctl(sock, cmd, arg);
/net/ceph/
H A Dmsgpool.c10 static void *msgpool_alloc(gfp_t gfp_mask, void *arg) argument
12 struct ceph_msgpool *pool = arg;
25 static void msgpool_free(void *element, void *arg) argument
27 struct ceph_msgpool *pool = arg;
/net/batman-adv/
H A Dmain.h242 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \
246 batadv_debug_log(bat_priv, fmt, ## arg);\
259 #define batadv_dbg(type, bat_priv, arg...) \
260 _batadv_dbg(type, bat_priv, 0, ## arg)
261 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \
262 _batadv_dbg(type, bat_priv, 1, ## arg)
264 #define batadv_info(net_dev, fmt, arg...) \
268 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \
269 pr_info("%s: " fmt, _netdev->name, ## arg); \
271 #define batadv_err(net_dev, fmt, arg
[all...]
/net/decnet/
H A Ddn_timer.c36 static void dn_slow_timer(unsigned long arg);
49 static void dn_slow_timer(unsigned long arg) argument
51 struct sock *sk = (struct sock *)arg;
/net/sched/
H A Dsch_drr.c66 struct nlattr **tca, unsigned long *arg)
69 struct drr_class *cl = (struct drr_class *)*arg;
136 *arg = (unsigned long)cl;
147 static int drr_delete_class(struct Qdisc *sch, unsigned long arg) argument
150 struct drr_class *cl = (struct drr_class *)arg;
180 static void drr_put_class(struct Qdisc *sch, unsigned long arg) argument
182 struct drr_class *cl = (struct drr_class *)arg;
210 static void drr_unbind_tcf(struct Qdisc *sch, unsigned long arg) argument
212 struct drr_class *cl = (struct drr_class *)arg;
217 static int drr_graft_class(struct Qdisc *sch, unsigned long arg, argument
65 drr_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, unsigned long *arg) argument
237 drr_class_leaf(struct Qdisc *sch, unsigned long arg) argument
244 drr_qlen_notify(struct Qdisc *csh, unsigned long arg) argument
252 drr_dump_class(struct Qdisc *sch, unsigned long arg, struct sk_buff *skb, struct tcmsg *tcm) argument
274 drr_dump_class_stats(struct Qdisc *sch, unsigned long arg, struct gnet_dump *d) argument
293 drr_walk(struct Qdisc *sch, struct qdisc_walker *arg) argument
[all...]
H A Dcls_basic.c114 static int basic_delete(struct tcf_proto *tp, unsigned long arg) argument
117 struct basic_filter *t, *f = (struct basic_filter *) arg;
170 struct nlattr **tca, unsigned long *arg, bool ovr)
175 struct basic_filter *fold = (struct basic_filter *) *arg;
221 *arg = (unsigned long)fnew;
237 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg) argument
243 if (arg->count < arg->skip)
246 if (arg->fn(tp, (unsigned long) f, arg) <
168 basic_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_bpf.c110 static int cls_bpf_delete(struct tcf_proto *tp, unsigned long arg) argument
113 struct cls_bpf_prog *prog, *todel = (struct cls_bpf_prog *) arg;
243 unsigned long *arg, bool ovr)
246 struct cls_bpf_prog *oldprog = (struct cls_bpf_prog *) *arg;
292 *arg = (unsigned long) prog;
342 static void cls_bpf_walk(struct tcf_proto *tp, struct tcf_walker *arg) argument
348 if (arg->count < arg->skip)
350 if (arg->fn(tp, (unsigned long) prog, arg) <
240 cls_bpf_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_fw.c152 static int fw_delete(struct tcf_proto *tp, unsigned long arg) argument
155 struct fw_filter *f = (struct fw_filter *)arg;
234 unsigned long *arg, bool ovr)
237 struct fw_filter *f = (struct fw_filter *) *arg;
286 *arg = (unsigned long)fnew;
321 *arg = (unsigned long)f;
329 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg) argument
335 arg->stop = 1;
337 if (arg->stop)
345 if (arg
230 fw_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_cgroup.c97 unsigned long *arg, bool ovr)
164 static int cls_cgroup_delete(struct tcf_proto *tp, unsigned long arg) argument
169 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg) argument
173 if (arg->count < arg->skip)
176 if (arg->fn(tp, (unsigned long) head, arg) < 0) {
177 arg->stop = 1;
181 arg->count++;
94 cls_cgroup_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
H A Dsch_mq.c208 static void mq_walk(struct Qdisc *sch, struct qdisc_walker *arg) argument
213 if (arg->stop)
216 arg->count = arg->skip;
217 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) {
218 if (arg->fn(sch, ntx + 1, arg) < 0) {
219 arg->stop = 1;
222 arg->count++;
/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c214 static void gssp_free_receive_pages(struct gssx_arg_accept_sec_context *arg) argument
218 for (i = 0; i < arg->npages && arg->pages[i]; i++)
219 __free_page(arg->pages[i]);
222 static int gssp_alloc_receive_pages(struct gssx_arg_accept_sec_context *arg) argument
224 arg->npages = DIV_ROUND_UP(NGROUPS_MAX * 4, PAGE_SIZE);
225 arg->pages = kzalloc(arg->npages * sizeof(struct page *), GFP_KERNEL);
230 if (!arg->pages)
253 struct gssx_arg_accept_sec_context arg local
[all...]
/net/irda/
H A Dparameters.c367 irda_pv_t arg; local
380 arg.i = (__u16)va_arg(args, int);
381 put_unaligned((__u16)arg.i, (__u16 *)(buf+n)); n+=2;
384 arg.i = va_arg(args, __u32);
385 put_unaligned(arg.i, (__u32 *)(buf+n)); n+=4;
389 arg.c = va_arg(args, char *);
390 strcpy(buf+n, arg.c);
391 n += strlen(arg.c) + 1;
410 irda_pv_t arg; local
420 arg
[all...]
/net/bluetooth/hidp/
H A Dsock.c49 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
51 void __user *argp = (void __user *) arg;
60 BT_DBG("cmd %x arg %lx", cmd, arg);
142 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
149 if (get_user(cl.cnum, (u32 __user *) arg) ||
150 get_user(uci, (u32 __user *) (arg + 4)))
160 if (!err && put_user(cl.cnum, (u32 __user *) arg))
170 if (copy_from_user(&ca, (void __user *) arg, sizeof(ca)))
188 arg
[all...]
/net/nfc/
H A Ddigital.h105 void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg,
108 void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg,
112 nfc_digital_cmd_complete_t cb, void *arg)
115 timeout, cb, arg);
118 void digital_tg_recv_atr_req(struct nfc_digital_dev *ddev, void *arg,
125 void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg,
111 digital_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, nfc_digital_cmd_complete_t cb, void *arg) argument
/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c165 head->arg.pages[pg_no] = rqstp->rq_arg.pages[pg_no];
166 head->arg.page_len += len;
167 head->arg.len += len;
174 head->arg.pages[pg_no], pg_off,
270 head->arg.pages[pg_no] = rqstp->rq_arg.pages[pg_no];
271 head->arg.page_len += len;
272 head->arg.len += len;
279 head->arg.pages[pg_no], 0,
392 head->arg.head[0] = rqstp->rq_arg.head[0];
393 head->arg
[all...]
/net/core/
H A Ddev_ioctl.c20 static int dev_ifname(struct net *net, struct ifreq __user *arg) argument
29 if (copy_from_user(&ifr, arg, sizeof(struct ifreq)))
36 if (copy_to_user(arg, &ifr, sizeof(struct ifreq)))
67 static int dev_ifconf(struct net *net, char __user *arg) argument
80 if (copy_from_user(&ifc, arg, sizeof(struct ifconf)))
115 return copy_to_user(arg, &ifc, sizeof(struct ifconf)) ? -EFAULT : 0;
382 * @arg: pointer to a struct ifreq in user space
390 int dev_ioctl(struct net *net, unsigned int cmd, void __user *arg) argument
403 ret = dev_ifconf(net, (char __user *) arg);
408 return dev_ifname(net, (struct ifreq __user *)arg);
[all...]
/net/rds/
H A Dtcp_recv.c177 struct rds_tcp_desc_arg *arg = desc->arg.data; local
178 struct rds_connection *conn = arg->conn;
194 arg->gfp);
230 clone = skb_clone(skb, arg->gfp);
257 arg->gfp);
279 struct rds_tcp_desc_arg arg; local
282 arg.conn = conn;
283 arg.gfp = gfp;
284 desc.arg
[all...]
/net/bluetooth/cmtp/
H A Dsock.c66 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
73 void __user *argp = (void __user *)arg;
76 BT_DBG("cmd %x arg %lx", cmd, arg);
141 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
148 if (get_user(cl.cnum, (u32 __user *) arg) ||
149 get_user(uci, (u32 __user *) (arg + 4)))
159 if (!err && put_user(cl.cnum, (u32 __user *) arg))
165 return cmtp_sock_ioctl(sock, cmd, arg);

Completed in 520 milliseconds

12345678