/openbmc/linux/arch/parisc/lib/ |
H A D | memset.c | 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)[5] = cccc; in memset() 45 ((op_t *) dstp)[6] = cccc; in memset() 47 dstp += 8 * OPSIZ; in memset() 57 dstp += OPSIZ; in memset() [all …]
|
/openbmc/linux/arch/nios2/lib/ |
H A D | memcpy.c | 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() 95 dstp += 8 * OPSIZ; in _wordcopy_fwd_aligned() 102 dstp += OPSIZ; in _wordcopy_fwd_aligned() 144 dstp += 4 * OPSIZ; in _wordcopy_fwd_dest_aligned() 155 dstp += OPSIZ; in _wordcopy_fwd_dest_aligned() 170 len -= (-dstp) % OPSIZ; in memcpy() [all …]
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | string.c | 36 len -= (-dstp) % sizeof(op_t); in memset() 47 "=D" (dstp), "=c" (d0) : in memset() 48 "0" (dstp), "1" ((-dstp) % sizeof(op_t)), "a" (x) : in memset() 55 "=D" (dstp), "=c" (d0) : in memset() 65 "=D" (dstp), "=c" (d0) : in memset() 66 "0" (dstp), "1" (len), "a" (x) : in memset() 106 unsigned long int dstp = (long int)dstpp; in memcpy() local 114 len -= (-dstp) % OPSIZ; in memcpy() 115 BYTE_COPY_FWD(dstp, srcp, (-dstp) % OPSIZ); in memcpy() 122 WORD_COPY_FWD(dstp, srcp, len, len); in memcpy() [all …]
|
/openbmc/linux/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() 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, srcp, len); in do_one() 56 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { 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()
|
/openbmc/linux/include/linux/ |
H A D | nodemask.h | 131 set_bit(node, dstp->bits); in __node_set() 137 clear_bit(node, dstp->bits); in __node_clear() 143 bitmap_fill(dstp->bits, nbits); in __nodes_setall() 149 bitmap_zero(dstp->bits, nbits); in __nodes_clear() 196 static inline void __nodes_complement(nodemask_t *dstp, in __nodes_complement() argument 199 bitmap_complement(dstp->bits, srcp->bits, nbits); in __nodes_complement() 249 bitmap_shift_right(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_right() 257 bitmap_shift_left(dstp->bits, srcp->bits, n, nbits); in __nodes_shift_left() 342 nodemask_t *dstp, int nbits) in __nodemask_parse_user() argument 350 return bitmap_parselist(buf, dstp->bits, nbits); in __nodelist_parse() [all …]
|
H A D | cpumask.h | 471 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu() 476 __set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_set_cpu() 487 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu() 492 __clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_clear_cpu() 545 bitmap_fill(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_setall() 565 static inline bool cpumask_and(struct cpumask *dstp, in cpumask_and() argument 582 bitmap_or(cpumask_bits(dstp), cpumask_bits(src1p), in cpumask_or() 592 static inline void cpumask_xor(struct cpumask *dstp, in cpumask_xor() argument 596 bitmap_xor(cpumask_bits(dstp), cpumask_bits(src1p), in cpumask_xor() 775 struct cpumask *dstp) in cpumask_parse_user() 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()
|
/openbmc/linux/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
|
/openbmc/linux/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()
|
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | sparsebit.h | 33 void sparsebit_copy(struct sparsebit *dstp, struct sparsebit *src);
|
/openbmc/linux/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()
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 1172 static int uncompress_blob(const void *src, ulong sz_src, void **dstp) in uncompress_blob() argument 1212 *dstp = dst; in uncompress_blob() 1216 static int uncompress_blob(const void *src, ulong sz_src, void **dstp) in uncompress_blob() argument 1218 *dstp = (void *)src; in uncompress_blob()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/net/ipv6/ |
H A D | raw.c | 587 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc() argument 595 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc() 640 *dstp = NULL; in rawv6_send_hdrinc()
|
/openbmc/linux/drivers/scsi/qedi/ |
H A D | qedi_fw.c | 1893 static void qedi_cpy_scsi_cdb(struct scsi_cmnd *sc, u32 *dstp) in qedi_cpy_scsi_cdb() argument 1903 *dstp = cpu_to_be32(dword); in qedi_cpy_scsi_cdb() 1905 dstp++; in qedi_cpy_scsi_cdb() 1909 *dstp = cpu_to_be32(dword); in qedi_cpy_scsi_cdb()
|
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 2544 struct mcp_kreq_ether_send __iomem *dstp, *dst; in myri10ge_submit_req() local 2553 dst = dstp = &tx->lanai[idx]; in myri10ge_submit_req() 2558 myri10ge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in myri10ge_submit_req() 2561 dstp += 2; in myri10ge_submit_req() 2571 myri10ge_pio_copy(dstp, srcp, sizeof(*src)); in myri10ge_submit_req()
|
/openbmc/linux/mm/ |
H A D | migrate.c | 1108 struct folio *src, struct folio **dstp, enum migrate_mode mode, in migrate_folio_unmap() argument 1132 *dstp = dst; in migrate_folio_unmap()
|