/net/sctp/ |
D | sm_statefuns.c | 74 void *arg, 81 void *arg, 88 void *arg, 95 void *arg, 110 void *arg, 120 void *arg, 128 void *arg, void *ext, 136 void *arg, 144 void *arg, 156 void *arg, [all …]
|
/net/batman-adv/ |
D | log.h | 79 #define _batadv_dbg(type, bat_priv, ratelimited, fmt, arg...) \ argument 84 batadv_debug_log(__batpriv, fmt, ## arg); \ 103 #define batadv_dbg(type, bat_priv, arg...) \ argument 104 _batadv_dbg(type, bat_priv, 0, ## arg) 112 #define batadv_dbg_ratelimited(type, bat_priv, arg...) \ argument 113 _batadv_dbg(type, bat_priv, 1, ## arg) 121 #define batadv_info(net_dev, fmt, arg...) \ argument 125 batadv_dbg(BATADV_DBG_ALL, _batpriv, fmt, ## arg); \ 126 pr_info("%s: " fmt, _netdev->name, ## arg); \ 135 #define batadv_err(net_dev, fmt, arg...) \ argument [all …]
|
/net/sched/ |
D | sch_drr.c | 55 struct nlattr **tca, unsigned long *arg, in drr_change_class() argument 59 struct drr_class *cl = (struct drr_class *)*arg; in drr_change_class() 138 *arg = (unsigned long)cl; in drr_change_class() 149 static int drr_delete_class(struct Qdisc *sch, unsigned long arg, in drr_delete_class() argument 153 struct drr_class *cl = (struct drr_class *)arg; in drr_delete_class() 198 static void drr_unbind_tcf(struct Qdisc *sch, unsigned long arg) in drr_unbind_tcf() argument 200 struct drr_class *cl = (struct drr_class *)arg; in drr_unbind_tcf() 205 static int drr_graft_class(struct Qdisc *sch, unsigned long arg, in drr_graft_class() argument 209 struct drr_class *cl = (struct drr_class *)arg; in drr_graft_class() 222 static struct Qdisc *drr_class_leaf(struct Qdisc *sch, unsigned long arg) in drr_class_leaf() argument [all …]
|
D | sch_ets.c | 90 ets_class_from_arg(struct Qdisc *sch, unsigned long arg) in ets_class_from_arg() argument 94 return &q->classes[arg - 1]; in ets_class_from_arg() 161 struct Qdisc *old, unsigned long arg, in ets_offload_graft() argument 170 qopt.graft_params.band = arg - 1; in ets_offload_graft() 198 struct nlattr **tca, unsigned long *arg, in ets_class_change() argument 201 struct ets_class *cl = ets_class_from_arg(sch, *arg); in ets_class_change() 247 static int ets_class_graft(struct Qdisc *sch, unsigned long arg, in ets_class_graft() argument 251 struct ets_class *cl = ets_class_from_arg(sch, arg); in ets_class_graft() 263 ets_offload_graft(sch, new, *old, arg, extack); in ets_class_graft() 267 static struct Qdisc *ets_class_leaf(struct Qdisc *sch, unsigned long arg) in ets_class_leaf() argument [all …]
|
D | cls_fw.c | 154 static int fw_delete(struct tcf_proto *tp, void *arg, bool *last, in fw_delete() argument 158 struct fw_filter *f = arg; in fw_delete() 239 u32 handle, struct nlattr **tca, void **arg, in fw_change() argument 243 struct fw_filter *f = *arg; in fw_change() 297 *arg = fnew; in fw_change() 334 *arg = f; in fw_change() 343 static void fw_walk(struct tcf_proto *tp, struct tcf_walker *arg, in fw_walk() argument 350 arg->stop = 1; in fw_walk() 352 if (arg->stop) in fw_walk() 360 if (arg->count < arg->skip) { in fw_walk() [all …]
|
D | cls_cgroup.c | 79 void **arg, u32 flags, in cls_cgroup_change() argument 146 static int cls_cgroup_delete(struct tcf_proto *tp, void *arg, bool *last, in cls_cgroup_delete() argument 152 static void cls_cgroup_walk(struct tcf_proto *tp, struct tcf_walker *arg, in cls_cgroup_walk() argument 157 if (arg->count < arg->skip) in cls_cgroup_walk() 162 if (arg->fn(tp, head, arg) < 0) { in cls_cgroup_walk() 163 arg->stop = 1; in cls_cgroup_walk() 167 arg->count++; in cls_cgroup_walk()
|
D | sch_prio.c | 286 static int prio_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in prio_graft() argument 291 unsigned long band = arg - 1; in prio_graft() 295 TC_H_MAKE(sch->handle, arg), extack); in prio_graft() 317 prio_leaf(struct Qdisc *sch, unsigned long arg) in prio_leaf() argument 320 unsigned long band = arg - 1; in prio_leaf() 370 static void prio_walk(struct Qdisc *sch, struct qdisc_walker *arg) in prio_walk() argument 375 if (arg->stop) in prio_walk() 379 if (arg->count < arg->skip) { in prio_walk() 380 arg->count++; in prio_walk() 383 if (arg->fn(sch, prio + 1, arg) < 0) { in prio_walk() [all …]
|
D | sch_multiq.c | 280 static int multiq_graft(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in multiq_graft() argument 284 unsigned long band = arg - 1; in multiq_graft() 294 multiq_leaf(struct Qdisc *sch, unsigned long arg) in multiq_leaf() argument 297 unsigned long band = arg - 1; in multiq_leaf() 348 static void multiq_walk(struct Qdisc *sch, struct qdisc_walker *arg) in multiq_walk() argument 353 if (arg->stop) in multiq_walk() 357 if (arg->count < arg->skip) { in multiq_walk() 358 arg->count++; in multiq_walk() 361 if (arg->fn(sch, band + 1, arg) < 0) { in multiq_walk() 362 arg->stop = 1; in multiq_walk() [all …]
|
D | cls_basic.c | 125 static int basic_delete(struct tcf_proto *tp, void *arg, bool *last, in basic_delete() argument 129 struct basic_filter *f = arg; in basic_delete() 172 struct nlattr **tca, void **arg, in basic_change() argument 178 struct basic_filter *fold = (struct basic_filter *) *arg; in basic_change() 227 *arg = fnew; in basic_change() 247 static void basic_walk(struct tcf_proto *tp, struct tcf_walker *arg, in basic_walk() argument 254 if (arg->count < arg->skip) in basic_walk() 257 if (arg->fn(tp, f, arg) < 0) { in basic_walk() 258 arg->stop = 1; in basic_walk() 262 arg->count++; in basic_walk()
|
D | sch_skbprio.c | 233 static struct Qdisc *skbprio_leaf(struct Qdisc *sch, unsigned long arg) in skbprio_leaf() argument 260 static void skbprio_walk(struct Qdisc *sch, struct qdisc_walker *arg) in skbprio_walk() argument 264 if (arg->stop) in skbprio_walk() 268 if (arg->count < arg->skip) { in skbprio_walk() 269 arg->count++; in skbprio_walk() 272 if (arg->fn(sch, i + 1, arg) < 0) { in skbprio_walk() 273 arg->stop = 1; in skbprio_walk() 276 arg->count++; in skbprio_walk()
|
D | cls_route.c | 311 static int route4_delete(struct tcf_proto *tp, void *arg, bool *last, in route4_delete() argument 315 struct route4_filter *f = arg; in route4_delete() 472 struct nlattr **tca, void **arg, u32 flags, in route4_change() argument 498 fold = *arg; in route4_change() 555 *arg = f; in route4_change() 570 static void route4_walk(struct tcf_proto *tp, struct tcf_walker *arg, in route4_walk() argument 576 if (head == NULL || arg->stop) in route4_walk() 589 if (arg->count < arg->skip) { in route4_walk() 590 arg->count++; in route4_walk() 593 if (arg->fn(tp, f, arg) < 0) { in route4_walk() [all …]
|
D | sch_qfq.c | 404 struct nlattr **tca, unsigned long *arg, in qfq_change_class() argument 408 struct qfq_class *cl = (struct qfq_class *)*arg; in qfq_change_class() 521 *arg = (unsigned long)cl; in qfq_change_class() 540 static int qfq_delete_class(struct Qdisc *sch, unsigned long arg, in qfq_delete_class() argument 544 struct qfq_class *cl = (struct qfq_class *)arg; in qfq_delete_class() 587 static void qfq_unbind_tcf(struct Qdisc *sch, unsigned long arg) in qfq_unbind_tcf() argument 589 struct qfq_class *cl = (struct qfq_class *)arg; in qfq_unbind_tcf() 594 static int qfq_graft_class(struct Qdisc *sch, unsigned long arg, in qfq_graft_class() argument 598 struct qfq_class *cl = (struct qfq_class *)arg; in qfq_graft_class() 611 static struct Qdisc *qfq_class_leaf(struct Qdisc *sch, unsigned long arg) in qfq_class_leaf() argument [all …]
|
D | sch_hfsc.c | 922 struct nlattr **tca, unsigned long *arg, in hfsc_change_class() argument 926 struct hfsc_class *cl = (struct hfsc_class *)*arg; in hfsc_change_class() 1094 *arg = (unsigned long)cl; in hfsc_change_class() 1111 hfsc_delete_class(struct Qdisc *sch, unsigned long arg, in hfsc_delete_class() argument 1115 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_delete_class() 1189 hfsc_graft_class(struct Qdisc *sch, unsigned long arg, struct Qdisc *new, in hfsc_graft_class() argument 1192 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_graft_class() 1208 hfsc_class_leaf(struct Qdisc *sch, unsigned long arg) in hfsc_class_leaf() argument 1210 struct hfsc_class *cl = (struct hfsc_class *)arg; in hfsc_class_leaf() 1219 hfsc_qlen_notify(struct Qdisc *sch, unsigned long arg) in hfsc_qlen_notify() argument [all …]
|
D | sch_mq.c | 279 static void mq_walk(struct Qdisc *sch, struct qdisc_walker *arg) in mq_walk() argument 284 if (arg->stop) in mq_walk() 287 arg->count = arg->skip; in mq_walk() 288 for (ntx = arg->skip; ntx < dev->num_tx_queues; ntx++) { in mq_walk() 289 if (arg->fn(sch, ntx + 1, arg) < 0) { in mq_walk() 290 arg->stop = 1; in mq_walk() 293 arg->count++; in mq_walk()
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 202 static void gssp_free_receive_pages(struct gssx_arg_accept_sec_context *arg) in gssp_free_receive_pages() argument 206 for (i = 0; i < arg->npages && arg->pages[i]; i++) in gssp_free_receive_pages() 207 __free_page(arg->pages[i]); in gssp_free_receive_pages() 209 kfree(arg->pages); in gssp_free_receive_pages() 212 static int gssp_alloc_receive_pages(struct gssx_arg_accept_sec_context *arg) in gssp_alloc_receive_pages() argument 216 arg->npages = DIV_ROUND_UP(NGROUPS_MAX * 4, PAGE_SIZE); in gssp_alloc_receive_pages() 217 arg->pages = kcalloc(arg->npages, sizeof(struct page *), GFP_KERNEL); in gssp_alloc_receive_pages() 218 if (!arg->pages) in gssp_alloc_receive_pages() 220 for (i = 0; i < arg->npages; i++) { in gssp_alloc_receive_pages() 221 arg->pages[i] = alloc_page(GFP_KERNEL); in gssp_alloc_receive_pages() [all …]
|
/net/atm/ |
D | ioctl.c | 52 unsigned long arg, int compat) in do_vcc_ioctl() argument 58 void __user *argp = (void __user *)arg; in do_vcc_ioctl() 159 error = ic->ioctl(sock, cmd, arg); in do_vcc_ioctl() 196 if (get_user(carg, &csioc->arg)) in do_vcc_ioctl() 206 if (get_user(buf, &sioc->arg)) in do_vcc_ioctl() 218 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl() argument 220 return do_vcc_ioctl(sock, cmd, arg, 0); in vcc_ioctl() 278 unsigned long arg) in do_atm_iobuf() argument 280 struct compat_atm_iobuf __user *iobuf32 = compat_ptr(arg); in do_atm_iobuf() 290 unsigned long arg) in do_atmif_sioc() argument [all …]
|
/net/ipv6/ |
D | fib6_rules.c | 69 struct fib_lookup_arg arg = { in fib6_lookup() local 79 flowi6_to_flowi(fl6), flags, &arg); in fib6_lookup() 97 struct fib_lookup_arg arg = { in fib6_rule_lookup() local 108 flowi6_to_flowi(fl6), flags, &arg); in fib6_rule_lookup() 158 int flags, struct fib_lookup_arg *arg) in fib6_rule_action_alt() argument 160 struct fib6_result *res = arg->result; in fib6_rule_action_alt() 179 tb_id = fib_rule_get_table(rule, arg); in fib6_rule_action_alt() 184 oif = (int *)arg->lookup_data; in fib6_rule_action_alt() 196 int flags, struct fib_lookup_arg *arg) in __fib6_rule_action() argument 198 struct fib6_result *res = arg->result; in __fib6_rule_action() [all …]
|
D | ip6_fib.c | 44 int (*func)(struct fib6_info *, void *arg); 46 void *arg; member 437 static int fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump() argument 442 if (!rt || rt == arg->net->ipv6.fib6_null_entry) in fib6_rt_dump() 446 err = call_fib6_multipath_entry_notifier(arg->nb, fib_event, in fib6_rt_dump() 449 arg->extack); in fib6_rt_dump() 451 err = call_fib6_entry_notifier(arg->nb, fib_event, rt, in fib6_rt_dump() 452 arg->extack); in fib6_rt_dump() 482 struct fib6_dump_arg arg; in fib6_tables_dump() local 492 arg.net = net; in fib6_tables_dump() [all …]
|
D | route.c | 495 struct fib6_nh_dm_arg *arg = _arg; in __rt6_nh_dev_match() local 497 arg->nh = nh; in __rt6_nh_dev_match() 498 return __rt6_device_match(arg->net, nh, arg->saddr, arg->oif, in __rt6_nh_dev_match() 499 arg->flags); in __rt6_nh_dev_match() 508 struct fib6_nh_dm_arg arg = { in rt6_nh_dev_match() local 518 if (nexthop_for_each_fib6_nh(nh, __rt6_nh_dev_match, &arg)) in rt6_nh_dev_match() 519 return arg.nh; in rt6_nh_dev_match() 775 struct fib6_nh_frl_arg *arg = _arg; in rt6_nh_find_match() local 777 arg->nh = nh; in rt6_nh_find_match() 778 return find_match(nh, arg->flags, arg->oif, arg->strict, in rt6_nh_find_match() [all …]
|
/net/rds/ |
D | tcp_recv.c | 157 struct rds_tcp_desc_arg *arg = desc->arg.data; in rds_tcp_data_recv() local 158 struct rds_conn_path *cp = arg->conn_path; in rds_tcp_data_recv() 174 arg->gfp); in rds_tcp_data_recv() 218 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv() 245 arg->gfp); in rds_tcp_data_recv() 267 struct rds_tcp_desc_arg arg; in rds_tcp_read_sock() local 270 arg.conn_path = cp; in rds_tcp_read_sock() 271 arg.gfp = gfp; in rds_tcp_read_sock() 272 desc.arg.data = &arg; in rds_tcp_read_sock()
|
/net/ipv4/ |
D | fib_rules.c | 83 struct fib_lookup_arg arg = { in __fib_lookup() local 92 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup() 94 if (arg.rule) in __fib_lookup() 95 res->tclassid = ((struct fib4_rule *)arg.rule)->tclassid; in __fib_lookup() 109 struct fib_lookup_arg *arg) in fib4_rule_action() argument 132 tb_id = fib_rule_get_table(rule, arg); in fib4_rule_action() 136 (struct fib_result *)arg->result, in fib4_rule_action() 137 arg->flags); in fib4_rule_action() 145 struct fib_lookup_arg *arg) in fib4_rule_suppress() argument 147 struct fib_result *result = (struct fib_result *) arg->result; in fib4_rule_suppress() [all …]
|
/net/netfilter/ |
D | nft_set_hash.c | 42 const struct nft_rhash_cmp_arg *arg = data; in nft_rhash_key() local 44 return jhash(arg->key, len, seed); in nft_rhash_key() 54 static inline int nft_rhash_cmp(struct rhashtable_compare_arg *arg, in nft_rhash_cmp() argument 57 const struct nft_rhash_cmp_arg *x = arg->key; in nft_rhash_cmp() 85 struct nft_rhash_cmp_arg arg = { in nft_rhash_lookup() local 91 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup() 103 struct nft_rhash_cmp_arg arg = { in nft_rhash_get() local 109 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_get() 126 struct nft_rhash_cmp_arg arg = { in nft_rhash_update() local 132 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_update() [all …]
|
/net/nfc/ |
D | digital_technology.c | 215 static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_ats() argument 218 struct nfc_target *target = arg; in digital_in_recv_ats() 272 static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sel_res() argument 275 struct nfc_target *target = arg; in digital_in_recv_sel_res() 387 static void digital_in_recv_sdd_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sdd_res() argument 390 struct nfc_target *target = arg; in digital_in_recv_sdd_res() 476 static void digital_in_recv_sens_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sens_res() argument 575 static void digital_in_recv_attrib_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_attrib_res() argument 578 struct nfc_target *target = arg; in digital_in_recv_attrib_res() 645 static void digital_in_recv_sensb_res(struct nfc_digital_dev *ddev, void *arg, in digital_in_recv_sensb_res() argument [all …]
|
D | digital.h | 96 void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg, 99 void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg, 103 nfc_digital_cmd_complete_t cb, void *arg) in digital_tg_listen() argument 106 timeout, cb, arg); in digital_tg_listen() 109 void digital_tg_recv_atr_req(struct nfc_digital_dev *ddev, void *arg, 116 void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg,
|
/net/bluetooth/rfcomm/ |
D | tty.c | 392 static int __rfcomm_create_dev(struct sock *sk, void __user *arg) in __rfcomm_create_dev() argument 398 if (copy_from_user(&req, arg, sizeof(req))) in __rfcomm_create_dev() 438 static int __rfcomm_release_dev(void __user *arg) in __rfcomm_release_dev() argument 444 if (copy_from_user(&req, arg, sizeof(req))) in __rfcomm_release_dev() 481 static int rfcomm_create_dev(struct sock *sk, void __user *arg) in rfcomm_create_dev() argument 486 ret = __rfcomm_create_dev(sk, arg); in rfcomm_create_dev() 492 static int rfcomm_release_dev(void __user *arg) in rfcomm_release_dev() argument 497 ret = __rfcomm_release_dev(arg); in rfcomm_release_dev() 503 static int rfcomm_get_dev_list(void __user *arg) in rfcomm_get_dev_list() argument 513 if (get_user(dev_num, (u16 __user *) arg)) in rfcomm_get_dev_list() [all …]
|