Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 20 of 20) sorted by relevance

/include/net/
Dip6_fib.h130 static inline struct inet_peer *rt6_peer_ptr(struct rt6_info *rt) in rt6_peer_ptr() argument
132 return inetpeer_ptr(rt->_rt6i_peer); in rt6_peer_ptr()
135 static inline bool rt6_has_peer(struct rt6_info *rt) in rt6_has_peer() argument
137 return inetpeer_ptr_is_peer(rt->_rt6i_peer); in rt6_has_peer()
140 static inline void __rt6_set_peer(struct rt6_info *rt, struct inet_peer *peer) in __rt6_set_peer() argument
142 __inetpeer_ptr_set_peer(&rt->_rt6i_peer, peer); in __rt6_set_peer()
145 static inline bool rt6_set_peer(struct rt6_info *rt, struct inet_peer *peer) in rt6_set_peer() argument
147 return inetpeer_ptr_set_peer(&rt->_rt6i_peer, peer); in rt6_set_peer()
150 static inline void rt6_init_peer(struct rt6_info *rt, struct inet_peer_base *base) in rt6_init_peer() argument
152 inetpeer_init_ptr(&rt->_rt6i_peer, base); in rt6_init_peer()
[all …]
Dip6_route.h54 extern void rt6_bind_peer(struct rt6_info *rt, int create);
56 static inline struct inet_peer *__rt6_get_peer(struct rt6_info *rt, int create) in __rt6_get_peer() argument
58 if (rt6_has_peer(rt)) in __rt6_get_peer()
59 return rt6_peer_ptr(rt); in __rt6_get_peer()
61 rt6_bind_peer(rt, create); in __rt6_get_peer()
62 return (rt6_has_peer(rt) ? rt6_peer_ptr(rt) : NULL); in __rt6_get_peer()
65 static inline struct inet_peer *rt6_get_peer(struct rt6_info *rt) in rt6_get_peer() argument
67 return __rt6_get_peer(rt, 0); in rt6_get_peer()
70 static inline struct inet_peer *rt6_get_peer_create(struct rt6_info *rt) in rt6_get_peer_create() argument
72 return __rt6_get_peer(rt, 1); in rt6_get_peer_create()
[all …]
Droute.h65 static inline bool rt_is_input_route(const struct rtable *rt) in rt_is_input_route() argument
67 return rt->rt_is_input != 0; in rt_is_input_route()
70 static inline bool rt_is_output_route(const struct rtable *rt) in rt_is_output_route() argument
72 return rt->rt_is_input == 0; in rt_is_output_route()
75 static inline __be32 rt_nexthop(const struct rtable *rt, __be32 daddr) in rt_nexthop() argument
77 if (rt->rt_gateway) in rt_nexthop()
78 return rt->rt_gateway; in rt_nexthop()
194 extern void ip_rt_get_source(u8 *src, struct sk_buff *skb, struct rtable *rt);
201 static inline void ip_rt_put(struct rtable *rt) in ip_rt_put() argument
207 dst_release(&rt->dst); in ip_rt_put()
[all …]
Ddn_route.h85 static inline bool dn_is_input_route(struct dn_route *rt) in dn_is_input_route() argument
87 return rt->fld.flowidn_iif != 0; in dn_is_input_route()
90 static inline bool dn_is_output_route(struct dn_route *rt) in dn_is_output_route() argument
92 return rt->fld.flowidn_iif == 0; in dn_is_output_route()
Dipx.h150 static __inline__ void ipxrtr_hold(struct ipx_route *rt) in ipxrtr_hold() argument
152 atomic_inc(&rt->refcnt); in ipxrtr_hold()
155 static __inline__ void ipxrtr_put(struct ipx_route *rt) in ipxrtr_put() argument
157 if (atomic_dec_and_test(&rt->refcnt)) in ipxrtr_put()
158 kfree(rt); in ipxrtr_put()
Dx25.h266 static __inline__ void x25_route_hold(struct x25_route *rt) in x25_route_hold() argument
268 atomic_inc(&rt->refcnt); in x25_route_hold()
271 static __inline__ void x25_route_put(struct x25_route *rt) in x25_route_put() argument
273 if (atomic_dec_and_test(&rt->refcnt)) in x25_route_put()
274 kfree(rt); in x25_route_put()
Dif_inet6.h64 struct rt6_info *rt; member
Dip.h117 struct rtable **rt,
429 __be32 daddr, struct rtable *rt, int is_frag);
Dipv6.h680 extern void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt);
731 struct rt6_info *rt,
Dxfrm.h944 struct rtable rt; member
/include/linux/sunrpc/
Dtimer.h22 extern void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo);
23 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m);
24 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer);
26 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) in rpc_set_timeo() argument
31 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo()
42 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) in rpc_ntimeo() argument
46 return rt->ntimeouts[timer-1]; in rpc_ntimeo()
/include/math-emu/
Dquad.h128 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,4,X,r,rs,rt) argument
201 #define FP_FROM_INT_Q(X,r,rs,rt) _FP_FROM_INT(Q,2,X,r,rs,rt) argument
Ddouble.h122 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,2,X,r,rs,rt) argument
197 #define FP_FROM_INT_D(X,r,rs,rt) _FP_FROM_INT(D,1,X,r,rs,rt) argument
Dsingle.h111 #define FP_FROM_INT_S(X,r,rs,rt) _FP_FROM_INT(S,1,X,r,rs,rt) argument
/include/linux/
Dinit_task.h179 .rt = { \
180 .run_list = LIST_HEAD_INIT(tsk.rt.run_list), \
Dkvm_host.h909 int kvm_set_routing_entry(struct kvm_irq_routing_table *rt,
Dsched.h1052 struct sched_rt_entity rt; member
/include/linux/amba/
Dpl022.h257 bool rt; member
/include/uapi/linux/
Dcdrom.h865 __u8 rt : 1; member
882 __u8 rt : 1; member
/include/linux/spi/
Dspi.h373 bool rt; member