Home
last modified time | relevance | path

Searched refs:src (Results 1176 - 1200 of 6220) sorted by relevance

1...<<41424344454647484950>>...249

/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c24 struct drm_rect *src, struct drm_rect *dest);
294 struct drm_rect src = drm_plane_state_src(state); in mdp5_plane_atomic_check_with_state() local
296 DRM_RECT_FP_ARG(&src)); in mdp5_plane_atomic_check_with_state()
448 &state->src, &state->dst); in mdp5_plane_atomic_update()
476 /* only allow changing of position(crtc x/y or src x/y) in fast path */ in mdp5_plane_atomic_async_check()
525 &new_state->src, &new_state->dst); in mdp5_plane_atomic_async_update()
637 static int calc_phase_step(uint32_t src, uint32_t dst, uint32_t *out_phase) in calc_phase_step() argument
641 if (src == 0 || dst == 0) in calc_phase_step()
650 if (src > (dst * DOWN_SCALE_RATIO_MAX)) in calc_phase_step()
654 *out_phase = mult_frac(unit, src, ds in calc_phase_step()
659 calc_scalex_steps(struct drm_plane *plane, uint32_t pixel_format, uint32_t src, uint32_t dest, uint32_t phasex_steps[COMP_MAX]) calc_scalex_steps() argument
682 calc_scaley_steps(struct drm_plane *plane, uint32_t pixel_format, uint32_t src, uint32_t dest, uint32_t phasey_steps[COMP_MAX]) calc_scaley_steps() argument
705 get_scale_config(const struct mdp_format *format, uint32_t src, uint32_t dst, bool horz) get_scale_config() argument
736 calc_pixel_ext(const struct mdp_format *format, uint32_t src, uint32_t dst, uint32_t phase_step[2], int pix_ext_edge1[COMP_MAX], int pix_ext_edge2[COMP_MAX], bool horz) calc_pixel_ext() argument
927 mdp5_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_rect *src, struct drm_rect *dest) mdp5_plane_mode_set() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-hw.c34 bool src_interlaced; /* is the src an interlaced buffer */
35 u8 src_nbp; /* nb of planes of the src */
36 bool src_yuv; /* is the src a YUV color format */
37 bool src_420; /* is the src 4:2:0 chroma subsampled */
632 src_w = ctx->src.crop.width; in bdisp_hw_get_hv_inc()
633 src_h = ctx->src.crop.height; in bdisp_hw_get_hv_inc()
661 struct bdisp_frame *src = &ctx->src; in bdisp_hw_get_op_cfg() local
664 if (src->width > MAX_SRC_WIDTH * MAX_VERTICAL_STRIDES) { in bdisp_hw_get_op_cfg()
669 c->wide = src in bdisp_hw_get_op_cfg()
762 struct bdisp_frame *src = &ctx->src; bdisp_hw_build_node() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c28 struct drm_rect *src, struct drm_rect *dest);
217 struct drm_rect src = drm_plane_state_src(state); in mdp5_plane_atomic_check_with_state() local
219 DRM_RECT_FP_ARG(&src)); in mdp5_plane_atomic_check_with_state()
377 &new_state->src, &new_state->dst); in mdp5_plane_atomic_update()
405 /* only allow changing of position(crtc x/y or src x/y) in fast path */ in mdp5_plane_atomic_async_check()
456 &new_state->src, &new_state->dst); in mdp5_plane_atomic_async_update()
568 static int calc_phase_step(uint32_t src, uint32_t dst, uint32_t *out_phase) in calc_phase_step() argument
572 if (src == 0 || dst == 0) in calc_phase_step()
581 if (src > (dst * DOWN_SCALE_RATIO_MAX)) in calc_phase_step()
585 *out_phase = mult_frac(unit, src, ds in calc_phase_step()
590 calc_scalex_steps(struct drm_plane *plane, uint32_t pixel_format, uint32_t src, uint32_t dest, uint32_t phasex_steps[COMP_MAX]) calc_scalex_steps() argument
613 calc_scaley_steps(struct drm_plane *plane, uint32_t pixel_format, uint32_t src, uint32_t dest, uint32_t phasey_steps[COMP_MAX]) calc_scaley_steps() argument
636 get_scale_config(const struct mdp_format *format, uint32_t src, uint32_t dst, bool horz) get_scale_config() argument
667 calc_pixel_ext(const struct mdp_format *format, uint32_t src, uint32_t dst, uint32_t phase_step[2], int pix_ext_edge1[COMP_MAX], int pix_ext_edge2[COMP_MAX], bool horz) calc_pixel_ext() argument
858 mdp5_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_rect *src, struct drm_rect *dest) mdp5_plane_mode_set() argument
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_nat_core.c80 fl4->saddr = t->src.u3.ip; in nf_nat_ipv4_decode_session()
86 fl4->fl4_sport = t->src.u.all; in nf_nat_ipv4_decode_session()
113 fl6->saddr = t->src.u3.in6; in nf_nat_ipv6_decode_session()
119 fl6->fl6_sport = t->src.u.all; in nf_nat_ipv6_decode_session()
162 struct nf_conntrack_man src; in hash_by_src() member
172 /* Original src, to ensure we map it consistently if poss. */ in hash_by_src()
173 combined.src = tuple->src; in hash_by_src()
288 if (t->src.l3num == NFPROTO_IPV4) in nf_nat_inet_in_range()
289 return ntohl(t->src in nf_nat_inet_in_range()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dannotate.c800 struct annotated_source *src = zalloc(sizeof(*src)); in annotated_source__new() local
802 if (src != NULL) in annotated_source__new()
803 INIT_LIST_HEAD(&src->source); in annotated_source__new()
805 return src; in annotated_source__new()
808 static __maybe_unused void annotated_source__delete(struct annotated_source *src) in annotated_source__delete() argument
810 if (src == NULL) in annotated_source__delete()
812 zfree(&src->histograms); in annotated_source__delete()
813 zfree(&src->cycles_hist); in annotated_source__delete()
814 free(src); in annotated_source__delete()
817 annotated_source__alloc_histograms(struct annotated_source *src, size_t size, int nr_hists) annotated_source__alloc_histograms() argument
925 __symbol__inc_addr_samples(struct map_symbol *ms, struct annotated_source *src, int evidx, u64 addr, struct perf_sample *sample) __symbol__inc_addr_samples() argument
1005 struct annotated_source *src; symbol__inc_addr_samples() local
1997 size_t i, src, dst, len, new_storage_len, num_tabs; expand_tabs() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dannotate.c758 struct annotated_source *src = zalloc(sizeof(*src)); in annotated_source__new() local
760 if (src != NULL) in annotated_source__new()
761 INIT_LIST_HEAD(&src->source); in annotated_source__new()
763 return src; in annotated_source__new()
766 static __maybe_unused void annotated_source__delete(struct annotated_source *src) in annotated_source__delete() argument
768 if (src == NULL) in annotated_source__delete()
770 zfree(&src->histograms); in annotated_source__delete()
771 zfree(&src->cycles_hist); in annotated_source__delete()
772 free(src); in annotated_source__delete()
775 annotated_source__alloc_histograms(struct annotated_source *src, size_t size, int nr_hists) annotated_source__alloc_histograms() argument
883 __symbol__inc_addr_samples(struct map_symbol *ms, struct annotated_source *src, int evidx, u64 addr, struct perf_sample *sample) __symbol__inc_addr_samples() argument
963 struct annotated_source *src; symbol__inc_addr_samples() local
1874 size_t i, src, dst, len, new_storage_len, num_tabs; expand_tabs() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c208 emit_br_bit_relo(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, in emit_br_bit_relo() argument
220 err = swreg_to_restricted(reg_none(), src, reg_imm(bit), &reg, false); in emit_br_bit_relo()
234 emit_br_bset(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, u8 defer) in emit_br_bset() argument
236 emit_br_bit_relo(nfp_prog, src, bit, addr, defer, true, RELO_BR_REL); in emit_br_bset()
511 emit_ld_field_any(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field_any() argument
517 /* Note: ld_field is special as it uses one of the src regs as dst */ in emit_ld_field_any()
518 err = swreg_to_restricted(dst, dst, src, &reg, true); in emit_ld_field_any()
530 emit_ld_field(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field() argument
533 emit_ld_field_any(nfp_prog, dst, bmask, src, sc, shift, false); in emit_ld_field()
553 static void emit_csr_wr(struct nfp_prog *nfp_prog, swreg src, u1 argument
679 wrp_mov(struct nfp_prog *nfp_prog, swreg dst, swreg src) wrp_mov() argument
684 wrp_reg_mov(struct nfp_prog *nfp_prog, u16 dst, u16 src) wrp_reg_mov() argument
693 wrp_reg_subpart(struct nfp_prog *nfp_prog, swreg dst, swreg src, u8 field_len, u8 offset) wrp_reg_subpart() argument
706 wrp_reg_or_subpart(struct nfp_prog *nfp_prog, swreg dst, swreg src, u8 field_len, u8 offset) wrp_reg_or_subpart() argument
949 construct_data_ind_ld(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, u16 offset, u16 src, u8 size) construct_data_ind_ld() argument
1089 wrp_lmem_store(struct nfp_prog *nfp_prog, u8 src, u8 src_byte, s32 off, unsigned int size, bool first, bool new_gpr, bool last, bool lm3, bool needs_inc) wrp_lmem_store() argument
1315 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; wrp_alu64_reg() local
1341 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; wrp_alu32_reg() local
1350 wrp_test_reg_one(struct nfp_prog *nfp_prog, u8 dst, enum alu_op alu_op, u8 src, enum br_mask br_mask, u16 off) wrp_test_reg_one() argument
1840 u8 src = insn->src_reg * 2; mov_reg64() local
2027 shl_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32_high() argument
2037 shl_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32_low() argument
2044 shl_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32() argument
2050 shl_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_ge32() argument
2062 u8 dst, src; shl_reg64() local
2142 shr_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32_high() argument
2149 shr_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32_low() argument
2156 shr_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32() argument
2162 shr_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_ge32() argument
2174 u8 dst, src; shr_reg64() local
2253 ashr_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32_high() argument
2263 ashr_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32_low() argument
2271 ashr_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32() argument
2277 ashr_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_ge32() argument
2291 u8 dst, src; ashr_reg64() local
2446 u8 dst, src; ashr_reg() local
2497 u8 dst, src; shr_reg() local
2536 u8 dst, src; shl_reg() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/
H A Djit.c208 emit_br_bit_relo(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, in emit_br_bit_relo() argument
220 err = swreg_to_restricted(reg_none(), src, reg_imm(bit), &reg, false); in emit_br_bit_relo()
234 emit_br_bset(struct nfp_prog *nfp_prog, swreg src, u8 bit, u16 addr, u8 defer) in emit_br_bset() argument
236 emit_br_bit_relo(nfp_prog, src, bit, addr, defer, true, RELO_BR_REL); in emit_br_bset()
511 emit_ld_field_any(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field_any() argument
517 /* Note: ld_field is special as it uses one of the src regs as dst */ in emit_ld_field_any()
518 err = swreg_to_restricted(dst, dst, src, &reg, true); in emit_ld_field_any()
530 emit_ld_field(struct nfp_prog *nfp_prog, swreg dst, u8 bmask, swreg src, in emit_ld_field() argument
533 emit_ld_field_any(nfp_prog, dst, bmask, src, sc, shift, false); in emit_ld_field()
553 static void emit_csr_wr(struct nfp_prog *nfp_prog, swreg src, u1 argument
679 wrp_mov(struct nfp_prog *nfp_prog, swreg dst, swreg src) wrp_mov() argument
684 wrp_reg_mov(struct nfp_prog *nfp_prog, u16 dst, u16 src) wrp_reg_mov() argument
693 wrp_reg_subpart(struct nfp_prog *nfp_prog, swreg dst, swreg src, u8 field_len, u8 offset) wrp_reg_subpart() argument
706 wrp_reg_or_subpart(struct nfp_prog *nfp_prog, swreg dst, swreg src, u8 field_len, u8 offset) wrp_reg_or_subpart() argument
949 construct_data_ind_ld(struct nfp_prog *nfp_prog, struct nfp_insn_meta *meta, u16 offset, u16 src, u8 size) construct_data_ind_ld() argument
1089 wrp_lmem_store(struct nfp_prog *nfp_prog, u8 src, u8 src_byte, s32 off, unsigned int size, bool first, bool new_gpr, bool last, bool lm3, bool needs_inc) wrp_lmem_store() argument
1315 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; wrp_alu64_reg() local
1341 u8 dst = meta->insn.dst_reg * 2, src = meta->insn.src_reg * 2; wrp_alu32_reg() local
1350 wrp_test_reg_one(struct nfp_prog *nfp_prog, u8 dst, enum alu_op alu_op, u8 src, enum br_mask br_mask, u16 off) wrp_test_reg_one() argument
1840 u8 src = insn->src_reg * 2; mov_reg64() local
2027 shl_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32_high() argument
2037 shl_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32_low() argument
2044 shl_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_lt32() argument
2050 shl_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shl_reg64_ge32() argument
2062 u8 dst, src; shl_reg64() local
2142 shr_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32_high() argument
2149 shr_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32_low() argument
2156 shr_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_lt32() argument
2162 shr_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) shr_reg64_ge32() argument
2174 u8 dst, src; shr_reg64() local
2253 ashr_reg64_lt32_high(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32_high() argument
2263 ashr_reg64_lt32_low(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32_low() argument
2271 ashr_reg64_lt32(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_lt32() argument
2277 ashr_reg64_ge32(struct nfp_prog *nfp_prog, u8 dst, u8 src) ashr_reg64_ge32() argument
2291 u8 dst, src; ashr_reg64() local
2446 u8 dst, src; ashr_reg() local
2497 u8 dst, src; shr_reg() local
2536 u8 dst, src; shl_reg() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
H A Dsun8i-ss-hash.c144 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_update()
164 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_finup()
189 rctx->fallback_req.src = areq->src; in sun8i_ss_hash_digest_fb()
231 "Processing SG %d on flow %d %s ctl=%x %d to %d method=%x src=%x dst=%x\n", in sun8i_ss_run_hash_task()
265 if (sg_nents(areq->src) > MAX_SG - 1) in sun8i_ss_hash_need_fallback()
267 sg = areq->src; in sun8i_ss_hash_need_fallback()
296 nr_sgs = sg_nents(areq->src); in sun8i_ss_hash_digest()
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Dswnode.c236 const struct property_entry *src) in property_entry_copy_data()
238 const void *pointer = property_get_pointer(src); in property_entry_copy_data()
246 if (!src->is_inline && !src->length) in property_entry_copy_data()
253 if (src->type == DEV_PROP_REF && src->is_inline) in property_entry_copy_data()
256 if (src->length <= sizeof(dst->value)) { in property_entry_copy_data()
260 dst_ptr = kmalloc(src->length, GFP_KERNEL); in property_entry_copy_data()
266 if (src->type == DEV_PROP_STRING) { in property_entry_copy_data()
267 nval = src in property_entry_copy_data()
235 property_entry_copy_data(struct property_entry *dst, const struct property_entry *src) property_entry_copy_data() argument
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dcrash_dump.c135 int copy_oldmem_kernel(void *dst, void *src, size_t count) in copy_oldmem_kernel() argument
142 from = __pa(src); in copy_oldmem_kernel()
170 src += len; in copy_oldmem_kernel()
179 static int copy_oldmem_user(void __user *dst, void *src, size_t count) in copy_oldmem_user() argument
185 from = __pa(src); in copy_oldmem_user()
208 src += len; in copy_oldmem_user()
220 void *src; in copy_oldmem_page() local
225 src = (void *) (pfn << PAGE_SHIFT) + offset; in copy_oldmem_page()
227 rc = copy_oldmem_user((void __force __user *) buf, src, csize); in copy_oldmem_page()
229 rc = copy_oldmem_kernel((void *) buf, src, csiz in copy_oldmem_page()
694 void *src = (void *)(unsigned long)*ppos; elfcorehdr_read() local
706 void *src = (void *)(unsigned long)*ppos; elfcorehdr_read_notes() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-hash.c145 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_update()
161 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_finup()
189 rctx->fallback_req.src = areq->src; in sun8i_ce_hash_digest_fb()
220 if (sg_nents_for_len(areq->src, areq->nbytes) > MAX_SG - 1) { in sun8i_ce_hash_need_fallback()
224 sg = areq->src; in sun8i_ce_hash_need_fallback()
253 nr_sgs = sg_nents_for_len(areq->src, areq->nbytes); in sun8i_ce_hash_digest()
257 for_each_sg(areq->src, s in sun8i_ce_hash_digest()
[all...]
/kernel/linux/linux-5.10/crypto/
H A Decrdsa.c94 !req->src || in ecrdsa_verify()
104 sg_copy_to_buffer(req->src, sg_nents_for_len(req->src, req->src_len), in ecrdsa_verify()
106 sg_pcopy_to_buffer(req->src, in ecrdsa_verify()
107 sg_nents_for_len(req->src, in ecrdsa_verify()
184 static u8 *ecrdsa_unpack_u32(u32 *dst, void *src) in ecrdsa_unpack_u32() argument
186 memcpy(dst, src, sizeof(u32)); in ecrdsa_unpack_u32()
187 return src + sizeof(u32); in ecrdsa_unpack_u32()
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson2ef/
H A Dloongson.h308 * src: map source
312 #define LOONGSON_ADDRWIN_CFG(s, d, w, src, dst, size) do {\
313 s##_WIN##w##_BASE = (src); \
318 #define LOONGSON_ADDRWIN_CPUTOPCI(win, src, dst, size) \
319 LOONGSON_ADDRWIN_CFG(CPU, PCI, win, src, dst, size)
320 #define LOONGSON_ADDRWIN_CPUTODDR(win, src, dst, size) \
321 LOONGSON_ADDRWIN_CFG(CPU, DDR, win, src, dst, size)
322 #define LOONGSON_ADDRWIN_PCITODDR(win, src, dst, size) \
323 LOONGSON_ADDRWIN_CFG(PCIDMA, DDR, win, src, dst, size)
/kernel/linux/linux-5.10/arch/s390/lib/
H A Duaccess.c393 static inline unsigned long strnlen_user_srst(const char __user *src, in strnlen_user_srst() argument
410 : "+a" (size), "+a" (src), "=a" (tmp1), "=a" (tmp2) in strnlen_user_srst()
415 unsigned long __strnlen_user(const char __user *src, unsigned long size) in __strnlen_user() argument
423 len = strnlen_user_srst(src, size); in __strnlen_user()
429 long __strncpy_from_user(char *dst, const char __user *src, long size) in __strncpy_from_user() argument
437 offset = (size_t)src & (L1_CACHE_BYTES - 1); in __strncpy_from_user()
439 if (copy_from_user(dst, src, len)) in __strncpy_from_user()
443 src += len_str; in __strncpy_from_user()
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson2ef/
H A Dloongson.h299 * src: map source
303 #define LOONGSON_ADDRWIN_CFG(s, d, w, src, dst, size) do {\
304 s##_WIN##w##_BASE = (src); \
309 #define LOONGSON_ADDRWIN_CPUTOPCI(win, src, dst, size) \
310 LOONGSON_ADDRWIN_CFG(CPU, PCI, win, src, dst, size)
311 #define LOONGSON_ADDRWIN_CPUTODDR(win, src, dst, size) \
312 LOONGSON_ADDRWIN_CFG(CPU, DDR, win, src, dst, size)
313 #define LOONGSON_ADDRWIN_PCITODDR(win, src, dst, size) \
314 LOONGSON_ADDRWIN_CFG(PCIDMA, DDR, win, src, dst, size)
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm4-ce-ccm-glue.c22 const u8 *src, unsigned int nblocks);
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,
112 scatterwalk_start(&walk, req->src); in ccm_calculate_auth_mac()
165 const u8 *src, u8 *iv, in ccm_crypt()
184 walk->src.virt.addr, walk->iv, in ccm_crypt()
196 walk->src.virt.addr, walk->iv, in ccm_crypt()
263 scatterwalk_map_and_copy(authtag, req->src, in ccm_decrypt()
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-6.6/arch/mips/vdso/
H A DMakefile46 CFLAGS_vgettimeofday-o32.o = -include $(srctree)/$(src)/config-n32-o32-env.c -include $(c-gettimeofday-y)
47 CFLAGS_vgettimeofday-n32.o = -include $(srctree)/$(src)/config-n32-o32-env.c -include $(c-gettimeofday-y)
142 $(obj)/%-o32.o: $(src)/%.S FORCE
145 $(obj)/%-o32.o: $(src)/%.c FORCE
150 $(obj)/vdso-o32.lds: $(src)/vdso.lds.S FORCE
182 $(obj)/%-n32.o: $(src)/%.S FORCE
185 $(obj)/%-n32.o: $(src)/%.c FORCE
190 $(obj)/vdso-n32.lds: $(src)/vdso.lds.S FORCE
/kernel/linux/linux-6.6/arch/nios2/mm/
H A Dcacheflush.c263 void *dst, void *src, int len) in copy_from_user_page()
266 memcpy(dst, src, len); in copy_from_user_page()
267 __flush_dcache((unsigned long)src, (unsigned long)src + len); in copy_from_user_page()
269 __flush_icache((unsigned long)src, (unsigned long)src + len); in copy_from_user_page()
274 void *dst, void *src, int len) in copy_to_user_page()
277 memcpy(dst, src, len); in copy_to_user_page()
261 copy_from_user_page(struct vm_area_struct *vma, struct page *page, unsigned long user_vaddr, void *dst, void *src, int len) copy_from_user_page() argument
272 copy_to_user_page(struct vm_area_struct *vma, struct page *page, unsigned long user_vaddr, void *dst, void *src, int len) copy_to_user_page() argument
/kernel/linux/linux-6.6/arch/sh/mm/
H A Dcache.c61 unsigned long vaddr, void *dst, const void *src, in copy_to_user_page()
69 memcpy(vto, src, len); in copy_to_user_page()
72 memcpy(dst, src, len); in copy_to_user_page()
82 unsigned long vaddr, void *dst, const void *src, in copy_from_user_page()
93 memcpy(dst, src, len); in copy_from_user_page()
102 struct folio *src = page_folio(from); in copy_user_highpage() local
107 if (boot_cpu_data.dcache.n_aliases && folio_mapped(src) && in copy_user_highpage()
108 test_bit(PG_dcache_clean, &src->flags)) { in copy_user_highpage()
60 copy_to_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) copy_to_user_page() argument
81 copy_from_user_page(struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len) copy_from_user_page() argument
/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
H A Dqe_ic.c247 unsigned int src = irqd_to_hwirq(d); in qe_ic_unmask_irq() local
253 temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg); in qe_ic_unmask_irq()
254 qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg, in qe_ic_unmask_irq()
255 temp | qe_ic_info[src].mask); in qe_ic_unmask_irq()
263 unsigned int src = irqd_to_hwirq(d); in qe_ic_mask_irq() local
269 temp = qe_ic_read(qe_ic->regs, qe_ic_info[src].mask_reg); in qe_ic_mask_irq()
270 qe_ic_write(qe_ic->regs, qe_ic_info[src].mask_reg, in qe_ic_mask_irq()
271 temp & ~qe_ic_info[src].mask); in qe_ic_mask_irq()
/kernel/linux/linux-5.10/fs/cifs/
H A Dcifs_unicode.c338 * @src - source string
348 cifs_strndup_from_utf16(const char *src, const int maxlen, in cifs_strndup_from_utf16() argument
355 len = cifs_utf16_bytes((__le16 *) src, maxlen, codepage); in cifs_strndup_from_utf16()
360 cifs_from_utf16(dst, (__le16 *) src, len, maxlen, codepage, in cifs_strndup_from_utf16()
363 dst = kstrndup(src, maxlen, GFP_KERNEL); in cifs_strndup_from_utf16()
606 * @src - source string
617 cifs_strndup_to_utf16(const char *src, const int maxlen, int *utf16_len, in cifs_strndup_to_utf16() argument
623 len = cifs_local_to_utf16_bytes(src, maxlen, cp); in cifs_strndup_to_utf16()
630 cifsConvertToUTF16(dst, src, strlen(src), c in cifs_strndup_to_utf16()
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_proto_gre.c74 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn()
75 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn()
90 key = km->tuple.src.u.gre.key; in gre_keymap_lookup()
95 pr_debug("lookup src key 0x%x for ", key); in gre_keymap_lookup()
177 tuple->src.u.all = 0; in gre_pkt_to_tuple()
194 tuple->src.u.gre.key = srckey; in gre_pkt_to_tuple()
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
H A Dast_cursor.c105 static void update_cursor_image(u8 __iomem *dst, const u8 *src, int width, int height) in update_cursor_image() argument
125 srcxor = src; in update_cursor_image()
174 void *src; in ast_cursor_blit() local
186 src = drm_gem_vram_vmap(gbo); in ast_cursor_blit()
187 if (IS_ERR(src)) { in ast_cursor_blit()
188 ret = PTR_ERR(src); in ast_cursor_blit()
195 update_cursor_image(dst, src, fb->width, fb->height); in ast_cursor_blit()
197 drm_gem_vram_vunmap(gbo, src); in ast_cursor_blit()
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
H A Dvkms_composer.c38 int x_src = composer->src.x1 >> 16; in compute_crc()
39 int y_src = composer->src.y1 >> 16; in compute_crc()
40 int h_src = drm_rect_height(&composer->src) >> 16; in compute_crc()
41 int w_src = drm_rect_width(&composer->src) >> 16; in compute_crc()
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()
99 int x_src = src_composer->src.x1 >> 16; in blend()
100 int y_src = src_composer->src.y1 >> 16; in blend()

Completed in 36 milliseconds

1...<<41424344454647484950>>...249