/linux/include/net/ |
H A D | dst_ops.h | 15 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 D | dst.h | 28 struct dst_ops *ops; 388 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, 390 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
|
H A D | xfrm.h | 371 struct dst_ops *dst_ops; member
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_util.c | 89 const struct ttm_kmap_iter_ops *dst_ops = dst_iter->ops; in ttm_move_memcpy() local 95 if (dst_ops->maps_tt && src_ops->maps_tt) in ttm_move_memcpy() 101 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy() 106 if (dst_ops->unmap_local) in ttm_move_memcpy() 107 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy() 113 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy() 120 if (dst_ops->unmap_local) in ttm_move_memcpy() 121 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy()
|
/linux/kernel/trace/ |
H A D | fgraph.c | 989 void fgraph_init_ops(struct ftrace_ops *dst_ops, in fgraph_init_ops() argument 992 dst_ops->flags = FTRACE_OPS_FL_PID | FTRACE_OPS_GRAPH_STUB; in fgraph_init_ops() 996 dst_ops->func_hash = &src_ops->local_hash; in fgraph_init_ops() 997 mutex_init(&dst_ops->local_hash.regex_lock); in fgraph_init_ops() 998 INIT_LIST_HEAD(&dst_ops->subop_list); in fgraph_init_ops() 999 dst_ops->flags |= FTRACE_OPS_FL_INITIALIZED; in fgraph_init_ops()
|
H A D | trace.h | 1074 void fgraph_init_ops(struct ftrace_ops *dst_ops,
|
/linux/net/core/ |
H A D | dst.c | 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() 79 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc() 262 static struct dst_ops dst_blackhole_ops = {
|
H A D | pktgen.c | 433 struct dst_ops dstops;
|
/linux/net/xfrm/ |
H A D | xfrm_policy.c | 2601 struct dst_ops *dst_ops; in xfrm_alloc_dst() local 2609 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst() 2613 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst() 2619 xdst = dst_alloc(dst_ops, NULL, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst() 4106 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local 4107 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo() 4108 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo() 4109 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo() 4110 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo() 4111 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo() [all …]
|
/linux/drivers/rapidio/ |
H A D | rio-scan.c | 268 int dst_ops) in rio_device_has_destid() argument 272 return !!((src_ops | dst_ops) & mask); in rio_device_has_destid() 382 &rdev->dst_ops); in rio_setup_device() 400 if (rio_device_has_destid(port, rdev->src_ops, rdev->dst_ops)) { in rio_setup_device() 452 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_setup_device()
|
H A D | rio_cm.c | 244 #define is_msg_capable(src_ops, dst_ops) \ argument 246 (dst_ops & RIO_DST_OPS_DATA_MSG)) 248 is_msg_capable(dev->src_ops, dev->dst_ops)
|
/linux/net/bridge/ |
H A D | br_nf_core.c | 52 static struct dst_ops fake_dst_ops = {
|
/linux/net/ipv6/ |
H A D | xfrm6_policy.c | 156 static struct dst_ops xfrm6_dst_ops_template = { 168 .dst_ops = &xfrm6_dst_ops_template,
|
H A D | route.c | 95 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 = { 3301 static void ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
|
/linux/drivers/net/ |
H A D | rionet.c | 81 #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/include/net/netns/ |
H A D | ipv6.h | 63 struct dst_ops ip6_dst_ops;
|
/linux/net/sched/ |
H A D | sch_frag.c | 79 static struct dst_ops sch_frag_dst_ops = {
|
/linux/include/linux/ |
H A D | rio.h | 190 u32 dst_ops; member
|
/linux/drivers/rapidio/devices/ |
H A D | rio_mport_cdev.c | 1779 &rdev->dst_ops); in rio_mport_add_riodev() 1805 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_mport_add_riodev()
|
/linux/net/ipv4/ |
H A D | route.c | 153 static struct dst_ops ipv4_dst_ops = { 2846 static struct dst_ops ipv4_dst_blackhole_ops = {
|
/linux/net/openvswitch/ |
H A D | actions.c | 835 static struct dst_ops ovs_dst_ops = {
|