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

/linux-master/include/net/
H A Ddst_ops.h15 struct dst_ops { struct
19 void (*gc)(struct dst_ops *ops);
46 static inline int dst_entries_get_fast(struct dst_ops *dst)
51 static inline int dst_entries_get_slow(struct dst_ops *dst)
57 static inline void dst_entries_add(struct dst_ops *dst, int val)
63 static inline int dst_entries_init(struct dst_ops *dst)
68 static inline void dst_entries_destroy(struct dst_ops *dst)
H A Ddst.h12 #include <net/dst_ops.h>
28 struct dst_ops *ops;
54 * force invocation of the dst_ops->check() method.
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 Dxfrm.h348 struct dst_ops *dst_ops; member in struct:xfrm_policy_afinfo
/linux-master/include/net/netns/
H A Dxfrm.h10 #include <net/dst_ops.h>
76 struct dst_ops xfrm4_dst_ops;
78 struct dst_ops xfrm6_dst_ops;
H A Dipv6.h10 #include <net/dst_ops.h>
63 struct dst_ops ip6_dst_ops;
/linux-master/net/bridge/
H A Dbr_nf_core.c52 static struct dst_ops fake_dst_ops = {
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c89 const struct ttm_kmap_iter_ops *dst_ops = dst_iter->ops; local
95 if (dst_ops->maps_tt && src_ops->maps_tt)
101 dst_ops->map_local(dst_iter, &dst_map, i);
106 if (dst_ops->unmap_local)
107 dst_ops->unmap_local(dst_iter, &dst_map);
113 dst_ops->map_local(dst_iter, &dst_map, i);
120 if (dst_ops->unmap_local)
121 dst_ops->unmap_local(dst_iter, &dst_map);
/linux-master/net/core/
H A Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
79 void *dst_alloc(struct dst_ops *ops, struct net_device *dev,
145 * make the next dst_ops->check() fail.
255 static struct dst_ops dst_blackhole_ops = {
H A Dpktgen.c433 struct dst_ops dstops;
/linux-master/net/ipv4/
H A Dxfrm4_policy.c127 static struct dst_ops xfrm4_dst_ops_template = {
139 .dst_ops = &xfrm4_dst_ops_template,
H A Droute.c155 static struct dst_ops ipv4_dst_ops = {
2822 static struct dst_ops ipv4_dst_blackhole_ops = {
/linux-master/net/ipv6/
H A Dxfrm6_policy.c149 static struct dst_ops xfrm6_dst_ops_template = {
161 .dst_ops = &xfrm6_dst_ops_template,
H 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 = {
3299 static void ip6_dst_gc(struct dst_ops *ops)
/linux-master/net/xfrm/
H A Dxfrm_policy.c2567 struct dst_ops *dst_ops; local
2575 dst_ops = &net->xfrm.xfrm4_dst_ops;
2579 dst_ops = &net->xfrm.xfrm6_dst_ops;
2585 xdst = dst_alloc(dst_ops, NULL, DST_OBSOLETE_NONE, 0);
3861 * get validated by dst_ops->check on every use. We do this
4072 struct dst_ops *dst_ops = afinfo->dst_ops; local
4073 if (likely(dst_ops
4099 struct dst_ops *dst_ops = afinfo->dst_ops; local
[all...]
/linux-master/drivers/rapidio/
H A Drio-scan.c261 * @dst_ops: RIO device destination operations
263 * Checks the provided @src_ops and @dst_ops for the necessary transaction
268 int dst_ops)
272 return !!((src_ops | dst_ops) & mask);
382 &rdev->dst_ops);
400 if (rio_device_has_destid(port, rdev->src_ops, rdev->dst_ops)) {
452 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL)
267 rio_device_has_destid(struct rio_mport *port, int src_ops, int dst_ops) argument
H A Drio_cm.c244 #define is_msg_capable(src_ops, dst_ops) \
246 (dst_ops & RIO_DST_OPS_DATA_MSG))
248 is_msg_capable(dev->src_ops, dev->dst_ops)
/linux-master/drivers/net/
H A Drionet.c81 #define is_rionet_capable(src_ops, dst_ops) \
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-master/net/sched/
H A Dsch_frag.c79 static struct dst_ops sch_frag_dst_ops = {
/linux-master/include/linux/
H A Drio.h159 * @dst_ops: Destination operation capabilities
190 u32 dst_ops; member in struct:rio_dev
/linux-master/drivers/rapidio/devices/
H A Drio_mport_cdev.c1779 &rdev->dst_ops);
1805 if (rdev->dst_ops & RIO_DST_OPS_DOORBELL)
/linux-master/net/openvswitch/
H A Dactions.c826 static struct dst_ops ovs_dst_ops = {

Completed in 1003 milliseconds