Home
last modified time | relevance | path

Searched refs:dst_ops (Results 1 – 18 of 18) sorted by relevance

/linux/include/net/
H A Ddst_ops.h15 struct dst_ops { struct
19 void (*gc)(struct dst_ops *ops); argument
46 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
51 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow()
57 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add()
63 static inline int dst_entries_init(struct dst_ops *dst) in dst_entries_init()
68 static inline void dst_entries_destroy(struct dst_ops *dst) in dst_entries_destroy()
20 checkdst_ops global() argument
21 default_advmssdst_ops global() argument
22 mtudst_ops global() argument
H A Dxfrm.h388 struct dst_ops *dst_ops; member
/linux/include/net/netns/
H A Dxfrm.h76 struct dst_ops xfrm4_dst_ops;
78 struct dst_ops xfrm6_dst_ops;
/linux/kernel/trace/
H A Dfgraph.c1012 void fgraph_init_ops(struct ftrace_ops *dst_ops, in fgraph_init_ops() argument
1015 dst_ops->flags = FTRACE_OPS_FL_PID | FTRACE_OPS_GRAPH_STUB; in fgraph_init_ops()
1019 dst_ops->func_hash = &src_ops->local_hash; in fgraph_init_ops()
1020 mutex_init(&dst_ops->local_hash.regex_lock); in fgraph_init_ops()
1021 INIT_LIST_HEAD(&dst_ops->subop_list); in fgraph_init_ops()
1022 dst_ops->flags |= FTRACE_OPS_FL_INITIALIZED; in fgraph_init_ops()
1023 dst_ops->private = src_ops->private; in fgraph_init_ops()
H A Dtrace.h1225 void fgraph_init_ops(struct ftrace_ops *dst_ops,
/linux/net/core/
H A Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
80 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc()
271 static struct dst_ops dst_blackhole_ops = {
H A Dpktgen.c436 struct dst_ops dstops;
/linux/net/xfrm/
H A Dxfrm_policy.c2599 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
2607 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()
2611 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst()
2617 xdst = dst_alloc(dst_ops, NULL, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst()
4122 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local
4123 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo()
4124 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo()
4125 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo()
4126 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()
4127 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo()
[all …]
/linux/net/ipv4/
H A Dxfrm4_policy.c124 static struct dst_ops xfrm4_dst_ops_template = {
136 .dst_ops = &xfrm4_dst_ops_template,
H A Droute.c154 static struct dst_ops ipv4_dst_ops = {
2910 static struct dst_ops ipv4_dst_blackhole_ops = {
/linux/net/bridge/
H A Dbr_nf_core.c52 static struct dst_ops fake_dst_ops = {
/linux/net/ipv6/
H A Dxfrm6_policy.c160 static struct dst_ops xfrm6_dst_ops_template = {
172 .dst_ops = &xfrm6_dst_ops_template,
H A Droute.c95 static void ip6_dst_gc(struct dst_ops *ops);
249 static struct dst_ops ip6_dst_ops_template = {
268 static struct dst_ops ip6_dst_blackhole_ops = {
3372 static void ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
/linux/drivers/net/
H A Drionet.c81 #define is_rionet_capable(src_ops, dst_ops) \ argument
83 (dst_ops & RIO_DST_OPS_DATA_MSG) && \
85 (dst_ops & RIO_DST_OPS_DOORBELL))
87 is_rionet_capable(dev->src_ops, dev->dst_ops)
/linux/net/sched/
H A Dsch_frag.c84 static struct dst_ops sch_frag_dst_ops = { in sch_fragment()
/linux/include/linux/
H A Drio.h190 u32 dst_ops; member
/linux/drivers/rapidio/
H A Drio_cm.c238 #define is_msg_capable(src_ops, dst_ops) \ argument
240 (dst_ops & RIO_DST_OPS_DATA_MSG))
242 is_msg_capable(dev->src_ops, dev->dst_ops)
/linux/net/openvswitch/
H A Dactions.c732 static struct dst_ops ovs_dst_ops = {