/net/ipv6/ |
D | ip6_fib.c | 66 static void fib6_prune_clones(struct net *net, struct fib6_node *fn); 67 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn); 68 static struct fib6_node *fib6_repair_tree(struct net *net, struct fib6_node *fn); 146 struct fib6_node *fn; in node_alloc() local 148 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc() 150 return fn; in node_alloc() 153 static void node_free_immediate(struct fib6_node *fn) in node_free_immediate() argument 155 kmem_cache_free(fib6_node_kmem, fn); in node_free_immediate() 160 struct fib6_node *fn = container_of(head, struct fib6_node, rcu); in node_free_rcu() local 162 kmem_cache_free(fib6_node_kmem, fn); in node_free_rcu() [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 | 684 static struct rt6_info *find_rr_leaf(struct fib6_node *fn, in find_rr_leaf() argument 703 for (rt = fn->leaf; rt && rt != rr_head; rt = rt->dst.rt6_next) { in find_rr_leaf() 721 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) in rt6_select() argument 727 rt0 = fn->rr_ptr; in rt6_select() 729 fn->rr_ptr = rt0 = fn->leaf; in rt6_select() 731 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict, in rt6_select() 739 next = fn->leaf; in rt6_select() 742 fn->rr_ptr = next; in rt6_select() 827 static struct fib6_node* fib6_backtrack(struct fib6_node *fn, in fib6_backtrack() argument 832 if (fn->fn_flags & RTN_TL_ROOT) in fib6_backtrack() [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 if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) { in __feat_register_sp() 808 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; in dccp_feat_signal_nn_change() local 822 entry = dccp_feat_list_lookup(fn, feat, 1); in dccp_feat_signal_nn_change() 831 return dccp_feat_push_change(fn, feat, 1, 0, &fval); in dccp_feat_signal_nn_change() 947 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/ipv4/ |
D | fou.c | 427 struct fou_net *fn = net_generic(net, fou_net_id); in fou_add_to_port_list() local 430 mutex_lock(&fn->fou_lock); in fou_add_to_port_list() 431 list_for_each_entry(fout, &fn->fou_list, list) { in fou_add_to_port_list() 433 mutex_unlock(&fn->fou_lock); in fou_add_to_port_list() 438 list_add(&fou->list, &fn->fou_list); in fou_add_to_port_list() 439 mutex_unlock(&fn->fou_lock); in fou_add_to_port_list() 558 struct fou_net *fn = net_generic(net, fou_net_id); in fou_destroy() local 563 mutex_lock(&fn->fou_lock); in fou_destroy() 564 list_for_each_entry(fou, &fn->fou_list, list) { in fou_destroy() 571 mutex_unlock(&fn->fou_lock); in fou_destroy() [all …]
|
/net/ieee802154/ |
D | core.c | 56 int (*fn)(struct wpan_phy *phy, void *data); member 65 return wpid->fn(phy, wpid->data); in wpan_phy_iter() 68 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each() 72 .fn = fn, in wpan_phy_for_each()
|
/net/core/ |
D | sock_diag.c | 169 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 172 inet_rcv_compat = fn; in sock_diag_register_inet_compat() 177 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 | 468 if (walker->fn(tp, in tcindex_walk() 484 if (walker->fn(tp, (unsigned long) &f->result, in tcindex_walk() 506 walker.fn = tcindex_destroy_element; in tcindex_destroy()
|
D | cls_cgroup.c | 152 if (arg->fn(tp, (unsigned long) head, arg) < 0) { in cls_cgroup_walk()
|
D | sch_mq.c | 214 if (arg->fn(sch, ntx + 1, arg) < 0) { in mq_walk()
|
D | cls_basic.c | 238 if (arg->fn(tp, (unsigned long) f, arg) < 0) { in basic_walk()
|
D | sch_multiq.c | 374 if (arg->fn(sch, band + 1, arg) < 0) { in multiq_walk()
|
D | sch_red.c | 349 if (walker->fn(sch, 1, walker) < 0) { in red_walk()
|
D | sch_prio.c | 346 if (arg->fn(sch, prio + 1, arg) < 0) { in prio_walk()
|
D | cls_fw.c | 355 if (arg->fn(tp, (unsigned long)f, arg) < 0) { in fw_walk()
|
D | cls_u32.c | 917 if (arg->fn(tp, (unsigned long)ht, arg) < 0) { in u32_walk() 931 if (arg->fn(tp, (unsigned long)n, arg) < 0) { in u32_walk()
|
D | sch_mqprio.c | 380 if (arg->fn(sch, ntx + 1, arg) < 0) { in mqprio_walk()
|
D | sch_dsmark.c | 175 if (walker->fn(sch, i + 1, walker) < 0) { in dsmark_walk()
|
D | cls_bpf.c | 519 if (arg->fn(tp, (unsigned long) prog, arg) < 0) { in cls_bpf_walk()
|
/net/sctp/ |
D | sm_statetable.c | 61 .fn = sctp_sf_bug, 102 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
|
/net/dcb/ |
D | dcbnl.c | 1711 const struct reply_func *fn; in dcb_doit() local 1725 fn = &reply_funcs[dcb->cmd]; in dcb_doit() 1726 if (!fn->cb) in dcb_doit() 1728 if (fn->type == RTM_SETDCB && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit() 1741 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit() 1746 ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb); in dcb_doit()
|
/net/netfilter/ |
D | nft_rbtree.c | 194 iter->err = iter->fn(ctx, set, iter, &elem); in nft_rbtree_walk()
|
D | nft_hash.c | 226 iter->err = iter->fn(ctx, set, iter, &elem); in nft_hash_walk()
|