/kernel/linux/linux-5.10/arch/nios2/lib/ |
H A D | memcpy.c | 72 static void _wordcopy_fwd_aligned(long int dstp, long int srcp, size_t len) in _wordcopy_fwd_aligned() argument 85 ((op_t *) dstp)[0] = a0; in _wordcopy_fwd_aligned() 86 ((op_t *) dstp)[1] = a1; in _wordcopy_fwd_aligned() 87 ((op_t *) dstp)[2] = a2; in _wordcopy_fwd_aligned() 88 ((op_t *) dstp)[3] = a3; in _wordcopy_fwd_aligned() 89 ((op_t *) dstp)[4] = a4; in _wordcopy_fwd_aligned() 90 ((op_t *) dstp)[5] = a5; in _wordcopy_fwd_aligned() 91 ((op_t *) dstp)[6] = a6; in _wordcopy_fwd_aligned() 92 ((op_t *) dstp)[7] = a7; in _wordcopy_fwd_aligned() 95 dstp in _wordcopy_fwd_aligned() 112 _wordcopy_fwd_dest_aligned(long int dstp, long int srcp, size_t len) _wordcopy_fwd_dest_aligned() argument 162 unsigned long int dstp = (long int) dstpp; memcpy() local 196 unsigned long int dstp = (long int) dstpp; memcpyb() local [all...] |
/kernel/linux/linux-6.6/arch/nios2/lib/ |
H A D | memcpy.c | 72 static void _wordcopy_fwd_aligned(long int dstp, long int srcp, size_t len) in _wordcopy_fwd_aligned() argument 85 ((op_t *) dstp)[0] = a0; in _wordcopy_fwd_aligned() 86 ((op_t *) dstp)[1] = a1; in _wordcopy_fwd_aligned() 87 ((op_t *) dstp)[2] = a2; in _wordcopy_fwd_aligned() 88 ((op_t *) dstp)[3] = a3; in _wordcopy_fwd_aligned() 89 ((op_t *) dstp)[4] = a4; in _wordcopy_fwd_aligned() 90 ((op_t *) dstp)[5] = a5; in _wordcopy_fwd_aligned() 91 ((op_t *) dstp)[6] = a6; in _wordcopy_fwd_aligned() 92 ((op_t *) dstp)[7] = a7; in _wordcopy_fwd_aligned() 95 dstp in _wordcopy_fwd_aligned() 112 _wordcopy_fwd_dest_aligned(long int dstp, long int srcp, size_t len) _wordcopy_fwd_dest_aligned() argument 162 unsigned long int dstp = (long int) dstpp; memcpy() local 196 unsigned long int dstp = (long int) dstpp; memcpyb() local [all...] |
/kernel/linux/linux-5.10/arch/parisc/lib/ |
H A D | memset.c | 12 long int dstp = (long int) dstpp; in memset() local 28 while (dstp % OPSIZ != 0) in memset() 30 ((unsigned char *) dstp)[0] = c; in memset() 31 dstp += 1; in memset() 39 ((op_t *) dstp)[0] = cccc; in memset() 40 ((op_t *) dstp)[1] = cccc; in memset() 41 ((op_t *) dstp)[2] = cccc; in memset() 42 ((op_t *) dstp)[3] = cccc; in memset() 43 ((op_t *) dstp)[4] = cccc; in memset() 44 ((op_t *) dstp)[ in memset() [all...] |
/kernel/linux/linux-6.6/arch/parisc/lib/ |
H A D | memset.c | 12 long int dstp = (long int) dstpp; in memset() local 28 while (dstp % OPSIZ != 0) in memset() 30 ((unsigned char *) dstp)[0] = c; in memset() 31 dstp += 1; in memset() 39 ((op_t *) dstp)[0] = cccc; in memset() 40 ((op_t *) dstp)[1] = cccc; in memset() 41 ((op_t *) dstp)[2] = cccc; in memset() 42 ((op_t *) dstp)[3] = cccc; in memset() 43 ((op_t *) dstp)[4] = cccc; in memset() 44 ((op_t *) dstp)[ in memset() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | cpumask.h | 352 * @dstp: the cpumask pointer 354 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() argument 356 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu() 359 static inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu() argument 361 __set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_set_cpu() 368 * @dstp: the cpumask pointer 370 static inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu() argument 372 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu() 375 static inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu() argument 377 __clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_clear_cpu() 424 cpumask_setall(struct cpumask *dstp) cpumask_setall() argument 433 cpumask_clear(struct cpumask *dstp) cpumask_clear() argument 446 cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_and() argument 460 cpumask_or(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_or() argument 473 cpumask_xor(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_xor() argument 489 cpumask_andnot(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_andnot() argument 502 cpumask_complement(struct cpumask *dstp, const struct cpumask *srcp) cpumask_complement() argument 594 cpumask_shift_right(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_right() argument 607 cpumask_shift_left(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_left() argument 619 cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) cpumask_copy() argument 665 cpumask_parse_user(const char __user *buf, int len, struct cpumask *dstp) cpumask_parse_user() argument 679 cpumask_parselist_user(const char __user *buf, int len, struct cpumask *dstp) cpumask_parselist_user() argument 693 cpumask_parse(const char *buf, struct cpumask *dstp) cpumask_parse() argument 705 cpulist_parse(const char *buf, struct cpumask *dstp) cpulist_parse() argument [all...] |
H A D | nodemask.h | 128 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() argument 130 set_bit(node, dstp->bits); in __node_set() 134 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() argument 136 clear_bit(node, dstp->bits); in __node_clear() 140 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() argument 142 bitmap_fill(dstp->bits, nbits); in __nodes_setall() 146 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() argument 148 bitmap_zero(dstp->bits, nbits); in __nodes_clear() 163 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument 166 bitmap_and(dstp in __nodes_and() 171 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_or() argument 179 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_xor() argument 187 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_andnot() argument 195 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, unsigned int nbits) __nodes_complement() argument 245 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_right() argument 253 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_left() argument 333 __nodemask_parse_user(const char __user *buf, int len, nodemask_t *dstp, int nbits) __nodemask_parse_user() argument 340 __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) __nodelist_parse() argument 355 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) __nodes_remap() argument 363 __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, const nodemask_t *relmapp, int nbits) __nodes_onto() argument 371 __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, int sz, int nbits) __nodes_fold() argument [all...] |
H A D | dmaengine.h | 1370 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument 1372 set_bit(tx_type, dstp->bits); in __dma_cap_set() 1377 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument 1379 clear_bit(tx_type, dstp->bits); in __dma_cap_clear() 1383 static inline void __dma_cap_zero(dma_cap_mask_t *dstp) in __dma_cap_zero() argument 1385 bitmap_zero(dstp->bits, DMA_TX_TYPE_END); in __dma_cap_zero()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 21 char *srcp, *dstp; in do_one() local 26 dstp = dst + MIN_REDZONE + dst_off; in do_one() 32 ret = COPY_LOOP(dstp, srcp, len); in do_one() 33 if (ret && ret != (unsigned long)dstp) { in do_one() 34 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one() 38 if (memcmp(dstp, srcp, len)) { in do_one() 39 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one() 45 printf("%02x ", dstp[i]); in do_one() 50 if (memcmp(dst, redzone, dstp - dst)) { in do_one() 52 dstp, src in do_one() [all...] |
H A D | exc_validate.c | 60 static void do_one_test(char *dstp, char *srcp, unsigned long len) in do_one_test() argument 64 got = COPY_LOOP(dstp, srcp, len); in do_one_test() 65 expected = test_copy_tofrom_user_reference(dstp, srcp, len); in do_one_test() 70 srcp, dstp, len, got, expected); in do_one_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 21 char *srcp, *dstp; in do_one() local 26 dstp = dst + MIN_REDZONE + dst_off; in do_one() 32 ret = COPY_LOOP(dstp, srcp, len); in do_one() 33 if (ret && ret != (unsigned long)dstp) { in do_one() 34 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one() 38 if (memcmp(dstp, srcp, len)) { in do_one() 39 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one() 45 printf("%02x ", dstp[i]); in do_one() 50 if (memcmp(dst, redzone, dstp - dst)) { in do_one() 52 dstp, src in do_one() [all...] |
H A D | exc_validate.c | 60 static void do_one_test(char *dstp, char *srcp, unsigned long len) in do_one_test() argument 64 got = COPY_LOOP(dstp, srcp, len); in do_one_test() 65 expected = test_copy_tofrom_user_reference(dstp, srcp, len); in do_one_test() 70 srcp, dstp, len, got, expected); in do_one_test()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nodemask.h | 129 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() argument 131 set_bit(node, dstp->bits); in __node_set() 135 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() argument 137 clear_bit(node, dstp->bits); in __node_clear() 141 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() argument 143 bitmap_fill(dstp->bits, nbits); in __nodes_setall() 147 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() argument 149 bitmap_zero(dstp->bits, nbits); in __nodes_clear() 164 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument 167 bitmap_and(dstp in __nodes_and() 172 __nodes_or(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_or() argument 180 __nodes_xor(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_xor() argument 188 __nodes_andnot(nodemask_t *dstp, const nodemask_t *src1p, const nodemask_t *src2p, unsigned int nbits) __nodes_andnot() argument 196 __nodes_complement(nodemask_t *dstp, const nodemask_t *srcp, unsigned int nbits) __nodes_complement() argument 246 __nodes_shift_right(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_right() argument 254 __nodes_shift_left(nodemask_t *dstp, const nodemask_t *srcp, int n, int nbits) __nodes_shift_left() argument 341 __nodemask_parse_user(const char __user *buf, int len, nodemask_t *dstp, int nbits) __nodemask_parse_user() argument 348 __nodelist_parse(const char *buf, nodemask_t *dstp, int nbits) __nodelist_parse() argument 363 __nodes_remap(nodemask_t *dstp, const nodemask_t *srcp, const nodemask_t *oldp, const nodemask_t *newp, int nbits) __nodes_remap() argument 371 __nodes_onto(nodemask_t *dstp, const nodemask_t *origp, const nodemask_t *relmapp, int nbits) __nodes_onto() argument 379 __nodes_fold(nodemask_t *dstp, const nodemask_t *origp, int sz, int nbits) __nodes_fold() argument [all...] |
H A D | cpumask.h | 487 * @dstp: the cpumask pointer 489 static __always_inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() argument 491 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu() 494 static __always_inline void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu() argument 496 __set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_set_cpu() 503 * @dstp: the cpumask pointer 505 static __always_inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu() argument 507 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu() 510 static __always_inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu() argument 512 __clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_clear_cpu() 559 cpumask_setall(struct cpumask *dstp) cpumask_setall() argument 572 cpumask_clear(struct cpumask *dstp) cpumask_clear() argument 585 cpumask_and(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_and() argument 599 cpumask_or(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_or() argument 612 cpumask_xor(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_xor() argument 628 cpumask_andnot(struct cpumask *dstp, const struct cpumask *src1p, const struct cpumask *src2p) cpumask_andnot() argument 641 cpumask_complement(struct cpumask *dstp, const struct cpumask *srcp) cpumask_complement() argument 744 cpumask_shift_right(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_right() argument 757 cpumask_shift_left(struct cpumask *dstp, const struct cpumask *srcp, int n) cpumask_shift_left() argument 769 cpumask_copy(struct cpumask *dstp, const struct cpumask *srcp) cpumask_copy() argument 806 cpumask_parse_user(const char __user *buf, int len, struct cpumask *dstp) cpumask_parse_user() argument 820 cpumask_parselist_user(const char __user *buf, int len, struct cpumask *dstp) cpumask_parselist_user() argument 834 cpumask_parse(const char *buf, struct cpumask *dstp) cpumask_parse() argument 846 cpulist_parse(const char *buf, struct cpumask *dstp) cpulist_parse() argument [all...] |
H A D | dmaengine.h | 1384 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument 1386 set_bit(tx_type, dstp->bits); in __dma_cap_set() 1391 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument 1393 clear_bit(tx_type, dstp->bits); in __dma_cap_clear() 1397 static inline void __dma_cap_zero(dma_cap_mask_t *dstp) in __dma_cap_zero() argument 1399 bitmap_zero(dstp->bits, DMA_TX_TYPE_END); in __dma_cap_zero()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | cpumask.h | 19 static __always_inline void arch_cpumask_clear_cpu(int cpu, struct cpumask *dstp) in arch_cpumask_clear_cpu() argument 21 arch_clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in arch_cpumask_clear_cpu() 29 static __always_inline void arch_cpumask_clear_cpu(int cpu, struct cpumask *dstp) in arch_cpumask_clear_cpu() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/ |
H A D | sparsebit.h | 33 void sparsebit_copy(struct sparsebit *dstp, struct sparsebit *src);
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/include/ |
H A D | sparsebit.h | 33 void sparsebit_copy(struct sparsebit *dstp, struct sparsebit *src);
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | qoriq-cpufreq.c | 88 struct cpumask *dstp = policy->cpus; in set_affected_cpus() local 100 cpumask_set_cpu(i, dstp); in set_affected_cpus()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | qoriq-cpufreq.c | 88 struct cpumask *dstp = policy->cpus; in set_affected_cpus() local 100 cpumask_set_cpu(i, dstp); in set_affected_cpus()
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/ |
H A D | hwcap.c | 87 register char *dstp asm ("x0") = dst; in mops_sigill() 93 : "+r" (dstp), "+r" (srcp), "+r" (size) in mops_sigill()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 872 u8 *dstp = dst + j * 8 * dst_stride + i * 8 * dst_step; in decode_plane() local 879 fill_decoder_block(dstp, cf->de_fwht, in decode_plane() 902 fill_decoder_block(dstp, cf->de_fwht, dst_stride, in decode_plane()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 873 u8 *dstp = dst + j * 8 * dst_stride + i * 8 * dst_step; in decode_plane() local 880 fill_decoder_block(dstp, cf->de_fwht, in decode_plane() 903 fill_decoder_block(dstp, cf->de_fwht, dst_stride, in decode_plane()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
H A D | qp.c | 417 u8 *dstp, *srcp; in build_immd() local 422 dstp = (u8 *)immdp->data; in build_immd() 430 if (dstp == (u8 *)&sq->queue[sq->size]) in build_immd() 431 dstp = (u8 *)sq->queue; in build_immd() 432 if (rem <= (u8 *)&sq->queue[sq->size] - dstp) in build_immd() 435 len = (u8 *)&sq->queue[sq->size] - dstp; in build_immd() 436 memcpy(dstp, srcp, len); in build_immd() 437 dstp += len; in build_immd() 444 memset(dstp, 0, len); in build_immd()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/ |
H A D | qp.c | 417 u8 *dstp, *srcp; in build_immd() local 422 dstp = (u8 *)immdp->data; in build_immd() 430 if (dstp == (u8 *)&sq->queue[sq->size]) in build_immd() 431 dstp = (u8 *)sq->queue; in build_immd() 432 if (rem <= (u8 *)&sq->queue[sq->size] - dstp) in build_immd() 435 len = (u8 *)&sq->queue[sq->size] - dstp; in build_immd() 436 memcpy(dstp, srcp, len); in build_immd() 437 dstp += len; in build_immd() 444 memset(dstp, 0, len); in build_immd()
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
H A D | bnx2i_iscsi.c | 1134 u32 *dstp; in bnx2i_cpy_scsi_cdb() local 1143 dstp = (u32 *) cmd->req.cdb; in bnx2i_cpy_scsi_cdb() 1146 *dstp = cpu_to_be32(dword); in bnx2i_cpy_scsi_cdb() 1148 dstp++; in bnx2i_cpy_scsi_cdb() 1152 *dstp = cpu_to_be32(dword); in bnx2i_cpy_scsi_cdb()
|