/linux-master/arch/parisc/include/asm/ |
H A D | elf.h | 276 #define ELF_CORE_COPY_REGS(dst, pt) \ 277 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \ 279 for (i = 0; i < 32; i++) dst[i] = pt->gr[i]; \ 280 for (i = 0; i < 8; i++) dst[32 + i] = pt->sr[i]; \ 282 dst[40] = pt->iaoq[0]; dst[41] = pt->iaoq[1]; \ 283 dst[42] = pt->iasq[0]; dst[43] = pt->iasq[1]; \ 284 dst[4 [all...] |
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_rect_test.c | 27 struct drm_rect src, dst, clip; local 31 * Make sure we don't divide by zero when dst 32 * width/height is zero and dst and clip do not intersect. 35 drm_rect_init(&dst, 0, 0, 0, 0); 37 visible = drm_rect_clip_scaled(&src, &dst, &clip); 43 drm_rect_init(&dst, 3, 3, 0, 0); 45 visible = drm_rect_clip_scaled(&src, &dst, &clip); 53 struct drm_rect src, dst, clip; local 58 drm_rect_init(&dst, 0, 0, 1, 1); 61 visible = drm_rect_clip_scaled(&src, &dst, 101 struct drm_rect src, dst, clip; local 191 struct drm_rect src, dst, clip; local 350 struct drm_rect src, dst; member in struct:drm_rect_scale_case [all...] |
/linux-master/drivers/firmware/efi/libstub/ |
H A D | intrinsics.c | 18 void *memcpy(void *dst, const void *src, size_t len) argument 20 efi_bs_call(copy_mem, dst, src, len); 21 return dst; 24 extern void *memmove(void *dst, const void *src, size_t len) __alias(memcpy); 26 void *memset(void *dst, int c, size_t len) argument 28 efi_bs_call(set_mem, dst, len, c & U8_MAX); 29 return dst;
|
/linux-master/arch/x86/lib/ |
H A D | csum-wrappers_64.c | 15 * @dst: destination address 19 * src and dst are best aligned to 64bits. 22 csum_and_copy_from_user(const void __user *src, void *dst, int len) argument 29 sum = csum_partial_copy_generic((__force const void *)src, dst, len); 37 * @dst: destination address (user space) 41 * src and dst are best aligned to 64bits. 44 csum_and_copy_to_user(const void *src, void __user *dst, int len) argument 49 if (!user_access_begin(dst, len)) 51 sum = csum_partial_copy_generic(src, (void __force *)dst, len); 59 * @dst 65 csum_partial_copy_nocheck(const void *src, void *dst, int len) argument [all...] |
/linux-master/tools/include/nolibc/ |
H A D | string.h | 35 void *memmove(void *dst, const void *src, size_t len) argument 42 if (dst < src) { 49 ((char *)dst)[pos] = ((const char *)src)[pos]; 52 return dst; 59 void *memcpy(void *dst, const void *src, size_t len) argument 64 ((char *)dst)[pos] = ((const char *)src)[pos]; 67 return dst; 76 void *memset(void *dst, int b, size_t len) argument 78 char *p = dst; 85 return dst; 112 strcpy(char *dst, const char *src) argument 188 strlcat(char *dst, const char *src, size_t size) argument 210 strlcpy(char *dst, const char *src, size_t size) argument 227 strncat(char *dst, const char *src, size_t size) argument 258 strncpy(char *dst, const char *src, size_t size) argument [all...] |
/linux-master/include/asm-generic/ |
H A D | cacheflush.h | 107 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ 109 instrument_copy_to_user((void __user *)dst, src, len); \ 110 memcpy(dst, src, len); \ 117 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ 119 instrument_copy_from_user_before(dst, (void __user *)src, \ 121 memcpy(dst, src, len); \ 122 instrument_copy_from_user_after(dst, (void __user *)src, len, \
|
/linux-master/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 84 csum_partial_cfu_aligned(const unsigned long __user *src, unsigned long *dst, argument 99 *dst = word; 100 dst++; 108 tmp = *dst; 113 *dst = word | tmp; 125 unsigned long *dst, 150 *dst = word; 151 dst++; 161 tmp = *dst; 169 *dst 124 csum_partial_cfu_dest_aligned(const unsigned long __user *src, unsigned long *dst, unsigned long soff, long len) argument 179 csum_partial_cfu_src_aligned(const unsigned long __user *src, unsigned long *dst, unsigned long doff, long len, unsigned long partial_dest) argument 237 csum_partial_cfu_unaligned(const unsigned long __user * src, unsigned long * dst, unsigned long soff, unsigned long doff, long len, unsigned long partial_dest) argument 316 __csum_and_copy(const void __user *src, void *dst, int len) argument 350 csum_and_copy_from_user(const void __user *src, void *dst, int len) argument 358 csum_partial_copy_nocheck(const void *src, void *dst, int len) argument [all...] |
/linux-master/include/linux/ |
H A D | lzo.h | 25 unsigned char *dst, size_t *dst_len, void *wrkmem); 29 unsigned char *dst, size_t *dst_len, void *wrkmem); 33 unsigned char *dst, size_t *dst_len);
|
H A D | uuid.h | 51 static inline void guid_copy(guid_t *dst, const guid_t *src) argument 53 memcpy(dst, src, sizeof(guid_t)); 56 static inline void import_guid(guid_t *dst, const __u8 *src) argument 58 memcpy(dst, src, sizeof(guid_t)); 61 static inline void export_guid(__u8 *dst, const guid_t *src) argument 63 memcpy(dst, src, sizeof(guid_t)); 76 static inline void uuid_copy(uuid_t *dst, const uuid_t *src) argument 78 memcpy(dst, src, sizeof(uuid_t)); 81 static inline void import_uuid(uuid_t *dst, const __u8 *src) argument 83 memcpy(dst, sr 86 export_uuid(__u8 *dst, const uuid_t *src) argument [all...] |
H A D | bitmap-str.h | 5 int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); 11 int bitmap_parse(const char *buf, unsigned int buflen, unsigned long *dst, int nbits); 14 unsigned long *dst, int nbits);
|
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-io.c | 15 u8 __iomem *dst = addr; local 20 if ((count > 0) && ((unsigned long)dst & 1)) { 21 cx18_writeb(cx, (u8) val, dst); 23 dst++; 25 if ((count > 1) && ((unsigned long)dst & 2)) { 26 cx18_writew(cx, val2, dst); 28 dst += 2; 31 cx18_writel(cx, val4, dst); 33 dst += 4; 36 cx18_writew(cx, val2, dst); [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | fbcon_rotate.c | 27 u8 *dst; local 49 dst = kmalloc_array(len, d_cellsize, GFP_KERNEL); 51 if (dst == NULL) { 58 ops->fontbuffer = dst; 61 dst = ops->fontbuffer; 62 memset(dst, 0, ops->fd_size); 67 rotate_ud(src, dst, vc->vc_font.width, 71 dst += d_cellsize; 76 rotate_cw(src, dst, vc->vc_font.width, 79 dst [all...] |
/linux-master/arch/microblaze/lib/ |
H A D | memmove.c | 37 char *dst = v_dst; local 56 dst += c; 65 switch ((unsigned long)dst & 3) { 67 *--dst = *--src; 71 *--dst = *--src; 75 *--dst = *--src; 79 i_dst = (void *)dst; 174 dst = (void *)i_dst; 181 *--dst = *--src; 184 *--dst [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | uaccess_64.h | 123 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) argument 125 return copy_user_generic(dst, (__force void *)src, size); 129 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) argument 131 return copy_user_generic((__force void *)dst, src, size); 134 extern long __copy_user_nocache(void *dst, const void __user *src, unsigned size); 135 extern long __copy_user_flushcache(void *dst, const void __user *src, unsigned size); 138 __copy_from_user_inatomic_nocache(void *dst, const void __user *src, argument 142 kasan_check_write(dst, size); 144 ret = __copy_user_nocache(dst, src, size); 150 __copy_from_user_flushcache(void *dst, cons argument [all...] |
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_internal.h | 127 static inline void gud_from_display_mode(struct gud_display_mode_req *dst, argument 135 dst->clock = cpu_to_le32(src->clock); 136 dst->hdisplay = cpu_to_le16(src->hdisplay); 137 dst->hsync_start = cpu_to_le16(src->hsync_start); 138 dst->hsync_end = cpu_to_le16(src->hsync_end); 139 dst->htotal = cpu_to_le16(src->htotal); 140 dst->vdisplay = cpu_to_le16(src->vdisplay); 141 dst->vsync_start = cpu_to_le16(src->vsync_start); 142 dst->vsync_end = cpu_to_le16(src->vsync_end); 143 dst 147 gud_to_display_mode(struct drm_display_mode *dst, const struct gud_display_mode_req *src) argument [all...] |
/linux-master/arch/arm/kernel/ |
H A D | sleep.S | 14 * @dst: register containing hash result 23 *u32 dst; 31 * dst = (aff0 >> rs0 | aff1 >> rs1 | aff2 >> rs2); 34 * Output register: dst 36 (eg: a macro instance with mpidr = r1 and dst = r1 is invalid) 38 .macro compute_mpidr_hash dst, rs0, rs1, rs2, mpidr, mask 40 and \dst, \mpidr, #0xff @ mask=aff0 41 ARM( mov \dst, \dst, lsr \rs0 ) @ dst [all...] |
/linux-master/arch/x86/crypto/ |
H A D | sm4_aesni_avx_glue.c | 22 asmlinkage void sm4_aesni_avx_crypt4(const u32 *rk, u8 *dst, 24 asmlinkage void sm4_aesni_avx_crypt8(const u32 *rk, u8 *dst, 26 asmlinkage void sm4_aesni_avx_ctr_enc_blk8(const u32 *rk, u8 *dst, 28 asmlinkage void sm4_aesni_avx_cbc_dec_blk8(const u32 *rk, u8 *dst, 49 u8 *dst = walk.dst.virt.addr; local 53 sm4_aesni_avx_crypt8(rkey, dst, src, 8); 54 dst += SM4_CRYPT8_BLOCK_SIZE; 60 sm4_aesni_avx_crypt4(rkey, dst, src, nblocks); 61 dst 104 u8 *dst = walk.dst.virt.addr; local 137 u8 *dst = walk.dst.virt.addr; local 202 u8 *dst = walk.dst.virt.addr; local [all...] |
H A D | des3_ede_glue.c | 25 asmlinkage void des3_ede_x86_64_crypt_blk(const u32 *expkey, u8 *dst, 29 asmlinkage void des3_ede_x86_64_crypt_blk_3way(const u32 *expkey, u8 *dst, 32 static inline void des3_ede_enc_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, argument 37 des3_ede_x86_64_crypt_blk(enc_ctx, dst, src); 40 static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, argument 45 des3_ede_x86_64_crypt_blk(dec_ctx, dst, src); 48 static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, argument 53 des3_ede_x86_64_crypt_blk_3way(dec_ctx, dst, src); 56 static void des3_ede_x86_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 58 des3_ede_enc_blk(crypto_tfm_ctx(tfm), dst, sr local 61 des3_ede_x86_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 63 des3_ede_dec_blk(crypto_tfm_ctx(tfm), dst, src); local 132 u64 *dst = (u64 *)walk->dst.virt.addr; local 173 u64 *dst = (u64 *)walk->dst.virt.addr; local [all...] |
/linux-master/arch/mips/cavium-octeon/ |
H A D | octeon-memcpy.S | 21 #define dst a0 define 28 * memcpy copies len bytes from src to dst and sets v0 to dst. 30 * - src and dst don't overlap 32 * - dst is writable 35 * __copy_user copies up to len bytes from src to dst and sets a2 (len) to 37 * __copy_user assumes that src and dst don't overlap, and that the call is 42 * - dst is writable (no exceptions when writing dst) 60 * 3- (dst [all...] |
/linux-master/drivers/crypto/cavium/zip/ |
H A D | zip_crypto.h | 65 u8 *dst, unsigned int *dlen); 68 u8 *dst, unsigned int *dlen); 75 u8 *dst, unsigned int *dlen, void *ctx); 78 u8 *dst, unsigned int *dlen, void *ctx);
|
/linux-master/drivers/video/fbdev/ |
H A D | c2p.h | 13 extern void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, 17 extern void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width,
|
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_route.h | 19 int vmci_route(struct vmci_handle *src, const struct vmci_handle *dst,
|
/linux-master/include/crypto/ |
H A D | des.h | 27 void des_encrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src); 28 void des_decrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src); 30 void des3_ede_encrypt(const struct des3_ede_ctx *dctx, u8 *dst, const u8 *src); 31 void des3_ede_decrypt(const struct des3_ede_ctx *dctx, u8 *dst, const u8 *src);
|
/linux-master/lib/crypto/ |
H A D | libchacha.c | 15 void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src, argument 23 crypto_xor_cpy(dst, src, stream, CHACHA_BLOCK_SIZE); 25 dst += CHACHA_BLOCK_SIZE; 30 crypto_xor_cpy(dst, src, stream, bytes);
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_compress_superblock.h | 28 void* dst, size_t dstCapacity,
|