Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/linux-4.19.296/include/net/
Ddst.h99 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
108 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument
110 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only()
113 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
115 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument
117 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic()
119 __dst_destroy_metrics_generic(dst, val); in dst_destroy_metrics_generic()
122 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() argument
124 unsigned long p = dst->_metrics; in dst_metrics_write_ptr()
129 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr()
[all …]
Ddst_ops.h29 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk,
32 void (*redirect)(struct dst_entry *dst, struct sock *sk,
35 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
38 void (*confirm_neigh)(const struct dst_entry *dst,
46 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument
48 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
51 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow() argument
53 return percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow()
56 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add() argument
58 percpu_counter_add(&dst->pcpuc_entries, val); in dst_entries_add()
[all …]
Ddst_metadata.h20 struct dst_entry dst; member
32 if (md_dst && md_dst->dst.flags & DST_METADATA) in skb_metadata_dst()
42 struct dst_entry *dst; in skb_tunnel_info() local
47 dst = skb_dst(skb); in skb_tunnel_info()
48 if (dst && dst->lwtstate && in skb_tunnel_info()
49 (dst->lwtstate->type == LWTUNNEL_ENCAP_IP || in skb_tunnel_info()
50 dst->lwtstate->type == LWTUNNEL_ENCAP_IP6)) in skb_tunnel_info()
51 return lwt_tun_info(dst->lwtstate); in skb_tunnel_info()
58 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst() local
60 return dst && !(dst->flags & DST_METADATA); in skb_valid_dst()
[all …]
/linux-4.19.296/include/linux/
Dbitmap.h123 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src,
125 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src,
127 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src,
129 extern int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
131 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
133 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1,
135 extern int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1,
176 unsigned long *dst, int nbits);
178 unsigned long *dst, int nbits);
182 unsigned long *dst, int nbits);
[all …]
Dtask_io_accounting_ops.h49 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, 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()
85 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, in task_blk_io_accounting_add() argument
93 static inline void task_chr_io_accounting_add(struct task_io_accounting *dst, 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 …]
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,
59 char *dst, size_t osz, const char *only) in string_escape_mem_any_np() argument
61 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np()
64 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument
67 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str()
70 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument
73 return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, only); in string_escape_str_any_np()
[all …]
Dnodemask.h127 #define node_set(node, dst) __node_set((node), &(dst)) argument
133 #define node_clear(node, dst) __node_clear((node), &(dst)) argument
139 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument
145 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument
161 #define nodes_and(dst, src1, src2) \ argument
162 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES)
169 #define nodes_or(dst, src1, src2) \ argument
170 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES)
177 #define nodes_xor(dst, src1, src2) \ argument
178 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES)
[all …]
/linux-4.19.296/lib/
Dstring_helpers.c132 static bool unescape_space(char **src, char **dst) in unescape_space() argument
134 char *p = *dst, *q = *src; in unescape_space()
155 *dst += 1; in unescape_space()
160 static bool unescape_octal(char **src, char **dst) in unescape_octal() argument
162 char *p = *dst, *q = *src; in unescape_octal()
174 *dst += 1; in unescape_octal()
179 static bool unescape_hex(char **src, char **dst) in unescape_hex() argument
181 char *p = *dst, *q = *src; in unescape_hex()
198 *dst += 1; in unescape_hex()
203 static bool unescape_special(char **src, char **dst) in unescape_special() argument
[all …]
Dstrncpy_from_user.c14 #define IS_UNALIGNED(src, dst) 0 argument
16 #define IS_UNALIGNED(src, dst) \ argument
17 (((long) dst | (long) src) & (sizeof(long) - 1))
26 static inline long do_strncpy_from_user(char *dst, const char __user *src, in do_strncpy_from_user() argument
32 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user()
41 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user()
56 dst[res] = c; in do_strncpy_from_user()
96 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument
116 kasan_check_write(dst, count); in strncpy_from_user()
117 check_object_size(dst, count, false); in strncpy_from_user()
[all …]
Diomap.c146 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument
150 *dst = data; in mmio_insb()
151 dst++; in mmio_insb()
154 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument
158 *dst = data; in mmio_insw()
159 dst++; in mmio_insw()
162 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument
166 *dst = data; in mmio_insl()
167 dst++; in mmio_insl()
196 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument
[all …]
/linux-4.19.296/fs/quota/
Dquota.c185 static void copy_to_if_dqblk(struct if_dqblk *dst, struct qc_dqblk *src) in copy_to_if_dqblk() argument
187 memset(dst, 0, sizeof(*dst)); in copy_to_if_dqblk()
188 dst->dqb_bhardlimit = stoqb(src->d_spc_hardlimit); in copy_to_if_dqblk()
189 dst->dqb_bsoftlimit = stoqb(src->d_spc_softlimit); in copy_to_if_dqblk()
190 dst->dqb_curspace = src->d_space; in copy_to_if_dqblk()
191 dst->dqb_ihardlimit = src->d_ino_hardlimit; in copy_to_if_dqblk()
192 dst->dqb_isoftlimit = src->d_ino_softlimit; in copy_to_if_dqblk()
193 dst->dqb_curinodes = src->d_ino_count; in copy_to_if_dqblk()
194 dst->dqb_btime = src->d_spc_timer; in copy_to_if_dqblk()
195 dst->dqb_itime = src->d_ino_timer; in copy_to_if_dqblk()
[all …]
/linux-4.19.296/fs/ntfs/
Drunlist.c34 static inline void ntfs_rl_mm(runlist_element *base, int dst, int src, in ntfs_rl_mm() argument
37 if (likely((dst != src) && (size > 0))) in ntfs_rl_mm()
38 memmove(base + dst, base + src, size * sizeof(*base)); in ntfs_rl_mm()
47 static inline void ntfs_rl_mc(runlist_element *dstbase, int dst, in ntfs_rl_mc() argument
51 memcpy(dstbase + dst, srcbase + src, size * sizeof(*dstbase)); in ntfs_rl_mc()
155 static inline bool ntfs_are_rl_mergeable(runlist_element *dst, in ntfs_are_rl_mergeable() argument
158 BUG_ON(!dst); in ntfs_are_rl_mergeable()
162 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) in ntfs_are_rl_mergeable()
165 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable()
168 if ((dst->lcn >= 0) && (src->lcn >= 0) && in ntfs_are_rl_mergeable()
[all …]
/linux-4.19.296/fs/hfs/
Dtrans.c38 char *dst; in hfs_mac2asc() local
45 dst = out; in hfs_mac2asc()
65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc()
69 *dst = '?'; in hfs_mac2asc()
72 dst += size; in hfs_mac2asc()
79 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc()
82 return dst - out; in hfs_mac2asc()
102 char *dst; in hfs_asc2mac() local
107 dst = out->name; in hfs_asc2mac()
123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac()
[all …]
/linux-4.19.296/crypto/
Dauthencesn.c44 struct scatterlist dst[2]; member
113 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() local
117 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail()
118 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail()
119 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail()
121 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail()
147 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv() local
154 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv()
155 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv()
156 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv()
[all …]
Daegis.h42 static void crypto_aegis_block_xor(union aegis_block *dst, in crypto_aegis_block_xor() argument
45 dst->words64[0] ^= src->words64[0]; in crypto_aegis_block_xor()
46 dst->words64[1] ^= src->words64[1]; in crypto_aegis_block_xor()
49 static void crypto_aegis_block_and(union aegis_block *dst, in crypto_aegis_block_and() argument
52 dst->words64[0] &= src->words64[0]; in crypto_aegis_block_and()
53 dst->words64[1] &= src->words64[1]; in crypto_aegis_block_and()
56 static void crypto_aegis_aesenc(union aegis_block *dst, in crypto_aegis_aesenc() argument
72 dst->words32[0] = cpu_to_le32(d0) ^ key->words32[0]; in crypto_aegis_aesenc()
73 dst->words32[1] = cpu_to_le32(d1) ^ key->words32[1]; in crypto_aegis_aesenc()
74 dst->words32[2] = cpu_to_le32(d2) ^ key->words32[2]; in crypto_aegis_aesenc()
[all …]
Dmorus640.c52 u8 *dst, const u8 *src, unsigned int size);
107 static void crypto_morus640_load_a(struct morus640_block *dst, const u8 *src) in crypto_morus640_load_a() argument
111 dst->words[i] = le32_to_cpu(*(const __le32 *)src); in crypto_morus640_load_a()
116 static void crypto_morus640_load_u(struct morus640_block *dst, const u8 *src) in crypto_morus640_load_u() argument
120 dst->words[i] = get_unaligned_le32(src); in crypto_morus640_load_u()
125 static void crypto_morus640_load(struct morus640_block *dst, const u8 *src) in crypto_morus640_load() argument
128 crypto_morus640_load_a(dst, src); in crypto_morus640_load()
130 crypto_morus640_load_u(dst, src); in crypto_morus640_load()
133 static void crypto_morus640_store_a(u8 *dst, const struct morus640_block *src) in crypto_morus640_store_a() argument
137 *(__le32 *)dst = cpu_to_le32(src->words[i]); in crypto_morus640_store_a()
[all …]
Dlz4hc.c66 u8 *dst, unsigned int *dlen, void *ctx) in __lz4hc_compress_crypto() argument
68 int out_len = LZ4_compress_HC(src, dst, slen, in __lz4hc_compress_crypto()
79 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_scompress() argument
82 return __lz4hc_compress_crypto(src, slen, dst, dlen, ctx); in lz4hc_scompress()
86 unsigned int slen, u8 *dst, in lz4hc_compress_crypto() argument
91 return __lz4hc_compress_crypto(src, slen, dst, dlen, in lz4hc_compress_crypto()
96 u8 *dst, unsigned int *dlen, void *ctx) in __lz4hc_decompress_crypto() argument
98 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4hc_decompress_crypto()
108 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4hc_sdecompress() argument
111 return __lz4hc_decompress_crypto(src, slen, dst, dlen, NULL); in lz4hc_sdecompress()
[all …]
Dlzo.c66 u8 *dst, unsigned int *dlen, void *ctx) in __lzo_compress() argument
71 err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzo_compress()
81 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_compress() argument
85 return __lzo_compress(src, slen, dst, dlen, ctx->lzo_comp_mem); in lzo_compress()
89 unsigned int slen, u8 *dst, unsigned int *dlen, in lzo_scompress() argument
92 return __lzo_compress(src, slen, dst, dlen, ctx); in lzo_scompress()
96 u8 *dst, unsigned int *dlen) in __lzo_decompress() argument
101 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzo_decompress()
111 unsigned int slen, u8 *dst, unsigned int *dlen) in lzo_decompress() argument
113 return __lzo_decompress(src, slen, dst, dlen); in lzo_decompress()
[all …]
Dlz4.c67 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_compress_crypto() argument
69 int out_len = LZ4_compress_default(src, dst, in __lz4_compress_crypto()
80 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_scompress() argument
83 return __lz4_compress_crypto(src, slen, dst, dlen, ctx); in lz4_scompress()
87 unsigned int slen, u8 *dst, unsigned int *dlen) in lz4_compress_crypto() argument
91 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); in lz4_compress_crypto()
95 u8 *dst, unsigned int *dlen, void *ctx) in __lz4_decompress_crypto() argument
97 int out_len = LZ4_decompress_safe(src, dst, slen, *dlen); in __lz4_decompress_crypto()
107 unsigned int slen, u8 *dst, unsigned int *dlen, in lz4_sdecompress() argument
110 return __lz4_decompress_crypto(src, slen, dst, dlen, NULL); in lz4_sdecompress()
[all …]
Dmorus1280.c52 u8 *dst, const u8 *src, unsigned int size);
101 static void crypto_morus1280_load_a(struct morus1280_block *dst, const u8 *src) in crypto_morus1280_load_a() argument
105 dst->words[i] = le64_to_cpu(*(const __le64 *)src); in crypto_morus1280_load_a()
110 static void crypto_morus1280_load_u(struct morus1280_block *dst, const u8 *src) in crypto_morus1280_load_u() argument
114 dst->words[i] = get_unaligned_le64(src); in crypto_morus1280_load_u()
119 static void crypto_morus1280_load(struct morus1280_block *dst, const u8 *src) in crypto_morus1280_load() argument
122 crypto_morus1280_load_a(dst, src); in crypto_morus1280_load()
124 crypto_morus1280_load_u(dst, src); in crypto_morus1280_load()
127 static void crypto_morus1280_store_a(u8 *dst, const struct morus1280_block *src) in crypto_morus1280_store_a() argument
131 *(__le64 *)dst = cpu_to_le64(src->words[i]); in crypto_morus1280_store_a()
[all …]
/linux-4.19.296/include/net/netfilter/
Dnf_conntrack_tuple.h72 } dst; member
86 t, t->dst.protonum, in nf_ct_dump_tuple_ip()
88 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
96 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6()
98 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
116 ((enum ip_conntrack_dir)(h)->tuple.dst.dir)
135 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal()
136 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal()
137 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal()
172 t1->dst.protonum != t2->dst.protonum) in nf_ct_tuple_src_mask_cmp()
/linux-4.19.296/lib/zstd/
Dhuf.h57 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max…
104 size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, si…
105 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc,…
107 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
109 size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
130 size_t HUF_writeCTable_wksp(void *dst, size_t maxDstSize, const HUF_CElt *CTable, unsigned maxSymbo…
131 size_t HUF_compress4X_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const…
144 size_t HUF_compress4X_repeat(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned m…
183 size_t HUF_decompress4X_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSize…
184 size_t HUF_decompress4X2_usingDTable(void *dst, size_t maxDstSize, const void *cSrc, size_t cSrcSiz…
[all …]
/linux-4.19.296/drivers/base/regmap/
Dregcache-lzo.c23 void *dst; member
52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress()
66 lzo_ctx->dst, &dst_len); in regcache_lzo_decompress()
78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_compress_cache_block()
79 if (!lzo_ctx->dst) { in regcache_lzo_compress_cache_block()
96 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_decompress_cache_block()
97 if (!lzo_ctx->dst) { in regcache_lzo_decompress_cache_block()
224 kfree(lzo_blocks[i]->dst); in regcache_lzo_exit()
250 tmp_dst = lzo_block->dst; in regcache_lzo_read()
254 lzo_block->src = lzo_block->dst; in regcache_lzo_read()
[all …]
/linux-4.19.296/lib/lzo/
Dlzodefs.h16 #define COPY4(dst, src) \ argument
17 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst))
19 #define COPY8(dst, src) \ argument
20 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst))
22 #define COPY8(dst, src) \ argument
23 COPY4(dst, src); COPY4((dst) + 4, (src) + 4)
/linux-4.19.296/drivers/char/hw_random/
Dxgene-rng.c66 #define MAX_REFILL_CYCLES_SET(dst, src) \ argument
67 ((dst & ~0xffff0000) | (((u32)src << 16) & 0xffff0000))
68 #define MIN_REFILL_CYCLES_SET(dst, src) \ argument
69 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff))
70 #define ALARM_THRESHOLD_SET(dst, src) \ argument
71 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff))
72 #define ENABLE_RNG_SET(dst, src) \ argument
73 ((dst & ~BIT(10)) | (((u32)src << 10) & BIT(10)))
74 #define REGSPEC_TEST_MODE_SET(dst, src) \ argument
75 ((dst & ~BIT(8)) | (((u32)src << 8) & BIT(8)))
[all …]

12345678910>>...16