Home
last modified time | relevance | path

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

/linux-4.4.14/arch/parisc/lib/
Dmemset.c31 long int dstp = (long int) dstpp; in memset() local
47 while (dstp % OPSIZ != 0) in memset()
49 ((unsigned char *) dstp)[0] = c; in memset()
50 dstp += 1; in memset()
58 ((op_t *) dstp)[0] = cccc; in memset()
59 ((op_t *) dstp)[1] = cccc; in memset()
60 ((op_t *) dstp)[2] = cccc; in memset()
61 ((op_t *) dstp)[3] = cccc; in memset()
62 ((op_t *) dstp)[4] = cccc; in memset()
63 ((op_t *) dstp)[5] = cccc; in memset()
[all …]
Dmemcpy.c279 static noinline unsigned long pa_memcpy_internal(void *dstp, const void *srcp, in pa_memcpy_internal() argument
289 dst = (unsigned long)dstp; in pa_memcpy_internal()
291 pcd = (unsigned char *)dstp; in pa_memcpy_internal()
463 static unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len) in pa_memcpy() argument
468 ret = pa_memcpy_internal(dstp, srcp, len); in pa_memcpy()
480 reference = (unsigned long) dstp; in pa_memcpy()
/linux-4.4.14/arch/nios2/lib/
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-4.4.14/include/linux/
Dcpumask.h270 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() argument
272 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu()
280 static inline void cpumask_clear_cpu(int cpu, struct cpumask *dstp) in cpumask_clear_cpu() argument
282 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu()
329 static inline void cpumask_setall(struct cpumask *dstp) in cpumask_setall() argument
331 bitmap_fill(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_setall()
338 static inline void cpumask_clear(struct cpumask *dstp) in cpumask_clear() argument
340 bitmap_zero(cpumask_bits(dstp), nr_cpumask_bits); in cpumask_clear()
351 static inline int cpumask_and(struct cpumask *dstp, in cpumask_and() argument
355 return bitmap_and(cpumask_bits(dstp), cpumask_bits(src1p), in cpumask_and()
[all …]
Dnodemask.h116 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() argument
118 set_bit(node, dstp->bits); in __node_set()
122 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() argument
124 clear_bit(node, dstp->bits); in __node_clear()
128 static inline void __nodes_setall(nodemask_t *dstp, unsigned int nbits) in __nodes_setall() argument
130 bitmap_fill(dstp->bits, nbits); in __nodes_setall()
134 static inline void __nodes_clear(nodemask_t *dstp, unsigned int nbits) in __nodes_clear() argument
136 bitmap_zero(dstp->bits, nbits); in __nodes_clear()
151 static inline void __nodes_and(nodemask_t *dstp, const nodemask_t *src1p, in __nodes_and() argument
154 bitmap_and(dstp->bits, src1p->bits, src2p->bits, nbits); in __nodes_and()
[all …]
Ddmaengine.h1039 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument
1041 set_bit(tx_type, dstp->bits); in __dma_cap_set()
1046 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument
1048 clear_bit(tx_type, dstp->bits); in __dma_cap_clear()
1052 static inline void __dma_cap_zero(dma_cap_mask_t *dstp) in __dma_cap_zero() argument
1054 bitmap_zero(dstp->bits, DMA_TX_TYPE_END); in __dma_cap_zero()
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c20 char *srcp, *dstp; in do_one() local
25 dstp = dst + MIN_REDZONE + dst_off; in do_one()
31 ret = COPY_LOOP(dstp, srcp, len); in do_one()
32 if (ret && ret != (unsigned long)dstp) { in do_one()
33 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one()
37 if (memcmp(dstp, srcp, len)) { in do_one()
38 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one()
44 printf("%02x ", dstp[i]); in do_one()
49 if (memcmp(dst, redzone, dstp - dst)) { in do_one()
51 dstp, srcp, len); in do_one()
[all …]
/linux-4.4.14/arch/x86/include/asm/uv/
Duv_bau.h708 static inline int bau_uvhub_isset(int uvhub, struct pnmask *dstp) in bau_uvhub_isset() argument
710 return constant_test_bit(uvhub, &dstp->bits[0]); in bau_uvhub_isset()
712 static inline void bau_uvhub_set(int pnode, struct pnmask *dstp) in bau_uvhub_set() argument
714 __set_bit(pnode, &dstp->bits[0]); in bau_uvhub_set()
716 static inline void bau_uvhubs_clear(struct pnmask *dstp, in bau_uvhubs_clear() argument
719 bitmap_zero(&dstp->bits[0], nbits); in bau_uvhubs_clear()
721 static inline int bau_uvhub_weight(struct pnmask *dstp) in bau_uvhub_weight() argument
723 return bitmap_weight((unsigned long *)&dstp->bits[0], in bau_uvhub_weight()
727 static inline void bau_cpubits_clear(struct bau_local_cpumask *dstp, int nbits) in bau_cpubits_clear() argument
729 bitmap_zero(&dstp->bits, nbits); in bau_cpubits_clear()
/linux-4.4.14/crypto/
Deseqiv.c76 struct page *dstp; in eseqiv_givencrypt() local
95 dstp = sg_page(odst); in eseqiv_givencrypt()
97 vdst = PageHighMem(dstp) ? NULL : page_address(dstp) + odst->offset; in eseqiv_givencrypt()
/linux-4.4.14/arch/tile/include/asm/
Dsmp.h127 static inline int __cpulist_parse_crop(const char *buf, struct cpumask *dstp, in __cpulist_parse_crop() argument
130 return bitmap_parselist_crop(buf, cpumask_bits(dstp), nbits); in __cpulist_parse_crop()
/linux-4.4.14/drivers/cpufreq/
Dqoriq-cpufreq.c126 struct cpumask *dstp = policy->cpus; in set_affected_cpus() local
139 cpumask_set_cpu(i, dstp); in set_affected_cpus()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dqp.c391 u8 *dstp, *srcp; in build_immd() local
396 dstp = (u8 *)immdp->data; in build_immd()
404 if (dstp == (u8 *)&sq->queue[sq->size]) in build_immd()
405 dstp = (u8 *)sq->queue; in build_immd()
406 if (rem <= (u8 *)&sq->queue[sq->size] - dstp) in build_immd()
409 len = (u8 *)&sq->queue[sq->size] - dstp; in build_immd()
410 memcpy(dstp, srcp, len); in build_immd()
411 dstp += len; in build_immd()
418 memset(dstp, 0, len); in build_immd()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1136 u32 *dstp; in bnx2i_cpy_scsi_cdb() local
1145 dstp = (u32 *) cmd->req.cdb; in bnx2i_cpy_scsi_cdb()
1148 *dstp = cpu_to_be32(dword); in bnx2i_cpy_scsi_cdb()
1150 dstp++; in bnx2i_cpy_scsi_cdb()
1154 *dstp = cpu_to_be32(dword); in bnx2i_cpy_scsi_cdb()
/linux-4.4.14/net/ipv6/
Draw.c613 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc() argument
621 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc()
643 *dstp = NULL; in rawv6_send_hdrinc()
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2738 struct mcp_kreq_ether_send __iomem *dstp, *dst; in myri10ge_submit_req() local
2747 dst = dstp = &tx->lanai[idx]; in myri10ge_submit_req()
2752 myri10ge_pio_copy(dstp, srcp, 2 * sizeof(*src)); in myri10ge_submit_req()
2755 dstp += 2; in myri10ge_submit_req()
2765 myri10ge_pio_copy(dstp, srcp, sizeof(*src)); in myri10ge_submit_req()