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

12

/net/ipv6/
H A Dip6_fib.c78 static void fib6_prune_clones(struct net *net, struct fib6_node *fn,
80 static struct rt6_info *fib6_find_prefix(struct net *net, struct fib6_node *fn);
81 static struct fib6_node *fib6_repair_tree(struct net *net, struct fib6_node *fn);
152 struct fib6_node *fn; local
154 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC);
156 return fn;
159 static __inline__ void node_free(struct fib6_node * fn) argument
161 kmem_cache_free(fib6_node_kmem, fn);
433 struct fib6_node *fn, *in, *ln; local
444 fn
639 fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt, struct nl_info *info) argument
804 struct fib6_node *fn, *pn = NULL; local
954 struct fib6_node *fn; local
1009 struct fib6_node *fn; local
1043 struct fib6_node *fn; local
1073 struct fib6_node *fn; local
1099 fib6_find_prefix(struct net *net, struct fib6_node *fn) argument
1120 fib6_repair_tree(struct net *net, struct fib6_node *fn) argument
1221 fib6_del_route(struct fib6_node *fn, struct rt6_info **rtp, struct nl_info *info) argument
1298 struct fib6_node *fn = rt->rt6i_node; local
1364 struct fib6_node *fn, *pn; local
1566 fib6_prune_clones(struct net *net, struct fib6_node *fn, struct rt6_info *rt) argument
[all...]
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 Droute.c596 static struct rt6_info *find_rr_leaf(struct fib6_node *fn, argument
607 for (rt = fn->leaf; rt && rt != rr_head && rt->rt6i_metric == metric;
614 static struct rt6_info *rt6_select(struct fib6_node *fn, int oif, int strict) argument
619 rt0 = fn->rr_ptr;
621 fn->rr_ptr = rt0 = fn->leaf;
623 match = find_rr_leaf(fn, rt0, rt0->rt6i_metric, oif, strict);
631 next = fn->leaf;
634 fn->rr_ptr = next;
716 if (fn
733 struct fib6_node *fn; local
857 struct fib6_node *fn; local
1601 struct fib6_node *fn; local
1800 struct fib6_node *fn; local
[all...]
/net/ieee802154/
H A Dwpan-class.c115 int (*fn)(struct wpan_phy *phy, void *data); member in struct:wpan_phy_iter_data
123 return wpid->fn(phy, wpid->data);
126 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data),
130 .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.h483 extern int dccp_feat_activate_values(struct sock *sk, struct list_head *fn);
/net/core/
H A Dsock_diag.c90 void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
93 inet_rcv_compat = fn;
98 void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
/net/vmw_vsock/
H A Daf_vsock.h173 void vsock_for_each_connected_socket(void (*fn)(struct sock *sk));
/net/rxrpc/
H A Dar-internal.h731 static inline void __rxrpc_new_skb(struct sk_buff *skb, const char *fn) argument
733 //_net("new skb %p %s [%d]", skb, fn, atomic_read(&rxrpc_n_skbs));
739 static inline void __rxrpc_kill_skb(struct sk_buff *skb, const char *fn) argument
741 //_net("kill skb %p %s [%d]", skb, fn, atomic_read(&rxrpc_n_skbs));
747 static inline void __rxrpc_free_skb(struct sk_buff *skb, const char *fn) argument
752 // skb, fn, atomic_read(&rxrpc_n_skbs));
/net/sched/
H A Dcls_tcindex.c374 if (walker->fn(tp,
390 if (walker->fn(tp, (unsigned long) &f->result,
417 walker.fn = &tcindex_destroy_element;
H A Dcls_cgroup.c256 if (arg->fn(tp, (unsigned long) head, arg) < 0) {
H A Dsch_mq.c215 if (arg->fn(sch, ntx + 1, arg) < 0) {
H A Dcls_basic.c238 if (arg->fn(tp, (unsigned long) f, arg) < 0) {
H A Dcls_fw.c321 if (arg->fn(tp, (unsigned long)f, arg) < 0) {
H A Dsch_dsmark.c178 if (walker->fn(sch, i + 1, walker) < 0) {
H A Dsch_mqprio.c382 if (arg->fn(sch, ntx + 1, arg) < 0) {
H A Dsch_multiq.c384 if (arg->fn(sch, band + 1, arg) < 0) {
H A Dsch_prio.c346 if (arg->fn(sch, prio + 1, arg) < 0) {
H A Dsch_red.c344 if (walker->fn(sch, 1, walker) < 0) {
H A Dsch_tbf.c419 if (walker->fn(sch, 1, walker) < 0) {
H A Dcls_u32.c696 if (arg->fn(tp, (unsigned long)ht, arg) < 0) {
708 if (arg->fn(tp, (unsigned long)n, arg) < 0) {
H A Dcls_api.c479 arg.w.fn = tcf_node_dump;
/net/sctp/
H A Dsm_statetable.c68 .fn = sctp_sf_bug,
109 #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func}
/net/dcb/
H A Ddcbnl.c1671 const struct reply_func *fn; local
1685 fn = &reply_funcs[dcb->cmd];
1686 if (!fn->cb)
1701 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq,
1708 ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb);
/net/mac80211/
H A Dutil.c422 void (*fn)(void *data), void *data)
446 if (fn)
447 fn(data);

Completed in 689 milliseconds

12