/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | sm4-ce-ccm-glue.c | 23 asmlinkage void sm4_ce_ccm_enc(const u32 *rkey_enc, u8 *dst, const u8 *src, 25 asmlinkage void sm4_ce_ccm_dec(const u32 *rkey_enc, u8 *dst, const u8 *src, 164 void (*sm4_ce_ccm_crypt)(const u32 *rkey_enc, u8 *dst, in ccm_crypt() 183 sm4_ce_ccm_crypt(rkey_enc, walk->dst.virt.addr, in ccm_crypt() 195 sm4_ce_ccm_crypt(rkey_enc, walk->dst.virt.addr, in ccm_crypt() 233 /* copy authtag to end of dst */ in ccm_encrypt() 234 scatterwalk_map_and_copy(mac, req->dst, req->assoclen + req->cryptlen, in ccm_encrypt() 162 ccm_crypt(struct aead_request *req, struct skcipher_walk *walk, u32 *rkey_enc, u8 mac[], void (*sm4_ce_ccm_crypt)(const u32 *rkey_enc, u8 *dst, const u8 *src, u8 *iv, unsigned int nbytes, u8 *mac)) ccm_crypt() argument
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
H A D | cookie.c | 180 void wg_cookie_message_create(struct message_handshake_cookie *dst, in wg_cookie_message_create() argument 188 dst->header.type = cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE); in wg_cookie_message_create() 189 dst->receiver_index = index; in wg_cookie_message_create() 190 get_random_bytes_wait(dst->nonce, COOKIE_NONCE_LEN); in wg_cookie_message_create() 193 xchacha20poly1305_encrypt(dst->encrypted_cookie, cookie, COOKIE_LEN, in wg_cookie_message_create() 194 macs->mac1, COOKIE_LEN, dst->nonce, in wg_cookie_message_create()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_conntrack.c | 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 94 (tuple->dst.u.all == info->origdst_port) ^ in ct_proto_port_check() 106 (tuple->dst.u.all == info->repldst_port) ^ in ct_proto_port_check() 140 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3() 154 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | rfcomm.h | 236 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, 244 struct rfcomm_dlc *rfcomm_dlc_exists(bdaddr_t *src, bdaddr_t *dst, u8 channel); 277 bdaddr_t *dst); 306 bdaddr_t dst; member 343 bdaddr_t dst; member 352 bdaddr_t dst; member
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | gen.c | 216 char *s, *dst; in codegen() local 225 dst = s; in codegen() 255 memcpy(dst, src, n); in codegen() 256 dst += n; in codegen() 258 *dst++ = '\n'; in codegen() 261 *dst++ = '\0'; in codegen()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | extent_io.h | 232 void read_extent_buffer(const struct extent_buffer *eb, void *dst, 236 void __user *dst, unsigned long start, 243 void copy_extent_buffer_full(const struct extent_buffer *dst, 245 void copy_extent_buffer(const struct extent_buffer *dst, 249 void memcpy_extent_buffer(const struct extent_buffer *dst, 252 void memmove_extent_buffer(const struct extent_buffer *dst,
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | fils_aead.c | 76 struct scatterlist src[1], dst[1]; in aes_siv_encrypt() local 133 sg_init_one(dst, out + AES_BLOCK_SIZE, plain_len); in aes_siv_encrypt() 134 skcipher_request_set_crypt(req, src, dst, plain_len, v); in aes_siv_encrypt() 152 struct scatterlist src[1], dst[1]; in aes_siv_decrypt() local 192 sg_init_one(dst, out, crypt_len); in aes_siv_decrypt() 193 skcipher_request_set_crypt(req, src, dst, crypt_len, iv); in aes_siv_decrypt()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
H A D | vkms_composer.c | 53 static u8 blend_channel(u8 src, u8 dst, u8 alpha) in blend_channel() argument 58 pre_blend = (src * 255 + dst * (255 - alpha)); in blend_channel() 102 int x_dst = src_composer->dst.x1; in blend() 103 int y_dst = src_composer->dst.y1; in blend() 104 int h_dst = drm_rect_height(&src_composer->dst); in blend() 105 int w_dst = drm_rect_width(&src_composer->dst); in blend()
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | rfcomm.h | 236 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, 244 struct rfcomm_dlc *rfcomm_dlc_exists(bdaddr_t *src, bdaddr_t *dst, u8 channel); 277 bdaddr_t *dst); 306 bdaddr_t dst; member 343 bdaddr_t dst; member 352 bdaddr_t dst; member
|
/kernel/linux/linux-6.6/drivers/net/wireguard/ |
H A D | cookie.c | 180 void wg_cookie_message_create(struct message_handshake_cookie *dst, in wg_cookie_message_create() argument 188 dst->header.type = cpu_to_le32(MESSAGE_HANDSHAKE_COOKIE); in wg_cookie_message_create() 189 dst->receiver_index = index; in wg_cookie_message_create() 190 get_random_bytes_wait(dst->nonce, COOKIE_NONCE_LEN); in wg_cookie_message_create() 193 xchacha20poly1305_encrypt(dst->encrypted_cookie, cookie, COOKIE_LEN, in wg_cookie_message_create() 194 macs->mac1, COOKIE_LEN, dst->nonce, in wg_cookie_message_create()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_xfrm.c | 179 const struct dst_entry *dst = skb_dst(pkt->skb); in nft_xfrm_get_eval_out() local 182 for (i = 0; dst && dst->xfrm; in nft_xfrm_get_eval_out() 183 dst = ((const struct xfrm_dst *)dst)->child, i++) { in nft_xfrm_get_eval_out() 187 nft_xfrm_state_get_key(priv, regs, dst->xfrm); in nft_xfrm_get_eval_out()
|
H A D | xt_conntrack.c | 53 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.u3, in conntrack_mt_origdst() 71 return conntrack_addrcmp(&ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.u3, in conntrack_mt_repldst() 94 (tuple->dst.u.all == info->origdst_port) ^ in ct_proto_port_check() 106 (tuple->dst.u.all == info->repldst_port) ^ in ct_proto_port_check() 140 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3() 154 ntohs(tuple->dst.u.all), in ct_proto_port_check_v3()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | q_in_vni_ipv6.sh | 164 bridge fdb append dev vx100 00:00:00:00:00:00 dst 2001:db8:4::1 self 165 bridge fdb append dev vx100 00:00:00:00:00:00 dst 2001:db8:5::1 self 170 bridge fdb del dev vx100 00:00:00:00:00:00 dst 2001:db8:5::1 self 171 bridge fdb del dev vx100 00:00:00:00:00:00 dst 2001:db8:4::1 self 234 bridge fdb append dev vx100 00:00:00:00:00:00 dst 2001:db8:3::1 self 235 bridge fdb append dev vx100 00:00:00:00:00:00 dst $other_in_addr self
|
H A D | q_in_vni.sh | 165 bridge fdb append dev vx100 00:00:00:00:00:00 dst 192.0.2.34 self 166 bridge fdb append dev vx100 00:00:00:00:00:00 dst 192.0.2.50 self 171 bridge fdb del dev vx100 00:00:00:00:00:00 dst 192.0.2.50 self 172 bridge fdb del dev vx100 00:00:00:00:00:00 dst 192.0.2.34 self 235 bridge fdb append dev vx100 00:00:00:00:00:00 dst 192.0.2.17 self 236 bridge fdb append dev vx100 00:00:00:00:00:00 dst $other_in_addr self
|
/kernel/liteos_a/kernel/extended/hilog/ |
H A D | los_hilog.c | 129 static int HiLogBufferCopy(unsigned char *dst, unsigned dstLen, const unsigned char *src, size_t srcLen) in HiLogBufferCopy() argument 134 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dst, minLen) && in HiLogBufferCopy() 139 if (LOS_IsUserAddressRange((VADDR_T)(UINTPTR)dst, minLen)) { in HiLogBufferCopy() 140 retval = LOS_ArchCopyToUser(dst, src, minLen); in HiLogBufferCopy() 142 retval = LOS_ArchCopyFromUser(dst, src, minLen); in HiLogBufferCopy() 144 retval = memcpy_s(dst, dstLen, src, srcLen); in HiLogBufferCopy()
|
/kernel/liteos_a/net/telnet/src/ |
H A D | telnet_loop.c | 113 UINT8 *dst = buf; in ReadFilter() local 118 *dst = *src; in ReadFilter() 119 dst++; in ReadFilter() 148 *dst = TELNET_IAC; in ReadFilter() 149 dst++; in ReadFilter() 167 *dstLen = dst - buf; in ReadFilter()
|
/kernel/linux/linux-6.6/mm/kmsan/ |
H A D | shadow.c | 153 void kmsan_copy_page_meta(struct page *dst, struct page *src) in kmsan_copy_page_meta() argument 157 if (!dst || !page_has_metadata(dst)) in kmsan_copy_page_meta() 160 kmsan_internal_unpoison_memory(page_address(dst), PAGE_SIZE, in kmsan_copy_page_meta() 166 __memcpy(shadow_ptr_for(dst), shadow_ptr_for(src), PAGE_SIZE); in kmsan_copy_page_meta() 167 __memcpy(origin_ptr_for(dst), origin_ptr_for(src), PAGE_SIZE); in kmsan_copy_page_meta()
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | fils_aead.c | 76 struct scatterlist src[1], dst[1]; in aes_siv_encrypt() local 133 sg_init_one(dst, out + AES_BLOCK_SIZE, plain_len); in aes_siv_encrypt() 134 skcipher_request_set_crypt(req, src, dst, plain_len, v); in aes_siv_encrypt() 152 struct scatterlist src[1], dst[1]; in aes_siv_decrypt() local 192 sg_init_one(dst, out, crypt_len); in aes_siv_decrypt() 193 skcipher_request_set_crypt(req, src, dst, crypt_len, iv); in aes_siv_decrypt()
|
/third_party/ffmpeg/libavcodec/ |
H A D | fraps.c | 90 static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, in fraps2_decode_plane() argument 117 dst[i] = get_vlc2(&gb, vlc.table, VLC_BITS, 3); in fraps2_decode_plane() 122 dst[i] += dst[i - stride]; in fraps2_decode_plane() 124 dst[i] += 0x80; in fraps2_decode_plane() 130 dst += stride; in fraps2_decode_plane()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | aacdec_mips.c | 64 static av_always_inline void float_copy(float *dst, const float *src, int count) in float_copy() argument 66 // Copy 'count' floats from src to dst in float_copy() 87 "sw %[temp0], 0(%[dst]) \n\t" in float_copy() 88 "sw %[temp1], 4(%[dst]) \n\t" in float_copy() 89 "sw %[temp2], 8(%[dst]) \n\t" in float_copy() 90 "sw %[temp3], 12(%[dst]) \n\t" in float_copy() 91 "sw %[temp4], 16(%[dst]) \n\t" in float_copy() 92 "sw %[temp5], 20(%[dst]) \n\t" in float_copy() 93 "sw %[temp6], 24(%[dst]) \n\t" in float_copy() 94 "sw %[temp7], 28(%[dst]) \ in float_copy() 287 fmul_and_reverse(float *dst, const float *src0, const float *src1, int count) fmul_and_reverse() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_adecorrelate.c | 109 double *dst = (double *)out->extended_data[ch]; in filter_channel_dbl() local 115 dst[n] = ap_run(ap0, src[n]); in filter_channel_dbl() 119 dst[n] = ap_run(ap, dst[n]); in filter_channel_dbl() 126 AVFilterContext *ctx = inlink->dst; in config_input() 174 AVFilterContext *ctx = inlink->dst; in filter_frame()
|
H A D | vf_edgedetect.c | 122 AVFilterContext *ctx = inlink->dst; in config_props() 144 uint8_t *dst, int dst_linesize, in color_mix() 151 dst[i] = (dst[i] + src[i]) >> 1; in color_mix() 152 dst += dst_linesize; in color_mix() 159 AVFilterContext *ctx = inlink->dst; in filter_frame() 143 color_mix(int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize) color_mix() argument
|
H A D | vf_amplify.c | 104 type *dst = (type *)(out->data[p] + slice_start * out->linesize[p]); \ 108 av_image_copy_plane((uint8_t *)dst, out->linesize[p], \ 131 dst[x] = clip(src + amp, depth); \ 133 dst[x] = src; \ 137 dst += dst_linesize; \ 206 AVFilterContext *ctx = inlink->dst; in filter_frame()
|
H A D | vf_neighbor_opencl.c | 124 AVFilterContext *avctx = inlink->dst; in neighbor_opencl_filter_frame() 130 cl_mem src, dst; in neighbor_opencl_filter_frame() local 161 dst = (cl_mem)output->data[p]; in neighbor_opencl_filter_frame() 163 if (!dst) in neighbor_opencl_filter_frame() 171 cle = clEnqueueCopyImage(ctx->command_queue, src, dst, in neighbor_opencl_filter_frame() 176 CL_SET_KERNEL_ARG(ctx->kernel, 0, cl_mem, &dst); in neighbor_opencl_filter_frame()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | lossless_videoencdsp.asm | 32 ; void ff_diff_bytes(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, 36 cglobal diff_bytes, 3,5,2, dst, src1, src2 41 cglobal diff_bytes, 4,5,2, dst, src1, src2, w 148 ;void sub_left_predict(uint8_t *dst, uint8_t *src, ptrdiff_t stride, ptrdiff_t width, int height) 152 cglobal sub_left_predict, 5,6,5, dst, src, stride, width, height, x 175 sub dstq, xq ; dst + width
|