Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 200 of 1516) sorted by relevance

12345678

/linux-4.1.27/arch/cris/arch-v32/lib/
Dmemset.c72 register char *dst __asm__ ("r13") = pdst; in memset()
78 if ((unsigned long) dst & 1) in memset()
80 *dst = (char) lc; in memset()
82 dst++; in memset()
85 if ((unsigned long) dst & 2) in memset()
87 *(short *) dst = lc; in memset()
89 dst += 2; in memset()
150 : "=r" (dst), "=r" (n) in memset()
153 : "0" (dst), "1" (n), "r" (lc)); in memset()
159 *(long *) dst = lc; dst += 4; in memset()
[all …]
Dstring.c53 register unsigned char *dst __asm__ ("r13") = pdst; in memcpy()
60 if (((unsigned long) dst & 3) != 0 in memcpy()
65 if ((unsigned long) dst & 1) in memcpy()
68 *dst = *src; in memcpy()
70 dst++; in memcpy()
73 if ((unsigned long) dst & 2) in memcpy()
76 *(short *) dst = *(short *) src; in memcpy()
78 dst += 2; in memcpy()
128 : "=r" (dst), "=r" (src), "=r" (n) in memcpy()
131 : "0" (dst), "1" (src), "2" (n)); in memcpy()
[all …]
Dusercopy.c39 register char *dst __asm__ ("r13") = pdst; in __copy_user()
48 if (((unsigned long) dst & 3) != 0 in __copy_user()
53 if ((unsigned long) dst & 1) in __copy_user()
55 __asm_copy_to_user_1 (dst, src, retn); in __copy_user()
59 if ((unsigned long) dst & 2) in __copy_user()
61 __asm_copy_to_user_2 (dst, src, retn); in __copy_user()
121 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn) in __copy_user()
122 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn)); in __copy_user()
128 __asm_copy_to_user_16 (dst, src, retn); in __copy_user()
136 __asm_copy_to_user_4 (dst, src, retn); in __copy_user()
[all …]
/linux-4.1.27/arch/cris/arch-v10/lib/
Dmemset.c72 register char *dst __asm__ ("r13") = pdst; in memset()
78 if ((unsigned long) dst & 1) in memset()
80 *dst = (char) lc; in memset()
82 dst++; in memset()
85 if ((unsigned long) dst & 2) in memset()
87 *(short *) dst = lc; in memset()
89 dst += 2; in memset()
150 : "=r" (dst), "=r" (n) in memset()
153 : "0" (dst), "1" (n), "r" (lc)); in memset()
159 *(long *) dst = lc; dst += 4; in memset()
[all …]
Dstring.c53 register unsigned char *dst __asm__ ("r13") = pdst; in memcpy()
60 if (((unsigned long) dst & 3) != 0 in memcpy()
65 if ((unsigned long) dst & 1) in memcpy()
68 *dst = *src; in memcpy()
70 dst++; in memcpy()
73 if ((unsigned long) dst & 2) in memcpy()
76 *(short *) dst = *(short *) src; in memcpy()
78 dst += 2; in memcpy()
128 : "=r" (dst), "=r" (src), "=r" (n) in memcpy()
131 : "0" (dst), "1" (src), "2" (n)); in memcpy()
[all …]
Dusercopy.c43 register char *dst __asm__ ("r13") = pdst; in __copy_user()
52 if (((unsigned long) dst & 3) != 0 in __copy_user()
57 if ((unsigned long) dst & 1) in __copy_user()
59 __asm_copy_to_user_1 (dst, src, retn); in __copy_user()
63 if ((unsigned long) dst & 2) in __copy_user()
65 __asm_copy_to_user_2 (dst, src, retn); in __copy_user()
148 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn) in __copy_user()
149 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn)); in __copy_user()
160 __asm_copy_to_user_16 (dst, src, retn); in __copy_user()
168 __asm_copy_to_user_4 (dst, src, retn); in __copy_user()
[all …]
/linux-4.1.27/drivers/infiniband/core/
Duverbs_marshall.c36 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, in ib_copy_ah_attr_to_user() argument
39 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); in ib_copy_ah_attr_to_user()
40 dst->grh.flow_label = src->grh.flow_label; in ib_copy_ah_attr_to_user()
41 dst->grh.sgid_index = src->grh.sgid_index; in ib_copy_ah_attr_to_user()
42 dst->grh.hop_limit = src->grh.hop_limit; in ib_copy_ah_attr_to_user()
43 dst->grh.traffic_class = src->grh.traffic_class; in ib_copy_ah_attr_to_user()
44 memset(&dst->grh.reserved, 0, sizeof(dst->grh.reserved)); in ib_copy_ah_attr_to_user()
45 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user()
46 dst->sl = src->sl; in ib_copy_ah_attr_to_user()
47 dst->src_path_bits = src->src_path_bits; in ib_copy_ah_attr_to_user()
[all …]
/linux-4.1.27/net/core/
Ddst.c53 static void ___dst_free(struct dst_entry *dst);
68 struct dst_entry *dst, *next, head; in dst_gc_task() local
75 while ((dst = next) != NULL) { in dst_gc_task()
76 next = dst->next; in dst_gc_task()
79 if (likely(atomic_read(&dst->__refcnt))) { in dst_gc_task()
80 last->next = dst; in dst_gc_task()
81 last = dst; in dst_gc_task()
87 dst = dst_destroy(dst); in dst_gc_task()
88 if (dst) { in dst_gc_task()
97 if (dst->obsolete > 0) in dst_gc_task()
[all …]
/linux-4.1.27/include/net/
Ddst.h108 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
118 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument
120 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only()
123 static inline void dst_metrics_set_force_overwrite(struct dst_entry *dst) in dst_metrics_set_force_overwrite() argument
125 dst->_metrics |= DST_METRICS_FORCE_OVERWRITE; in dst_metrics_set_force_overwrite()
128 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
130 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument
132 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic()
134 __dst_destroy_metrics_generic(dst, val); in dst_destroy_metrics_generic()
137 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() argument
[all …]
Ddst_ops.h27 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk,
29 void (*redirect)(struct dst_entry *dst, struct sock *sk,
32 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
41 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
43 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
46 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow() argument
51 res = percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow()
56 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add() argument
59 percpu_counter_add(&dst->pcpuc_entries, val); in dst_entries_add()
63 static inline int dst_entries_init(struct dst_ops *dst) in dst_entries_init() argument
[all …]
Dip6_fib.h95 struct dst_entry dst; member
162 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev() argument
164 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev()
170 rt->dst.expires = 0; in rt6_clean_expires()
175 rt->dst.expires = expires; in rt6_set_expires()
184 rt = (struct rt6_info *)rt->dst.from); in rt6_update_expires()
186 rt0->dst.expires = rt->dst.expires; in rt6_update_expires()
188 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
198 rt->dst.from = new; in rt6_set_from()
206 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
[all …]
/linux-4.1.27/drivers/video/fbdev/core/
Dcfbfillrect.c35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument
50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned()
57 dst++; in bitfill_aligned()
64 FB_WRITEL(pat, dst++); in bitfill_aligned()
65 FB_WRITEL(pat, dst++); in bitfill_aligned()
66 FB_WRITEL(pat, dst++); in bitfill_aligned()
67 FB_WRITEL(pat, dst++); in bitfill_aligned()
68 FB_WRITEL(pat, dst++); in bitfill_aligned()
69 FB_WRITEL(pat, dst++); in bitfill_aligned()
[all …]
Dsysfillrect.c25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument
40 *dst = comp(pat, *dst, first); in bitfill_aligned()
46 *dst = comp(pat, *dst, first); in bitfill_aligned()
47 dst++; in bitfill_aligned()
54 *dst++ = pat; in bitfill_aligned()
55 *dst++ = pat; in bitfill_aligned()
56 *dst++ = pat; in bitfill_aligned()
57 *dst++ = pat; in bitfill_aligned()
58 *dst++ = pat; in bitfill_aligned()
59 *dst++ = pat; in bitfill_aligned()
[all …]
Dsyscopyarea.c28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy() argument
44 *dst = comp(*src, *dst, first); in bitcpy()
49 *dst = comp(*src, *dst, first); in bitcpy()
50 dst++; in bitcpy()
58 *dst++ = *src++; in bitcpy()
59 *dst++ = *src++; in bitcpy()
60 *dst++ = *src++; in bitcpy()
61 *dst++ = *src++; in bitcpy()
62 *dst++ = *src++; in bitcpy()
63 *dst++ = *src++; in bitcpy()
[all …]
Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, in bitcpy() argument
58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy()
73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
80 dst++; in bitcpy()
88 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
89 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
90 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
91 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
92 FB_WRITEL(FB_READL(src++), dst++); in bitcpy()
[all …]
Dsysimgblt.c56 u32 *dst, *dst2; in color_imageblit() local
66 dst = dst1; in color_imageblit()
73 val = *dst & start_mask; in color_imageblit()
85 *dst++ = val; in color_imageblit()
97 *dst &= end_mask; in color_imageblit()
98 *dst |= val; in color_imageblit()
116 u32 *dst, *dst2; in slow_imageblit() local
131 dst = dst1; in slow_imageblit()
138 val = *dst & start_mask; in slow_imageblit()
149 *dst++ = val; in slow_imageblit()
[all …]
Dcfbimgblt.c81 u32 __iomem *dst, *dst2; in color_imageblit() local
92 dst = (u32 __iomem *) dst1; in color_imageblit()
99 val = FB_READL(dst) & start_mask; in color_imageblit()
111 FB_WRITEL(val, dst++); in color_imageblit()
124 FB_WRITEL((FB_READL(dst) & end_mask) | val, dst); in color_imageblit()
144 u32 __iomem *dst, *dst2; in slow_imageblit() local
160 dst = (u32 __iomem *) dst1; in slow_imageblit()
167 val = FB_READL(dst) & start_mask; in slow_imageblit()
178 FB_WRITEL(val, dst++); in slow_imageblit()
192 FB_WRITEL((FB_READL(dst) & end_mask) | val, dst); in slow_imageblit()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-obdo.c53 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid) in obdo_from_la() argument
58 dst->o_atime = la->la_atime; in obdo_from_la()
62 dst->o_mtime = la->la_mtime; in obdo_from_la()
66 dst->o_ctime = la->la_ctime; in obdo_from_la()
70 dst->o_size = la->la_size; in obdo_from_la()
74 dst->o_blocks = la->la_blocks; in obdo_from_la()
78 dst->o_mode = (dst->o_mode & S_IALLUGO) | in obdo_from_la()
83 dst->o_mode = (dst->o_mode & S_IFMT) | in obdo_from_la()
88 dst->o_uid = la->la_uid; in obdo_from_la()
92 dst->o_gid = la->la_gid; in obdo_from_la()
[all …]
/linux-4.1.27/arch/nios2/lib/
Dmemmove.c16 unsigned long dst, src; in memmove() local
22 dst = (unsigned long) d; in memmove()
25 if ((count < 8) || ((dst ^ src) & 3)) in memmove()
28 if (dst & 1) { in memmove()
29 *(char *)dst++ = *(char *)src++; in memmove()
32 if (dst & 2) { in memmove()
33 *(short *)dst = *(short *)src; in memmove()
35 dst += 2; in memmove()
39 *(long *)dst = *(long *)src; in memmove()
41 dst += 4; in memmove()
[all …]
/linux-4.1.27/arch/parisc/kernel/
Dbinfmt_elf32.c15 #define ELF_CORE_COPY_REGS(dst, pt) \ argument
16 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \
18 for (i = 0; i < 32; i++) dst[i] = (elf_greg_t) pt->gr[i]; \
19 for (i = 0; i < 8; i++) dst[32 + i] = (elf_greg_t) pt->sr[i]; \
21 dst[40] = (elf_greg_t) pt->iaoq[0]; dst[41] = (elf_greg_t) pt->iaoq[1]; \
22 dst[42] = (elf_greg_t) pt->iasq[0]; dst[43] = (elf_greg_t) pt->iasq[1]; \
23 dst[44] = (elf_greg_t) pt->sar; dst[45] = (elf_greg_t) pt->iir; \
24 dst[46] = (elf_greg_t) pt->isr; dst[47] = (elf_greg_t) pt->ior; \
25 dst[48] = (elf_greg_t) mfctl(22); dst[49] = (elf_greg_t) mfctl(0); \
26 dst[50] = (elf_greg_t) mfctl(24); dst[51] = (elf_greg_t) mfctl(25); \
[all …]
/linux-4.1.27/arch/x86/include/asm/
Duaccess_64.h52 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocheck() argument
57 return copy_user_generic(dst, (__force void *)src, size); in __copy_from_user_nocheck()
59 case 1:__get_user_asm(*(u8 *)dst, (u8 __user *)src, in __copy_from_user_nocheck()
62 case 2:__get_user_asm(*(u16 *)dst, (u16 __user *)src, in __copy_from_user_nocheck()
65 case 4:__get_user_asm(*(u32 *)dst, (u32 __user *)src, in __copy_from_user_nocheck()
68 case 8:__get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
72 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
76 __get_user_asm(*(u16 *)(8 + (char *)dst), in __copy_from_user_nocheck()
81 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck()
85 __get_user_asm(*(u64 *)(8 + (char *)dst), in __copy_from_user_nocheck()
[all …]
Dstring_64.h36 #define memcpy(dst, src, len) \ argument
41 __ret = __memcpy((dst), (src), __len); \
43 __ret = __builtin_memcpy((dst), (src), __len); \
52 #define memcpy(dst, src, len) __inline_memcpy((dst), (src), (len)) argument
77 #define memcpy(dst, src, len) __memcpy(dst, src, len) argument
78 #define memmove(dst, src, len) __memmove(dst, src, len) argument
Dchecksum_32.h30 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst,
41 static inline __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument
44 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck()
48 void *dst, in csum_partial_copy_from_user() argument
56 ret = csum_partial_copy_generic((__force void *)src, dst, in csum_partial_copy_from_user()
181 void __user *dst, in csum_and_copy_to_user() argument
188 if (access_ok(VERIFY_WRITE, dst, len)) { in csum_and_copy_to_user()
190 ret = csum_partial_copy_generic(src, (__force void *)dst, in csum_and_copy_to_user()
/linux-4.1.27/include/linux/
Dbitmap.h94 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src,
96 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src,
98 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src,
100 extern int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
102 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
104 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
106 extern int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
148 unsigned long *dst, int nbits);
150 unsigned long *dst, int nbits);
154 unsigned long *dst, int nbits);
[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 …]
Drpmsg.h60 u32 dst; member
115 u32 dst; member
199 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_send() local
201 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send()
223 int rpmsg_sendto(struct rpmsg_channel *rpdev, void *data, int len, u32 dst) in rpmsg_sendto() argument
227 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_sendto()
251 int rpmsg_send_offchannel(struct rpmsg_channel *rpdev, u32 src, u32 dst, in rpmsg_send_offchannel() argument
254 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send_offchannel()
276 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_trysend() local
278 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, false); in rpmsg_trysend()
[all …]
Dnodemask.h115 #define node_set(node, dst) __node_set((node), &(dst)) argument
121 #define node_clear(node, dst) __node_clear((node), &(dst)) argument
127 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument
133 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument
149 #define nodes_and(dst, src1, src2) \ argument
150 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES)
157 #define nodes_or(dst, src1, src2) \ argument
158 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES)
165 #define nodes_xor(dst, src1, src2) \ argument
166 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES)
[all …]
Dstring_helpers.h23 int string_unescape(char *src, char *dst, size_t size, unsigned int flags);
30 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument
32 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any()
50 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
54 char *dst, size_t osz, const char *esc) in string_escape_mem_any_np() argument
56 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, esc); in string_escape_mem_any_np()
59 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument
62 return string_escape_mem(src, strlen(src), dst, sz, flags, esc); in string_escape_str()
65 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument
68 return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, esc); in string_escape_str_any_np()
/linux-4.1.27/arch/arm64/lib/
Dmemset.S53 dst .req x8 label
58 mov dst, dstin /* Preserve return value. */
68 str A_l, [dst], #8
71 str A_lw, [dst], #4
74 strh A_lw, [dst], #2
77 strb A_lw, [dst]
83 neg tmp2, dst
91 stp A_l, A_l, [dst] /*non-aligned store..*/
94 add dst, dst, tmp2
108 stp A_l, A_l, [dst], #16
[all …]
Dmemcpy.S48 dst .req x6 label
60 mov dst, dstin
77 strb tmp1w, [dst], #1
81 strh tmp1w, [dst], #2
85 str tmp1w, [dst], #4
89 str tmp1, [dst],#8
109 stp A_l, A_h, [dst], #16
112 stp A_l, A_h, [dst], #16
115 stp A_l, A_h, [dst], #16
130 str tmp1, [dst], #8
[all …]
Dmemmove.S49 dst .req x6 label
67 add dst, dstin, count
82 strb tmp1w, [dst, #-1]!
86 strh tmp1w, [dst, #-2]!
90 str tmp1w, [dst, #-4]!
94 str tmp1, [dst, #-8]!
115 stp A_l, A_h, [dst, #-16]!
118 stp A_l, A_h, [dst, #-16]!
121 stp A_l, A_h, [dst, #-16]!
126 str tmp1, [dst, #-8]!
[all …]
/linux-4.1.27/drivers/phy/
Dphy-xgene.c106 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument
107 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000))
108 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument
109 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000))
111 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument
112 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff))
114 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument
115 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f))
121 #define CFG_IND_ADDR_SET(dst, src) \ argument
122 (((dst) & ~0x003ffff0) | (((u32) (src) << 4) & 0x003ffff0))
[all …]
/linux-4.1.27/arch/x86/crypto/
Dblowfish_glue.c37 asmlinkage void __blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src,
39 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src);
42 asmlinkage void __blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst,
44 asmlinkage void blowfish_dec_blk_4way(struct bf_ctx *ctx, u8 *dst,
47 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk() argument
49 __blowfish_enc_blk(ctx, dst, src, false); in blowfish_enc_blk()
52 static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor() argument
55 __blowfish_enc_blk(ctx, dst, src, true); in blowfish_enc_blk_xor()
58 static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_4way() argument
61 __blowfish_enc_blk_4way(ctx, dst, src, false); in blowfish_enc_blk_4way()
[all …]
Ddes3_ede_glue.c37 asmlinkage void des3_ede_x86_64_crypt_blk(const u32 *expkey, u8 *dst,
41 asmlinkage void des3_ede_x86_64_crypt_blk_3way(const u32 *expkey, u8 *dst,
44 static inline void des3_ede_enc_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk() argument
49 des3_ede_x86_64_crypt_blk(enc_ctx, dst, src); in des3_ede_enc_blk()
52 static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk() argument
57 des3_ede_x86_64_crypt_blk(dec_ctx, dst, src); in des3_ede_dec_blk()
60 static inline void des3_ede_enc_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk_3way() argument
65 des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src); in des3_ede_enc_blk_3way()
68 static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk_3way() argument
73 des3_ede_x86_64_crypt_blk_3way(dec_ctx, dst, src); in des3_ede_dec_blk_3way()
[all …]
Dglue_helper.c49 u8 *wdst = walk->dst.virt.addr; in __glue_ecb_crypt_128bit()
82 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ecb_crypt_128bit() argument
87 blkcipher_walk_init(&walk, dst, src, nbytes); in glue_ecb_crypt_128bit()
100 u128 *dst = (u128 *)walk->dst.virt.addr; in __glue_cbc_encrypt_128bit() local
104 u128_xor(dst, src, iv); in __glue_cbc_encrypt_128bit()
105 fn(ctx, (u8 *)dst, (u8 *)dst); in __glue_cbc_encrypt_128bit()
106 iv = dst; in __glue_cbc_encrypt_128bit()
109 dst += 1; in __glue_cbc_encrypt_128bit()
119 struct scatterlist *dst, in glue_cbc_encrypt_128bit() argument
125 blkcipher_walk_init(&walk, dst, src, nbytes); in glue_cbc_encrypt_128bit()
[all …]
Dglue_helper-asm-avx.S28 #define store_8way(dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
29 vmovdqu x0, (0*16)(dst); \
30 vmovdqu x1, (1*16)(dst); \
31 vmovdqu x2, (2*16)(dst); \
32 vmovdqu x3, (3*16)(dst); \
33 vmovdqu x4, (4*16)(dst); \
34 vmovdqu x5, (5*16)(dst); \
35 vmovdqu x6, (6*16)(dst); \
36 vmovdqu x7, (7*16)(dst);
38 #define store_cbc_8way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
[all …]
Dcast5_avx_glue.c40 asmlinkage void cast5_ecb_enc_16way(struct cast5_ctx *ctx, u8 *dst,
42 asmlinkage void cast5_ecb_dec_16way(struct cast5_ctx *ctx, u8 *dst,
44 asmlinkage void cast5_cbc_dec_16way(struct cast5_ctx *ctx, u8 *dst,
46 asmlinkage void cast5_ctr_16way(struct cast5_ctx *ctx, u8 *dst, const u8 *src,
67 void (*fn)(struct cast5_ctx *ctx, u8 *dst, const u8 *src); in ecb_crypt()
77 u8 *wdst = walk->dst.virt.addr; in ecb_crypt()
114 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
119 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_encrypt()
123 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument
128 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_decrypt()
[all …]
Dtwofish_glue_3way.c39 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument
42 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way()
45 static inline void twofish_enc_blk_xor_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_xor_3way() argument
48 __twofish_enc_blk_3way(ctx, dst, src, true); in twofish_enc_blk_xor_3way()
51 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way() argument
58 twofish_dec_blk_3way(ctx, (u8 *)dst, (u8 *)src); in twofish_dec_blk_cbc_3way()
60 u128_xor(&dst[1], &dst[1], &ivs[0]); in twofish_dec_blk_cbc_3way()
61 u128_xor(&dst[2], &dst[2], &ivs[1]); in twofish_dec_blk_cbc_3way()
65 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr() argument
69 if (dst != src) in twofish_enc_blk_ctr()
[all …]
Dglue_helper-asm-avx2.S23 #define store_16way(dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument
24 vmovdqu x0, (0*32)(dst); \
25 vmovdqu x1, (1*32)(dst); \
26 vmovdqu x2, (2*32)(dst); \
27 vmovdqu x3, (3*32)(dst); \
28 vmovdqu x4, (4*32)(dst); \
29 vmovdqu x5, (5*32)(dst); \
30 vmovdqu x6, (6*32)(dst); \
31 vmovdqu x7, (7*32)(dst);
33 #define store_cbc_16way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7, t0) \ argument
[all …]
Dtwofish_avx_glue.c51 asmlinkage void twofish_ecb_enc_8way(struct twofish_ctx *ctx, u8 *dst,
53 asmlinkage void twofish_ecb_dec_8way(struct twofish_ctx *ctx, u8 *dst,
56 asmlinkage void twofish_cbc_dec_8way(struct twofish_ctx *ctx, u8 *dst,
58 asmlinkage void twofish_ctr_8way(struct twofish_ctx *ctx, u8 *dst,
61 asmlinkage void twofish_xts_enc_8way(struct twofish_ctx *ctx, u8 *dst,
63 asmlinkage void twofish_xts_dec_8way(struct twofish_ctx *ctx, u8 *dst,
66 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument
69 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way()
72 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc() argument
74 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_enc()
[all …]
Dcast6_avx_glue.c45 asmlinkage void cast6_ecb_enc_8way(struct cast6_ctx *ctx, u8 *dst,
47 asmlinkage void cast6_ecb_dec_8way(struct cast6_ctx *ctx, u8 *dst,
50 asmlinkage void cast6_cbc_dec_8way(struct cast6_ctx *ctx, u8 *dst,
52 asmlinkage void cast6_ctr_8way(struct cast6_ctx *ctx, u8 *dst, const u8 *src,
55 asmlinkage void cast6_xts_enc_8way(struct cast6_ctx *ctx, u8 *dst,
57 asmlinkage void cast6_xts_dec_8way(struct cast6_ctx *ctx, u8 *dst,
60 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc() argument
62 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in cast6_xts_enc()
66 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec() argument
68 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in cast6_xts_dec()
[all …]
Dserpent_avx_glue.c45 asmlinkage void serpent_ecb_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst,
49 asmlinkage void serpent_ecb_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
53 asmlinkage void serpent_cbc_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
57 asmlinkage void serpent_ctr_8way_avx(struct serpent_ctx *ctx, u8 *dst,
61 asmlinkage void serpent_xts_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst,
65 asmlinkage void serpent_xts_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
69 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr() argument
77 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr()
81 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc() argument
83 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in serpent_xts_enc()
[all …]
Daes_glue.c13 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_encrypt_x86() argument
15 aes_enc_blk(ctx, dst, src); in crypto_aes_encrypt_x86()
19 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_decrypt_x86() argument
21 aes_dec_blk(ctx, dst, src); in crypto_aes_decrypt_x86()
25 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() argument
27 aes_enc_blk(crypto_tfm_ctx(tfm), dst, src); in aes_encrypt()
30 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() argument
32 aes_dec_blk(crypto_tfm_ctx(tfm), dst, src); in aes_decrypt()
Dcamellia_aesni_avx_glue.c30 asmlinkage void camellia_ecb_enc_16way(struct camellia_ctx *ctx, u8 *dst,
34 asmlinkage void camellia_ecb_dec_16way(struct camellia_ctx *ctx, u8 *dst,
38 asmlinkage void camellia_cbc_dec_16way(struct camellia_ctx *ctx, u8 *dst,
42 asmlinkage void camellia_ctr_16way(struct camellia_ctx *ctx, u8 *dst,
46 asmlinkage void camellia_xts_enc_16way(struct camellia_ctx *ctx, u8 *dst,
50 asmlinkage void camellia_xts_dec_16way(struct camellia_ctx *ctx, u8 *dst,
54 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc() argument
56 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in camellia_xts_enc()
61 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec() argument
63 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in camellia_xts_dec()
[all …]
Dserpent_sse2_glue.c48 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway() argument
56 serpent_dec_blk_xway(ctx, (u8 *)dst, (u8 *)src); in serpent_decrypt_cbc_xway()
59 u128_xor(dst + (j + 1), dst + (j + 1), ivs + j); in serpent_decrypt_cbc_xway()
62 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr() argument
70 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr()
73 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway() argument
80 if (dst != src) in serpent_crypt_ctr_xway()
81 dst[i] = src[i]; in serpent_crypt_ctr_xway()
87 serpent_enc_blk_xway_xor(ctx, (u8 *)dst, (u8 *)ctrblks); in serpent_crypt_ctr_xway()
142 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
[all …]
Daesni-intel_glue.c333 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() argument
338 crypto_aes_encrypt_x86(ctx, dst, src); in aes_encrypt()
341 aesni_enc(ctx, dst, src); in aes_encrypt()
346 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() argument
351 crypto_aes_decrypt_x86(ctx, dst, src); in aes_decrypt()
354 aesni_dec(ctx, dst, src); in aes_decrypt()
359 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_encrypt() argument
363 aesni_enc(ctx, dst, src); in __aes_encrypt()
366 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_decrypt() argument
370 aesni_dec(ctx, dst, src); in __aes_decrypt()
[all …]
Dserpent_avx2_glue.c31 asmlinkage void serpent_ecb_enc_16way(struct serpent_ctx *ctx, u8 *dst,
33 asmlinkage void serpent_ecb_dec_16way(struct serpent_ctx *ctx, u8 *dst,
35 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src);
37 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src,
39 asmlinkage void serpent_xts_enc_16way(struct serpent_ctx *ctx, u8 *dst,
41 asmlinkage void serpent_xts_dec_16way(struct serpent_ctx *ctx, u8 *dst,
140 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
143 return glue_ecb_crypt_128bit(&serpent_enc, desc, dst, src, nbytes); in ecb_encrypt()
146 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument
149 return glue_ecb_crypt_128bit(&serpent_dec, desc, dst, src, nbytes); in ecb_decrypt()
[all …]
Dcamellia_glue.c39 asmlinkage void __camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst,
42 asmlinkage void camellia_dec_blk(struct camellia_ctx *ctx, u8 *dst,
47 asmlinkage void __camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst,
50 asmlinkage void camellia_dec_blk_2way(struct camellia_ctx *ctx, u8 *dst,
54 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument
56 camellia_enc_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_encrypt()
59 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument
61 camellia_dec_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_decrypt()
1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way() argument
1286 camellia_dec_blk_2way(ctx, (u8 *)dst, (u8 *)src); in camellia_decrypt_cbc_2way()
[all …]
Dcamellia_aesni_avx2_glue.c31 asmlinkage void camellia_ecb_enc_32way(struct camellia_ctx *ctx, u8 *dst,
33 asmlinkage void camellia_ecb_dec_32way(struct camellia_ctx *ctx, u8 *dst,
36 asmlinkage void camellia_cbc_dec_32way(struct camellia_ctx *ctx, u8 *dst,
38 asmlinkage void camellia_ctr_32way(struct camellia_ctx *ctx, u8 *dst,
41 asmlinkage void camellia_xts_enc_32way(struct camellia_ctx *ctx, u8 *dst,
43 asmlinkage void camellia_xts_dec_32way(struct camellia_ctx *ctx, u8 *dst,
154 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument
157 return glue_ecb_crypt_128bit(&camellia_enc, desc, dst, src, nbytes); in ecb_encrypt()
160 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument
163 return glue_ecb_crypt_128bit(&camellia_dec, desc, dst, src, nbytes); in ecb_decrypt()
[all …]
Dtwofish_glue.c47 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst,
50 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst,
54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt() argument
56 twofish_enc_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_encrypt()
59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt() argument
61 twofish_dec_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_decrypt()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dmixer_grp_layer.c153 struct mxr_crop *dst = &geo->dst; in mxr_graph_fix_geometry() local
164 x_center = dst->x_offset + dst->width / 2; in mxr_graph_fix_geometry()
165 y_center = dst->y_offset + dst->height / 2; in mxr_graph_fix_geometry()
168 dst->width = round_down(dst->width, 2); in mxr_graph_fix_geometry()
169 dst->height = round_down(dst->height, 2); in mxr_graph_fix_geometry()
171 dst->width = round_up(dst->width, 2); in mxr_graph_fix_geometry()
172 dst->height = round_up(dst->height, 2); in mxr_graph_fix_geometry()
175 dst->width = min(dst->width, dst->full_width); in mxr_graph_fix_geometry()
176 dst->height = min(dst->height, dst->full_height); in mxr_graph_fix_geometry()
179 dst->width = min(dst->width, 2 * src->full_width); in mxr_graph_fix_geometry()
[all …]
Dmixer_vp_layer.c147 struct mxr_crop *dst = &geo->dst; in mxr_vp_fix_geometry() local
155 x_center = dst->x_offset + dst->width / 2; in mxr_vp_fix_geometry()
156 y_center = dst->y_offset + dst->height / 2; in mxr_vp_fix_geometry()
159 dst->width = clamp(dst->width, 8U, 16 * src->full_width); in mxr_vp_fix_geometry()
160 dst->height = clamp(dst->height, 1U, 16 * src->full_height); in mxr_vp_fix_geometry()
163 dst->x_offset = do_center(x_center, dst->width, in mxr_vp_fix_geometry()
164 dst->full_width, flags); in mxr_vp_fix_geometry()
165 dst->y_offset = do_center(y_center, dst->height, in mxr_vp_fix_geometry()
166 dst->full_height, flags); in mxr_vp_fix_geometry()
175 src->width = clamp(src->width, round_up(dst->width / 16, 4), in mxr_vp_fix_geometry()
[all …]
/linux-4.1.27/lib/
Dstring_helpers.c128 static bool unescape_space(char **src, char **dst) in unescape_space() argument
130 char *p = *dst, *q = *src; in unescape_space()
151 *dst += 1; in unescape_space()
156 static bool unescape_octal(char **src, char **dst) in unescape_octal() argument
158 char *p = *dst, *q = *src; in unescape_octal()
170 *dst += 1; in unescape_octal()
175 static bool unescape_hex(char **src, char **dst) in unescape_hex() argument
177 char *p = *dst, *q = *src; in unescape_hex()
194 *dst += 1; in unescape_hex()
199 static bool unescape_special(char **src, char **dst) in unescape_special() argument
[all …]
Dstrncpy_from_user.c11 #define IS_UNALIGNED(src, dst) 0 argument
13 #define IS_UNALIGNED(src, dst) \ argument
14 (((long) dst | (long) src) & (sizeof(long) - 1))
23 static inline long do_strncpy_from_user(char *dst, const char __user *src, long count, unsigned lon… in do_strncpy_from_user() argument
35 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user()
44 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
60 dst[res] = c; in do_strncpy_from_user()
99 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
110 return do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()
Diomap.c145 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument
149 *dst = data; in mmio_insb()
150 dst++; in mmio_insb()
153 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument
157 *dst = data; in mmio_insw()
158 dst++; in mmio_insw()
161 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument
165 *dst = data; in mmio_insl()
166 dst++; in mmio_insl()
195 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument
[all …]
Dbitmap.c61 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) in __bitmap_complement() argument
65 dst[k] = ~src[k]; in __bitmap_complement()
68 dst[k] = ~src[k]; in __bitmap_complement()
83 void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, in __bitmap_shift_right() argument
108 dst[k] = lower | upper; in __bitmap_shift_right()
111 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
128 void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, in __bitmap_shift_left() argument
146 dst[k + off] = lower | upper; in __bitmap_shift_left()
149 memset(dst, 0, off*sizeof(unsigned long)); in __bitmap_shift_left()
153 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
[all …]
/linux-4.1.27/drivers/video/fbdev/
Datafb_utils.h219 static inline void fast_memmove(char *dst, const char *src, size_t size) in fast_memmove() argument
223 if (dst < src) in fast_memmove()
231 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove()
232 : "0" (src), "1" (dst), "2" (size / 16 - 1) in fast_memmove()
242 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove()
243 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1) in fast_memmove()
279 static inline void fill8_col(u8 *dst, u32 m[]) in fill8_col() argument
282 dst[0] = tmp; in fill8_col()
283 dst[2] = (tmp >>= 8); in fill8_col()
285 dst[4] = (tmp >>= 8); in fill8_col()
[all …]
Damifb.c2600 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument
2622 *dst = comp(*src, *dst, first); in bitcpy()
2627 *dst = comp(*src, *dst, first); in bitcpy()
2628 dst++; in bitcpy()
2636 *dst++ = *src++; in bitcpy()
2637 *dst++ = *src++; in bitcpy()
2638 *dst++ = *src++; in bitcpy()
2639 *dst++ = *src++; in bitcpy()
2640 *dst++ = *src++; in bitcpy()
2641 *dst++ = *src++; in bitcpy()
[all …]
Dc2p_iplan2.c48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() argument
52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2()
53 put_unaligned_be32(d[perm_c2p_16x8[i]], dst); in store_iplan2()
61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) in store_iplan2_masked() argument
65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked()
67 get_unaligned_be32(dst), mask), in store_iplan2_masked()
68 dst); in store_iplan2_masked()
85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_iplan2() argument
96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2()
104 p = dst; in c2p_iplan2()
[all …]
Dc2p_planar.c48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) in store_planar() argument
52 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar()
53 put_unaligned_be32(d[perm_c2p_32x8[i]], dst); in store_planar()
61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, in store_planar_masked() argument
66 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar_masked()
68 get_unaligned_be32(dst), mask), in store_planar_masked()
69 dst); in store_planar_masked()
86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_planar() argument
98 dst += dy*dst_nextline+(dx & ~31); in c2p_planar()
104 p = dst; in c2p_planar()
[all …]
Datafb_iplan2p2.c40 u8 *src, *dst; in atafb_iplan2p2_copyarea() local
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea()
56 dst += BPL * 2; in atafb_iplan2p2_copyarea()
62 d = (u32 *)dst; in atafb_iplan2p2_copyarea()
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea()
81 dst -= BPL * 2; in atafb_iplan2p2_copyarea()
82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p2_copyarea()
88 d = (u32 *)dst; in atafb_iplan2p2_copyarea()
[all …]
Datafb_iplan2p4.c40 u8 *src, *dst; in atafb_iplan2p4_copyarea() local
52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea()
56 dst += BPL * 2; in atafb_iplan2p4_copyarea()
62 d = (u32 *)dst; in atafb_iplan2p4_copyarea()
73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea()
77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea()
81 dst -= BPL * 2; in atafb_iplan2p4_copyarea()
82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p4_copyarea()
88 d = (u32 *)dst; in atafb_iplan2p4_copyarea()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobdo.c48 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent) in obdo_set_parent_fid() argument
50 dst->o_parent_oid = fid_oid(parent); in obdo_set_parent_fid()
51 dst->o_parent_seq = fid_seq(parent); in obdo_set_parent_fid()
52 dst->o_parent_ver = fid_ver(parent); in obdo_set_parent_fid()
53 dst->o_valid |= OBD_MD_FLGENER | OBD_MD_FLFID; in obdo_set_parent_fid()
59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) in obdo_from_inode() argument
69 dst->o_atime = LTIME_S(src->i_atime); in obdo_from_inode()
73 dst->o_mtime = LTIME_S(src->i_mtime); in obdo_from_inode()
77 dst->o_ctime = LTIME_S(src->i_ctime); in obdo_from_inode()
81 dst->o_size = i_size_read(src); in obdo_from_inode()
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dptrace.c1498 struct regset_getset *dst = arg; in do_gpregs_get() local
1518 if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(1)) { in do_gpregs_get()
1519 dst->ret = user_regset_copyout_zero(&dst->pos, &dst->count, in do_gpregs_get()
1520 &dst->u.get.kbuf, in do_gpregs_get()
1521 &dst->u.get.ubuf, in do_gpregs_get()
1523 if (dst->ret || dst->count == 0) in do_gpregs_get()
1528 if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(16)) { in do_gpregs_get()
1529 index = (dst->pos - ELF_GR_OFFSET(1)) / sizeof(elf_greg_t); in do_gpregs_get()
1530 min_copy = ELF_GR_OFFSET(16) > (dst->pos + dst->count) ? in do_gpregs_get()
1531 (dst->pos + dst->count) : ELF_GR_OFFSET(16); in do_gpregs_get()
[all …]
Dprocess.c447 elf_greg_t *dst = arg; in do_copy_task_regs() local
452 memset(dst, 0, sizeof(elf_gregset_t)); /* don't leak any kernel bits to user-level */ in do_copy_task_regs()
481 unw_get_gr(info, i, &dst[i], &nat); in do_copy_task_regs()
486 dst[32] = nat_bits; in do_copy_task_regs()
487 unw_get_pr(info, &dst[33]); in do_copy_task_regs()
490 unw_get_br(info, i, &dst[34 + i]); in do_copy_task_regs()
493 dst[42] = ip + ia64_psr(pt)->ri; in do_copy_task_regs()
494 dst[43] = cfm; in do_copy_task_regs()
495 dst[44] = pt->cr_ipsr & IA64_PSR_UM; in do_copy_task_regs()
497 unw_get_ar(info, UNW_AR_RSC, &dst[45]); in do_copy_task_regs()
[all …]
/linux-4.1.27/security/selinux/ss/
Dcontext.h40 static inline int mls_context_cpy(struct context *dst, struct context *src) in mls_context_cpy() argument
44 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy()
45 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy()
49 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy()
50 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy()
52 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy()
60 static inline int mls_context_cpy_low(struct context *dst, struct context *src) in mls_context_cpy_low() argument
64 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low()
65 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low()
69 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low()
[all …]
/linux-4.1.27/arch/x86/include/asm/crypto/
Dcamellia.h40 asmlinkage void __camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst,
42 asmlinkage void camellia_dec_blk(struct camellia_ctx *ctx, u8 *dst,
46 asmlinkage void __camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst,
48 asmlinkage void camellia_dec_blk_2way(struct camellia_ctx *ctx, u8 *dst,
52 asmlinkage void camellia_ecb_enc_16way(struct camellia_ctx *ctx, u8 *dst,
54 asmlinkage void camellia_ecb_dec_16way(struct camellia_ctx *ctx, u8 *dst,
57 asmlinkage void camellia_cbc_dec_16way(struct camellia_ctx *ctx, u8 *dst,
59 asmlinkage void camellia_ctr_16way(struct camellia_ctx *ctx, u8 *dst,
62 asmlinkage void camellia_xts_enc_16way(struct camellia_ctx *ctx, u8 *dst,
64 asmlinkage void camellia_xts_dec_16way(struct camellia_ctx *ctx, u8 *dst,
[all …]
Dserpent-sse2.h11 asmlinkage void __serpent_enc_blk_4way(struct serpent_ctx *ctx, u8 *dst,
13 asmlinkage void serpent_dec_blk_4way(struct serpent_ctx *ctx, u8 *dst,
16 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway() argument
19 __serpent_enc_blk_4way(ctx, dst, src, false); in serpent_enc_blk_xway()
22 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor() argument
25 __serpent_enc_blk_4way(ctx, dst, src, true); in serpent_enc_blk_xway_xor()
28 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway() argument
31 serpent_dec_blk_4way(ctx, dst, src); in serpent_dec_blk_xway()
38 asmlinkage void __serpent_enc_blk_8way(struct serpent_ctx *ctx, u8 *dst,
40 asmlinkage void serpent_dec_blk_8way(struct serpent_ctx *ctx, u8 *dst,
[all …]
Dglue_helper.h13 typedef void (*common_glue_func_t)(void *ctx, u8 *dst, const u8 *src);
14 typedef void (*common_glue_cbc_func_t)(void *ctx, u128 *dst, const u128 *src);
15 typedef void (*common_glue_ctr_func_t)(void *ctx, u128 *dst, const u128 *src,
17 typedef void (*common_glue_xts_func_t)(void *ctx, u128 *dst, const u128 *src,
78 static inline void le128_to_be128(be128 *dst, const le128 *src) in le128_to_be128() argument
80 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128()
81 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128()
84 static inline void be128_to_le128(le128 *dst, const be128 *src) in be128_to_le128() argument
86 dst->a = cpu_to_le64(be64_to_cpu(src->a)); in be128_to_le128()
87 dst->b = cpu_to_le64(be64_to_cpu(src->b)); in be128_to_le128()
[all …]
Dserpent-avx.h19 asmlinkage void serpent_ecb_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst,
21 asmlinkage void serpent_ecb_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
24 asmlinkage void serpent_cbc_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
26 asmlinkage void serpent_ctr_8way_avx(struct serpent_ctx *ctx, u8 *dst,
29 asmlinkage void serpent_xts_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst,
31 asmlinkage void serpent_xts_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst,
34 extern void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src,
37 extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv);
38 extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
Dtwofish.h20 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst,
22 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst,
26 asmlinkage void __twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst,
28 asmlinkage void twofish_dec_blk_3way(struct twofish_ctx *ctx, u8 *dst,
32 extern void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src);
33 extern void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src,
35 extern void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src,
/linux-4.1.27/arch/mips/cavium-octeon/
Docteon-memcpy.S20 #define dst a0 macro
157 move v0, dst /* return value */
197 EXC( STORE t0, UNIT(0)(dst), s_exc_p16u)
198 EXC( STORE t1, UNIT(1)(dst), s_exc_p15u)
199 EXC( STORE t2, UNIT(2)(dst), s_exc_p14u)
200 EXC( STORE t3, UNIT(3)(dst), s_exc_p13u)
205 EXC( STORE t0, UNIT(4)(dst), s_exc_p12u)
206 EXC( STORE t1, UNIT(5)(dst), s_exc_p11u)
207 EXC( STORE t2, UNIT(6)(dst), s_exc_p10u)
209 EXC( STORE t3, UNIT(7)(dst), s_exc_p9u)
[all …]
/linux-4.1.27/net/sched/
Dem_meta.c104 struct meta_obj *dst, int *err)
112 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR()
125 dst->value = fixed_loadavg(avenrun[0]); in META_COLLECTOR()
130 dst->value = fixed_loadavg(avenrun[1]); in META_COLLECTOR()
135 dst->value = fixed_loadavg(avenrun[2]); in META_COLLECTOR()
142 static inline int int_dev(struct net_device *dev, struct meta_obj *dst) in int_dev() argument
147 dst->value = dev->ifindex; in int_dev()
151 static inline int var_dev(struct net_device *dev, struct meta_obj *dst) in var_dev() argument
156 dst->value = (unsigned long) dev->name; in var_dev()
157 dst->len = strlen(dev->name); in var_dev()
[all …]
Dcls_rsvp.h79 __be32 dst[RSVP_DST_LEN]; member
103 static inline unsigned int hash_dst(__be32 *dst, u8 protocol, u8 tunnelid) in hash_dst() argument
105 unsigned int h = (__force __u32)dst[RSVP_DST_LEN - 1]; in hash_dst()
138 __be32 *dst, *src; in rsvp_classify() local
160 dst = &nhptr->daddr.s6_addr32[0]; in rsvp_classify()
165 dst = &nhptr->daddr; in rsvp_classify()
172 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
177 if (dst[RSVP_DST_LEN-1] == s->dst[RSVP_DST_LEN - 1] && in rsvp_classify()
182 dst[0] == s->dst[0] && in rsvp_classify()
183 dst[1] == s->dst[1] && in rsvp_classify()
[all …]
/linux-4.1.27/tools/perf/util/
Dquote.c20 static void sq_quote_buf(struct strbuf *dst, const char *src) in sq_quote_buf() argument
24 if (dst->buf == src) in sq_quote_buf()
25 to_free = strbuf_detach(dst, NULL); in sq_quote_buf()
27 strbuf_addch(dst, '\''); in sq_quote_buf()
30 strbuf_add(dst, src, len); in sq_quote_buf()
33 strbuf_addstr(dst, "'\\"); in sq_quote_buf()
34 strbuf_addch(dst, *src++); in sq_quote_buf()
35 strbuf_addch(dst, '\''); in sq_quote_buf()
38 strbuf_addch(dst, '\''); in sq_quote_buf()
42 void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen) in sq_quote_argv() argument
[all …]
Dalias.c28 int src, dst, count = 0, size = 16; in split_cmdline() local
35 for (src = dst = 0; cmdline[src];) { in split_cmdline()
38 cmdline[dst++] = 0; in split_cmdline()
46 (*argv)[count++] = cmdline + dst; in split_cmdline()
62 cmdline[dst++] = c; in split_cmdline()
67 cmdline[dst] = 0; in split_cmdline()
/linux-4.1.27/arch/parisc/include/asm/
Delf.h277 #define ELF_CORE_COPY_REGS(dst, pt) \ argument
278 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \
279 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \
280 memcpy(dst + 32, pt->sr, 8 * sizeof(elf_greg_t)); \
281 memcpy(dst + 40, pt->iaoq, 2 * sizeof(elf_greg_t)); \
282 memcpy(dst + 42, pt->iasq, 2 * sizeof(elf_greg_t)); \
283 dst[44] = pt->sar; dst[45] = pt->iir; \
284 dst[46] = pt->isr; dst[47] = pt->ior; \
285 dst[48] = mfctl(22); dst[49] = mfctl(0); \
286 dst[50] = mfctl(24); dst[51] = mfctl(25); \
[all …]
/linux-4.1.27/net/ceph/
Darmor.c4 int ceph_armor(char *dst, const char *src, const char *end);
5 int ceph_unarmor(char *dst, const char *src, const char *end);
36 int ceph_armor(char *dst, const char *src, const char *end) in ceph_armor() argument
45 *dst++ = encode_bits(a >> 2); in ceph_armor()
48 *dst++ = encode_bits(((a & 3) << 4) | (b >> 4)); in ceph_armor()
51 *dst++ = encode_bits(((b & 15) << 2) | in ceph_armor()
53 *dst++ = encode_bits(c & 63); in ceph_armor()
55 *dst++ = encode_bits((b & 15) << 2); in ceph_armor()
56 *dst++ = '='; in ceph_armor()
59 *dst++ = encode_bits(((a & 3) << 4)); in ceph_armor()
[all …]
Dcrypto.h23 int ceph_crypto_key_clone(struct ceph_crypto_key *dst,
31 void *dst, size_t *dst_len,
34 void *dst, size_t *dst_len,
41 void *dst, size_t *dst_len,
48 int ceph_armor(char *dst, const char *src, const char *end);
49 int ceph_unarmor(char *dst, const char *src, const char *end);
/linux-4.1.27/fs/quota/
Dquota.c189 static void copy_to_if_dqblk(struct if_dqblk *dst, struct qc_dqblk *src) in copy_to_if_dqblk() argument
191 memset(dst, 0, sizeof(*dst)); in copy_to_if_dqblk()
192 dst->dqb_bhardlimit = stoqb(src->d_spc_hardlimit); in copy_to_if_dqblk()
193 dst->dqb_bsoftlimit = stoqb(src->d_spc_softlimit); in copy_to_if_dqblk()
194 dst->dqb_curspace = src->d_space; in copy_to_if_dqblk()
195 dst->dqb_ihardlimit = src->d_ino_hardlimit; in copy_to_if_dqblk()
196 dst->dqb_isoftlimit = src->d_ino_softlimit; in copy_to_if_dqblk()
197 dst->dqb_curinodes = src->d_ino_count; in copy_to_if_dqblk()
198 dst->dqb_btime = src->d_spc_timer; in copy_to_if_dqblk()
199 dst->dqb_itime = src->d_ino_timer; in copy_to_if_dqblk()
[all …]
/linux-4.1.27/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c54 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16() argument
57 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_mono16()
62 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32() argument
70 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32()
74 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16() argument
77 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
78 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
82 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32() argument
90 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32()
91 *dst++ = (((u32)val3 << 16) | (val2 & 0xff00)) ^ xor; in pdacf_transfer_stereo32()
[all …]
/linux-4.1.27/fs/ntfs/
Drunlist.c34 static inline void ntfs_rl_mm(runlist_element *base, int dst, int src, in ntfs_rl_mm() argument
37 if (likely((dst != src) && (size > 0))) in ntfs_rl_mm()
38 memmove(base + dst, base + src, size * sizeof(*base)); in ntfs_rl_mm()
47 static inline void ntfs_rl_mc(runlist_element *dstbase, int dst, in ntfs_rl_mc() argument
51 memcpy(dstbase + dst, srcbase + src, size * sizeof(*dstbase)); in ntfs_rl_mc()
155 static inline bool ntfs_are_rl_mergeable(runlist_element *dst, in ntfs_are_rl_mergeable() argument
158 BUG_ON(!dst); in ntfs_are_rl_mergeable()
162 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) in ntfs_are_rl_mergeable()
165 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable()
168 if ((dst->lcn >= 0) && (src->lcn >= 0) && in ntfs_are_rl_mergeable()
[all …]
/linux-4.1.27/drivers/block/xen-blkback/
Dcommon.h396 static inline void blkif_get_x86_32_req(struct blkif_request *dst, in blkif_get_x86_32_req() argument
400 dst->operation = src->operation; in blkif_get_x86_32_req()
406 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req()
407 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req()
408 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req()
409 dst->u.rw.sector_number = src->u.rw.sector_number; in blkif_get_x86_32_req()
411 if (n > dst->u.rw.nr_segments) in blkif_get_x86_32_req()
412 n = dst->u.rw.nr_segments; in blkif_get_x86_32_req()
414 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req()
417 dst->u.discard.flag = src->u.discard.flag; in blkif_get_x86_32_req()
[all …]
/linux-4.1.27/net/dsa/
Ddsa.c182 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_one() local
199 if (dst->cpu_switch != -1) { in dsa_switch_setup_one()
200 netdev_err(dst->master_netdev, in dsa_switch_setup_one()
205 dst->cpu_switch = index; in dsa_switch_setup_one()
206 dst->cpu_port = i; in dsa_switch_setup_one()
230 if (dst->cpu_switch == index) { in dsa_switch_setup_one()
234 dst->rcv = dsa_netdev_ops.rcv; in dsa_switch_setup_one()
239 dst->rcv = edsa_netdev_ops.rcv; in dsa_switch_setup_one()
244 dst->rcv = trailer_netdev_ops.rcv; in dsa_switch_setup_one()
249 dst->rcv = brcm_netdev_ops.rcv; in dsa_switch_setup_one()
[all …]
/linux-4.1.27/net/bridge/
Dbr_nf_core.c28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu() argument
33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect() argument
38 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) in fake_cow_metrics() argument
43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup() argument
50 static unsigned int fake_mtu(const struct dst_entry *dst) in fake_mtu() argument
52 return dst->dev->mtu; in fake_mtu()
79 atomic_set(&rt->dst.__refcnt, 1); in br_netfilter_rtable_init()
80 rt->dst.dev = br->dev; in br_netfilter_rtable_init()
81 rt->dst.path = &rt->dst; in br_netfilter_rtable_init()
82 dst_init_metrics(&rt->dst, br_dst_default_metrics, true); in br_netfilter_rtable_init()
[all …]
/linux-4.1.27/arch/alpha/lib/
Dcsum_partial_copy.c102 csum_partial_cfu_aligned(const unsigned long __user *src, unsigned long *dst, in csum_partial_cfu_aligned() argument
117 *dst = word; in csum_partial_cfu_aligned()
118 dst++; in csum_partial_cfu_aligned()
125 tmp = *dst; in csum_partial_cfu_aligned()
130 *dst = word | tmp; in csum_partial_cfu_aligned()
143 unsigned long *dst, in csum_partial_cfu_dest_aligned() argument
167 *dst = word; in csum_partial_cfu_dest_aligned()
168 dst++; in csum_partial_cfu_dest_aligned()
177 tmp = *dst; in csum_partial_cfu_dest_aligned()
185 *dst = word | tmp; in csum_partial_cfu_dest_aligned()
[all …]
/linux-4.1.27/fs/hfs/
Dtrans.c38 char *dst; in hfs_mac2asc() local
45 dst = out; in hfs_mac2asc()
65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
69 *dst = '?'; in hfs_mac2asc()
72 dst += size; in hfs_mac2asc()
79 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc()
82 return dst - out; in hfs_mac2asc()
102 char *dst; in hfs_asc2mac() local
107 dst = out->name; in hfs_asc2mac()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
[all …]
/linux-4.1.27/arch/metag/lib/
Dusercopy.c531 register char __user *dst asm ("A0.2") = pdst; in __copy_user()
539 __asm_copy_to_user_1(dst, src, retn); in __copy_user()
542 if ((unsigned long) dst & 1) { in __copy_user()
545 __asm_copy_to_user_1(dst, src, retn); in __copy_user()
550 __asm_copy_to_user_2(dst, src, retn); in __copy_user()
553 if ((unsigned long) dst & 2) { in __copy_user()
556 __asm_copy_to_user_2(dst, src, retn); in __copy_user()
563 if (!(((unsigned long) src | (__force unsigned long) dst) & 7)) { in __copy_user()
566 __asm_copy_to_user_64bit_rapf_loop(dst, src, retn, in __copy_user()
570 __asm_copy_to_user_8x64(dst, src, retn); in __copy_user()
[all …]
/linux-4.1.27/arch/arm64/net/
Dbpf_jit_comp.c217 const u8 dst = bpf2a64[insn->dst_reg]; in build_insn() local
243 emit(A64_MOV(is64, dst, src), ctx); in build_insn()
248 emit(A64_ADD(is64, dst, dst, src), ctx); in build_insn()
252 emit(A64_SUB(is64, dst, dst, src), ctx); in build_insn()
256 emit(A64_AND(is64, dst, dst, src), ctx); in build_insn()
260 emit(A64_ORR(is64, dst, dst, src), ctx); in build_insn()
264 emit(A64_EOR(is64, dst, dst, src), ctx); in build_insn()
268 emit(A64_MUL(is64, dst, dst, src), ctx); in build_insn()
288 emit(A64_UDIV(is64, dst, dst, src), ctx); in build_insn()
292 emit(A64_UDIV(is64, tmp, dst, src), ctx); in build_insn()
[all …]
/linux-4.1.27/arch/mips/include/asm/
Dftrace.h22 #define safe_load(load, src, dst, error) \ argument
38 : [tmp_dst] "=&r" (dst), [tmp_err] "=r" (error)\
44 #define safe_store(store, src, dst, error) \ argument
61 : [tmp_dst] "r" (dst), [tmp_src] "r" (src)\
66 #define safe_load_code(dst, src, error) \ argument
67 safe_load(STR(lw), src, dst, error)
68 #define safe_store_code(src, dst, error) \ argument
69 safe_store(STR(sw), src, dst, error)
71 #define safe_load_stack(dst, src, error) \ argument
72 safe_load(STR(PTR_L), src, dst, error)
[all …]
Dchecksum.h37 __wsum __csum_partial_copy_kernel(const void *src, void *dst,
40 __wsum __csum_partial_copy_from_user(const void *src, void *dst,
42 __wsum __csum_partial_copy_to_user(const void *src, void *dst,
49 __wsum csum_partial_copy_from_user(const void __user *src, void *dst, int len, in csum_partial_copy_from_user() argument
54 return __csum_partial_copy_kernel((__force void *)src, dst, in csum_partial_copy_from_user()
57 return __csum_partial_copy_from_user((__force void *)src, dst, in csum_partial_copy_from_user()
63 __wsum csum_and_copy_from_user(const void __user *src, void *dst, in csum_and_copy_from_user() argument
67 return csum_partial_copy_from_user(src, dst, len, sum, in csum_and_copy_from_user()
80 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, in csum_and_copy_to_user() argument
84 if (access_ok(VERIFY_WRITE, dst, len)) { in csum_and_copy_to_user()
[all …]
/linux-4.1.27/arch/sh/kernel/
Dtraps_32.c49 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() argument
52 if ((count == 1) && dst[0] & 0x80) { in sign_extend()
53 dst[1] = 0xff; in sign_extend()
54 dst[2] = 0xff; in sign_extend()
55 dst[3] = 0xff; in sign_extend()
57 if ((count == 2) && dst[1] & 0x80) { in sign_extend()
58 dst[2] = 0xff; in sign_extend()
59 dst[3] = 0xff; in sign_extend()
62 if ((count == 1) && dst[3] & 0x80) { in sign_extend()
63 dst[2] = 0xff; in sign_extend()
[all …]
Diomap.c80 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument
84 *dst = data; in mmio_insb()
85 dst++; in mmio_insb()
89 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument
93 *dst = data; in mmio_insw()
94 dst++; in mmio_insw()
98 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument
102 *dst = data; in mmio_insl()
103 dst++; in mmio_insl()
131 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument
[all …]
/linux-4.1.27/arch/blackfin/mm/
Dmaccess.c19 long probe_kernel_read(void *dst, const void *src, size_t size) in probe_kernel_read() argument
31 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read()
35 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read()
42 return __probe_kernel_read(dst, src, size); in probe_kernel_read()
45 if (dma_memcpy(dst, src, size)) in probe_kernel_read()
49 if (isram_memcpy(dst, src, size)) in probe_kernel_read()
58 long probe_kernel_write(void *dst, const void *src, size_t size) in probe_kernel_write() argument
60 unsigned long ldst = (unsigned long)dst; in probe_kernel_write()
71 bfin_write16(dst, mmr); in probe_kernel_write()
76 bfin_write32(dst, mmr); in probe_kernel_write()
[all …]
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.h31 static inline void xgene_set_bits(u32 *dst, u32 val, u32 start, u32 len) in xgene_set_bits() argument
36 *dst &= ~mask; in xgene_set_bits()
37 *dst |= (val << start) & mask; in xgene_set_bits()
127 #define PHY_CONTROL_SET(dst, val) xgene_set_bits(dst, val, 0, 16) argument
145 #define CFG_TXCLK_MUXSEL0_SET(dst, val) xgene_set_bits(dst, val, 29, 3) argument
147 #define CFG_CLE_IP_PROTOCOL0_SET(dst, val) xgene_set_bits(dst, val, 16, 2) argument
148 #define CFG_CLE_DSTQID0_SET(dst, val) xgene_set_bits(dst, val, 0, 12) argument
149 #define CFG_CLE_FPSEL0_SET(dst, val) xgene_set_bits(dst, val, 16, 4) argument
150 #define CFG_MACMODE_SET(dst, val) xgene_set_bits(dst, val, 18, 2) argument
151 #define CFG_WAITASYNCRD_SET(dst, val) xgene_set_bits(dst, val, 0, 16) argument
[all …]
/linux-4.1.27/arch/microblaze/lib/
Dmemmove.c38 char *dst = v_dst; in memmove() local
49 dst += c; in memmove()
53 *--dst = *--src; in memmove()
61 char *dst = v_dst; in memmove() local
80 dst += c; in memmove()
89 switch ((unsigned long)dst & 3) { in memmove()
91 *--dst = *--src; in memmove()
94 *--dst = *--src; in memmove()
97 *--dst = *--src; in memmove()
101 i_dst = (void *)dst; in memmove()
[all …]
Dmemcpy.c39 char *dst = v_dst; in memcpy() local
43 *dst++ = *src++; in memcpy()
51 char *dst = v_dst; in memcpy() local
67 switch ((unsigned long)dst & 3) { in memcpy()
69 *dst++ = *src++; in memcpy()
72 *dst++ = *src++; in memcpy()
75 *dst++ = *src++; in memcpy()
79 i_dst = (void *)dst; in memcpy()
171 dst = (void *)i_dst; in memcpy()
178 *dst++ = *src++; in memcpy()
[all …]
/linux-4.1.27/arch/parisc/lib/
Dio.c18 void memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() argument
20 if (((unsigned long)dst & 3) != ((unsigned long)src & 3)) in memcpy_toio()
22 while ((unsigned long)dst & 3) { in memcpy_toio()
23 writeb(*(char *)src, dst++); in memcpy_toio()
28 __raw_writel(*(u32 *)src, dst); in memcpy_toio()
30 dst += 4; in memcpy_toio()
35 writeb(*(char *)src, dst++); in memcpy_toio()
53 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() argument
56 if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) ) in memcpy_fromio()
59 if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) ) in memcpy_fromio()
[all …]
Diomap.c97 static void ioport_read8r(void __iomem *addr, void *dst, unsigned long count) in ioport_read8r() argument
99 insb(ADDR2PORT(addr), dst, count); in ioport_read8r()
102 static void ioport_read16r(void __iomem *addr, void *dst, unsigned long count) in ioport_read16r() argument
104 insw(ADDR2PORT(addr), dst, count); in ioport_read16r()
107 static void ioport_read32r(void __iomem *addr, void *dst, unsigned long count) in ioport_read32r() argument
109 insl(ADDR2PORT(addr), dst, count); in ioport_read32r()
198 static void iomem_read8r(void __iomem *addr, void *dst, unsigned long count) in iomem_read8r() argument
201 *(u8 *)dst = __raw_readb(addr); in iomem_read8r()
202 dst++; in iomem_read8r()
206 static void iomem_read16r(void __iomem *addr, void *dst, unsigned long count) in iomem_read16r() argument
[all …]
Dmemcpy.c164 static noinline unsigned long copy_dstaligned(unsigned long dst, in copy_dstaligned() argument
191 dst -= 3 * sizeof(unsigned int); in copy_dstaligned()
200 dst -= 2 * sizeof(unsigned int); in copy_dstaligned()
211 dst -= 1 * sizeof(unsigned int); in copy_dstaligned()
220 dst -= 0 * sizeof(unsigned int); in copy_dstaligned()
234 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); in copy_dstaligned()
239 stw(d_space, MERGE (a3, sh_1, a0, sh_2), 4, dst, cda_stw_exc); in copy_dstaligned()
244 stw(d_space, MERGE (a0, sh_1, a1, sh_2), 8, dst, cda_stw_exc); in copy_dstaligned()
249 stw(d_space, MERGE (a1, sh_1, a2, sh_2), 12, dst, cda_stw_exc); in copy_dstaligned()
252 dst += 4 * sizeof(unsigned int); in copy_dstaligned()
[all …]
/linux-4.1.27/arch/mips/lib/
Dmemcpy.S36 #define dst a0 macro
287 PREFD( 1, 0(dst) )
289 and t1, dst, ADDRMASK
291 PREFD( 1, 1*32(dst) )
295 PREFD( 1, 2*32(dst) )
313 PREFD( 1, 3*32(dst) )
324 STORE(t0, UNIT(0)(dst), .Ls_exc_p8u\@)
325 STORE(t1, UNIT(1)(dst), .Ls_exc_p7u\@)
329 ADD dst, dst, 8*NBYTES
330 STORE(t2, UNIT(-6)(dst), .Ls_exc_p6u\@)
[all …]
Diomap.c104 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument
108 *dst = data; in mmio_insb()
109 dst++; in mmio_insb()
113 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument
117 *dst = data; in mmio_insw()
118 dst++; in mmio_insw()
122 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument
126 *dst = data; in mmio_insl()
127 dst++; in mmio_insl()
155 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument
[all …]
Dmemset.S57 .macro f_fill64 dst, offset, val, fixup, mode
58 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup)
59 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup)
60 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup)
61 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup)
63 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup)
64 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup)
65 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup)
66 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup)
69 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixup)
[all …]
Dcsum_partial.S316 #define dst a1 macro
478 and t1, dst, ADDRMASK
481 andi odd, dst, 0x1 /* odd buffer? */
506 STORE(t0, UNIT(0)(dst), .Ls_exc\@)
508 STORE(t1, UNIT(1)(dst), .Ls_exc\@)
510 STORE(t2, UNIT(2)(dst), .Ls_exc\@)
512 STORE(t3, UNIT(3)(dst), .Ls_exc\@)
514 STORE(t4, UNIT(4)(dst), .Ls_exc\@)
516 STORE(t5, UNIT(5)(dst), .Ls_exc\@)
518 STORE(t6, UNIT(6)(dst), .Ls_exc\@)
[all …]
/linux-4.1.27/arch/x86/platform/efi/
Dearly_printk.c67 unsigned long *dst; in early_efi_clear_scanline() local
71 dst = early_efi_map(y*len, len); in early_efi_clear_scanline()
72 if (!dst) in early_efi_clear_scanline()
75 memset(dst, 0, len); in early_efi_clear_scanline()
76 early_efi_unmap(dst, len); in early_efi_clear_scanline()
81 unsigned long *dst, *src; in early_efi_scroll_up() local
89 dst = early_efi_map(i*len, len); in early_efi_scroll_up()
90 if (!dst) in early_efi_scroll_up()
95 early_efi_unmap(dst, len); in early_efi_scroll_up()
99 memmove(dst, src, len); in early_efi_scroll_up()
[all …]
/linux-4.1.27/arch/x86/lib/
Dcsum-wrappers_64.c23 csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument
47 *(__u16 *)dst = val16; in csum_partial_copy_from_user()
51 dst += 2; in csum_partial_copy_from_user()
57 dst, len, isum, errp, NULL); in csum_partial_copy_from_user()
66 memset(dst, 0, len); in csum_partial_copy_from_user()
84 csum_partial_copy_to_user(const void *src, void __user *dst, in csum_partial_copy_to_user() argument
91 if (unlikely(!access_ok(VERIFY_WRITE, dst, len))) { in csum_partial_copy_to_user()
96 if (unlikely((unsigned long)dst & 6)) { in csum_partial_copy_to_user()
97 while (((unsigned long)dst & 6) && len >= 2) { in csum_partial_copy_to_user()
102 *errp = __put_user(val16, (__u16 __user *)dst); in csum_partial_copy_to_user()
[all …]
/linux-4.1.27/sound/core/oss/
Droute.c30 int dst = 0; in zero_areas() local
31 for (; dst < ndsts; ++dst) { in zero_areas()
52 int nsrcs, ndsts, dst; in route_transfer() local
68 for (dst = 0; dst < ndsts; ++dst) { in route_transfer()
75 for (dst = 0; dst < ndsts && dst < nsrcs; ++dst) { in route_transfer()
80 if (dst < ndsts) in route_transfer()
81 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer()
/linux-4.1.27/net/ipv6/
Dinet6_connection_sock.c75 struct dst_entry *dst; in inet6_csk_route_req() local
90 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_req()
91 if (IS_ERR(dst)) in inet6_csk_route_req()
94 return dst; in inet6_csk_route_req()
179 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, in __inet6_csk_dst_store() argument
183 __ip6_dst_store(sk, dst, daddr, saddr); in __inet6_csk_dst_store()
198 struct dst_entry *dst; in inet6_csk_route_socket() local
216 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket()
217 if (!dst) { in inet6_csk_route_socket()
218 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_socket()
[all …]
Dip6_output.c61 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2() local
62 struct net_device *dev = dst->dev; in ip6_finish_output2()
108 nexthop = rt6_nexthop((struct rt6_info *)dst); in ip6_finish_output2()
109 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in ip6_finish_output2()
111 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in ip6_finish_output2()
113 ret = dst_neigh_output(dst, neigh, skb); in ip6_finish_output2()
119 IP6_INC_STATS(dev_net(dst->dev), in ip6_finish_output2()
120 ip6_dst_idev(dst), IPSTATS_MIB_OUTNOROUTES); in ip6_finish_output2()
162 struct dst_entry *dst = skb_dst(skb); in ip6_xmit() local
177 head_room += sizeof(struct ipv6hdr) + LL_RESERVED_SPACE(dst->dev); in ip6_xmit()
[all …]
Droute.c77 static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie);
78 static unsigned int ip6_default_advmss(const struct dst_entry *dst);
79 static unsigned int ip6_mtu(const struct dst_entry *dst);
91 static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
93 static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk,
137 static u32 *ipv6_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv6_cow_metrics() argument
139 struct rt6_info *rt = (struct rt6_info *) dst; in ipv6_cow_metrics()
143 if (!(rt->dst.flags & DST_HOST)) in ipv6_cow_metrics()
144 return dst_cow_metrics_generic(dst, old); in ipv6_cow_metrics()
157 prev = cmpxchg(&dst->_metrics, old, new); in ipv6_cow_metrics()
[all …]
Dxfrm6_policy.c34 struct dst_entry *dst; in xfrm6_dst_lookup() local
42 dst = ip6_route_output(net, NULL, &fl6); in xfrm6_dst_lookup()
44 err = dst->error; in xfrm6_dst_lookup()
45 if (dst->error) { in xfrm6_dst_lookup()
46 dst_release(dst); in xfrm6_dst_lookup()
47 dst = ERR_PTR(err); in xfrm6_dst_lookup()
50 return dst; in xfrm6_dst_lookup()
56 struct dst_entry *dst; in xfrm6_get_saddr() local
59 dst = xfrm6_dst_lookup(net, 0, NULL, daddr); in xfrm6_get_saddr()
60 if (IS_ERR(dst)) in xfrm6_get_saddr()
[all …]
Dicmp.c176 struct dst_entry *dst; in icmpv6_xrlim_allow() local
192 dst = ip6_route_output(net, sk, fl6); in icmpv6_xrlim_allow()
193 if (dst->error) { in icmpv6_xrlim_allow()
194 IP6_INC_STATS(net, ip6_dst_idev(dst), in icmpv6_xrlim_allow()
196 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow()
199 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow()
216 dst_release(dst); in icmpv6_xrlim_allow()
328 struct dst_entry *dst, *dst2; in icmpv6_route_lookup() local
332 err = ip6_dst_lookup(sk, &dst, fl6); in icmpv6_route_lookup()
340 if (((struct rt6_info *)dst)->rt6i_flags & RTF_ANYCAST) { in icmpv6_route_lookup()
[all …]
Dnetfilter.c26 struct dst_entry *dst; in ip6_route_me_harder() local
35 dst = ip6_route_output(net, skb->sk, &fl6); in ip6_route_me_harder()
36 err = dst->error; in ip6_route_me_harder()
38 IP6_INC_STATS(net, ip6_dst_idev(dst), IPSTATS_MIB_OUTNOROUTES); in ip6_route_me_harder()
40 dst_release(dst); in ip6_route_me_harder()
47 skb_dst_set(skb, dst); in ip6_route_me_harder()
53 dst = xfrm_lookup(net, dst, flowi6_to_flowi(&fl6), skb->sk, 0); in ip6_route_me_harder()
54 if (IS_ERR(dst)) in ip6_route_me_harder()
55 return PTR_ERR(dst); in ip6_route_me_harder()
56 skb_dst_set(skb, dst); in ip6_route_me_harder()
[all …]
Dfib6_rules.c28 struct rt6key dst; member
46 dst_hold(&net->ipv6.ip6_null_entry->dst); in fib6_rule_lookup()
47 return &net->ipv6.ip6_null_entry->dst; in fib6_rule_lookup()
97 ip6_dst_idev(&rt->dst)->dev, in fib6_rule_action()
107 err = rt->dst.error; in fib6_rule_action()
117 dst_hold(&rt->dst); in fib6_rule_action()
155 if (r->dst.plen && in fib6_rule_match()
156 !ipv6_prefix_equal(&fl6->daddr, &r->dst.addr, r->dst.plen)) in fib6_rule_match()
205 rule6->dst.addr = nla_get_in6_addr(tb[FRA_DST]); in fib6_rule_configure()
208 rule6->dst.plen = frh->dst_len; in fib6_rule_configure()
[all …]
/linux-4.1.27/net/decnet/
Ddn_route.c114 static unsigned int dn_dst_default_advmss(const struct dst_entry *dst);
115 static unsigned int dn_dst_mtu(const struct dst_entry *dst);
120 static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk,
122 static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk,
124 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst,
154 static void dn_dst_destroy(struct dst_entry *dst) in dn_dst_destroy() argument
156 struct dn_route *rt = (struct dn_route *) dst; in dn_dst_destroy()
160 dst_destroy_metrics_generic(dst); in dn_dst_destroy()
163 static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) in dn_dst_ifdown() argument
166 struct dn_route *rt = (struct dn_route *) dst; in dn_dst_ifdown()
[all …]
/linux-4.1.27/arch/arm/lib/
Dcsumpartialcopygeneric.S22 dst .req r1 label
36 tst dst, #1
42 strb ip, [dst], #1
43 tst dst, #2
44 reteq lr @ dst is now 32bit aligned
49 strb r8, [dst], #1
51 strb ip, [dst], #1
52 ret lr @ dst is now 32bit aligned
62 tst dst, #1 @ dst 16-bit aligned
69 strb ip, [dst], #1
[all …]
/linux-4.1.27/arch/mn10300/lib/
Dchecksum.c54 __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy() argument
56 copy_from_user(dst, src, len); in csum_partial_copy()
57 return csum_partial(dst, len, sum); in csum_partial_copy()
61 __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument
65 memcpy(dst, src, len); in csum_partial_copy_nocheck()
70 __wsum csum_partial_copy_from_user(const void *src, void *dst, in csum_partial_copy_from_user() argument
76 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user()
78 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user()
82 return csum_partial(dst, len, sum); in csum_partial_copy_from_user()
86 __wsum csum_and_copy_to_user(const void *src, void *dst, in csum_and_copy_to_user() argument
[all …]
/linux-4.1.27/arch/s390/include/asm/
Dpci_io.h90 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) in zpci_read_single() argument
101 *((u8 *) dst) = (u8) data; in zpci_read_single()
104 *((u16 *) dst) = (u16) data; in zpci_read_single()
107 *((u32 *) dst) = (u32) data; in zpci_read_single()
110 *((u64 *) dst) = (u64) data; in zpci_read_single()
122 static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) in zpci_get_max_write_size() argument
126 while (!(src & 0x1) && !(dst & 0x1) && ((size << 1) <= count)) { in zpci_get_max_write_size()
127 dst = dst >> 1; in zpci_get_max_write_size()
134 static inline int zpci_memcpy_fromio(void *dst, in zpci_memcpy_fromio() argument
144 (u64) dst, n, 8); in zpci_memcpy_fromio()
[all …]
Dstring.h80 static inline char *strcat(char *dst, const char *src) in strcat() argument
84 char *ret = dst; in strcat()
91 : "=&a" (dummy), "+a" (dst), "+a" (src) in strcat()
96 static inline char *strcpy(char *dst, const char *src) in strcpy() argument
99 char *ret = dst; in strcpy()
104 : "+&a" (dst), "+&a" (src) : "d" (r0) in strcpy()
136 char *strcat(char *dst, const char *src);
137 char *strcpy(char *dst, const char *src);
Dio.h60 #define memcpy_fromio(dst, src, count) zpci_memcpy_fromio(dst, src, count) argument
61 #define memcpy_toio(dst, src, count) zpci_memcpy_toio(dst, src, count) argument
62 #define memset_io(dst, val, count) zpci_memset_io(dst, val, count) argument
/linux-4.1.27/arch/powerpc/include/asm/
Dkvm_fpu.h25 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1);
26 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1);
27 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1);
29 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
30 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
31 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
32 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
34 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
36 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
38 extern void fps_fnmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
[all …]
Dchecksum.h55 extern __wsum csum_partial_copy_generic(const void *src, void *dst,
61 extern __wsum csum_and_copy_from_user(const void __user *src, void *dst,
64 extern __wsum csum_and_copy_to_user(const void *src, void __user *dst,
71 #define csum_partial_copy_from_user(src, dst, len, sum, errp) \ argument
72 csum_partial_copy_generic((__force const void *)(src), (dst), (len), (sum), (errp), NULL)
75 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
76 csum_partial_copy_generic((src), (dst), (len), (sum), NULL, NULL)
/linux-4.1.27/include/net/netfilter/
Dnf_conntrack_tuple.h71 } dst; member
85 t, t->dst.protonum, in nf_ct_dump_tuple_ip()
87 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
95 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6()
97 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
115 ((enum ip_conntrack_dir)(h)->tuple.dst.dir)
134 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
135 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal()
136 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal()
171 t1->dst.protonum != t2->dst.protonum) in nf_ct_tuple_src_mask_cmp()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-io.c29 u8 __iomem *dst = addr; in cx18_memset_io() local
34 if ((count > 0) && ((unsigned long)dst & 1)) { in cx18_memset_io()
35 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io()
37 dst++; in cx18_memset_io()
39 if ((count > 1) && ((unsigned long)dst & 2)) { in cx18_memset_io()
40 cx18_writew(cx, val2, dst); in cx18_memset_io()
42 dst += 2; in cx18_memset_io()
45 cx18_writel(cx, val4, dst); in cx18_memset_io()
47 dst += 4; in cx18_memset_io()
50 cx18_writew(cx, val2, dst); in cx18_memset_io()
[all …]
Dcx18-vbi.c60 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data() local
77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); in copy_vbi_data()
78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data()
81 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data)); in copy_vbi_data()
86 memcpy(dst + sd, "ITV0", 4); in copy_vbi_data()
87 memmove(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data()
90 memcpy(dst + sd, "itv0", 4); in copy_vbi_data()
93 memcpy(dst + sd + 4, &linemask[0], 8); in copy_vbi_data()
96 dst[4+16] = (size + 10) >> 8; in copy_vbi_data()
97 dst[5+16] = (size + 10) & 0xff; in copy_vbi_data()
[all …]
/linux-4.1.27/drivers/video/console/
Dfbcon_rotate.c27 u8 *dst; in fbcon_rotate_font() local
49 dst = kmalloc(d_cellsize * len, GFP_KERNEL); in fbcon_rotate_font()
51 if (dst == NULL) { in fbcon_rotate_font()
58 ops->fontbuffer = dst; in fbcon_rotate_font()
61 dst = ops->fontbuffer; in fbcon_rotate_font()
62 memset(dst, 0, ops->fd_size); in fbcon_rotate_font()
67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font()
71 dst += d_cellsize; in fbcon_rotate_font()
76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
79 dst += d_cellsize; in fbcon_rotate_font()
[all …]
/linux-4.1.27/tools/perf/bench/
Dmem-memcpy.c276 static void memcpy_alloc_mem(void **dst, void **src, size_t length) in memcpy_alloc_mem() argument
278 *dst = zalloc(length); in memcpy_alloc_mem()
279 if (!*dst) in memcpy_alloc_mem()
292 void *src = NULL, *dst = NULL; in do_memcpy_cycle() local
296 memcpy_alloc_mem(&dst, &src, len); in do_memcpy_cycle()
299 fn(dst, src, len); in do_memcpy_cycle()
303 fn(dst, src, len); in do_memcpy_cycle()
307 free(dst); in do_memcpy_cycle()
316 void *src = NULL, *dst = NULL; in do_memcpy_gettimeofday() local
319 memcpy_alloc_mem(&dst, &src, len); in do_memcpy_gettimeofday()
[all …]
/linux-4.1.27/arch/sparc/lib/
Dmemcpy.S17 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
22 st %t0, [%dst + (offset) + 0x00]; \
23 st %t1, [%dst + (offset) + 0x04]; \
24 st %t2, [%dst + (offset) + 0x08]; \
25 st %t3, [%dst + (offset) + 0x0c]; \
26 st %t4, [%dst + (offset) + 0x10]; \
27 st %t5, [%dst + (offset) + 0x14]; \
28 st %t6, [%dst + (offset) + 0x18]; \
29 st %t7, [%dst + (offset) + 0x1c];
31 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
[all …]
DPeeCeeI.c87 void insb(unsigned long __addr, void *dst, unsigned long count) in insb() argument
93 u8 *pb = dst; in insb()
115 void insw(unsigned long __addr, void *dst, unsigned long count) in insw() argument
120 u16 *ps = dst; in insw()
143 void insl(unsigned long __addr, void *dst, unsigned long count) in insl() argument
148 if ((((unsigned long)dst) & 0x3) == 0) { in insl()
149 u32 *pi = dst; in insl()
157 switch (((unsigned long)dst) & 3) { in insl()
159 ps = dst; in insl()
174 pb = dst; in insl()
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/
Drtl_crypto.h77 void (*cia_encrypt)(void *ctx, u8 *dst, const u8 *src);
78 void (*cia_decrypt)(void *ctx, u8 *dst, const u8 *src);
94 u8 *dst, unsigned int *dlen);
96 u8 *dst, unsigned int *dlen);
144 struct scatterlist *dst,
148 struct scatterlist *dst,
152 struct scatterlist *dst,
156 struct scatterlist *dst,
159 void (*cit_xor_block)(u8 *dst, const u8 *src);
176 u8 *dst, unsigned int *dlen);
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dnf_nat_h323.c119 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr()
124 tuple.dst.u3, in set_sig_addr()
126 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr()
162 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr()
163 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr()
165 &ct->tuplehash[!dir].tuple.dst.u3, in set_ras_addr()
167 dst.u.udp.port); in set_ras_addr()
189 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
192 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp()
203 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp()
[all …]
Dnf_conntrack_proto_icmp.c42 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple()
44 tuple->dst.u.icmp.code = hp->code; in icmp_pkt_to_tuple()
64 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple()
65 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple()
69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple()
70 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple()
79 tuple->dst.u.icmp.type, in icmp_print_tuple()
80 tuple->dst.u.icmp.code, in icmp_print_tuple()
117 if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) || in icmp_new()
118 !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) { in icmp_new()
[all …]
Dnf_nat_l3proto_ipv4.c42 fl4->daddr = t->dst.u3.ip; in nf_nat_ipv4_decode_session()
43 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session()
44 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session()
45 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session()
46 t->dst.protonum == IPPROTO_DCCP || in nf_nat_ipv4_decode_session()
47 t->dst.protonum == IPPROTO_SCTP) in nf_nat_ipv4_decode_session()
48 fl4->fl4_dport = t->dst.u.all; in nf_nat_ipv4_decode_session()
55 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session()
56 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session()
57 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session()
[all …]
/linux-4.1.27/arch/hexagon/lib/
Dio.c34 short int *dst = (short int *) data; in __raw_readsw() local
40 *dst++ = *src; in __raw_readsw()
53 volatile short int *dst = (short int *)addr; in __raw_writesw() local
59 *dst = *src++; in __raw_writesw()
68 long *dst = (long *) data; in __raw_readsl() local
74 *dst++ = *src; in __raw_readsl()
82 volatile long *dst = (long *)addr; in __raw_writesl() local
88 *dst = *src++; in __raw_writesl()
/linux-4.1.27/arch/powerpc/kvm/
Dmpic.c224 struct irq_dest dst[MAX_CPU]; member
242 static void mpic_irq_raise(struct openpic *opp, struct irq_dest *dst, in mpic_irq_raise() argument
249 if (!dst->vcpu) { in mpic_irq_raise()
251 __func__, (int)(dst - &opp->dst[0])); in mpic_irq_raise()
255 pr_debug("%s: cpu %d output %d\n", __func__, dst->vcpu->arch.irq_cpu_id, in mpic_irq_raise()
261 kvm_vcpu_ioctl_interrupt(dst->vcpu, &irq); in mpic_irq_raise()
264 static void mpic_irq_lower(struct openpic *opp, struct irq_dest *dst, in mpic_irq_lower() argument
267 if (!dst->vcpu) { in mpic_irq_lower()
269 __func__, (int)(dst - &opp->dst[0])); in mpic_irq_lower()
273 pr_debug("%s: cpu %d output %d\n", __func__, dst->vcpu->arch.irq_cpu_id, in mpic_irq_lower()
[all …]
/linux-4.1.27/arch/hexagon/mm/
Dcopy_user_template.S34 r3 = or(dst,src)
35 r4 = xor(dst,src)
41 src_dst_sav = combine(src,dst)
53 if (p3) memd(dst++#8) = d_dbuf
58 memd(dst++#8) = d_dbuf
83 if (p3) memw(dst++#4) = w_dbuf
88 memw(dst++#4) = w_dbuf
109 if (p3) memh(dst++#2) = w_dbuf
114 memh(dst++#2) = w_dbuf
125 if (p3) memb(dst++#1) = w_dbuf
[all …]
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic79xx_inline.h58 ahd_mode src, ahd_mode dst);
61 ahd_mode dst);
64 ahd_mode *src, ahd_mode *dst);
67 ahd_mode dst);
76 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_known_modes() argument
79 ahd->dst_mode = dst; in ahd_known_modes()
81 ahd->saved_dst_mode = dst; in ahd_known_modes()
85 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_build_mode_state() argument
87 return ((src << SRC_MODE_SHIFT) | (dst << DST_MODE_SHIFT)); in ahd_build_mode_state()
92 ahd_mode *src, ahd_mode *dst) in ahd_extract_mode_state() argument
[all …]
/linux-4.1.27/arch/alpha/kernel/
Dio.c213 void ioread8_rep(void __iomem *port, void *dst, unsigned long count) in ioread8_rep() argument
215 while ((unsigned long)dst & 0x3) { in ioread8_rep()
219 *(unsigned char *)dst = ioread8(port); in ioread8_rep()
220 dst += 1; in ioread8_rep()
230 *(unsigned int *)dst = w; in ioread8_rep()
231 dst += 4; in ioread8_rep()
236 *(unsigned char *)dst = ioread8(port); in ioread8_rep()
237 dst += 1; in ioread8_rep()
241 void insb(unsigned long port, void *dst, unsigned long count) in insb() argument
243 ioread8_rep(ioport_map(port, 1), dst, count); in insb()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_icache.h82 struct xfs_eofblocks *dst) in xfs_fs_eofblocks_from_user() argument
94 dst->eof_flags = src->eof_flags; in xfs_fs_eofblocks_from_user()
95 dst->eof_prid = src->eof_prid; in xfs_fs_eofblocks_from_user()
96 dst->eof_min_file_size = src->eof_min_file_size; in xfs_fs_eofblocks_from_user()
97 dst->eof_scan_owner = NULLFSINO; in xfs_fs_eofblocks_from_user()
99 dst->eof_uid = INVALID_UID; in xfs_fs_eofblocks_from_user()
101 dst->eof_uid = make_kuid(current_user_ns(), src->eof_uid); in xfs_fs_eofblocks_from_user()
102 if (!uid_valid(dst->eof_uid)) in xfs_fs_eofblocks_from_user()
106 dst->eof_gid = INVALID_GID; in xfs_fs_eofblocks_from_user()
108 dst->eof_gid = make_kgid(current_user_ns(), src->eof_gid); in xfs_fs_eofblocks_from_user()
[all …]
Dxfs_qm_syscalls.c642 struct qc_dqblk *dst) in xfs_qm_scall_getquota() argument
665 memset(dst, 0, sizeof(*dst)); in xfs_qm_scall_getquota()
666 dst->d_spc_hardlimit = in xfs_qm_scall_getquota()
668 dst->d_spc_softlimit = in xfs_qm_scall_getquota()
670 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota()
671 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota()
672 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_res_bcount); in xfs_qm_scall_getquota()
673 dst->d_ino_count = dqp->q_res_icount; in xfs_qm_scall_getquota()
674 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota()
675 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota()
[all …]
/linux-4.1.27/net/ipv4/
Droute.c133 static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie);
134 static unsigned int ipv4_default_advmss(const struct dst_entry *dst);
135 static unsigned int ipv4_mtu(const struct dst_entry *dst);
136 static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst);
138 static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
140 static void ip_do_redirect(struct dst_entry *dst, struct sock *sk,
142 static void ipv4_dst_destroy(struct dst_entry *dst);
144 static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv4_cow_metrics() argument
150 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst,
336 struct ip_rt_acct *dst, *src; in rt_acct_proc_show() local
[all …]
Ddatagram.c80 sk_dst_set(sk, &rt->dst); in __ip4_datagram_connect()
107 struct dst_entry *dst; in ip4_datagram_release_cb() local
113 dst = __sk_dst_get(sk); in ip4_datagram_release_cb()
114 if (!dst || !dst->obsolete || dst->ops->check(dst, 0)) { in ip4_datagram_release_cb()
126 dst = !IS_ERR(rt) ? &rt->dst : NULL; in ip4_datagram_release_cb()
127 sk_dst_set(sk, dst); in ip4_datagram_release_cb()
/linux-4.1.27/arch/powerpc/crypto/
Dsha256-spe-glue.c150 __be32 *dst = (__be32 *)out; in ppc_spe_sha256_final() local
170 dst[0] = cpu_to_be32(sctx->state[0]); in ppc_spe_sha256_final()
171 dst[1] = cpu_to_be32(sctx->state[1]); in ppc_spe_sha256_final()
172 dst[2] = cpu_to_be32(sctx->state[2]); in ppc_spe_sha256_final()
173 dst[3] = cpu_to_be32(sctx->state[3]); in ppc_spe_sha256_final()
174 dst[4] = cpu_to_be32(sctx->state[4]); in ppc_spe_sha256_final()
175 dst[5] = cpu_to_be32(sctx->state[5]); in ppc_spe_sha256_final()
176 dst[6] = cpu_to_be32(sctx->state[6]); in ppc_spe_sha256_final()
177 dst[7] = cpu_to_be32(sctx->state[7]); in ppc_spe_sha256_final()
186 __be32 *dst = (__be32 *)out; in ppc_spe_sha224_final() local
[all …]
/linux-4.1.27/arch/powerpc/lib/
Dchecksum_wrappers_64.c26 __wsum csum_and_copy_from_user(const void __user *src, void *dst, in csum_and_copy_from_user() argument
46 csum = csum_partial_copy_generic((void __force *)src, dst, in csum_and_copy_from_user()
50 int missing = __copy_from_user(dst, src, len); in csum_and_copy_from_user()
53 memset(dst + len - missing, 0, missing); in csum_and_copy_from_user()
59 csum = csum_partial(dst, len, sum); in csum_and_copy_from_user()
67 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, in csum_and_copy_to_user() argument
81 if (unlikely((len < 0) || !access_ok(VERIFY_WRITE, dst, len))) { in csum_and_copy_to_user()
87 csum = csum_partial_copy_generic(src, (void __force *)dst, in csum_and_copy_to_user()
93 if (copy_to_user(dst, src, len)) { in csum_and_copy_to_user()
/linux-4.1.27/sound/core/
Dmemory.c38 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) in copy_to_user_fromio() argument
41 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio()
49 if (copy_to_user(dst, buf, c)) in copy_to_user_fromio()
52 dst += c; in copy_to_user_fromio()
71 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) in copy_from_user_toio() argument
74 return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; in copy_from_user_toio()
83 memcpy_toio(dst, buf, c); in copy_from_user_toio()
85 dst += c; in copy_from_user_toio()
Dhwdep_compat.c36 struct snd_hwdep_dsp_image __user *dst; in snd_hwdep_dsp_load_compat() local
40 dst = compat_alloc_user_space(sizeof(*dst)); in snd_hwdep_dsp_load_compat()
43 if (copy_in_user(dst, src, 4 + 64)) in snd_hwdep_dsp_load_compat()
46 put_user(compat_ptr(ptr), &dst->image)) in snd_hwdep_dsp_load_compat()
49 put_user(val, &dst->length)) in snd_hwdep_dsp_load_compat()
52 put_user(val, &dst->driver_data)) in snd_hwdep_dsp_load_compat()
55 return snd_hwdep_dsp_load(hw, dst); in snd_hwdep_dsp_load_compat()
/linux-4.1.27/arch/sparc/crypto/
Ddes_glue.c70 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_encrypt() argument
75 des_sparc64_crypt(K, (const u64 *) src, (u64 *) dst); in des_encrypt()
78 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_decrypt() argument
83 des_sparc64_crypt(K, (const u64 *) src, (u64 *) dst); in des_decrypt()
94 struct scatterlist *dst, struct scatterlist *src, in __ecb_crypt() argument
101 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb_crypt()
114 (u64 *) walk.dst.virt.addr, in __ecb_crypt()
125 struct scatterlist *dst, struct scatterlist *src, in ecb_encrypt() argument
128 return __ecb_crypt(desc, dst, src, nbytes, true); in ecb_encrypt()
132 struct scatterlist *dst, struct scatterlist *src, in ecb_decrypt() argument
[all …]
Dcamellia_glue.c57 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument
63 (u32 *) dst, ctx->key_len); in camellia_encrypt()
66 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument
72 (u32 *) dst, ctx->key_len); in camellia_decrypt()
86 struct scatterlist *dst, struct scatterlist *src, in __ecb_crypt() argument
99 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb_crypt()
116 dst64 = (u64 *) walk.dst.virt.addr; in __ecb_crypt()
127 struct scatterlist *dst, struct scatterlist *src, in ecb_encrypt() argument
130 return __ecb_crypt(desc, dst, src, nbytes, true); in ecb_encrypt()
134 struct scatterlist *dst, struct scatterlist *src, in ecb_decrypt() argument
[all …]
/linux-4.1.27/drivers/base/regmap/
Dregcache-lzo.c23 void *dst; member
52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress()
66 lzo_ctx->dst, &dst_len); in regcache_lzo_decompress()
78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_compress_cache_block()
79 if (!lzo_ctx->dst) { in regcache_lzo_compress_cache_block()
96 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_decompress_cache_block()
97 if (!lzo_ctx->dst) { in regcache_lzo_decompress_cache_block()
224 kfree(lzo_blocks[i]->dst); in regcache_lzo_exit()
252 tmp_dst = lzo_block->dst; in regcache_lzo_read()
256 lzo_block->src = lzo_block->dst; in regcache_lzo_read()
[all …]
/linux-4.1.27/drivers/crypto/ccp/
Dccp-ops.c123 struct ccp_mem dst; member
278 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_aes()
280 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_aes()
308 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_xts_aes()
310 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_xts_aes()
361 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_rsa()
363 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_rsa()
380 cr[1] = op->dst.u.dma.length - 1; in ccp_perform_passthru()
394 if (op->dst.type == CCP_MEMTYPE_SYSTEM) { in ccp_perform_passthru()
395 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_passthru()
[all …]
/linux-4.1.27/arch/arm/kernel/
Dsleep.S37 .macro compute_mpidr_hash dst, rs0, rs1, rs2, mpidr, mask
39 and \dst, \mpidr, #0xff @ mask=aff0
40 ARM( mov \dst, \dst, lsr \rs0 ) @ dst=aff0>>rs0
41 THUMB( lsr \dst, \dst, \rs0 )
43 ARM( orr \dst, \dst, \mask, lsr \rs1 ) @ dst|=(aff1>>rs1)
45 THUMB( orr \dst, \dst, \mask )
47 ARM( orr \dst, \dst, \mask, lsr \rs2 ) @ dst|=(aff2>>rs2)
49 THUMB( orr \dst, \dst, \mask )
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_hw.h33 static inline void ocrdma_cpu_to_le32(void *dst, u32 len) in ocrdma_cpu_to_le32() argument
37 u32 *src_ptr = dst; in ocrdma_cpu_to_le32()
38 u32 *dst_ptr = dst; in ocrdma_cpu_to_le32()
44 static inline void ocrdma_le32_to_cpu(void *dst, u32 len) in ocrdma_le32_to_cpu() argument
48 u32 *src_ptr = dst; in ocrdma_le32_to_cpu()
49 u32 *dst_ptr = dst; in ocrdma_le32_to_cpu()
55 static inline void ocrdma_copy_cpu_to_le32(void *dst, void *src, u32 len) in ocrdma_copy_cpu_to_le32() argument
60 u32 *dst_ptr = dst; in ocrdma_copy_cpu_to_le32()
64 memcpy(dst, src, len); in ocrdma_copy_cpu_to_le32()
68 static inline void ocrdma_copy_le32_to_cpu(void *dst, void *src, u32 len) in ocrdma_copy_le32_to_cpu() argument
[all …]
/linux-4.1.27/drivers/char/hw_random/
Dxgene-rng.c66 #define MAX_REFILL_CYCLES_SET(dst, src) \ argument
67 ((dst & ~0xffff0000) | (((u32)src << 16) & 0xffff0000))
68 #define MIN_REFILL_CYCLES_SET(dst, src) \ argument
69 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff))
70 #define ALARM_THRESHOLD_SET(dst, src) \ argument
71 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff))
72 #define ENABLE_RNG_SET(dst, src) \ argument
73 ((dst & ~BIT(10)) | (((u32)src << 10) & BIT(10)))
74 #define REGSPEC_TEST_MODE_SET(dst, src) \ argument
75 ((dst & ~BIT(8)) | (((u32)src << 8) & BIT(8)))
[all …]
/linux-4.1.27/crypto/
Dxts.c86 static inline void xts_round(struct sinfo *s, void *dst, const void *src) in xts_round() argument
88 be128_xor(dst, s->t, src); /* PP <- T xor P */ in xts_round()
89 s->fn(s->tfm, dst, dst); /* CC <- E(Key1,PP) */ in xts_round()
90 be128_xor(dst, dst, s->t); /* C <- T xor CC */ in xts_round()
116 wdst = w->dst.virt.addr; in crypt()
141 wdst = w->dst.virt.addr; in crypt()
147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() argument
153 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt()
158 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() argument
164 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt()
[all …]
Dghash-generic.c68 u8 *dst = dctx->buffer; in ghash_update() local
75 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update()
84 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update()
88 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update()
89 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update()
97 *dst++ ^= *src++; in ghash_update()
105 u8 *dst = dctx->buffer; in ghash_flush() local
108 u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_flush()
113 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_flush()
119 static int ghash_final(struct shash_desc *desc, u8 *dst) in ghash_final() argument
[all …]
Dlrw.c112 static inline void lrw_round(struct sinfo *s, void *dst, const void *src) in lrw_round() argument
114 be128_xor(dst, &s->t, src); /* PP <- T xor P */ in lrw_round()
115 s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */ in lrw_round()
116 be128_xor(dst, dst, &s->t); /* C <- T xor CC */ in lrw_round()
158 wdst = w->dst.virt.addr; in crypt()
189 wdst = w->dst.virt.addr; in crypt()
195 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() argument
201 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt()
206 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() argument
212 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt()
[all …]
Dcipher.c66 u8 *dst, const u8 *src) in cipher_crypt_unaligned() argument
75 memcpy(dst, tmp, size); in cipher_crypt_unaligned()
79 u8 *dst, const u8 *src) in cipher_encrypt_unaligned() argument
84 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_encrypt_unaligned()
85 cipher_crypt_unaligned(cipher->cia_encrypt, tfm, dst, src); in cipher_encrypt_unaligned()
89 cipher->cia_encrypt(tfm, dst, src); in cipher_encrypt_unaligned()
93 u8 *dst, const u8 *src) in cipher_decrypt_unaligned() argument
98 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_decrypt_unaligned()
99 cipher_crypt_unaligned(cipher->cia_decrypt, tfm, dst, src); in cipher_decrypt_unaligned()
103 cipher->cia_decrypt(tfm, dst, src); in cipher_decrypt_unaligned()
Dpcbc.c54 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_encrypt_segment() local
59 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_pcbc_encrypt_segment()
60 memcpy(iv, dst, bsize); in crypto_pcbc_encrypt_segment()
64 dst += bsize; in crypto_pcbc_encrypt_segment()
98 struct scatterlist *dst, struct scatterlist *src, in crypto_pcbc_encrypt() argument
107 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_pcbc_encrypt()
111 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_encrypt()
132 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_decrypt_segment() local
136 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_pcbc_decrypt_segment()
137 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment()
[all …]
Dcbc.c51 u8 *dst = walk->dst.virt.addr; in crypto_cbc_encrypt_segment() local
56 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_cbc_encrypt_segment()
57 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment()
60 dst += bsize; in crypto_cbc_encrypt_segment()
91 struct scatterlist *dst, struct scatterlist *src, in crypto_cbc_encrypt() argument
100 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_cbc_encrypt()
104 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_cbc_encrypt()
123 u8 *dst = walk->dst.virt.addr; in crypto_cbc_decrypt_segment() local
127 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_cbc_decrypt_segment()
128 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment()
[all …]
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c16 static void do_one(char *src, char *dst, unsigned long src_off, in do_one() argument
25 dstp = dst + MIN_REDZONE + dst_off; in do_one()
28 memset(dst, POISON, BUFLEN); in do_one()
49 if (memcmp(dst, redzone, dstp - dst)) { in do_one()
55 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one()
64 char *src, *dst, *redzone, *fill; in test_copy_loop() local
69 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
73 if (!src || !dst || !redzone || !fill) { in test_copy_loop()
87 do_one(src, dst, src_off, dst_off, len, in test_copy_loop()
/linux-4.1.27/net/netfilter/
Dxt_hashlimit.c66 __be32 dst; member
71 __be32 dst[4]; member
82 struct dsthash_dst dst; member
123 return !memcmp(&ent->dst, b, sizeof(ent->dst)); in dst_cmp()
127 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() argument
129 u_int32_t hash = jhash2((const u32 *)dst, in hash_dst()
130 sizeof(*dst)/sizeof(u32), in hash_dst()
143 const struct dsthash_dst *dst) in dsthash_find() argument
146 u_int32_t hash = hash_dst(ht, dst); in dsthash_find()
150 if (dst_cmp(ent, dst)) { in dsthash_find()
[all …]
Dnf_nat_sip.c107 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr()
108 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr()
109 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr()
110 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr()
192 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip()
193 port != ct->tuplehash[dir].tuple.dst.u.udp.port) in nf_nat_sip()
212 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip()
214 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip()
228 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip()
245 htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && in nf_nat_sip()
[all …]
Dxt_nat.c29 static void xt_nat_convert_range(struct nf_nat_range *dst, in xt_nat_convert_range() argument
32 memset(&dst->min_addr, 0, sizeof(dst->min_addr)); in xt_nat_convert_range()
33 memset(&dst->max_addr, 0, sizeof(dst->max_addr)); in xt_nat_convert_range()
35 dst->flags = src->flags; in xt_nat_convert_range()
36 dst->min_addr.ip = src->min_ip; in xt_nat_convert_range()
37 dst->max_addr.ip = src->max_ip; in xt_nat_convert_range()
38 dst->min_proto = src->min; in xt_nat_convert_range()
39 dst->max_proto = src->max; in xt_nat_convert_range()
/linux-4.1.27/drivers/media/usb/dvb-usb/
Dvp702x-fe.c44 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_refresh_state() local
48 mutex_lock(&dst->buf_mutex); in vp702x_fe_refresh_state()
49 buf = dst->buf; in vp702x_fe_refresh_state()
60 mutex_unlock(&dst->buf_mutex); in vp702x_fe_refresh_state()
142 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_set_frontend() local
149 mutex_lock(&dst->buf_mutex); in vp702x_fe_set_frontend()
151 cmd = dst->buf; in vp702x_fe_set_frontend()
195 mutex_unlock(&dst->buf_mutex); in vp702x_fe_set_frontend()
219 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_send_diseqc_msg() local
226 mutex_lock(&dst->buf_mutex); in vp702x_fe_send_diseqc_msg()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_rect.c68 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled() argument
74 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
79 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
84 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled()
89 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
95 return drm_rect_intersect(dst, clip); in drm_rect_clip_scaled()
99 static int drm_calc_scale(int src, int dst) in drm_calc_scale() argument
103 if (src < 0 || dst < 0) in drm_calc_scale()
106 if (dst == 0) in drm_calc_scale()
109 scale = src / dst; in drm_calc_scale()
[all …]
/linux-4.1.27/sound/soc/blackfin/
Dbf5xx-ac97.c46 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, in bf5xx_pcm_to_ac97() argument
50 dst->ac97_tag = TAG_VALID; in bf5xx_pcm_to_ac97()
52 dst->ac97_pcm_r = *src++; in bf5xx_pcm_to_ac97()
53 dst->ac97_tag |= TAG_PCM_RIGHT; in bf5xx_pcm_to_ac97()
56 dst->ac97_pcm_l = *src++; in bf5xx_pcm_to_ac97()
57 dst->ac97_tag |= TAG_PCM_LEFT; in bf5xx_pcm_to_ac97()
62 dst->ac97_sl = *src++; in bf5xx_pcm_to_ac97()
63 dst->ac97_tag |= TAG_PCM_SL; in bf5xx_pcm_to_ac97()
66 dst->ac97_sr = *src++; in bf5xx_pcm_to_ac97()
67 dst->ac97_tag |= TAG_PCM_SR; in bf5xx_pcm_to_ac97()
[all …]
/linux-4.1.27/lib/lzo/
Dlzodefs.h15 #define COPY4(dst, src) \ argument
16 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
18 #define COPY8(dst, src) \ argument
19 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst))
21 #define COPY8(dst, src) \ argument
22 COPY4(dst, src); COPY4((dst) + 4, (src) + 4)
/linux-4.1.27/arch/arm/crypto/
Daesbs-glue.c105 struct scatterlist *dst, in aesbs_cbc_encrypt() argument
112 blkcipher_walk_init(&walk, dst, src, nbytes); in aesbs_cbc_encrypt()
119 if (walk.dst.virt.addr == walk.src.virt.addr) { in aesbs_cbc_encrypt()
130 u8 *dst = walk.dst.virt.addr; in aesbs_cbc_encrypt() local
134 AES_encrypt(walk.iv, dst, &ctx->enc); in aesbs_cbc_encrypt()
135 memcpy(walk.iv, dst, AES_BLOCK_SIZE); in aesbs_cbc_encrypt()
137 dst += AES_BLOCK_SIZE; in aesbs_cbc_encrypt()
146 struct scatterlist *dst, in aesbs_cbc_decrypt() argument
153 blkcipher_walk_init(&walk, dst, src, nbytes); in aesbs_cbc_decrypt()
158 bsaes_cbc_encrypt(walk.src.virt.addr, walk.dst.virt.addr, in aesbs_cbc_decrypt()
[all …]
/linux-4.1.27/arch/arm64/kernel/
Dio.c84 void __memset_io(volatile void __iomem *dst, int c, size_t count) in __memset_io() argument
92 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io()
93 __raw_writeb(c, dst); in __memset_io()
94 dst++; in __memset_io()
99 __raw_writeq(qc, dst); in __memset_io()
100 dst += 8; in __memset_io()
105 __raw_writeb(c, dst); in __memset_io()
106 dst++; in __memset_io()
/linux-4.1.27/net/xfrm/
Dxfrm_policy.c53 static void xfrm_init_pmtu(struct dst_entry *dst);
54 static int stale_bundle(struct dst_entry *dst);
124 struct dst_entry *dst; in __xfrm_dst_lookup() local
130 dst = afinfo->dst_lookup(net, tos, saddr, daddr); in __xfrm_dst_lookup()
134 return dst; in __xfrm_dst_lookup()
145 struct dst_entry *dst; in xfrm_dst_lookup() local
156 dst = __xfrm_dst_lookup(net, tos, saddr, daddr, family); in xfrm_dst_lookup()
158 if (!IS_ERR(dst)) { in xfrm_dst_lookup()
165 return dst; in xfrm_dst_lookup()
1510 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get() local
[all …]
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c154 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx);
185 static inline void emit_addu(unsigned int dst, unsigned int src1, in emit_addu() argument
188 emit_instr(ctx, addu, dst, src1, src2); in emit_addu()
197 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm() argument
205 uasm_i_ori(&p, dst, r_tmp_imm, imm & 0xffff); in emit_load_imm()
208 uasm_i_addiu(&p, dst, r_zero, imm); in emit_load_imm()
217 static inline void emit_or(unsigned int dst, unsigned int src1, in emit_or() argument
220 emit_instr(ctx, or, dst, src1, src2); in emit_or()
223 static inline void emit_ori(unsigned int dst, unsigned src, u32 imm, in emit_ori() argument
228 emit_or(dst, src, r_tmp, ctx); in emit_ori()
[all …]
/linux-4.1.27/arch/s390/crypto/
Ddes_s390.c94 u8 *out = walk->dst.virt.addr; in ecb_desall_crypt()
127 u8 *out = walk->dst.virt.addr; in cbc_desall_crypt()
144 struct scatterlist *dst, struct scatterlist *src, in ecb_des_encrypt() argument
150 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_des_encrypt()
155 struct scatterlist *dst, struct scatterlist *src, in ecb_des_decrypt() argument
161 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_des_decrypt()
186 struct scatterlist *dst, struct scatterlist *src, in cbc_des_encrypt() argument
191 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_des_encrypt()
196 struct scatterlist *dst, struct scatterlist *src, in cbc_des_decrypt() argument
201 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_des_decrypt()
[all …]
/linux-4.1.27/drivers/media/usb/as102/
Das102_fw.c30 static unsigned char atohx(unsigned char *dst, char *src) in atohx() argument
42 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx()
54 unsigned char *src, dst; in parse_hex_line() local
63 atohx(&dst, src); in parse_hex_line()
67 *dataLength = dst; in parse_hex_line()
70 addr[2] = dst; in parse_hex_line()
73 addr[3] = dst; in parse_hex_line()
77 if (dst == 0x04) in parse_hex_line()
85 addr[(count - 4)] = dst; in parse_hex_line()
87 data[(count - 4)] = dst; in parse_hex_line()
[all …]
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_nfct.c72 &(T)->dst.u3.ip, ntohs((T)->dst.u.all), \
73 (T)->dst.protonum
117 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
118 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
121 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack()
122 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack()
123 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack()
124 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack()
164 ip_vs_conn_fill_param(net, exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback()
166 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback()
[all …]
Dip_vs_xmit.c75 struct dst_entry *dst, u32 dst_cookie) in __ip_vs_dst_set() argument
83 dest_dst->dst_cache = dst; in __ip_vs_dst_set()
96 struct dst_entry *dst; in __ip_vs_dst_check() local
100 dst = dest_dst->dst_cache; in __ip_vs_dst_check()
101 if (dst->obsolete && in __ip_vs_dst_check()
102 dst->ops->check(dst, dest_dst->dst_cookie) == NULL) in __ip_vs_dst_check()
162 return rt->dst.dev && rt->dst.dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6()
212 ort->dst.ops->update_pmtu(&ort->dst, sk, NULL, mtu); in maybe_update_pmtu()
289 __ip_vs_dst_set(dest, dest_dst, &rt->dst, 0); in __ip_vs_get_out_rt()
293 atomic_read(&rt->dst.__refcnt)); in __ip_vs_get_out_rt()
[all …]
/linux-4.1.27/arch/score/lib/
Dchecksum_copy.c30 unsigned int csum_partial_copy(const char *src, char *dst, in csum_partial_copy() argument
34 memcpy(dst, src, len); in csum_partial_copy()
39 unsigned int csum_partial_copy_from_user(const char *src, char *dst, in csum_partial_copy_from_user() argument
45 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user()
47 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user()
51 return csum_partial(dst, len, sum); in csum_partial_copy_from_user()
/linux-4.1.27/arch/sparc/include/asm/
Dio_32.h15 static inline void _memset_io(volatile void __iomem *dst, in _memset_io() argument
18 volatile void __iomem *d = dst; in _memset_io()
26 static inline void _memcpy_fromio(void *dst, const volatile void __iomem *src, in _memcpy_fromio() argument
29 char *d = dst; in _memcpy_fromio()
38 static inline void _memcpy_toio(volatile void __iomem *dst, const void *src, in _memcpy_toio() argument
42 volatile void __iomem *d = dst; in _memcpy_toio()
96 static inline void sbus_memcpy_fromio(void *dst, in sbus_memcpy_fromio() argument
100 char *d = dst; in sbus_memcpy_fromio()
109 static inline void sbus_memcpy_toio(volatile void __iomem *dst, in sbus_memcpy_toio() argument
114 volatile void __iomem *d = dst; in sbus_memcpy_toio()
/linux-4.1.27/drivers/dma/
Dcoh901318_lli.c150 dma_addr_t dst = destination; in coh901318_lli_fill_memcpy() local
153 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
158 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
164 dst += MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_memcpy()
169 lli->dst_addr = dst; in coh901318_lli_fill_memcpy()
183 dma_addr_t dst; in coh901318_lli_fill_single() local
188 dst = dev_addr; in coh901318_lli_fill_single()
193 dst = buf; in coh901318_lli_fill_single()
213 lli->dst_addr = dst; in coh901318_lli_fill_single()
220 dst += block_size; in coh901318_lli_fill_single()
[all …]
/linux-4.1.27/tools/perf/util/include/linux/
Dbitmap.h11 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
23 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero() argument
26 *dst = 0UL; in bitmap_zero()
29 memset(dst, 0, len); in bitmap_zero()
40 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
44 *dst = *src1 | *src2; in bitmap_or()
46 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
/linux-4.1.27/net/ipv6/netfilter/
Dnf_reject_ipv6.c141 struct dst_entry *dst = NULL; in nf_send_reset6() local
161 dst = ip6_route_output(net, NULL, &fl6); in nf_send_reset6()
162 if (dst == NULL || dst->error) { in nf_send_reset6()
163 dst_release(dst); in nf_send_reset6()
166 dst = xfrm_lookup(net, dst, flowi6_to_flowi(&fl6), NULL, 0); in nf_send_reset6()
167 if (IS_ERR(dst)) in nf_send_reset6()
170 hh_len = (dst->dev->hard_header_len + 15)&~15; in nf_send_reset6()
171 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) in nf_send_reset6()
172 + sizeof(struct tcphdr) + dst->trailer_len, in nf_send_reset6()
177 dst_release(dst); in nf_send_reset6()
[all …]
Dnf_conntrack_proto_icmpv6.c47 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple()
49 tuple->dst.u.icmp.code = hp->icmp6_code; in icmpv6_pkt_to_tuple()
76 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple()
81 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple()
82 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmpv6_invert_tuple()
91 tuple->dst.u.icmp.type, in icmpv6_print_tuple()
92 tuple->dst.u.icmp.code, in icmpv6_print_tuple()
126 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; in icmpv6_new()
168 inproto = __nf_ct_l4proto_find(PF_INET6, origtuple.dst.protonum); in icmpv6_error_message()
244 nla_put_u8(skb, CTA_PROTO_ICMPV6_TYPE, t->dst.u.icmp.type) || in icmpv6_tuple_to_nlattr()
[all …]
/linux-4.1.27/drivers/crypto/
Dgeode-aes.c47 do_crypt(void *src, void *dst, int len, u32 flags) in do_crypt() argument
53 iowrite32(virt_to_phys(dst), _iobase + AES_DSTA_REG); in do_crypt()
103 ret = do_crypt(op->src, op->dst, op->len, flags); in geode_aes_crypt()
183 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_dec() argument
193 ret = crypto_blkcipher_decrypt_iv(desc, dst, src, nbytes); in fallback_blk_dec()
199 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_enc() argument
209 ret = crypto_blkcipher_encrypt_iv(desc, dst, src, nbytes); in fallback_blk_enc()
226 op->dst = (void *) out; in geode_encrypt()
247 op->dst = (void *) out; in geode_decrypt()
305 struct scatterlist *dst, struct scatterlist *src, in geode_cbc_decrypt() argument
[all …]
/linux-4.1.27/arch/m32r/lib/
Dcsum_partial_copy.c31 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck() argument
34 memcpy(dst, src, len); in csum_partial_copy_nocheck()
45 csum_partial_copy_from_user (const void __user *src, void *dst, in csum_partial_copy_from_user() argument
50 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user()
52 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user()
56 return csum_partial(dst, len-missing, sum); in csum_partial_copy_from_user()
Dusercopy.c41 #define __do_strncpy_from_user(dst,src,count,res) \ argument
69 "4"(dst) \
75 #define __do_strncpy_from_user(dst,src,count,res) \ argument
106 "4"(dst) \
113 __strncpy_from_user(char *dst, const char __user *src, long count) in __strncpy_from_user() argument
116 __do_strncpy_from_user(dst, src, count, res); in __strncpy_from_user()
121 strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
125 __do_strncpy_from_user(dst, src, count, res); in strncpy_from_user()
/linux-4.1.27/arch/arm64/include/asm/
Dassembler.h172 .macro adr_l, dst, sym, tmp=
174 adrp \dst, \sym
175 add \dst, \dst, :lo12:\sym
178 add \dst, \tmp, :lo12:\sym
189 .macro ldr_l, dst, sym, tmp=
191 adrp \dst, \sym
192 ldr \dst, [\dst, :lo12:\sym]
195 ldr \dst, [\tmp, :lo12:\sym]
/linux-4.1.27/drivers/gpu/drm/radeon/
Datom.c590 uint32_t dst, src, saved; in atom_op_add() local
593 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add()
596 dst += src; in atom_op_add()
598 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add()
604 uint32_t dst, src, saved; in atom_op_and() local
607 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_and()
610 dst &= src; in atom_op_and()
612 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and()
651 uint32_t dst, src; in atom_op_compare() local
653 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_compare()
[all …]
/linux-4.1.27/fs/hfsplus/
Dbnode.c126 void hfs_bnode_copy(struct hfs_bnode *dst_node, int dst, in hfs_bnode_copy() argument
133 hfs_dbg(BNODE_MOD, "copybytes: %u,%u,%u\n", dst, src, len); in hfs_bnode_copy()
138 dst += dst_node->page_offset; in hfs_bnode_copy()
141 dst_page = dst_node->page + (dst >> PAGE_CACHE_SHIFT); in hfs_bnode_copy()
142 dst &= ~PAGE_CACHE_MASK; in hfs_bnode_copy()
144 if (src == dst) { in hfs_bnode_copy()
163 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_copy()
164 if (PAGE_CACHE_SIZE - src < PAGE_CACHE_SIZE - dst) { in hfs_bnode_copy()
167 dst += l; in hfs_bnode_copy()
169 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_copy()
[all …]
/linux-4.1.27/arch/arm/include/asm/
Dxor.h17 #define GET_BLOCK_2(dst) \ argument
19 : "=r" (dst), "=r" (a1), "=r" (a2) \
20 : "0" (dst))
22 #define GET_BLOCK_4(dst) \ argument
24 : "=r" (dst), "=r" (a1), "=r" (a2), "=r" (a3), "=r" (a4) \
25 : "0" (dst))
39 #define PUT_BLOCK_2(dst) \ argument
41 : "=r" (dst) \
42 : "0" (dst), "r" (a1), "r" (a2))
44 #define PUT_BLOCK_4(dst) \ argument
[all …]
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Doutput.c38 if (out->dst) { in omapdss_output_set_device()
40 out->dst->name); in omapdss_output_set_device()
51 out->dst = dssdev; in omapdss_output_set_device()
70 if (!out->dst) { in omapdss_output_unset_device()
76 if (out->dst->state != OMAP_DSS_DISPLAY_DISABLED) { in omapdss_output_unset_device()
78 out->dst->name); in omapdss_output_unset_device()
83 out->dst->src = NULL; in omapdss_output_unset_device()
84 out->dst = NULL; in omapdss_output_unset_device()
210 struct omap_dss_device *dst) in dss_mgr_connect() argument
212 return dss_mgr_ops->connect(mgr, dst); in dss_mgr_connect()
[all …]
/linux-4.1.27/drivers/staging/rtl8192e/
Drtllib_rx.c63 unsigned int frag, u8 tid, u8 *src, u8 *dst) in rtllib_frag_cache_find() argument
82 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in rtllib_frag_cache_find()
492 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in rtllib_indicate_packets()
499 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in rtllib_indicate_packets()
731 struct rtllib_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument
785 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe()
792 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe()
923 struct rtllib_hdr_4addr *hdr, u8 *dst, in rtllib_rx_extract_addr() argument
930 memcpy(dst, hdr->addr1, ETH_ALEN); in rtllib_rx_extract_addr()
935 memcpy(dst, hdr->addr3, ETH_ALEN); in rtllib_rx_extract_addr()
[all …]
/linux-4.1.27/mm/
Dmaccess.c18 long __weak probe_kernel_read(void *dst, const void *src, size_t size)
21 long __probe_kernel_read(void *dst, const void *src, size_t size) in __probe_kernel_read() argument
28 ret = __copy_from_user_inatomic(dst, in __probe_kernel_read()
46 long __weak probe_kernel_write(void *dst, const void *src, size_t size)
49 long __probe_kernel_write(void *dst, const void *src, size_t size) in __probe_kernel_write() argument
56 ret = __copy_to_user_inatomic((__force void __user *)dst, src, size); in __probe_kernel_write()
/linux-4.1.27/arch/m68k/lib/
Dchecksum.c136 csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument
313 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst), in csum_partial_copy_from_user()
315 : "0" (sum), "1" (len), "2" (src), "3" (dst) in csum_partial_copy_from_user()
331 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck() argument
419 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst), in csum_partial_copy_nocheck()
421 : "0" (sum), "1" (len), "2" (src), "3" (dst) in csum_partial_copy_nocheck()
/linux-4.1.27/arch/sh/include/asm/
Dchecksum_32.h36 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst,
48 __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument
51 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck()
55 __wsum csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument
58 return csum_partial_copy_generic((__force const void *)src, dst, in csum_partial_copy_from_user()
202 void __user *dst, in csum_and_copy_to_user() argument
206 if (access_ok(VERIFY_WRITE, dst, len)) in csum_and_copy_to_user()
208 dst, len, sum, NULL, err_ptr); in csum_and_copy_to_user()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c67 unsigned int frag, u8 tid, u8 *src, u8 *dst) in ieee80211_frag_cache_find() argument
87 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in ieee80211_frag_cache_find()
567 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in ieee80211_indicate_packets()
574 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in ieee80211_indicate_packets()
769 struct ieee80211_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument
816 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
822 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe()
915 u8 dst[ETH_ALEN]; in ieee80211_rx() local
1066 memcpy(dst, hdr->addr1, ETH_ALEN); in ieee80211_rx()
1071 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx()
[all …]
/linux-4.1.27/arch/c6x/include/asm/
Dcacheflush.h56 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
58 memcpy(dst, src, len); \
59 flush_icache_range((unsigned) (dst), (unsigned) (dst) + (len)); \
62 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
63 memcpy(dst, src, len)
/linux-4.1.27/arch/hexagon/include/asm/
Duaccess.h87 #define __strncpy_from_user(dst, src, n) hexagon_strncpy_from_user(dst, src, n) argument
94 static inline long hexagon_strncpy_from_user(char *dst, const char __user *src,
100 static inline long hexagon_strncpy_from_user(char *dst, const char __user *src, in hexagon_strncpy_from_user() argument
108 copy_from_user(dst, src, n); in hexagon_strncpy_from_user()
111 copy_from_user(dst, src, res); in hexagon_strncpy_from_user()
/linux-4.1.27/arch/xtensa/include/asm/
Dchecksum.h40 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst,
51 __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument
54 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck()
58 __wsum csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument
61 return csum_partial_copy_generic((__force const void *)src, dst, in csum_partial_copy_from_user()
245 void __user *dst, int len, in csum_and_copy_to_user() argument
248 if (access_ok(VERIFY_WRITE, dst, len)) in csum_and_copy_to_user()
249 return csum_partial_copy_generic(src,dst,len,sum,NULL,err_ptr); in csum_and_copy_to_user()
/linux-4.1.27/arch/powerpc/boot/
Dgunzip_util.c102 int gunzip_partial(struct gunzip_state *state, void *dst, int dstlen) in gunzip_partial() argument
110 state->s.next_out = dst; in gunzip_partial()
115 len = state->s.next_out - (Byte *)dst; in gunzip_partial()
119 memcpy(dst, state->s.next_in, len); in gunzip_partial()
140 void gunzip_exactly(struct gunzip_state *state, void *dst, int dstlen) in gunzip_exactly() argument
144 len = gunzip_partial(state, dst, dstlen); in gunzip_exactly()
193 int gunzip_finish(struct gunzip_state *state, void *dst, int dstlen) in gunzip_finish() argument
197 len = gunzip_partial(state, dst, dstlen); in gunzip_finish()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_pio_copy.c48 u64 __iomem *dst = to; in qib_pio_copy() local
53 __raw_writeq(*src++, dst++); in qib_pio_copy()
55 __raw_writel(*(const u32 *)src, dst); in qib_pio_copy()
57 u32 __iomem *dst = to; in qib_pio_copy()
62 __raw_writel(*src++, dst++); in qib_pio_copy()
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddadapter.c175 int src, dst; in diva_didd_read_adapter_array() local
181 for (src = 0, dst = 0; in diva_didd_read_adapter_array()
182 (Adapters && (src < NEW_MAX_DESCRIPTORS) && (dst < length)); in diva_didd_read_adapter_array()
185 memcpy(&buffer[dst], &HandleTable[src], sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
186 dst++; in diva_didd_read_adapter_array()
190 if (dst < length) { in diva_didd_read_adapter_array()
191 memcpy(&buffer[dst], &MAdapter, sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
192 dst++; in diva_didd_read_adapter_array()
196 if (dst < length) { in diva_didd_read_adapter_array()
197 memcpy(&buffer[dst], &DAdapter, sizeof(DESCRIPTOR)); in diva_didd_read_adapter_array()
[all …]

12345678