/include/linux/ |
D | sockptr.h | 44 static inline int copy_from_sockptr_offset(void *dst, sockptr_t src, in copy_from_sockptr_offset() argument 47 if (!sockptr_is_kernel(src)) in copy_from_sockptr_offset() 48 return copy_from_user(dst, src.user + offset, size); in copy_from_sockptr_offset() 49 memcpy(dst, src.kernel + offset, size); in copy_from_sockptr_offset() 53 static inline int copy_from_sockptr(void *dst, sockptr_t src, size_t size) in copy_from_sockptr() argument 55 return copy_from_sockptr_offset(dst, src, 0, size); in copy_from_sockptr() 59 const void *src, size_t size) in copy_to_sockptr_offset() argument 62 return copy_to_user(dst.user + offset, src, size); in copy_to_sockptr_offset() 63 memcpy(dst.kernel + offset, src, size); in copy_to_sockptr_offset() 67 static inline void *memdup_sockptr(sockptr_t src, size_t len) in memdup_sockptr() argument [all …]
|
D | task_io_accounting_ops.h | 50 struct task_io_accounting *src) in task_blk_io_accounting_add() argument 52 dst->read_bytes += src->read_bytes; in task_blk_io_accounting_add() 53 dst->write_bytes += src->write_bytes; in task_blk_io_accounting_add() 54 dst->cancelled_write_bytes += src->cancelled_write_bytes; in task_blk_io_accounting_add() 86 struct task_io_accounting *src) in task_blk_io_accounting_add() argument 94 struct task_io_accounting *src) in task_chr_io_accounting_add() argument 96 dst->rchar += src->rchar; in task_chr_io_accounting_add() 97 dst->wchar += src->wchar; in task_chr_io_accounting_add() 98 dst->syscr += src->syscr; in task_chr_io_accounting_add() 99 dst->syscw += src->syscw; in task_chr_io_accounting_add() [all …]
|
D | fs_stack.h | 12 extern void fsstack_copy_attr_all(struct inode *dest, const struct inode *src); 13 extern void fsstack_copy_inode_size(struct inode *dst, struct inode *src); 17 const struct inode *src) in fsstack_copy_attr_atime() argument 19 dest->i_atime = src->i_atime; in fsstack_copy_attr_atime() 23 const struct inode *src) in fsstack_copy_attr_times() argument 25 dest->i_atime = src->i_atime; in fsstack_copy_attr_times() 26 dest->i_mtime = src->i_mtime; in fsstack_copy_attr_times() 27 dest->i_ctime = src->i_ctime; in fsstack_copy_attr_times()
|
D | string_helpers.h | 31 int string_unescape(char *src, char *dst, size_t size, unsigned int flags); 38 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument 40 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any() 63 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, 66 static inline int string_escape_mem_any_np(const char *src, size_t isz, in string_escape_mem_any_np() argument 69 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np() 72 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument 75 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str() 78 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument 81 return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, only); in string_escape_str_any_np() [all …]
|
D | bpfptr.h | 48 static inline int copy_from_bpfptr_offset(void *dst, bpfptr_t src, in copy_from_bpfptr_offset() argument 51 if (!bpfptr_is_kernel(src)) in copy_from_bpfptr_offset() 52 return copy_from_user(dst, src.user + offset, size); in copy_from_bpfptr_offset() 53 return copy_from_kernel_nofault(dst, src.kernel + offset, size); in copy_from_bpfptr_offset() 56 static inline int copy_from_bpfptr(void *dst, bpfptr_t src, size_t size) in copy_from_bpfptr() argument 58 return copy_from_bpfptr_offset(dst, src, 0, size); in copy_from_bpfptr() 62 const void *src, size_t size) in copy_to_bpfptr_offset() argument 64 return copy_to_sockptr_offset((sockptr_t) dst, offset, src, size); in copy_to_bpfptr_offset() 67 static inline void *kvmemdup_bpfptr(bpfptr_t src, size_t len) in kvmemdup_bpfptr() argument 73 if (copy_from_bpfptr(p, src, len)) { in kvmemdup_bpfptr() [all …]
|
D | uuid.h | 41 static inline void guid_copy(guid_t *dst, const guid_t *src) in guid_copy() argument 43 memcpy(dst, src, sizeof(guid_t)); in guid_copy() 46 static inline void import_guid(guid_t *dst, const __u8 *src) in import_guid() argument 48 memcpy(dst, src, sizeof(guid_t)); in import_guid() 51 static inline void export_guid(__u8 *dst, const guid_t *src) in export_guid() argument 53 memcpy(dst, src, sizeof(guid_t)); in export_guid() 66 static inline void uuid_copy(uuid_t *dst, const uuid_t *src) in uuid_copy() argument 68 memcpy(dst, src, sizeof(uuid_t)); in uuid_copy() 71 static inline void import_uuid(uuid_t *dst, const __u8 *src) in import_uuid() argument 73 memcpy(dst, src, sizeof(uuid_t)); in import_uuid() [all …]
|
D | blk-crypto.h | 123 const struct bio *src); 125 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask); 137 static inline int bio_crypt_clone(struct bio *dst, struct bio *src, in bio_crypt_clone() argument 140 bio_clone_skip_dm_default_key(dst, src); in bio_crypt_clone() 141 if (bio_has_crypt_ctx(src)) in bio_crypt_clone() 142 return __bio_crypt_clone(dst, src, gfp_mask); in bio_crypt_clone() 158 const struct bio *src) in bio_clone_skip_dm_default_key() argument 160 dst->bi_skip_dm_default_key = src->bi_skip_dm_default_key; in bio_clone_skip_dm_default_key() 173 const struct bio *src) in bio_clone_skip_dm_default_key() argument
|
D | bitmap.h | 144 void __bitmap_complement(unsigned long *dst, const unsigned long *src, 146 void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, 148 void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, 150 void bitmap_cut(unsigned long *dst, const unsigned long *src, 209 void bitmap_remap(unsigned long *dst, const unsigned long *src, 222 void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits); 251 static inline void bitmap_copy(unsigned long *dst, const unsigned long *src, in bitmap_copy() argument 255 memcpy(dst, src, len); in bitmap_copy() 262 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail() argument 264 bitmap_copy(dst, src, nbits); in bitmap_copy_clear_tail() [all …]
|
D | inet.h | 53 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); 54 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end); 57 const char *src, const char *port, struct sockaddr_storage *addr);
|
D | zstd.h | 257 const void *src, size_t srcSize, ZSTD_parameters params); 300 const void *src, size_t srcSize); 326 const void *src, size_t srcSize, const void *dict, size_t dictSize, 347 const void *src, size_t srcSize, const void *dict, size_t dictSize); 407 const void *src, size_t srcSize, const ZSTD_CDict *cdict); 458 size_t dstCapacity, const void *src, size_t srcSize, 474 const void *src; member 816 size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize); 831 unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize); 853 unsigned long long ZSTD_findDecompressedSize(const void *src, size_t srcSize); [all …]
|
D | lzo.h | 24 int lzo1x_1_compress(const unsigned char *src, size_t src_len, 28 int lzorle1x_1_compress(const unsigned char *src, size_t src_len, 32 int lzo1x_decompress_safe(const unsigned char *src, size_t src_len,
|
/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 38 struct nf_conntrack_man src; member 79 } src; member 87 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 97 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 104 switch (t->src.l3num) { in nf_ct_dump_tuple() 127 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal() 128 t1->src.u.all == t2->src.u.all && in __nf_ct_tuple_src_equal() 129 t1->src.l3num == t2->src.l3num); in __nf_ct_tuple_src_equal() 151 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal() 152 m1->src.u.all == m2->src.u.all); in nf_ct_tuple_mask_equal() [all …]
|
/include/rdma/ |
D | ib_marshall.h | 16 struct ib_qp_attr *src); 20 struct rdma_ah_attr *src); 23 struct sa_path_rec *src); 26 struct ib_user_path_rec *src);
|
/include/crypto/ |
D | chacha20poly1305.h | 18 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, 24 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len, 28 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, 34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, 38 bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len, 43 bool chacha20poly1305_decrypt_sg_inplace(struct scatterlist *src, size_t src_len,
|
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);
|
D | chacha.h | 91 void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src, 93 void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src, 96 static inline void chacha_crypt(u32 *state, u8 *dst, const u8 *src, in chacha_crypt() argument 100 chacha_crypt_arch(state, dst, src, bytes, nrounds); in chacha_crypt() 102 chacha_crypt_generic(state, dst, src, bytes, nrounds); in chacha_crypt() 105 static inline void chacha20_crypt(u32 *state, u8 *dst, const u8 *src, in chacha20_crypt() argument 108 chacha_crypt(state, dst, src, bytes, 20); in chacha20_crypt()
|
D | poly1305.h | 74 void poly1305_update_arch(struct poly1305_desc_ctx *desc, const u8 *src, 76 void poly1305_update_generic(struct poly1305_desc_ctx *desc, const u8 *src, 80 const u8 *src, unsigned int nbytes) in poly1305_update() argument 83 poly1305_update_arch(desc, src, nbytes); in poly1305_update() 85 poly1305_update_generic(desc, src, nbytes); in poly1305_update()
|
D | ctr.h | 38 u8 *src = walk.src.virt.addr; in crypto_ctr_encrypt_walk() local 52 crypto_xor_cpy(dst, src, buf, bsize); in crypto_ctr_encrypt_walk() 56 src += bsize; in crypto_ctr_encrypt_walk()
|
/include/linux/sunrpc/ |
D | addr.h | 60 const struct sockaddr *src) in __rpc_copy_addr4() argument 62 const struct sockaddr_in *ssin = (struct sockaddr_in *) src; in __rpc_copy_addr4() 86 const struct sockaddr *src) in __rpc_copy_addr6() argument 88 const struct sockaddr_in6 *ssin6 = (const struct sockaddr_in6 *) src; in __rpc_copy_addr6() 104 const struct sockaddr *src) in __rpc_copy_addr6() argument 158 const struct sockaddr *src) in rpc_copy_addr() argument 160 switch (src->sa_family) { in rpc_copy_addr() 162 return __rpc_copy_addr4(dst, src); in rpc_copy_addr() 164 return __rpc_copy_addr6(dst, src); in rpc_copy_addr()
|
/include/linux/netfilter/ipset/ |
D | ip_set_getport.h | 9 extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src, 13 extern bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, 16 static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, in ip_set_get_ip6_port() argument
|
/include/crypto/internal/ |
D | scompress.h | 31 int (*compress)(struct crypto_scomp *tfm, const u8 *src, 34 int (*decompress)(struct crypto_scomp *tfm, const u8 *src, 77 const u8 *src, unsigned int slen, in crypto_scomp_compress() argument 80 return crypto_scomp_alg(tfm)->compress(tfm, src, slen, dst, dlen, ctx); in crypto_scomp_compress() 84 const u8 *src, unsigned int slen, in crypto_scomp_decompress() argument 88 return crypto_scomp_alg(tfm)->decompress(tfm, src, slen, dst, dlen, in crypto_scomp_decompress()
|
/include/drm/ |
D | drm_rect.h | 218 const struct drm_rect *src) in drm_rect_fp_to_int() argument 220 drm_rect_init(dst, src->x1 >> 16, src->y1 >> 16, in drm_rect_fp_to_int() 221 drm_rect_width(src) >> 16, in drm_rect_fp_to_int() 222 drm_rect_height(src) >> 16); in drm_rect_fp_to_int() 226 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, 228 int drm_rect_calc_hscale(const struct drm_rect *src, 231 int drm_rect_calc_vscale(const struct drm_rect *src,
|
/include/linux/mdio/ |
D | mdio-xgene.h | 113 static inline u64 xgene_enet_get_field_value(int pos, int len, u64 src) in xgene_enet_get_field_value() argument 115 return (src >> pos) & ((1ULL << len) - 1); in xgene_enet_get_field_value() 118 #define GET_VAL(field, src) \ argument 119 xgene_enet_get_field_value(field ## _POS, field ## _LEN, src) 121 #define GET_BIT(field, src) \ argument 122 xgene_enet_get_field_value(field ## _POS, 1, src)
|
/include/asm-generic/ |
D | cacheflush.h | 106 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument 108 memcpy(dst, src, len); \ 114 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument 115 memcpy(dst, src, len)
|
/include/trace/ |
D | trace_events.h | 103 #define __string(item, src) __dynamic_array(char, item, -1) argument 106 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument 118 #define __rel_string(item, src) __rel_dynamic_array(char, item, -1) argument 121 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, -1) argument 219 #define __string(item, src) __dynamic_array(char, item, -1) argument 222 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument 234 #define __rel_string(item, src) __rel_dynamic_array(char, item, -1) argument 237 #define __rel_string_len(item, src, len) __rel_dynamic_array(char, item, -1) argument 533 #define __string(item, src) __dynamic_array(char, item, -1) argument 536 #define __string_len(item, src, len) __dynamic_array(char, item, -1) argument [all …]
|