Searched defs:arg (Results 1 - 25 of 160) sorted by relevance

1234567

/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/ax25/
H A Dax25_ds_timer.c69 static void ax25_ds_timeout(unsigned long arg) argument
71 ax25_dev *ax25_dev = (struct ax25_dev *) arg;
/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/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/bluetooth/bnep/
H A Dnetdev.c109 static int bnep_net_set_mac_addr(struct net_device *dev, void *arg) argument
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/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);
/net/irda/ircomm/
H A Dircomm_tty_ioctl.c367 * Function ircomm_tty_ioctl (tty, cmd, arg)
373 unsigned int cmd, unsigned long arg)
389 ret = ircomm_tty_get_serial_info(self, (struct serial_struct __user *) arg);
392 ret = ircomm_tty_set_serial_info(self, (struct serial_struct __user *) arg);
404 p_cuser = (struct serial_icounter_struct __user *) arg;
372 ircomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument
/net/phonet/
H A Ddatagram.c44 static int pn_ioctl(struct sock *sk, int cmd, unsigned long arg) argument
55 return put_user(answ, (int __user *)arg);
60 if (get_user(res, (u32 __user *)arg))
/net/rds/
H A Dloop.c139 static void rds_loop_conn_free(void *arg) argument
141 struct rds_loop_connection *lc = arg;
H A Dtcp.c222 static void rds_tcp_conn_free(void *arg) argument
224 struct rds_tcp_connection *tc = arg;
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/sched/
H A Dsch_ingress.c25 static struct Qdisc *ingress_leaf(struct Qdisc *sch, unsigned long arg) argument
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/x25/
H A Dx25_route.c182 int x25_route_ioctl(unsigned int cmd, void __user *arg) argument
192 if (copy_from_user(&rt, arg, sizeof(rt)))
/net/batman-adv/
H A Dhash.h58 void *arg)
74 free_cb(node, arg);
56 batadv_hash_delete(struct batadv_hashtable *hash, batadv_hashdata_free_cb free_cb, void *arg) argument
/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...]
H A Dgen_estimator.c113 static void est_timer(unsigned long arg) argument
115 int idx = (int)arg;
/net/ipx/
H A Dipx_route.c258 int ipxrtr_ioctl(unsigned int cmd, void __user *arg) argument
264 if (copy_from_user(&rt, arg, sizeof(rt)))
/net/irda/
H A Dirda_device.c84 static void leftover_dongle(void *arg) argument
86 struct dongle_reg *reg = arg;
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/netfilter/ipvs/
H A Dip_vs_est.c94 static void estimation_timer(unsigned long arg) argument
102 struct net *net = (struct net *)arg;
/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/sctp/
H A Dprobe.c134 void *arg,
137 struct sctp_chunk *chunk = arg;
130 jsctp_sf_eat_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

Completed in 362 milliseconds

1234567