Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
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()
A Ddst.h27 struct dst_ops *ops;
381 void *dst_alloc(struct dst_ops *ops, struct net_device *dev, int initial_ref,
383 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
A Dxfrm.h341 struct dst_ops *dst_ops; member
/linux-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_bo_util.c89 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-6.3-rc2/include/net/netns/
A Dxfrm.h75 struct dst_ops xfrm4_dst_ops;
77 struct dst_ops xfrm6_dst_ops;
A Dipv6.h62 struct dst_ops ip6_dst_ops;
/linux-6.3-rc2/net/core/
A Ddst.c47 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()
272 static struct dst_ops dst_blackhole_ops = {
A Dpktgen.c432 struct dst_ops dstops;
/linux-6.3-rc2/net/xfrm/
A Dxfrm_policy.c2544 struct dst_ops *dst_ops; in xfrm_alloc_dst() local
2552 dst_ops = &net->xfrm.xfrm4_dst_ops; in xfrm_alloc_dst()
4009 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_register_afinfo() local
4013 dst_ops->check = xfrm_dst_check; in xfrm_policy_register_afinfo()
4016 if (likely(dst_ops->mtu == NULL)) in xfrm_policy_register_afinfo()
4017 dst_ops->mtu = xfrm_mtu; in xfrm_policy_register_afinfo()
4036 struct dst_ops *dst_ops = afinfo->dst_ops; in xfrm_policy_unregister_afinfo() local
4048 dst_ops->kmem_cachep = NULL; in xfrm_policy_unregister_afinfo()
4049 dst_ops->check = NULL; in xfrm_policy_unregister_afinfo()
4050 dst_ops->negative_advice = NULL; in xfrm_policy_unregister_afinfo()
[all …]
/linux-6.3-rc2/net/bridge/
A Dbr_nf_core.c52 static struct dst_ops fake_dst_ops = {
/linux-6.3-rc2/drivers/rapidio/
A Drio-scan.c268 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()
A Drio_cm.c242 #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-6.3-rc2/net/ipv4/
A Dxfrm4_policy.c138 static struct dst_ops xfrm4_dst_ops_template = {
150 .dst_ops = &xfrm4_dst_ops_template,
A Droute.c155 static struct dst_ops ipv4_dst_ops = {
2820 static struct dst_ops ipv4_dst_blackhole_ops = {
/linux-6.3-rc2/net/ipv6/
A Dxfrm6_policy.c155 static struct dst_ops xfrm6_dst_ops_template = {
167 .dst_ops = &xfrm6_dst_ops_template,
A Droute.c94 static void ip6_dst_gc(struct dst_ops *ops);
250 static struct dst_ops ip6_dst_ops_template = {
269 static struct dst_ops ip6_dst_blackhole_ops = {
3287 static void ip6_dst_gc(struct dst_ops *ops) in ip6_dst_gc()
/linux-6.3-rc2/drivers/net/
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-6.3-rc2/net/sched/
A Dsch_frag.c79 static struct dst_ops sch_frag_dst_ops = {
/linux-6.3-rc2/include/linux/
A Drio.h190 u32 dst_ops; member
/linux-6.3-rc2/drivers/rapidio/devices/
A Drio_mport_cdev.c1777 &rdev->dst_ops); in rio_mport_add_riodev()
1803 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL) in rio_mport_add_riodev()
/linux-6.3-rc2/net/openvswitch/
A Dactions.c817 static struct dst_ops ovs_dst_ops = {

Completed in 68 milliseconds