Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 87) sorted by relevance

1234

/include/net/
Ddst.h119 void (*update_pmtu)(struct dst_entry *dst, u32 mtu);
130 dst_metric(const struct dst_entry *dst, int metric) in dst_metric() argument
132 return dst->metrics[metric-1]; in dst_metric()
135 static inline u32 dst_mtu(const struct dst_entry *dst) in dst_mtu() argument
137 u32 mtu = dst_metric(dst, RTAX_MTU); in dst_mtu()
146 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
148 return msecs_to_jiffies(dst_metric(dst, metric)); in dst_metric_rtt()
151 static inline void set_dst_metric_rtt(struct dst_entry *dst, int metric, in set_dst_metric_rtt() argument
154 dst->metrics[metric-1] = jiffies_to_msecs(rtt); in set_dst_metric_rtt()
158 dst_allfrag(const struct dst_entry *dst) in dst_allfrag() argument
[all …]
Dip6_route.h74 extern int ip6_dst_hoplimit(struct dst_entry *dst);
121 static inline void __ip6_dst_store(struct sock *sk, struct dst_entry *dst, in __ip6_dst_store() argument
125 struct rt6_info *rt = (struct rt6_info *) dst; in __ip6_dst_store()
127 sk_setup_caps(sk, dst); in __ip6_dst_store()
135 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() argument
139 __ip6_dst_store(sk, dst, daddr, saddr); in ip6_dst_store()
145 struct rt6_info *rt = (struct rt6_info *) skb->dst; in ipv6_unicast_destination()
Ddn_route.h69 struct dst_entry dst; member
96 static inline void dn_rt_finish_output(struct sk_buff *skb, char *dst, char *src) in dn_rt_finish_output() argument
101 dst = NULL; in dn_rt_finish_output()
103 if (dev_hard_header(skb, dev, ETH_P_DNA_RT, dst, src, skb->len) >= 0) in dn_rt_finish_output()
Dip6_fib.h86 struct dst_entry dst; member
91 #define rt6i_dev u.dst.dev
92 #define rt6i_nexthop u.dst.neighbour
93 #define rt6i_expires u.dst.expires
119 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev() argument
121 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev()
Dchecksum.h30 __wsum csum_and_copy_from_user (const void __user *src, void *dst, in csum_and_copy_from_user() argument
34 return csum_partial_copy_from_user(src, dst, len, sum, err_ptr); in csum_and_copy_from_user()
45 (const void *src, void __user *dst, int len, __wsum sum, int *err_ptr) in csum_and_copy_to_user() argument
49 if (access_ok(VERIFY_WRITE, dst, len)) { in csum_and_copy_to_user()
50 if (copy_to_user(dst, src, len) == 0) in csum_and_copy_to_user()
Droute.h56 struct dst_entry dst; member
112 extern void ip_rt_redirect(__be32 old_gw, __be32 dst, __be32 new_gw,
118 extern int ip_route_input(struct sk_buff*, __be32 dst, __be32 src, u8 tos, struct net_device *devi…
135 dst_release(&rt->u.dst); in ip_rt_put()
147 static inline int ip_route_connect(struct rtable **rp, __be32 dst, in ip_route_connect() argument
154 .nl_u = { .ip4_u = { .daddr = dst, in ip_route_connect()
168 if (!dst || !src) { in ip_route_connect()
/include/linux/
Dbitmap.h91 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src,
93 extern void __bitmap_shift_right(unsigned long *dst,
95 extern void __bitmap_shift_left(unsigned long *dst,
97 extern void __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
99 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
101 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
103 extern void __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
114 unsigned long *dst, int nbits);
116 unsigned long *dst, int nbits);
121 extern void bitmap_remap(unsigned long *dst, const unsigned long *src,
[all …]
Dtask_io_accounting_ops.h48 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, in task_blk_io_accounting_add() argument
51 dst->read_bytes += src->read_bytes; in task_blk_io_accounting_add()
52 dst->write_bytes += src->write_bytes; in task_blk_io_accounting_add()
53 dst->cancelled_write_bytes += src->cancelled_write_bytes; in task_blk_io_accounting_add()
84 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, in task_blk_io_accounting_add() argument
92 static inline void task_chr_io_accounting_add(struct task_io_accounting *dst, in task_chr_io_accounting_add() argument
95 dst->rchar += src->rchar; in task_chr_io_accounting_add()
96 dst->wchar += src->wchar; in task_chr_io_accounting_add()
97 dst->syscr += src->syscr; in task_chr_io_accounting_add()
98 dst->syscw += src->syscw; in task_chr_io_accounting_add()
[all …]
Dnodemask.h95 #define node_set(node, dst) __node_set((node), &(dst)) argument
101 #define node_clear(node, dst) __node_clear((node), &(dst)) argument
107 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument
113 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument
129 #define nodes_and(dst, src1, src2) \ argument
130 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES)
137 #define nodes_or(dst, src1, src2) \ argument
138 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES)
145 #define nodes_xor(dst, src1, src2) \ argument
146 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES)
[all …]
Dinet.h55 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
56 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
Dcpumask.h148 #define cpu_set(cpu, dst) __cpu_set((cpu), &(dst)) argument
154 #define cpu_clear(cpu, dst) __cpu_clear((cpu), &(dst)) argument
160 #define cpus_setall(dst) __cpus_setall(&(dst), NR_CPUS) argument
166 #define cpus_clear(dst) __cpus_clear(&(dst), NR_CPUS) argument
181 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) argument
188 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) argument
195 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) argument
202 #define cpus_andnot(dst, src1, src2) \ argument
203 __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS)
210 #define cpus_complement(dst, src) __cpus_complement(&(dst), &(src), NR_CPUS) argument
[all …]
Dlzo.h24 unsigned char *dst, size_t *dst_len, void *wrkmem);
28 unsigned char *dst, size_t *dst_len);
Dcrypto.h143 struct scatterlist *dst; member
179 struct scatterlist *dst; member
192 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
193 unsigned int (*prfn)(const struct cipher_desc *desc, u8 *dst,
253 struct scatterlist *dst, struct scatterlist *src,
256 struct scatterlist *dst, struct scatterlist *src,
271 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
272 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
300 unsigned int slen, u8 *dst, unsigned int *dlen);
302 unsigned int slen, u8 *dst, unsigned int *dlen);
[all …]
Duaccess.h96 extern long probe_kernel_read(void *dst, void *src, size_t size);
107 extern long probe_kernel_write(void *dst, void *src, size_t size);
/include/rdma/
Dib_marshall.h41 void ib_copy_qp_attr_to_user(struct ib_uverbs_qp_attr *dst,
44 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst,
47 void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
50 void ib_copy_path_rec_from_user(struct ib_sa_path_rec *dst,
/include/net/netfilter/
Dnf_conntrack_tuple.h99 } dst; member
116 t, t->dst.protonum, in nf_ct_dump_tuple_ip()
118 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
126 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6()
128 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
146 ((enum ip_conntrack_dir)(h)->tuple.dst.dir)
168 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
169 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal()
170 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal()
205 t1->dst.protonum != t2->dst.protonum) in nf_ct_tuple_src_mask_cmp()
/include/asm-mn10300/
Dchecksum.h15 extern __wsum csum_partial_copy_nocheck(const void *src, void *dst,
17 extern __wsum csum_partial_copy_from_user(const void *src, void *dst,
25 extern __wsum csum_partial_copy(const void *src, void *dst, int len,
82 extern __wsum csum_and_copy_to_user(const void *src, void *dst, int len,
Dcacheflush.h51 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
53 memcpy(dst, src, len); \
57 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
58 memcpy(dst, src, len)
/include/asm-m32r/
Dsmp.h26 #define physids_and(dst, src1, src2) bitmap_and((dst).mask, (src1).mask, (src2).mask, MA… argument
27 #define physids_or(dst, src1, src2) bitmap_or((dst).mask, (src1).mask, (src2).mask, MAX… argument
29 #define physids_complement(dst, src) bitmap_complement((dst).mask,(src).mask, MAX_APICS) argument
Dcacheflush.h61 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
63 memcpy(dst, src, len); \
66 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
67 memcpy(dst, src, len)
Dio.h176 memcpy_fromio(void *dst, volatile void __iomem *src, int count) in memcpy_fromio() argument
178 memcpy(dst, (void __force *) src, count); in memcpy_fromio()
182 memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() argument
184 memcpy((void __force *) dst, src, count); in memcpy_toio()
/include/asm-frv/
Dcacheflush.h95 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
97 memcpy((dst), (src), (len)); \
101 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
102 memcpy((dst), (src), (len))
Duaccess.h265 extern long __memset_user(void *dst, unsigned long count);
266 extern long __memcpy_user(void *dst, const void *src, unsigned long count);
268 #define clear_user(dst,count) __memset_user(____force(dst), (count)) argument
274 #define clear_user(dst,count) (memset(____force(dst), 0, (count)), 0) argument
314 extern long strncpy_from_user(char *dst, const char __user *src, long count);
Dio.h119 static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() argument
121 memcpy(dst, (void __force *) src, count); in memcpy_fromio()
124 static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() argument
126 memcpy((void __force *) dst, src, count); in memcpy_toio()
341 static inline void ioread8_rep(void __iomem *p, void *dst, unsigned long count) in ioread8_rep() argument
343 io_insb((unsigned long) p, dst, count); in ioread8_rep()
346 static inline void ioread16_rep(void __iomem *p, void *dst, unsigned long count) in ioread16_rep() argument
348 io_insw((unsigned long) p, dst, count); in ioread16_rep()
351 static inline void ioread32_rep(void __iomem *p, void *dst, unsigned long count) in ioread32_rep() argument
353 __insl_ns((unsigned long) p, dst, count); in ioread32_rep()
/include/linux/netfilter_ipv4/
Dipt_iprange.h15 struct ipt_iprange dst; member

1234