Home
last modified time | relevance | path

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

123456

/include/linux/
Dtask_io_accounting_ops.h49 struct task_io_accounting *src) in task_blk_io_accounting_add() argument
51 dst->read_bytes += src->read_bytes; in task_blk_io_accounting_add()
52 dst->write_bytes += src->write_bytes; in task_blk_io_accounting_add()
53 dst->cancelled_write_bytes += src->cancelled_write_bytes; in task_blk_io_accounting_add()
85 struct task_io_accounting *src) in task_blk_io_accounting_add() argument
93 struct task_io_accounting *src) in task_chr_io_accounting_add() argument
95 dst->rchar += src->rchar; in task_chr_io_accounting_add()
96 dst->wchar += src->wchar; in task_chr_io_accounting_add()
97 dst->syscr += src->syscr; in task_chr_io_accounting_add()
98 dst->syscw += src->syscw; in task_chr_io_accounting_add()
[all …]
Dfs_stack.h11 extern void fsstack_copy_attr_all(struct inode *dest, const struct inode *src);
12 extern void fsstack_copy_inode_size(struct inode *dst, struct inode *src);
16 const struct inode *src) in fsstack_copy_attr_atime() argument
18 dest->i_atime = src->i_atime; in fsstack_copy_attr_atime()
22 const struct inode *src) in fsstack_copy_attr_times() argument
24 dest->i_atime = src->i_atime; in fsstack_copy_attr_times()
25 dest->i_mtime = src->i_mtime; in fsstack_copy_attr_times()
26 dest->i_ctime = src->i_ctime; in fsstack_copy_attr_times()
Drpmsg.h59 u32 src; member
114 u32 src; member
199 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_send() local
201 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send()
225 u32 src = rpdev->src; in rpmsg_sendto() local
227 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_sendto()
251 int rpmsg_send_offchannel(struct rpmsg_channel *rpdev, u32 src, u32 dst, in rpmsg_send_offchannel() argument
254 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send_offchannel()
276 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_trysend() local
278 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, false); in rpmsg_trysend()
[all …]
Dstring_helpers.h23 int string_unescape(char *src, char *dst, size_t size, unsigned int flags);
30 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument
32 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any()
50 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz,
53 static inline int string_escape_mem_any_np(const char *src, size_t isz, in string_escape_mem_any_np() argument
56 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
59 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument
62 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
65 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument
68 return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, only); in string_escape_str_any_np()
Dbitmap.h102 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src,
104 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src,
106 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src,
163 extern void bitmap_remap(unsigned long *dst, const unsigned long *src,
175 extern void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits);
214 static inline void bitmap_copy(unsigned long *dst, const unsigned long *src, in bitmap_copy() argument
218 *dst = *src; in bitmap_copy()
221 memcpy(dst, src, len); in bitmap_copy()
259 static inline void bitmap_complement(unsigned long *dst, const unsigned long *src, in bitmap_complement() argument
263 *dst = ~(*src); in bitmap_complement()
[all …]
Dpmem.h39 static inline void arch_memcpy_to_pmem(void __pmem *dst, const void *src, in arch_memcpy_to_pmem() argument
63 static inline void memcpy_from_pmem(void *dst, void __pmem const *src, size_t size) in memcpy_from_pmem() argument
65 memcpy(dst, (void __force const *) src, size); in memcpy_from_pmem()
94 static inline void default_memcpy_to_pmem(void __pmem *dst, const void *src, in default_memcpy_to_pmem() argument
97 memcpy((void __force *) dst, src, size); in default_memcpy_to_pmem()
126 static inline void memcpy_to_pmem(void __pmem *dst, const void *src, size_t n) in memcpy_to_pmem() argument
129 arch_memcpy_to_pmem(dst, src, n); in memcpy_to_pmem()
131 default_memcpy_to_pmem(dst, src, n); in memcpy_to_pmem()
Dlz4.h39 int lz4_compress(const unsigned char *src, size_t src_len,
56 int lz4hc_compress(const unsigned char *src, size_t src_len,
70 int lz4_decompress(const unsigned char *src, size_t *src_len,
85 int lz4_decompress_unknownoutputsize(const unsigned char *src, size_t src_len,
Duaccess.h90 extern long probe_kernel_read(void *dst, const void *src, size_t size);
91 extern long __probe_kernel_read(void *dst, const void *src, size_t size);
102 extern long probe_user_read(void *dst, const void __user *src, size_t size);
113 extern long notrace probe_kernel_write(void *dst, const void *src, size_t size);
114 extern long notrace __probe_kernel_write(void *dst, const void *src, size_t size);
125 extern long notrace probe_user_write(void __user *dst, const void *src, size_t size);
126 extern long notrace __probe_user_write(void __user *dst, const void *src, size_t size);
Dsw842.h6 int sw842_compress(const u8 *src, unsigned int srclen,
9 int sw842_decompress(const u8 *src, unsigned int srclen,
Dinet.h55 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
56 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
Dcrypto.h171 struct scatterlist *src; member
185 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
187 const u8 *src, unsigned int nbytes);
285 struct scatterlist *dst, struct scatterlist *src,
288 struct scatterlist *dst, struct scatterlist *src,
350 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
351 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src);
355 int (*coa_compress)(struct crypto_tfm *tfm, const u8 *src,
357 int (*coa_decompress)(struct crypto_tfm *tfm, const u8 *src,
550 struct scatterlist *src, unsigned int nbytes);
[all …]
Ddmar.h252 static inline void dmar_copy_shared_irte(struct irte *dst, struct irte *src) in dmar_copy_shared_irte() argument
254 dst->present = src->present; in dmar_copy_shared_irte()
255 dst->fpd = src->fpd; in dmar_copy_shared_irte()
256 dst->avail = src->avail; in dmar_copy_shared_irte()
257 dst->pst = src->pst; in dmar_copy_shared_irte()
258 dst->vector = src->vector; in dmar_copy_shared_irte()
259 dst->sid = src->sid; in dmar_copy_shared_irte()
260 dst->sq = src->sq; in dmar_copy_shared_irte()
261 dst->svt = src->svt; in dmar_copy_shared_irte()
Ducs2_string.h14 unsigned long ucs2_utf8size(const ucs2_char_t *src);
15 unsigned long ucs2_as_utf8(u8 *dest, const ucs2_char_t *src,
Dlzo.h23 int lzo1x_1_compress(const unsigned char *src, size_t src_len,
27 int lzo1x_decompress_safe(const unsigned char *src, size_t src_len,
/include/net/netfilter/
Dnf_conntrack_tuple.h37 struct nf_conntrack_man src; member
78 } src; member
86 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
96 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
103 switch (t->src.l3num) { in nf_ct_dump_tuple()
126 return (nf_inet_addr_cmp(&t1->src.u3, &t2->src.u3) && in __nf_ct_tuple_src_equal()
127 t1->src.u.all == t2->src.u.all && in __nf_ct_tuple_src_equal()
128 t1->src.l3num == t2->src.l3num); in __nf_ct_tuple_src_equal()
150 return (nf_inet_addr_cmp(&m1->src.u3, &m2->src.u3) && in nf_ct_tuple_mask_equal()
151 m1->src.u.all == m2->src.u.all); in nf_ct_tuple_mask_equal()
[all …]
/include/rdma/
Dib_marshall.h42 struct ib_qp_attr *src);
45 struct ib_ah_attr *src);
48 struct ib_sa_path_rec *src);
51 struct ib_user_path_rec *src);
/include/linux/netfilter/ipset/
Dip_set_getport.h4 extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src,
8 extern bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src,
11 static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, in ip_set_get_ip6_port() argument
18 extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src,
/include/linux/sunrpc/
Daddr.h59 const struct sockaddr *src) in __rpc_copy_addr4() argument
61 const struct sockaddr_in *ssin = (struct sockaddr_in *) src; in __rpc_copy_addr4()
85 const struct sockaddr *src) in __rpc_copy_addr6() argument
87 const struct sockaddr_in6 *ssin6 = (const struct sockaddr_in6 *) src; in __rpc_copy_addr6()
103 const struct sockaddr *src) in __rpc_copy_addr6() argument
157 const struct sockaddr *src) in rpc_copy_addr() argument
159 switch (src->sa_family) { in rpc_copy_addr()
161 return __rpc_copy_addr4(dst, src); in rpc_copy_addr()
163 return __rpc_copy_addr6(dst, src); in rpc_copy_addr()
/include/trace/events/
Dfib.h25 __array( __u8, src, 4 )
39 p32 = (__be32 *) __entry->src;
48 __entry->src, __entry->dst, __entry->tos, __entry->scope,
61 __array( __u8, src, 4 )
65 __be32 *p32 = (__be32 *) __entry->src;
73 __get_str(name), __entry->oif, __entry->src)
87 __array( __u8, src, 4 )
99 p32 = (__be32 *) __entry->src;
108 __entry->src, __entry->dst)
/include/asm-generic/
Dcacheflush.h26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
28 memcpy(dst, src, len); \
31 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
32 memcpy(dst, src, len)
Dchecksum.h25 extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum);
33 extern __wsum csum_partial_copy_from_user(const void __user *src, void *dst,
37 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
38 csum_partial_copy((src), (dst), (len), (sum))
Duaccess.h288 __strncpy_from_user(char *dst, const char __user *src, long count) in __strncpy_from_user() argument
291 strncpy(dst, (const char __force *)src, count); in __strncpy_from_user()
299 strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
301 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
303 return __strncpy_from_user(dst, src, count); in strncpy_from_user()
320 static inline long strnlen_user(const char __user *src, long n) in strnlen_user() argument
322 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user()
324 return __strnlen_user(src, n); in strnlen_user()
327 static inline long strlen_user(const char __user *src) in strlen_user() argument
329 return strnlen_user(src, 32767); in strlen_user()
/include/linux/platform_data/
Ddma-s3c24xx.h13 #define S3C24XX_DMA_CHANREQ(src, chan) ((BIT(3) | src) << chan * 4) argument
/include/drm/
Ddrm_rect.h150 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst,
153 int drm_rect_calc_hscale(const struct drm_rect *src,
156 int drm_rect_calc_vscale(const struct drm_rect *src,
159 int drm_rect_calc_hscale_relaxed(struct drm_rect *src,
162 int drm_rect_calc_vscale_relaxed(struct drm_rect *src,
/include/crypto/
Dcast5.h20 void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
21 void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);

123456