/linux-master/fs/quota/ |
H A D | quota.c | 187 static void copy_to_if_dqblk(struct if_dqblk *dst, struct qc_dqblk *src) argument 189 memset(dst, 0, sizeof(*dst)); 190 dst->dqb_bhardlimit = stoqb(src->d_spc_hardlimit); 191 dst->dqb_bsoftlimit = stoqb(src->d_spc_softlimit); 192 dst->dqb_curspace = src->d_space; 193 dst->dqb_ihardlimit = src->d_ino_hardlimit; 194 dst->dqb_isoftlimit = src->d_ino_softlimit; 195 dst->dqb_curinodes = src->d_ino_count; 196 dst 261 copy_from_if_dqblk(struct qc_dqblk *dst, struct if_dqblk *src) argument 547 copy_from_xfs_dqblk(struct qc_dqblk *dst, struct fs_disk_quota *src) argument 600 copy_qcinfo_from_xfs_dqblk(struct qc_info *dst, struct fs_disk_quota *src) argument 670 copy_to_xfs_dqblk(struct fs_disk_quota *dst, struct qc_dqblk *src, int type, qid_t id) argument [all...] |
/linux-master/arch/hexagon/mm/ |
H A D | copy_from_user.S | 29 #define dst r0 define 53 memd(dst) = d_dbuf 63 memw(dst) = w_dbuf 73 memh(dst) = w_dbuf 83 memb(dst) = w_dbuf
|
/linux-master/arch/sh/kernel/ |
H A D | process.c | 24 int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src) argument 27 *dst = *src; 30 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, 32 if (!dst->thread.xstate) 34 memcpy(dst->thread.xstate, src->thread.xstate, xstate_size);
|
/linux-master/fs/ |
H A D | stack.c | 11 void fsstack_copy_inode_size(struct inode *dst, struct inode *src) argument 54 spin_lock(&dst->i_lock); 55 i_size_write(dst, i_size); 56 dst->i_blocks = i_blocks; 58 spin_unlock(&dst->i_lock);
|
/linux-master/arch/arc/include/asm/ |
H A D | cacheflush.h | 59 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ 61 memcpy(dst, src, len); \ 63 __sync_icache_dcache((unsigned long)(dst), vaddr, len); \ 66 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ 67 memcpy(dst, src, len); \
|
/linux-master/drivers/firmware/efi/ |
H A D | earlycon.c | 76 unsigned long *dst; local 80 dst = efi_earlycon_map(y*len, len); 81 if (!dst) 84 memset(dst, 0, len); 85 efi_earlycon_unmap(dst, len); 90 unsigned long *dst, *src; local 106 dst = efi_earlycon_map(i*len, len); 107 if (!dst) 112 efi_earlycon_unmap(dst, len); 116 memmove(dst, sr 123 efi_earlycon_write_char(u32 *dst, unsigned char c, unsigned int h) argument 152 void *dst; local [all...] |
/linux-master/crypto/ |
H A D | scompress.c | 29 void *dst; member in struct:scomp_scratch 70 vfree(scratch->dst); 72 scratch->dst = NULL; 93 scratch->dst = mem; 120 void *src, *dst; local 127 if (req->dst && !req->dlen) 146 if (req->dst && sg_nents(req->dst) == 1 && !PageHighMem(sg_page(req->dst))) 147 dst [all...] |
H A D | lz4hc.c | 53 u8 *dst, unsigned int *dlen, void *ctx) 55 int out_len = LZ4_compress_HC(src, dst, slen, 66 unsigned int slen, u8 *dst, unsigned int *dlen, 69 return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); 73 unsigned int slen, u8 *dst, 78 return __lz4hc_compress_crypto(src, slen, dst, dlen, 83 u8 *dst, unsigned int *dlen, void *ctx) 85 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); 95 unsigned int slen, u8 *dst, unsigned int *dlen, 98 return __lz4hc_decompress_crypto(src, slen, dst, dle 52 __lz4hc_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 65 lz4hc_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 72 lz4hc_compress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 82 __lz4hc_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 94 lz4hc_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 101 lz4hc_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument [all...] |
H A D | lz4.c | 54 u8 *dst, unsigned int *dlen, void *ctx) 56 int out_len = LZ4_compress_default(src, dst, 67 unsigned int slen, u8 *dst, unsigned int *dlen, 70 return __lz4_compress_crypto(src, slen, dst, dlen, ctx); 74 unsigned int slen, u8 *dst, unsigned int *dlen) 78 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); 82 u8 *dst, unsigned int *dlen, void *ctx) 84 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); 94 unsigned int slen, u8 *dst, unsigned int *dlen, 97 return __lz4_decompress_crypto(src, slen, dst, dle 53 __lz4_compress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 66 lz4_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 73 lz4_compress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 81 __lz4_decompress_crypto(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 93 lz4_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 100 lz4_decompress_crypto(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument [all...] |
H A D | lzo-rle.c | 53 u8 *dst, unsigned int *dlen, void *ctx) 58 err = lzorle1x_1_compress(src, slen, dst, &tmp_len, ctx); 68 unsigned int slen, u8 *dst, unsigned int *dlen) 72 return __lzorle_compress(src, slen, dst, dlen, ctx->lzorle_comp_mem); 76 unsigned int slen, u8 *dst, unsigned int *dlen, 79 return __lzorle_compress(src, slen, dst, dlen, ctx); 83 u8 *dst, unsigned int *dlen) 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); 98 unsigned int slen, u8 *dst, unsigned int *dlen) 100 return __lzorle_decompress(src, slen, dst, dle 52 __lzorle_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 67 lzorle_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 75 lzorle_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 82 __lzorle_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 97 lzorle_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 103 lzorle_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
H A D | lzo.c | 53 u8 *dst, unsigned int *dlen, void *ctx) 58 err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); 68 unsigned int slen, u8 *dst, unsigned int *dlen) 72 return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); 76 unsigned int slen, u8 *dst, unsigned int *dlen, 79 return __lzo_compress(src, slen, dst, dlen, ctx); 83 u8 *dst, unsigned int *dlen) 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); 98 unsigned int slen, u8 *dst, unsigned int *dlen) 100 return __lzo_decompress(src, slen, dst, dle 52 __lzo_compress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 67 lzo_compress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 75 lzo_scompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument 82 __lzo_decompress(const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 97 lzo_decompress(struct crypto_tfm *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen) argument 103 lzo_sdecompress(struct crypto_scomp *tfm, const u8 *src, unsigned int slen, u8 *dst, unsigned int *dlen, void *ctx) argument [all...] |
/linux-master/fs/ntfs3/lib/ |
H A D | decompress_common.h | 30 copy_unaligned_word(const void *src, void *dst) argument 32 put_unaligned(get_unaligned((const size_t *)src), (size_t *)dst); 243 * Copy an LZ77 match at (dst - offset) to dst. 245 * The length and offset must be already validated --- that is, (dst - offset) 246 * can't underrun the output buffer, and (dst + length) can't overrun the output 252 * Returns dst + length. 254 static forceinline u8 *lz_copy(u8 *dst, u32 length, u32 offset, const u8 *bufend, argument 257 const u8 *src = dst - offset; 273 u8 * const end = dst [all...] |
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.h | 48 static inline void ocrdma_cpu_to_le32(void *dst, u32 len) argument 52 u32 *src_ptr = dst; 53 u32 *dst_ptr = dst; 59 static inline void ocrdma_le32_to_cpu(void *dst, u32 len) argument 63 u32 *src_ptr = dst; 64 u32 *dst_ptr = dst; 70 static inline void ocrdma_copy_cpu_to_le32(void *dst, void *src, u32 len) argument 75 u32 *dst_ptr = dst; 79 memcpy(dst, src, len); 83 static inline void ocrdma_copy_le32_to_cpu(void *dst, voi argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_primitives.c | 29 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
H A D | test_core_reloc_nesting.c | 34 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
H A D | test_core_reloc_misc.c | 36 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
H A D | test_core_reloc_arrays.c | 37 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
H A D | test_core_reloc_flavors.c | 43 #define CORE_READ(dst, src) bpf_core_read(dst, sizeof(*(dst)), src)
|
/linux-master/net/ceph/ |
H A D | crypto.h | 22 int ceph_crypto_key_clone(struct ceph_crypto_key *dst, 36 int ceph_armor(char *dst, const char *src, const char *end); 37 int ceph_unarmor(char *dst, const char *src, const char *end);
|
/linux-master/include/net/ |
H A D | dst_cache.h | 6 #include <net/dst.h> 21 * source address to be used when xmitting to the cached dst. 36 * dst_cache_set_ip4 - store the ipv4 dst into the cache 38 * @dst: the entry to be cached 43 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, 49 * dst_cache_set_ip6 - store the ipv6 dst into the cache 51 * @dst: the entry to be cached 56 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, 74 * This does not free the cached dst to avoid races and contentions. 75 * the dst wil [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_util.h | 23 /* Copy up to sz - 1 bytes from zero-terminated src string and ensure that dst 29 static inline void bpf_strlcpy(char *dst, const char *src, size_t sz) argument 38 dst[i] = src[i]; 39 dst[i] = '\0';
|
H A D | test_skb_cgroup_id_user.c | 27 struct sockaddr_in6 *dst) 29 memset(dst, 0, sizeof(*dst)); 31 dst->sin6_family = AF_INET6; 32 dst->sin6_port = htons(1025); 34 if (inet_pton(AF_INET6, ip, &dst->sin6_addr) != 1) { 39 dst->sin6_scope_id = if_nametoindex(iface); 40 if (!dst->sin6_scope_id) { 50 struct sockaddr_in6 dst; local 55 if (mk_dst_addr(LINKLOCAL_MULTICAST, iface, &dst)) 26 mk_dst_addr(const char *ip, const char *iface, struct sockaddr_in6 *dst) argument [all...] |
/linux-master/arch/x86/crypto/ |
H A D | blowfish_glue.c | 22 asmlinkage void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src); 23 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src); 26 asmlinkage void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, 28 asmlinkage void __blowfish_dec_blk_4way(struct bf_ctx *ctx, u8 *dst, 31 static inline void blowfish_dec_ecb_4way(struct bf_ctx *ctx, u8 *dst, argument 34 return __blowfish_dec_blk_4way(ctx, dst, src, false); 37 static inline void blowfish_dec_cbc_4way(struct bf_ctx *ctx, u8 *dst, argument 40 return __blowfish_dec_blk_4way(ctx, dst, src, true); 43 static void blowfish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 45 blowfish_enc_blk(crypto_tfm_ctx(tfm), dst, sr local 48 blowfish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) argument 50 blowfish_dec_blk(crypto_tfm_ctx(tfm), dst, src); local [all...] |
/linux-master/arch/hexagon/include/asm/ |
H A D | cacheflush.h | 72 unsigned long vaddr, void *dst, void *src, int len); 75 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ 76 memcpy(dst, src, len)
|
/linux-master/arch/sh/include/asm/ |
H A D | io_noioport.h | 49 static inline void insb(unsigned long port, void *dst, unsigned long count) argument 54 static inline void insw(unsigned long port, void *dst, unsigned long count) argument 59 static inline void insl(unsigned long port, void *dst, unsigned long count) argument
|