Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 170) sorted by relevance

1234567

/include/linux/
Dstring_helpers.h28 int string_unescape(char *src, char *dst, size_t size, unsigned int flags);
35 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument
37 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any()
55 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
58 int string_escape_mem_ascii(const char *src, size_t isz, char *dst,
61 static inline int string_escape_mem_any_np(const char *src, size_t isz, in string_escape_mem_any_np() argument
64 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
67 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument
70 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
73 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument
[all …]
Dtask_io_accounting_ops.h50 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 …]
Dfs_stack.h12 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()
Dbitmap.h127 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src,
129 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src,
131 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src,
187 extern void bitmap_remap(unsigned long *dst, const unsigned long *src,
200 extern void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits);
231 static inline void bitmap_copy(unsigned long *dst, const unsigned long *src, in bitmap_copy() argument
235 memcpy(dst, src, len); in bitmap_copy()
242 const unsigned long *src, unsigned int nbits) in bitmap_copy_clear_tail() argument
244 bitmap_copy(dst, src, nbits); in bitmap_copy_clear_tail()
301 static inline void bitmap_complement(unsigned long *dst, const unsigned long *src, in bitmap_complement() argument
[all …]
Dinet.h53 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);
Dzstd.h257 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 …]
Dlzo.h24 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,
Duaccess.h284 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() argument
298 int ret = check_zeroed_user(src + size, rest); in copy_struct_from_user()
303 if (copy_from_user(dst, src, size)) in copy_struct_from_user()
317 extern long probe_kernel_read(void *dst, const void *src, size_t size);
318 extern long __probe_kernel_read(void *dst, const void *src, size_t size);
329 extern long probe_user_read(void *dst, const void __user *src, size_t size);
330 extern long __probe_user_read(void *dst, const void __user *src, size_t size);
341 extern long notrace probe_kernel_write(void *dst, const void *src, size_t size);
342 extern long notrace __probe_kernel_write(void *dst, const void *src, size_t size);
353 extern long notrace probe_user_write(void __user *dst, const void *src, size_t size);
[all …]
Dlinkmode.h13 static inline void linkmode_copy(unsigned long *dst, const unsigned long *src) in linkmode_copy() argument
15 bitmap_copy(dst, src, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_copy()
30 static inline bool linkmode_empty(const unsigned long *src) in linkmode_empty() argument
32 return bitmap_empty(src, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_empty()
Dsw842.h7 int sw842_compress(const u8 *src, unsigned int srclen,
10 int sw842_decompress(const u8 *src, unsigned int srclen,
Dsram.h19 void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, size_t size);
21 static inline void *sram_exec_copy(struct gen_pool *pool, void *dst, void *src, in sram_exec_copy() argument
Ddmar.h255 static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src) in dmar_copy_shared_irte() argument
257 dst->present = src->present; in dmar_copy_shared_irte()
258 dst->fpd = src->fpd; in dmar_copy_shared_irte()
259 dst->avail = src->avail; in dmar_copy_shared_irte()
260 dst->pst = src->pst; in dmar_copy_shared_irte()
261 dst->vector = src->vector; in dmar_copy_shared_irte()
262 dst->sid = src->sid; in dmar_copy_shared_irte()
263 dst->sq = src->sq; in dmar_copy_shared_irte()
264 dst->svt = src->svt; in dmar_copy_shared_irte()
/include/crypto/
Dcbc.h21 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_segment() local
26 crypto_xor(iv, src, bsize); in crypto_cbc_encrypt_segment()
30 src += bsize; in crypto_cbc_encrypt_segment()
43 u8 *src = walk->src.virt.addr; in crypto_cbc_encrypt_inplace() local
47 crypto_xor(src, iv, bsize); in crypto_cbc_encrypt_inplace()
48 fn(tfm, src, src); in crypto_cbc_encrypt_inplace()
49 iv = src; in crypto_cbc_encrypt_inplace()
51 src += bsize; in crypto_cbc_encrypt_inplace()
70 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_cbc_encrypt_walk()
86 u8 *src = walk->src.virt.addr; in crypto_cbc_decrypt_segment() local
[all …]
Ddes.h27 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);
Dctr.h38 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()
Dpoly1305.h53 const void *src, unsigned int nblocks);
59 const u8 *src, unsigned int srclen);
61 const u8 *src, unsigned int srclen);
/include/net/netfilter/
Dnf_conntrack_tuple.h38 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/
Dib_marshall.h43 struct ib_qp_attr *src);
47 struct rdma_ah_attr *src);
50 struct sa_path_rec *src);
53 struct ib_user_path_rec *src);
/include/linux/netfilter/ipset/
Dip_set_getport.h9 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
23 extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src,
/include/linux/sunrpc/
Daddr.h60 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/crypto/internal/
Dscompress.h31 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/linux/mdio/
Dmdio-xgene.h113 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/
Dcacheflush.h100 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
102 memcpy(dst, src, len); \
108 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
109 memcpy(dst, src, len)
Dchecksum.h26 extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum);
34 extern __wsum csum_partial_copy_from_user(const void __user *src, void *dst,
38 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
39 csum_partial_copy((src), (dst), (len), (sum))
/include/linux/platform_data/
Ddma-s3c24xx.h9 #define S3C24XX_DMA_CHANREQ(src, chan) ((BIT(3) | src) << chan * 4) argument

1234567