Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/arch/ia64/lib/
Dmemset.S32 #define ptr1 r28 macro
76 mov ptr1 = dest
88 (p_unalgn) add ptr1 = (MIN1+1), ptr2 // after alignment
133 mov ptr9 = ptr1 // used for prefetching
141 add ptr2 = 8, ptr1 // start of stores (beyond prefetch stores)
142 add ptr1 = tmp, ptr1 // first address beyond total range
186 cmp.lt p_scr, p0 = ptr9, ptr1 // do we need more prefetching?
203 mov ptr9 = ptr1 // used for prefetching
211 add ptr2 = 16, ptr1 // start of stores (beyond prefetch stores)
212 add ptr1 = tmp, ptr1 // first address beyond total range
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_kasan.c183 char *ptr1, *ptr2; in kmalloc_oob_krealloc_more() local
187 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_more()
188 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in kmalloc_oob_krealloc_more()
190 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_more()
199 char *ptr1, *ptr2; in kmalloc_oob_krealloc_less() local
203 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_less()
204 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in kmalloc_oob_krealloc_less()
206 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_less()
217 } *ptr1, *ptr2; in kmalloc_oob_16() local
225 ptr1 = kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL); in kmalloc_oob_16()
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dcmpxchg.h205 #define __cmpxchg_double_check(ptr1, ptr2) \ argument
207 if (sizeof(*(ptr1)) != 8) \
209 VM_BUG_ON((unsigned long *)(ptr2) - (unsigned long *)(ptr1) != 1); \
212 #define arch_cmpxchg_double(ptr1, ptr2, o1, o2, n1, n2) \ argument
215 __cmpxchg_double_check(ptr1, ptr2); \
218 ptr1); \
222 #define arch_cmpxchg_double_local(ptr1, ptr2, o1, o2, n1, n2) \ argument
225 __cmpxchg_double_check(ptr1, ptr2); \
228 ptr1); \
Dpercpu.h143 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
147 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
/kernel/linux/linux-5.10/sound/isa/gus/
Dgus_mem.c129 unsigned int ptr1, ptr2; in snd_gf1_mem_find() local
152 ptr1 = ALIGN(pblock->ptr + pblock->size, align); in snd_gf1_mem_find()
153 if (ptr1 >= ptr2) in snd_gf1_mem_find()
155 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
157 block->ptr = ptr1; in snd_gf1_mem_find()
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Dp16v.c503 snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; in snd_p16v_pcm_pointer_playback() local
509 ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback()
511 if (ptr3 != ptr4) ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback()
512 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
528 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_p16v_pcm_pointer_capture() local
534 ptr1 = snd_emu10k1_ptr20_read(emu, CAPTURE_POINTER, channel); in snd_p16v_pcm_pointer_capture()
535 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
Demu10k1x.c511 snd_pcm_uframes_t ptr = 0, ptr1 = 0, ptr2= 0,ptr3 = 0,ptr4 = 0; in snd_emu10k1x_pcm_pointer() local
517 ptr1 = snd_emu10k1x_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_emu10k1x_pcm_pointer()
520 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer()
524 ptr1 = snd_emu10k1x_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_emu10k1x_pcm_pointer()
525 ptr2 = bytes_to_frames(runtime, ptr1); in snd_emu10k1x_pcm_pointer()
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_video.c210 __le32 *ptr1, *ptr2, *ptr3; in saa7146_pgtable_build() local
244 ptr1 = pt1->cpu; in saa7146_pgtable_build()
250 for (p = 0; p * 4096 < sg_dma_len(list); p++, ptr1++) in saa7146_pgtable_build()
251 *ptr1 = cpu_to_le32(sg_dma_address(list) - list->offset); in saa7146_pgtable_build()
267 ptr1 = pt1->cpu; in saa7146_pgtable_build()
269 *ptr2 = ptr1[i]; in saa7146_pgtable_build()
276 ptr1 = pt1->cpu; in saa7146_pgtable_build()
278 *ptr3 = ptr1[i]; in saa7146_pgtable_build()
285 ptr1 = pt1->cpu+m1; in saa7146_pgtable_build()
287 for(i=m1;i<1024;i++,ptr1++) { in saa7146_pgtable_build()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dhfcpci.c396 u_char *ptr, *ptr1, new_f2; in hfcpci_empty_bfifo() local
432 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
434 memcpy(ptr, ptr1, maxlen); /* copy data */ in hfcpci_empty_bfifo()
439 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_bfifo()
440 memcpy(ptr, ptr1, count); /* rest */ in hfcpci_empty_bfifo()
458 u_char *ptr, *ptr1; in receive_dmsg() local
510 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg()
512 memcpy(ptr, ptr1, maxlen); /* copy data */ in receive_dmsg()
517 ptr1 = df->data; /* start of buffer */ in receive_dmsg()
518 memcpy(ptr, ptr1, rcnt); /* rest */ in receive_dmsg()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c542 uintptr_t ptr1 = (uintptr_t)hva + offset; in kvm_memcmp_hva_gva() local
555 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
556 amt = vm->page_size - (ptr1 % vm->page_size); in kvm_memcmp_hva_gva()
560 assert((ptr1 >> vm->page_shift) == ((ptr1 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva()
568 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Drequest_manager.h85 __be64 ptr1; member
Dcptvf_reqmanager.c81 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
96 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.h133 __be64 ptr1; member
Dotx_cptvf_reqmgr.c132 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
146 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
/kernel/linux/linux-5.10/drivers/target/sbp/
Dsbp_target.h106 struct sbp2_pointer ptr1; member
Dsbp_target.c1471 sbp2_pointer_to_addr(&req->orb.ptr1), in sbp_mgt_agent_process()
/kernel/linux/linux-5.10/sound/pci/
Dintel8x0m.c560 size_t ptr1, ptr; in snd_intel8x0m_pcm_pointer() local
562 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << chip->pcm_pos_shift; in snd_intel8x0m_pcm_pointer()
563 if (ptr1 != 0) in snd_intel8x0m_pcm_pointer()
564 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0m_pcm_pointer()
Dintel8x0.c1016 size_t ptr1, ptr; in snd_intel8x0_pcm_pointer() local
1023 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb); in snd_intel8x0_pcm_pointer()
1025 if (ptr1 == 0) { in snd_intel8x0_pcm_pointer()
1040 if (ptr1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb)) in snd_intel8x0_pcm_pointer()
1044 if (ptr1 != 0) { in snd_intel8x0_pcm_pointer()
1045 ptr1 <<= ichdev->pos_shift; in snd_intel8x0_pcm_pointer()
1046 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0_pcm_pointer()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ctrls.c1593 union v4l2_ctrl_ptr ptr1, in std_equal() argument
1602 return !strcmp(ptr1.p_char + idx, ptr2.p_char + idx); in std_equal()
1604 return ptr1.p_s64[idx] == ptr2.p_s64[idx]; in std_equal()
1606 return ptr1.p_u8[idx] == ptr2.p_u8[idx]; in std_equal()
1608 return ptr1.p_u16[idx] == ptr2.p_u16[idx]; in std_equal()
1610 return ptr1.p_u32[idx] == ptr2.p_u32[idx]; in std_equal()
1613 return ptr1.p_s32[idx] == ptr2.p_s32[idx]; in std_equal()
1615 return !memcmp(ptr1.p_const + idx, ptr2.p_const + idx, in std_equal()
/kernel/linux/linux-5.10/include/media/
Dv4l2-ctrls.h132 union v4l2_ctrl_ptr ptr1,
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca0106_main.c1047 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_ca0106_pcm_pointer_capture() local
1053 ptr1 = snd_ca0106_ptr_read(emu, CAPTURE_POINTER, channel); in snd_ca0106_pcm_pointer_capture()
1054 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_capture()
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-event.c195 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
203 ptr1 = basename(exec_copy); in convert_exec_to_group()
204 if (!ptr1) { in convert_exec_to_group()
209 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
216 ret = e_snprintf(buf, 64, "%s_%s", PERFPROBE_GROUP, ptr1); in convert_exec_to_group()
/kernel/linux/linux-5.10/drivers/net/ethernet/cirrus/
Dcs89x0.c334 #define dma_page_eq(ptr1, ptr2) ((long)(ptr1) >> 17 == (long)(ptr2) >> 17) argument
/kernel/linux/linux-5.10/Documentation/core-api/
Dprintk-formats.rst168 printk("test: difference between pointers: %td\n", ptr2 - ptr1);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch174436 + union v4l2_ctrl_ptr ptr1,
175801 + union v4l2_ctrl_ptr ptr1,