/linux-4.1.27/arch/parisc/lib/ |
D | memset.c | 31 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 …]
|
D | memcpy.c | 279 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.1.27/arch/nios2/lib/ |
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 += 8 * OPSIZ; in _wordcopy_fwd_aligned() [all …]
|
/linux-4.1.27/include/linux/ |
D | cpumask.h | 270 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 …]
|
D | nodemask.h | 116 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 …]
|
D | dmaengine.h | 932 __dma_cap_set(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_set() argument 934 set_bit(tx_type, dstp->bits); in __dma_cap_set() 939 __dma_cap_clear(enum dma_transaction_type tx_type, dma_cap_mask_t *dstp) in __dma_cap_clear() argument 941 clear_bit(tx_type, dstp->bits); in __dma_cap_clear() 945 static inline void __dma_cap_zero(dma_cap_mask_t *dstp) in __dma_cap_zero() argument 947 bitmap_zero(dstp->bits, DMA_TX_TYPE_END); in __dma_cap_zero()
|
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/ |
D | validate.c | 20 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.1.27/arch/x86/include/asm/uv/ |
D | uv_bau.h | 708 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.1.27/arch/tile/include/asm/ |
D | smp.h | 127 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.1.27/crypto/ |
D | eseqiv.c | 76 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()
|
D | authenc.c | 336 struct page *dstp; in crypto_authenc_genicv() local 340 dstp = sg_page(dst); in crypto_authenc_genicv() 341 vdst = PageHighMem(dstp) ? NULL : page_address(dstp) + dst->offset; in crypto_authenc_genicv()
|
D | authencesn.c | 400 struct page *dstp; in crypto_authenc_esn_genicv() local 404 dstp = sg_page(dst); in crypto_authenc_esn_genicv() 405 vdst = PageHighMem(dstp) ? NULL : page_address(dstp) + dst->offset; in crypto_authenc_esn_genicv()
|
/linux-4.1.27/drivers/cpufreq/ |
D | qoriq-cpufreq.c | 126 struct cpumask *dstp = policy->cpus; in set_affected_cpus() local 139 cpumask_set_cpu(i, dstp); in set_affected_cpus()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 367 u8 *dstp, *srcp; in build_immd() local 372 dstp = (u8 *)immdp->data; in build_immd() 380 if (dstp == (u8 *)&sq->queue[sq->size]) in build_immd() 381 dstp = (u8 *)sq->queue; in build_immd() 382 if (rem <= (u8 *)&sq->queue[sq->size] - dstp) in build_immd() 385 len = (u8 *)&sq->queue[sq->size] - dstp; in build_immd() 386 memcpy(dstp, srcp, len); in build_immd() 387 dstp += len; in build_immd() 394 memset(dstp, 0, len); in build_immd()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 1136 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.1.27/net/ipv6/ |
D | raw.c | 612 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc() argument 619 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc() 641 *dstp = NULL; in rawv6_send_hdrinc()
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 2738 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()
|