/net/ipv6/ |
D | ip6_fib.c | 65 static void fib6_prune_clones(struct net *net, struct fib6_node *fn); 66 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn); 67 static struct fib6_node *fib6_repair_tree(struct net *net, struct fib6_node *fn); 145 struct fib6_node *fn; in node_alloc() local 147 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc() 149 return fn; in node_alloc() 152 static void node_free(struct fib6_node *fn) in node_free() argument 154 kmem_cache_free(fib6_node_kmem, fn); in node_free() 432 struct fib6_node *fn, *in, *ln; in fib6_add_1() local 442 fn = root; in fib6_add_1() [all …]
|
D | ip6_icmp.c | 13 int inet6_register_icmp_sender(ip6_icmp_send_t *fn) in inet6_register_icmp_sender() argument 15 return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ? in inet6_register_icmp_sender() 20 int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) in inet6_unregister_icmp_sender() argument 24 ret = (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, fn, NULL) == fn) ? in inet6_unregister_icmp_sender()
|
D | route.c | 651 static struct rt6_info *find_rr_leaf(struct fib6_node *fn, in find_rr_leaf() argument 663 for (rt = fn->leaf; rt && rt != rr_head && rt->rt6i_metric == metric; in find_rr_leaf() 670 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) in rt6_select() argument 676 rt0 = fn->rr_ptr; in rt6_select() 678 fn->rr_ptr = rt0 = fn->leaf; in rt6_select() 680 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict, in rt6_select() 688 next = fn->leaf; in rt6_select() 691 fn->rr_ptr = next; in rt6_select() 776 if (fn->fn_flags & RTN_TL_ROOT) \ 778 pn = fn->parent; \ [all …]
|
/net/dccp/ |
D | feat.c | 637 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_insert_opts() local 643 list_for_each_entry_safe_reverse(pos, next, fn, node) { in dccp_feat_insert_opts() 700 static int __feat_register_nn(struct list_head *fn, u8 feat, in __feat_register_nn() argument 713 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval); in __feat_register_nn() 725 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, in __feat_register_sp() argument 741 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval); in __feat_register_sp() 803 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; in dccp_feat_signal_nn_change() local 817 entry = dccp_feat_list_lookup(fn, feat, 1); in dccp_feat_signal_nn_change() 826 return dccp_feat_push_change(fn, feat, 1, 0, &fval); in dccp_feat_signal_nn_change() 942 static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) in dccp_feat_propagate_ccid() argument [all …]
|
D | dccp.h | 477 int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
|
/net/ieee802154/ |
D | wpan-class.c | 118 int (*fn)(struct wpan_phy *phy, void *data); member 127 return wpid->fn(phy, wpid->data); in wpan_phy_iter() 130 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each() 134 .fn = fn, in wpan_phy_for_each()
|
/net/core/ |
D | sock_diag.c | 87 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 90 inet_rcv_compat = fn; in sock_diag_register_inet_compat() 95 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
|
/net/rxrpc/ |
D | ar-internal.h | 757 static inline void __rxrpc_new_skb(struct sk_buff *skb, const char *fn) in __rxrpc_new_skb() argument 765 static inline void __rxrpc_kill_skb(struct sk_buff *skb, const char *fn) in __rxrpc_kill_skb() argument 773 static inline void __rxrpc_free_skb(struct sk_buff *skb, const char *fn) in __rxrpc_free_skb() argument
|
/net/sched/ |
D | cls_tcindex.c | 451 if (walker->fn(tp, in tcindex_walk() 467 if (walker->fn(tp, (unsigned long) &f->result, in tcindex_walk() 486 walker.fn = tcindex_destroy_element; in tcindex_destroy()
|
D | cls_cgroup.c | 176 if (arg->fn(tp, (unsigned long) head, arg) < 0) { in cls_cgroup_walk()
|
D | sch_mq.c | 218 if (arg->fn(sch, ntx + 1, arg) < 0) { in mq_walk()
|
D | cls_basic.c | 246 if (arg->fn(tp, (unsigned long) f, arg) < 0) { in basic_walk()
|
D | cls_bpf.c | 350 if (arg->fn(tp, (unsigned long) prog, arg) < 0) { in cls_bpf_walk()
|
D | sch_multiq.c | 379 if (arg->fn(sch, band + 1, arg) < 0) { in multiq_walk()
|
D | sch_prio.c | 342 if (arg->fn(sch, prio + 1, arg) < 0) { in prio_walk()
|
D | sch_red.c | 340 if (walker->fn(sch, 1, walker) < 0) { in red_walk()
|
D | cls_u32.c | 881 if (arg->fn(tp, (unsigned long)ht, arg) < 0) { in u32_walk() 895 if (arg->fn(tp, (unsigned long)n, arg) < 0) { in u32_walk()
|
D | cls_fw.c | 349 if (arg->fn(tp, (unsigned long)f, arg) < 0) { in fw_walk()
|
D | sch_mqprio.c | 386 if (arg->fn(sch, ntx + 1, arg) < 0) { in mqprio_walk()
|
D | sch_dsmark.c | 173 if (walker->fn(sch, i + 1, walker) < 0) { in dsmark_walk()
|
D | sch_tbf.c | 531 if (walker->fn(sch, 1, walker) < 0) { in tbf_walk()
|
/net/sctp/ |
D | sm_statetable.c | 61 .fn = sctp_sf_bug, 102 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
|
/net/netfilter/ |
D | nft_hash.c | 142 iter->err = iter->fn(ctx, set, iter, &elem); in nft_hash_walk()
|
D | nft_rbtree.c | 205 iter->err = iter->fn(ctx, set, iter, &elem); in nft_rbtree_walk()
|
/net/dcb/ |
D | dcbnl.c | 1676 const struct reply_func *fn; in dcb_doit() local 1690 fn = &reply_funcs[dcb->cmd]; in dcb_doit() 1691 if (!fn->cb) in dcb_doit() 1704 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit() 1709 ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb); in dcb_doit()
|