Home
last modified time | relevance | path

Searched refs:dstp (Results 1 – 18 of 18) sorted by relevance

/linux/arch/nios2/lib/
H A Dmemcpy.c72 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 += 8 * OPSIZ; in _wordcopy_fwd_aligned()
[all …]
/linux/arch/parisc/lib/
H A Dmemset.c12 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)[5] = cccc; in memset()
[all …]
/linux/fs/smb/client/compress/
H A Dlz77.c135 void *dstp, *nib, *flag_pos; in lz77_compress() local
142 dstp = dst; in lz77_compress()
144 flag_pos = dstp; in lz77_compress()
145 dstp += 4; in lz77_compress()
166 lz77_write8(dstp, lz77_read8(srcp)); in lz77_compress()
168 dstp++; in lz77_compress()
176 flag_pos = dstp; in lz77_compress()
177 dstp += 4; in lz77_compress()
187 if (unlikely(dstp - dst >= slen - (slen >> 3))) { in lz77_compress()
192 dstp = lz77_write_match(dstp, &nib, dist, len); in lz77_compress()
[all …]
/linux/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c21 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, srcp, len); in do_one()
[all …]
H A Dexc_validate.c60 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()
/linux/include/linux/
H A Dnodemask.h129 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 __always_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 __always_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 __always_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 __always_inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument
167 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
[all …]
H A Dcpumask.h517 void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() argument
519 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu()
523 void __cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in __cpumask_set_cpu() argument
525 __set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_set_cpu()
534 static __always_inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu() argument
536 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu()
539 static __always_inline void __cpumask_clear_cpu(int cpu, struct cpumask *dstp) in __cpumask_clear_cpu() argument
541 __clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_clear_cpu()
550 static __always_inline void cpumask_assign_cpu(int cpu, struct cpumask *dstp, bool value) in cpumask_assign_cpu() argument
552 assign_bit(cpumask_check(cpu), cpumask_bits(dstp), value); in cpumask_assign_cpu()
[all …]
H A Ddmaengine.h1415 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
1417 set_bit(tx_type, dstp->bits); in __dma_cap_set()
1422 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
1424 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
1428 static inline void __dma_cap_zero(dma_cap_mask_t *dstp) in __dma_cap_zero() argument
1430 bitmap_zero(dstp->bits, DMA_TX_TYPE_END); in __dma_cap_zero()
/linux/arch/x86/include/asm/
H A Dcpumask.h19 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
/linux/tools/testing/selftests/kvm/include/
H A Dsparsebit.h33 void sparsebit_copy(struct sparsebit *dstp, const struct sparsebit *src);
/linux/tools/testing/selftests/arm64/abi/
H A Dhwcap.c153 register char *dstp asm ("x0") = dst; in mops_sigill()
159 : "+r" (dstp), "+r" (srcp), "+r" (size) in mops_sigill()
/linux/fs/bcachefs/
H A Dutil.c677 void *dstp = kmap_local_page(bv.bv_page); in memcpy_to_bio() local
679 memcpy(dstp + bv.bv_offset, src, bv.bv_len); in memcpy_to_bio()
680 kunmap_local(dstp); in memcpy_to_bio()
/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c873 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()
/linux/drivers/infiniband/hw/cxgb4/
H A Dqp.c417 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()
/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c1134 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()
/linux/drivers/scsi/qedi/
H A Dqedi_fw.c1893 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()
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c2544 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()
/linux/mm/
H A Dmigrate.c1194 struct folio *src, struct folio **dstp, enum migrate_mode mode, in migrate_folio_unmap() argument
1218 *dstp = dst; in migrate_folio_unmap()