Searched refs:dst (Results 51 - 75 of 2581) sorted by relevance

1234567891011>>

/linux-master/arch/arm64/lib/
H A Dcopy_template.S31 dst .req x6 label
42 mov dst, dstin
52 * Copy the leading memory data from src to dst in an increasing
55 * dst is less than 16. The memory accesses here are alignment.
59 strb1 tmp1w, dst, #1
63 strh1 tmp1w, dst, #2
67 str1 tmp1w, dst, #4
71 str1 tmp1, dst, #8
91 stp1 A_l, A_h, dst, #16
94 stp1 A_l, A_h, dst, #1
[all...]
H A Dmemset.S41 dst .req x8 label
46 mov dst, dstin /* Preserve return value. */
56 str A_l, [dst], #8
59 str A_lw, [dst], #4
62 strh A_lw, [dst], #2
65 strb A_lw, [dst]
71 neg tmp2, dst
76 * then adjust the dst aligned with 16.This process will make the current
79 stp A_l, A_l, [dst] /*non-aligned store..*/
80 /*make the dst aligne
[all...]
/linux-master/arch/m68k/lib/
H A Dchecksum.c132 csum_and_copy_from_user(const void __user *src, void *dst, int len) argument
260 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst),
262 : "0" (sum), "1" (len), "2" (src), "3" (dst)
274 csum_partial_copy_nocheck(const void *src, void *dst, int len) argument
363 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst),
365 : "0" (sum), "1" (len), "2" (src), "3" (dst)
/linux-master/arch/riscv/lib/
H A Driscv_v_helpers.c18 int __asm_vector_usercopy(void *dst, void *src, size_t n);
19 int fallback_scalar_usercopy(void *dst, void *src, size_t n);
20 asmlinkage int enter_vector_usercopy(void *dst, void *src, size_t n) argument
29 remain = __asm_vector_usercopy(dst, src, n);
34 dst += copied;
43 return fallback_scalar_usercopy(dst, src, n);
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_ptr_as_arr.c20 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
H A Dtest_sock_fields.c61 static void skcpy(struct bpf_sock *dst, argument
64 dst->bound_dev_if = src->bound_dev_if;
65 dst->family = src->family;
66 dst->type = src->type;
67 dst->protocol = src->protocol;
68 dst->mark = src->mark;
69 dst->priority = src->priority;
70 dst->src_ip4 = src->src_ip4;
71 dst->src_ip6[0] = src->src_ip6[0];
72 dst
85 tpcpy(struct bpf_tcp_sock *dst, const struct bpf_tcp_sock *src) argument
[all...]
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_misc.c224 void pvrdma_qp_cap_to_ib(struct ib_qp_cap *dst, const struct pvrdma_qp_cap *src) argument
226 dst->max_send_wr = src->max_send_wr;
227 dst->max_recv_wr = src->max_recv_wr;
228 dst->max_send_sge = src->max_send_sge;
229 dst->max_recv_sge = src->max_recv_sge;
230 dst->max_inline_data = src->max_inline_data;
233 void ib_qp_cap_to_pvrdma(struct pvrdma_qp_cap *dst, const struct ib_qp_cap *src) argument
235 dst->max_send_wr = src->max_send_wr;
236 dst->max_recv_wr = src->max_recv_wr;
237 dst
242 pvrdma_gid_to_ib(union ib_gid *dst, const union pvrdma_gid *src) argument
248 ib_gid_to_pvrdma(union pvrdma_gid *dst, const union ib_gid *src) argument
254 pvrdma_global_route_to_ib(struct ib_global_route *dst, const struct pvrdma_global_route *src) argument
264 ib_global_route_to_pvrdma(struct pvrdma_global_route *dst, const struct ib_global_route *src) argument
274 pvrdma_ah_attr_to_rdma(struct rdma_ah_attr *dst, const struct pvrdma_ah_attr *src) argument
288 rdma_ah_attr_to_pvrdma(struct pvrdma_ah_attr *dst, const struct rdma_ah_attr *src) argument
[all...]
/linux-master/arch/x86/crypto/
H A Dserpent-avx.h13 asmlinkage void serpent_ecb_enc_8way_avx(const void *ctx, u8 *dst,
15 asmlinkage void serpent_ecb_dec_8way_avx(const void *ctx, u8 *dst,
18 asmlinkage void serpent_cbc_dec_8way_avx(const void *ctx, u8 *dst,
H A Dglue_helper-asm-avx2.S18 #define store_16way(dst, x0, x1, x2, x3, x4, x5, x6, x7) \
19 vmovdqu x0, (0*32)(dst); \
20 vmovdqu x1, (1*32)(dst); \
21 vmovdqu x2, (2*32)(dst); \
22 vmovdqu x3, (3*32)(dst); \
23 vmovdqu x4, (4*32)(dst); \
24 vmovdqu x5, (5*32)(dst); \
25 vmovdqu x6, (6*32)(dst); \
26 vmovdqu x7, (7*32)(dst);
28 #define store_cbc_16way(src, dst, x
[all...]
/linux-master/lib/
H A Dstrncpy_from_user.c16 #define IS_UNALIGNED(src, dst) 0
18 #define IS_UNALIGNED(src, dst) \
19 (((long) dst | (long) src) & (sizeof(long) - 1))
28 static __always_inline long do_strncpy_from_user(char *dst, const char __user *src, argument
34 if (IS_UNALIGNED(src, dst))
58 *(unsigned long *)(dst+res) = c & mask;
62 *(unsigned long *)(dst+res) = c;
73 dst[res] = c;
97 * @dst: Destination address, in kernel space. This buffer must be at
113 long strncpy_from_user(char *dst, cons argument
[all...]
/linux-master/lib/zstd/compress/
H A Dzstd_compress_literals.h17 size_t ZSTD_noCompressLiterals (void* dst, size_t dstCapacity, const void* src, size_t srcSize);
19 size_t ZSTD_compressRleLiteralsBlock (void* dst, size_t dstCapacity, const void* src, size_t srcSize);
25 void* dst, size_t dstCapacity,
/linux-master/include/linux/
H A Dlinkmode.h8 static inline void linkmode_zero(unsigned long *dst) argument
10 bitmap_zero(dst, __ETHTOOL_LINK_MODE_MASK_NBITS);
13 static inline void linkmode_fill(unsigned long *dst) argument
15 bitmap_fill(dst, __ETHTOOL_LINK_MODE_MASK_NBITS);
18 static inline void linkmode_copy(unsigned long *dst, const unsigned long *src) argument
20 bitmap_copy(dst, src, __ETHTOOL_LINK_MODE_MASK_NBITS);
23 static inline void linkmode_and(unsigned long *dst, const unsigned long *a, argument
26 bitmap_and(dst, a, b, __ETHTOOL_LINK_MODE_MASK_NBITS);
29 static inline void linkmode_or(unsigned long *dst, const unsigned long *a, argument
32 bitmap_or(dst,
40 linkmode_andnot(unsigned long *dst, const unsigned long *src1, const unsigned long *src2) argument
[all...]
/linux-master/arch/alpha/lib/
H A Dsrm_printk.c15 char *src, *dst; local
32 for (dst = src + num_lf; src >= buf; ) {
34 *dst-- = '\r';
36 *dst-- = *src--;
/linux-master/crypto/
H A Dcompress.c14 u8 *dst, unsigned int *dlen)
18 return tfm->__crt_alg->cra_compress.coa_compress(tfm, src, slen, dst,
25 u8 *dst, unsigned int *dlen)
29 return tfm->__crt_alg->cra_compress.coa_decompress(tfm, src, slen, dst,
12 crypto_comp_compress(struct crypto_comp *comp, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument
23 crypto_comp_decompress(struct crypto_comp *comp, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument
/linux-master/fs/hfs/
H A Dtrans.c38 char *dst; local
45 dst = out;
65 size = nls_io->uni2char(ch, dst, dstlen);
69 *dst = '?';
72 dst += size;
79 *dst++ = (ch = *src++) == '/' ? ':' : ch;
82 return dst - out;
102 char *dst; local
107 dst = out->name;
123 size = nls_disk->uni2char(ch, dst, dstle
[all...]
/linux-master/arch/arm64/crypto/
H A Dsm4-ce.h10 void sm4_ce_crypt_block(const u32 *rkey, u8 *dst, const u8 *src);
12 void sm4_ce_cbc_enc(const u32 *rkey_enc, u8 *dst, const u8 *src,
/linux-master/arch/x86/lib/
H A Dcopy_mc.c44 unsigned long copy_mc_enhanced_fast_string(void *dst, const void *src, unsigned len);
49 * @dst: destination address
62 unsigned long __must_check copy_mc_to_kernel(void *dst, const void *src, unsigned len) argument
65 return copy_mc_fragile(dst, src, len);
67 return copy_mc_enhanced_fast_string(dst, src, len);
68 memcpy(dst, src, len);
73 unsigned long __must_check copy_mc_to_user(void __user *dst, const void *src, unsigned len) argument
79 ret = copy_mc_fragile((__force void *)dst, src, len);
86 ret = copy_mc_enhanced_fast_string((__force void *)dst, src, len);
91 return copy_user_generic((__force void *)dst, sr
[all...]
/linux-master/net/dsa/
H A Ddsa.c54 * @dst: Tree in which to record the mapping.
63 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) argument
67 for (id = 1; id <= dst->lags_len; id++) {
68 if (!dsa_lag_by_id(dst, id)) {
69 dst->lags[id - 1] = lag;
85 * @dst: Tree in which the mapping is recorded.
91 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) argument
95 dsa_lags_foreach_id(id, dst) {
96 if (dsa_lag_by_id(dst, id) == lag) {
97 dst
104 dsa_tree_lag_find(struct dsa_switch_tree *dst, const struct net_device *lag_dev) argument
116 dsa_tree_bridge_find(struct dsa_switch_tree *dst, const struct net_device *br) argument
130 struct dsa_switch_tree *dst; local
181 struct dsa_switch_tree *dst; local
202 struct dsa_switch_tree *dst; local
213 struct dsa_switch_tree *dst; local
233 dsa_tree_free(struct dsa_switch_tree *dst) argument
241 dsa_tree_get(struct dsa_switch_tree *dst) argument
251 struct dsa_switch_tree *dst; local
262 struct dsa_switch_tree *dst; local
269 dsa_tree_put(struct dsa_switch_tree *dst) argument
275 dsa_tree_find_port_by_node(struct dsa_switch_tree *dst, struct device_node *dn) argument
291 struct dsa_switch_tree *dst; local
316 struct dsa_switch_tree *dst = ds->dst; local
340 dsa_tree_setup_routing_table(struct dsa_switch_tree *dst) argument
356 dsa_tree_find_first_cpu(struct dsa_switch_tree *dst) argument
367 dsa_tree_find_first_conduit(struct dsa_switch_tree *dst) argument
384 dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst) argument
428 dsa_tree_setup_cpu_ports(struct dsa_switch_tree *dst) argument
454 dsa_tree_teardown_cpu_ports(struct dsa_switch_tree *dst) argument
577 struct dsa_switch_tree *dst = ds->dst; local
719 dsa_tree_teardown_ports(struct dsa_switch_tree *dst) argument
734 dsa_tree_teardown_switches(struct dsa_switch_tree *dst) argument
743 dsa_tree_setup_ports(struct dsa_switch_tree *dst) argument
775 dsa_tree_setup_switches(struct dsa_switch_tree *dst) argument
791 dsa_tree_setup_conduit(struct dsa_switch_tree *dst) argument
818 dsa_tree_teardown_conduit(struct dsa_switch_tree *dst) argument
839 dsa_tree_setup_lags(struct dsa_switch_tree *dst) argument
860 dsa_tree_teardown_lags(struct dsa_switch_tree *dst) argument
865 dsa_tree_setup(struct dsa_switch_tree *dst) argument
918 dsa_tree_teardown(struct dsa_switch_tree *dst) argument
945 dsa_tree_bind_tag_proto(struct dsa_switch_tree *dst, const struct dsa_device_ops *tag_ops) argument
980 dsa_tree_change_tag_proto(struct dsa_switch_tree *dst, const struct dsa_device_ops *tag_ops, const struct dsa_device_ops *old_tag_ops) argument
1026 dsa_tree_conduit_state_change(struct dsa_switch_tree *dst, struct net_device *conduit) argument
1038 dsa_tree_conduit_admin_state_change(struct dsa_switch_tree *dst, struct net_device *conduit, bool up) argument
1061 dsa_tree_conduit_oper_state_change(struct dsa_switch_tree *dst, struct net_device *conduit, bool up) argument
1086 struct dsa_switch_tree *dst = ds->dst; local
1157 struct dsa_switch_tree *dst = ds->dst; local
1494 struct dsa_switch_tree *dst; local
1549 struct dsa_switch_tree *dst = ds->dst; local
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dcfbcopyarea.c46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, argument
58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8,
73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
80 dst++;
88 FB_WRITEL(FB_READL(src++), dst++);
89 FB_WRITEL(FB_READL(src++), dst++);
90 FB_WRITEL(FB_READL(src++), dst
103 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); local
132 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
157 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
201 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); local
212 bitcpy_rev(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, const unsigned long __iomem *src, unsigned src_idx, int bits, unsigned n, u32 bswapmask) argument
246 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); local
252 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); local
276 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); local
304 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); local
330 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); local
375 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); local
[all...]
/linux-master/arch/s390/include/asm/
H A Dpci_io.h74 static inline int zpci_write_single(volatile void __iomem *dst, const void *src, argument
96 return zpci_store(dst, val, len);
99 static inline int zpci_read_single(void *dst, const volatile void __iomem *src, argument
111 *((u8 *) dst) = (u8) data;
114 *((u16 *) dst) = (u16) data;
117 *((u32 *) dst) = (u32) data;
120 *((u64 *) dst) = (u64) data;
127 int zpci_write_block(volatile void __iomem *dst, const void *src,
130 static inline int zpci_get_max_io_size(u64 src, u64 dst, int len, int max) argument
132 int offset = dst
144 zpci_memcpy_fromio(void *dst, const volatile void __iomem *src, unsigned long n) argument
164 zpci_memcpy_toio(volatile void __iomem *dst, const void *src, unsigned long n) argument
189 zpci_memset_io(volatile void __iomem *dst, unsigned char val, size_t count) argument
[all...]
/linux-master/sound/core/
H A Dmemory.c16 * @dst: the destination pointer on user-space
24 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) argument
28 if (import_ubuf(ITER_DEST, dst, count, &iter))
36 * @dst: the destination iov_iter
44 int copy_to_iter_fromio(struct iov_iter *dst, const void __iomem *src, argument
48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT;
56 if (copy_to_iter(buf, c, dst) != c)
68 * @dst: the destination pointer on mmio-space
76 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) argument
82 return copy_from_iter_toio((void __iomem *)dst,
96 copy_from_iter_toio(void __iomem *dst, struct iov_iter *src, size_t count) argument
[all...]
/linux-master/arch/loongarch/net/
H A Dbpf_jit.c289 const u8 dst = regmap[insn->dst_reg]; local
295 emit_insn(ctx, addd, t1, dst, t1);
299 /* lock *(size *)(dst + off) <op>= src */
324 /* src = atomic_fetch_<op>(dst + off, src) */
357 /* src = atomic_xchg(dst + off, src); */
366 /* r0 = atomic_cmpxchg(dst + off, r0, src); */
470 const u8 dst = regmap[insn->dst_reg]; local
476 /* dst = src */
481 move_reg(ctx, dst, src);
482 emit_zext_32(ctx, dst, is3
[all...]
/linux-master/arch/xtensa/lib/
H A Dumulsidi3.S75 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \
76 mul16u dst, xreg ## xhalf, yreg ## yhalf
80 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \
81 mull dst, xreg ## xhalf, yreg ## yhalf
93 #define do_mul(dst, xreg, xhalf, yreg, yhalf) \
95 rsr dst, ACCLO
99 #define set_arg_l(dst, src) \
100 extui dst, src, 0, 16
101 #define set_arg_h(dst, src) \
102 srli dst, sr
[all...]
/linux-master/security/selinux/ss/
H A Dcontext.h42 static inline int mls_context_cpy(struct context *dst, argument
47 dst->range.level[0].sens = src->range.level[0].sens;
48 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat);
52 dst->range.level[1].sens = src->range.level[1].sens;
53 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat);
55 ebitmap_destroy(&dst->range.level[0].cat);
61 * Sets both levels in the MLS range of 'dst' to the low level of 'src'.
63 static inline int mls_context_cpy_low(struct context *dst, argument
68 dst->range.level[0].sens = src->range.level[0].sens;
69 rc = ebitmap_cpy(&dst
84 mls_context_cpy_high(struct context *dst, const struct context *src) argument
102 mls_context_glblub(struct context *dst, const struct context *c1, const struct context *c2) argument
156 context_cpy(struct context *dst, const struct context *src) argument
[all...]
/linux-master/drivers/video/fbdev/
H A Datafb_utils.h220 static inline void fast_memmove(char *dst, const char *src, size_t size) argument
224 if (dst < src)
232 : "=a" (src), "=a" (dst), "=d" (size)
233 : "0" (src), "1" (dst), "2" (size / 16 - 1)
243 : "=a" (src), "=a" (dst), "=d" (size)
244 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1)
280 static inline void fill8_col(u8 *dst, u32 m[]) argument
283 dst[0] = tmp;
284 dst[2] = (tmp >>= 8);
286 dst[
301 fill8_2col(u8 *dst, u8 fg, u8 bg, u32 mask) argument
359 fill16_col(u32 *dst, int rows, u32 m[]) argument
375 memmove32_col(void *dst, void *src, u32 mask, u32 h, u32 bytes) argument
[all...]

Completed in 359 milliseconds

1234567891011>>