Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c83 struct bpf_dynptr ptr1, ptr2; in ringbuf_missing_release2() local
86 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(*sample), 0, &ptr1); in ringbuf_missing_release2()
89 sample = bpf_dynptr_data(&ptr1, 0, sizeof(*sample)); in ringbuf_missing_release2()
91 bpf_ringbuf_discard_dynptr(&ptr1, 0); in ringbuf_missing_release2()
96 bpf_ringbuf_submit_dynptr(&ptr1, 0); in ringbuf_missing_release2()
284 struct bpf_dynptr ptr1, ptr2; in data_slice_use_after_release2() local
287 bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &ptr1); in data_slice_use_after_release2()
301 bpf_ringbuf_submit_dynptr(&ptr1, 0); in data_slice_use_after_release2()
307 bpf_ringbuf_discard_dynptr(&ptr1, 0); in data_slice_use_after_release2()
521 struct bpf_dynptr ptr1, ptr2; in invalid_read3() local
[all …]
/linux-6.1.9/mm/kasan/
Dkasan_test.c286 char *ptr1, *ptr2; in krealloc_more_oob_helper() local
292 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper()
293 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in krealloc_more_oob_helper()
295 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
321 char *ptr1, *ptr2; in krealloc_less_oob_helper() local
327 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper()
328 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr1); in krealloc_less_oob_helper()
330 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_less_oob_helper()
396 char *ptr1, *ptr2; in krealloc_uaf() local
400 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_uaf()
[all …]
/linux-6.1.9/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.h144 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
148 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_rpc.c35 u32 ptr1; in vpu_rpc_check_buffer_space() local
41 ptr1 = desc->wptr; in vpu_rpc_check_buffer_space()
44 ptr1 = desc->rptr; in vpu_rpc_check_buffer_space()
48 if (ptr1 == ptr2) { in vpu_rpc_check_buffer_space()
55 return (ptr2 + size - ptr1) % size; in vpu_rpc_check_buffer_space()
/linux-6.1.9/sound/isa/gus/
Dgus_mem.c136 unsigned int ptr1, ptr2; in snd_gf1_mem_find() local
159 ptr1 = ALIGN(pblock->ptr + pblock->size, align); in snd_gf1_mem_find()
160 if (ptr1 >= ptr2) in snd_gf1_mem_find()
162 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
164 block->ptr = ptr1; in snd_gf1_mem_find()
/linux-6.1.9/sound/pci/emu10k1/
Dp16v.c505 snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; in snd_p16v_pcm_pointer_playback() local
511 ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback()
513 if (ptr3 != ptr4) ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback()
514 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
530 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_p16v_pcm_pointer_capture() local
536 ptr1 = snd_emu10k1_ptr20_read(emu, CAPTURE_POINTER, channel); in snd_p16v_pcm_pointer_capture()
537 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()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c677 uintptr_t ptr1 = (uintptr_t)hva + offset; in kvm_memcmp_hva_gva() local
690 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
691 amt = vm->page_size - (ptr1 % vm->page_size); in kvm_memcmp_hva_gva()
695 assert((ptr1 >> vm->page_shift) == ((ptr1 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva()
703 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
/linux-6.1.9/include/media/
Dv4l2-ctrls.h132 union v4l2_ctrl_ptr ptr1, union v4l2_ctrl_ptr ptr2);
1550 union v4l2_ctrl_ptr ptr1, union v4l2_ctrl_ptr ptr2);
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h155 __be64 ptr1; member
Dotx2_cptvf_reqmgr.c120 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
134 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components()
/linux-6.1.9/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()
/linux-6.1.9/drivers/target/sbp/
Dsbp_target.h106 struct sbp2_pointer ptr1; member
/linux-6.1.9/sound/pci/
Dintel8x0m.c546 size_t ptr1, ptr; in snd_intel8x0m_pcm_pointer() local
548 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << chip->pcm_pos_shift; in snd_intel8x0m_pcm_pointer()
549 if (ptr1 != 0) in snd_intel8x0m_pcm_pointer()
550 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0m_pcm_pointer()
Dintel8x0.c995 size_t ptr1, ptr; in snd_intel8x0_pcm_pointer() local
1002 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb); in snd_intel8x0_pcm_pointer()
1004 if (ptr1 == 0) { in snd_intel8x0_pcm_pointer()
1019 if (ptr1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb)) in snd_intel8x0_pcm_pointer()
1023 if (ptr1 != 0) { in snd_intel8x0_pcm_pointer()
1024 ptr1 <<= ichdev->pos_shift; in snd_intel8x0_pcm_pointer()
1025 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0_pcm_pointer()
/linux-6.1.9/sound/pci/ca0106/
Dca0106_main.c1050 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_ca0106_pcm_pointer_capture() local
1056 ptr1 = snd_ca0106_ptr_read(emu, CAPTURE_POINTER, channel); in snd_ca0106_pcm_pointer_capture()
1057 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_capture()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dprintk-formats.rst188 printk("test: difference between pointers: %td\n", ptr2 - ptr1);
/linux-6.1.9/tools/perf/util/
Dprobe-event.c197 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
205 ptr1 = basename(exec_copy); in convert_exec_to_group()
206 if (!ptr1) { in convert_exec_to_group()
211 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
218 ret = e_snprintf(buf, 64, "%s_%s", PERFPROBE_GROUP, ptr1); in convert_exec_to_group()

12