/net/ipv6/ |
D | ip6_fib.c | 58 struct fib6_node *fn); 61 struct fib6_node *fn); 109 struct fib6_node *fn; in fib6_update_sernum() local 111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 113 if (fn) in fib6_update_sernum() 114 WRITE_ONCE(fn->fn_sernum, fib6_new_sernum(net)); in fib6_update_sernum() 184 struct fib6_node *fn; in node_alloc() local 186 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc() 187 if (fn) in node_alloc() 190 return fn; in node_alloc() [all …]
|
D | ip6_icmp.c | 16 int inet6_register_icmp_sender(ip6_icmp_send_t *fn) in inet6_register_icmp_sender() argument 18 return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ? in inet6_register_icmp_sender() 23 int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) in inet6_unregister_icmp_sender() argument 27 ret = (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, fn, NULL) == fn) ? in inet6_unregister_icmp_sender()
|
D | route.c | 839 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf, in find_rr_leaf() argument 860 static void rt6_select(struct net *net, struct fib6_node *fn, int oif, in rt6_select() argument 863 struct fib6_info *leaf = rcu_dereference(fn->leaf); in rt6_select() 874 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select() 888 if (fn->fn_bit != key_plen) in rt6_select() 891 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select() 903 rcu_assign_pointer(fn->rr_ptr, next); in rt6_select() 1138 static struct fib6_node* fib6_backtrack(struct fib6_node *fn, in fib6_backtrack() argument 1143 if (fn->fn_flags & RTN_TL_ROOT) in fib6_backtrack() 1145 pn = rcu_dereference(fn->parent); in fib6_backtrack() [all …]
|
/net/dccp/ |
D | feat.c | 636 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; in dccp_feat_insert_opts() local 642 list_for_each_entry_safe_reverse(pos, next, fn, node) { in dccp_feat_insert_opts() 699 static int __feat_register_nn(struct list_head *fn, u8 feat, in __feat_register_nn() argument 712 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval); in __feat_register_nn() 724 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, in __feat_register_sp() argument 740 if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) { in __feat_register_sp() 807 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; in dccp_feat_signal_nn_change() local 821 entry = dccp_feat_list_lookup(fn, feat, 1); in dccp_feat_signal_nn_change() 830 return dccp_feat_push_change(fn, feat, 1, 0, &fval); in dccp_feat_signal_nn_change() 946 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 | 464 int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
|
/net/ipv4/ |
D | fou.c | 536 struct fou_net *fn = net_generic(net, fou_net_id); in fou_add_to_port_list() local 539 mutex_lock(&fn->fou_lock); in fou_add_to_port_list() 540 list_for_each_entry(fout, &fn->fou_list, list) { in fou_add_to_port_list() 542 mutex_unlock(&fn->fou_lock); in fou_add_to_port_list() 547 list_add(&fou->list, &fn->fou_list); in fou_add_to_port_list() 548 mutex_unlock(&fn->fou_lock); in fou_add_to_port_list() 638 struct fou_net *fn = net_generic(net, fou_net_id); in fou_destroy() local 642 mutex_lock(&fn->fou_lock); in fou_destroy() 643 list_for_each_entry(fou, &fn->fou_list, list) { in fou_destroy() 650 mutex_unlock(&fn->fou_lock); in fou_destroy() [all …]
|
/net/core/ |
D | selftests.c | 341 int (*fn)(struct net_device *ndev); member 345 .fn = net_test_netif_carrier, 348 .fn = net_test_phy_phydev, 352 .fn = net_test_phy_loopback_enable, 355 .fn = net_test_phy_loopback_udp, 358 .fn = net_test_phy_loopback_udp_mtu, 361 .fn = net_test_phy_loopback_tcp, 365 .fn = net_test_phy_loopback_disable, 385 buf[i] = net_selftests[i].fn(ndev); in net_selftest()
|
D | sock_diag.c | 165 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_register_inet_compat() 168 inet_rcv_compat = fn; in sock_diag_register_inet_compat() 173 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) in sock_diag_unregister_inet_compat()
|
/net/ieee802154/ |
D | core.c | 42 int (*fn)(struct wpan_phy *phy, void *data); member 51 return wpid->fn(phy, wpid->data); in wpan_phy_iter() 54 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each() 58 .fn = fn, in wpan_phy_for_each()
|
/net/l3mdev/ |
D | l3mdev.c | 29 lookup_by_table_id_t fn) in l3mdev_table_lookup_register() argument 47 hdlr->dev_lookup = fn; in l3mdev_table_lookup_register() 58 lookup_by_table_id_t fn) in l3mdev_table_lookup_unregister() argument 69 if (hdlr->dev_lookup == fn) in l3mdev_table_lookup_unregister()
|
/net/sunrpc/ |
D | xprtmultipath.c | 520 struct rpc_xprt *(*fn)(struct rpc_xprt_iter *)) in xprt_iter_get_helper() 525 ret = fn(xpi); in xprt_iter_get_helper()
|
/net/sctp/ |
D | sm_statetable.c | 47 .fn = sctp_sf_bug, 89 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
|
/net/dcb/ |
D | dcbnl.c | 1751 const struct reply_func *fn; in dcb_doit() local 1765 fn = &reply_funcs[dcb->cmd]; in dcb_doit() 1766 if (!fn->cb) in dcb_doit() 1768 if (fn->type == RTM_SETDCB && !netlink_capable(skb, CAP_NET_ADMIN)) in dcb_doit() 1781 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit() 1786 ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb); in dcb_doit()
|
/net/sched/ |
D | cls_cgroup.c | 162 if (arg->fn(tp, head, arg) < 0) { in cls_cgroup_walk()
|
D | sch_mqprio.c | 650 if (arg->fn(sch, ntx + TC_H_MIN_PRIORITY, arg) < 0) { in mqprio_walk() 665 if (arg->fn(sch, ntx + 1, arg) < 0) { in mqprio_walk()
|
D | sch_skbprio.c | 272 if (arg->fn(sch, i + 1, arg) < 0) { in skbprio_walk()
|
D | sch_mq.c | 289 if (arg->fn(sch, ntx + 1, arg) < 0) { in mq_walk()
|
D | cls_basic.c | 257 if (arg->fn(tp, f, arg) < 0) { in basic_walk()
|
D | sch_api.c | 1397 arg.w.fn = check_loop_fn; in check_loop() 2000 arg.w.fn = tcf_node_bind; in tc_bind_class_walker() 2022 args.w.fn = tc_bind_class_walker; in tc_bind_tclass() 2203 arg.w.fn = qdisc_class_dump; in tc_dump_tclass_qdisc()
|
D | sch_multiq.c | 361 if (arg->fn(sch, band + 1, arg) < 0) { in multiq_walk()
|
D | cls_matchall.c | 278 if (arg->fn(tp, head, arg) < 0) in mall_walk()
|
D | sch_prio.c | 383 if (arg->fn(sch, prio + 1, arg) < 0) { in prio_walk()
|
/net/netfilter/ |
D | nft_lookup.c | 216 iter.fn = nft_setelem_validate; in nft_lookup_validate()
|
D | nft_set_hash.c | 285 iter->err = iter->fn(ctx, set, iter, &elem); in nft_rhash_walk() 649 iter->err = iter->fn(ctx, set, iter, &elem); in nft_hash_walk()
|
D | nft_set_bitmap.c | 231 iter->err = iter->fn(ctx, set, iter, &elem); in nft_bitmap_walk()
|