| /Linux-v5.15/include/net/ |
| D | dst_ops.h | 15 struct dst_ops { struct 19 int (*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()
|
| D | dst.h | 27 struct dst_ops *ops; 387 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref, 389 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
|
| D | xfrm.h | 317 struct dst_ops *dst_ops; member
|
| /Linux-v5.15/include/net/netns/ |
| D | xfrm.h | 79 struct dst_ops xfrm4_dst_ops; 81 struct dst_ops xfrm6_dst_ops;
|
| D | ipv6.h | 62 struct dst_ops ip6_dst_ops;
|
| /Linux-v5.15/drivers/gpu/drm/ttm/ |
| D | ttm_bo_util.c | 94 const struct ttm_kmap_iter_ops *dst_ops = dst_iter->ops; in ttm_move_memcpy() local 101 if (dst_ops->maps_tt && src_ops->maps_tt) in ttm_move_memcpy() 110 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy() 115 if (dst_ops->unmap_local) in ttm_move_memcpy() 116 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy() 122 dst_ops->map_local(dst_iter, &dst_map, i); in ttm_move_memcpy() 129 if (dst_ops->unmap_local) in ttm_move_memcpy() 130 dst_ops->unmap_local(dst_iter, &dst_map); in ttm_move_memcpy()
|
| /Linux-v5.15/net/core/ |
| D | dst.c | 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() 78 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, in dst_alloc() 276 static struct dst_ops dst_blackhole_ops = {
|
| D | pktgen.c | 431 struct dst_ops dstops;
|
| /Linux-v5.15/net/xfrm/ |
| D | xfrm_policy.c | 2468 struct dst_ops *dst_ops; in xfrm_alloc_dst() local 2476 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst() 2480 dst_ops = &net->xfrm.xfrm6_dst_ops; in xfrm_alloc_dst() 2486 xdst = dst_alloc(dst_ops, NULL, 1, DST_OBSOLETE_NONE, 0); in xfrm_alloc_dst() 3903 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local 3904 if (likely(dst_ops->kmem_cachep == NULL)) in xfrm_policy_register_afinfo() 3905 dst_ops->kmem_cachep = xfrm_dst_cache; in xfrm_policy_register_afinfo() 3906 if (likely(dst_ops->check == NULL)) in xfrm_policy_register_afinfo() 3907 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo() 3908 if (likely(dst_ops->default_advmss == NULL)) in xfrm_policy_register_afinfo() [all …]
|
| /Linux-v5.15/net/bridge/ |
| D | br_nf_core.c | 52 static struct dst_ops fake_dst_ops = {
|
| /Linux-v5.15/net/ipv4/ |
| D | xfrm4_policy.c | 140 static struct dst_ops xfrm4_dst_ops_template = { 152 .dst_ops = &xfrm4_dst_ops_template,
|
| D | route.c | 162 static struct dst_ops ipv4_dst_ops = { 2805 static struct dst_ops ipv4_dst_blackhole_ops = {
|
| /Linux-v5.15/drivers/rapidio/ |
| 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()
|
| D | rio_cm.c | 242 #define is_msg_capable(src_ops, dst_ops) \ argument 244 (dst_ops & RIO_DST_OPS_DATA_MSG)) 246 is_msg_capable(dev->src_ops, dev->dst_ops)
|
| /Linux-v5.15/net/ipv6/ |
| D | xfrm6_policy.c | 157 static struct dst_ops xfrm6_dst_ops_template = { 169 .dst_ops = &xfrm6_dst_ops_template,
|
| D | route.c | 94 static int ip6_dst_gc(struct dst_ops *ops); 245 static struct dst_ops ip6_dst_ops_template = { 264 static struct dst_ops ip6_dst_blackhole_ops = { 3298 static int ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
|
| /Linux-v5.15/drivers/net/ |
| 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-v5.15/net/sched/ |
| D | sch_frag.c | 77 static struct dst_ops sch_frag_dst_ops = {
|
| /Linux-v5.15/include/linux/ |
| D | rio.h | 190 u32 dst_ops; member
|
| /Linux-v5.15/net/decnet/ |
| D | dn_route.c | 103 static int dn_dst_gc(struct dst_ops *ops); 129 static struct dst_ops dn_dst_ops = { 211 static int dn_dst_gc(struct dst_ops *ops) in dn_dst_gc()
|
| /Linux-v5.15/drivers/rapidio/devices/ |
| D | rio_mport_cdev.c | 1776 &rdev->dst_ops); in rio_mport_add_riodev() 1802 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_mport_add_riodev()
|
| /Linux-v5.15/net/openvswitch/ |
| D | actions.c | 781 static struct dst_ops ovs_dst_ops = {
|