Searched refs:fn (Results 1 - 25 of 48) sorted by relevance

12

/net/ipv6/
H A Dip6_icmp.c13 int inet6_register_icmp_sender(ip6_icmp_send_t *fn) argument
15 return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ?
20 int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) argument
24 ret = (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, fn, NULL) == fn) ?
H A Dip6_fib.c65 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; local
147 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC);
149 return fn;
152 static void node_free(struct fib6_node *fn) argument
154 kmem_cache_free(fib6_node_kmem, fn);
426 struct fib6_node *fn, *in, *ln; local
436 fn
666 fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt, struct nl_info *info, struct nlattr *mx, int mx_len) argument
844 struct fib6_node *fn, *pn = NULL; local
995 struct fib6_node *fn; local
1058 struct fib6_node *fn; local
1092 struct fib6_node *fn; local
1122 struct fib6_node *fn; local
1148 fib6_find_prefix(struct net *net, struct fib6_node *fn) argument
1169 fib6_repair_tree(struct net *net, struct fib6_node *fn) argument
1274 fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp, struct nl_info *info) argument
1351 struct fib6_node *fn = rt->rt6i_node; local
1417 struct fib6_node *fn, *pn; local
1619 fib6_prune_clones(struct net *net, struct fib6_node *fn) argument
[all...]
H A Droute.c651 static struct rt6_info *find_rr_leaf(struct fib6_node *fn, argument
663 for (rt = fn->leaf; rt && rt != rr_head && rt->rt6i_metric == metric;
670 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) argument
676 rt0 = fn->rr_ptr;
678 fn->rr_ptr = rt0 = fn->leaf;
680 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict,
688 next = fn->leaf;
691 fn->rr_ptr = next;
776 if (fn
793 struct fib6_node *fn; local
914 struct fib6_node *fn; local
1202 struct fib6_node *fn; local
1709 struct fib6_node *fn; local
1909 struct fib6_node *fn; local
[all...]
/net/ieee802154/
H A Dwpan-class.c118 int (*fn)(struct wpan_phy *phy, void *data); member in struct:wpan_phy_iter_data
127 return wpid->fn(phy, wpid->data);
130 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data),
134 .fn = fn,
/net/dccp/
H A Dfeat.c637 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; local
643 list_for_each_entry_safe_reverse(pos, next, fn, node) {
693 * @fn: feature-negotiation list to register with
700 static int __feat_register_nn(struct list_head *fn, u8 feat, argument
713 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval);
718 * @fn: feature-negotiation list to register with
725 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, argument
741 return dccp_feat_push_change(fn, feat, is_local, mandatory, &fval);
803 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
817 entry = dccp_feat_list_lookup(fn, fea
942 dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) argument
970 struct list_head *fn = &dp->dccps_featneg; local
1000 struct list_head *fn = &dreq->dreq_featneg; local
1097 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1208 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1308 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
1398 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; local
1442 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
[all...]
H A Ddccp.h477 int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
/net/core/
H A Dsock_diag.c87 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
90 inet_rcv_compat = fn;
95 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
/net/rxrpc/
H A Dar-internal.h757 static inline void __rxrpc_new_skb(struct sk_buff *skb, const char *fn) argument
759 //_net("new skb %p %s [%d]", skb, fn, atomic_read(&rxrpc_n_skbs));
765 static inline void __rxrpc_kill_skb(struct sk_buff *skb, const char *fn) argument
767 //_net("kill skb %p %s [%d]", skb, fn, atomic_read(&rxrpc_n_skbs));
773 static inline void __rxrpc_free_skb(struct sk_buff *skb, const char *fn) argument
778 // skb, fn, atomic_read(&rxrpc_n_skbs));
/net/sched/
H A Dcls_tcindex.c451 if (walker->fn(tp,
467 if (walker->fn(tp, (unsigned long) &f->result,
486 walker.fn = tcindex_destroy_element;
H A Dcls_cgroup.c176 if (arg->fn(tp, (unsigned long) head, arg) < 0) {
H A Dsch_mq.c218 if (arg->fn(sch, ntx + 1, arg) < 0) {
H A Dcls_basic.c246 if (arg->fn(tp, (unsigned long) f, arg) < 0) {
H A Dcls_bpf.c350 if (arg->fn(tp, (unsigned long) prog, arg) < 0) {
H A Dcls_fw.c349 if (arg->fn(tp, (unsigned long)f, arg) < 0) {
H A Dsch_dsmark.c179 if (walker->fn(sch, i + 1, walker) < 0) {
H A Dsch_mqprio.c386 if (arg->fn(sch, ntx + 1, arg) < 0) {
H A Dsch_multiq.c383 if (arg->fn(sch, band + 1, arg) < 0) {
H A Dsch_prio.c347 if (arg->fn(sch, prio + 1, arg) < 0) {
H A Dsch_red.c344 if (walker->fn(sch, 1, walker) < 0) {
H A Dcls_u32.c878 if (arg->fn(tp, (unsigned long)ht, arg) < 0) {
892 if (arg->fn(tp, (unsigned long)n, arg) < 0) {
H A Dcls_api.c478 arg.w.fn = tcf_node_dump;
/net/sctp/
H A Dsm_statetable.c61 .fn = sctp_sf_bug,
102 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
/net/netfilter/
H A Dnft_hash.c142 iter->err = iter->fn(ctx, set, iter, &elem);
H A Dnft_rbtree.c205 iter->err = iter->fn(ctx, set, iter, &elem);
/net/dcb/
H A Ddcbnl.c1676 const struct reply_func *fn; local
1690 fn = &reply_funcs[dcb->cmd];
1691 if (!fn->cb)
1704 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq,
1709 ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb);

Completed in 118 milliseconds

12