/linux/arch/ia64/lib/ |
A D | memset.S | 32 #define ptr1 r28 macro 76 mov ptr1 = dest 142 add ptr1 = tmp, ptr1 // first address beyond total range 212 add ptr1 = tmp, ptr1 // first address beyond total range 254 add ptr2 = 16, ptr1 269 stf8 [ptr1] = fvalue, 8 272 stf8 [ptr1] = fvalue, 24 304 (p_y) st4 [ptr1] = value,4 313 (p_y) st1 [ptr1] = value 328 (p_n) add ptr2 = 2, ptr1 [all …]
|
/linux/lib/ |
A D | test_kasan.c | 275 char *ptr1, *ptr2; in krealloc_more_oob_helper() local 307 char *ptr1, *ptr2; in krealloc_less_oob_helper() local 379 char *ptr1, *ptr2; in krealloc_uaf() local 385 kfree(ptr1); in krealloc_uaf() 396 } *ptr1, *ptr2; in kmalloc_oob_16() local 401 ptr1 = kmalloc(sizeof(*ptr1) - 3, GFP_KERNEL); in kmalloc_oob_16() 408 kfree(ptr1); in kmalloc_oob_16() 416 } *ptr1, *ptr2; in kmalloc_uaf_16() local 418 ptr1 = kmalloc(sizeof(*ptr1), GFP_KERNEL); in kmalloc_uaf_16() 426 kfree(ptr1); in kmalloc_uaf_16() [all …]
|
/linux/arch/arm64/include/asm/ |
A D | cmpxchg.h | 205 #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); \
|
A D | percpu.h | 143 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument 147 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
|
/linux/sound/isa/gus/ |
A D | gus_mem.c | 129 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()
|
/linux/sound/pci/emu10k1/ |
A D | p16v.c | 505 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()
|
A D | emu10k1x.c | 511 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/drivers/media/common/saa7146/ |
A D | saa7146_video.c | 210 __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/drivers/isdn/hardware/mISDN/ |
A D | hfcpci.c | 396 u_char *ptr, *ptr1, new_f2; in hfcpci_empty_bfifo() local 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() 517 ptr1 = df->data; /* start of buffer */ in receive_dmsg() 518 memcpy(ptr, ptr1, rcnt); /* rest */ in receive_dmsg() 539 u_char *ptr, *ptr1; in hfcpci_empty_fifo_trans() local 586 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-ctrls-core.c | 69 union v4l2_ctrl_ptr ptr1, in std_equal() argument 78 return !strcmp(ptr1.p_char + idx, ptr2.p_char + idx); in std_equal() 80 return ptr1.p_s64[idx] == ptr2.p_s64[idx]; in std_equal() 82 return ptr1.p_u8[idx] == ptr2.p_u8[idx]; in std_equal() 84 return ptr1.p_u16[idx] == ptr2.p_u16[idx]; in std_equal() 86 return ptr1.p_u32[idx] == ptr2.p_u32[idx]; in std_equal() 89 return ptr1.p_s32[idx] == ptr2.p_s32[idx]; in std_equal() 91 return !memcmp(ptr1.p_const + idx, ptr2.p_const + idx, in std_equal()
|
/linux/tools/testing/selftests/kvm/lib/ |
A D | kvm_util.c | 693 uintptr_t ptr1 = (uintptr_t)hva + offset; in kvm_memcmp_hva_gva() local 706 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 707 amt = vm->page_size - (ptr1 % vm->page_size); in kvm_memcmp_hva_gva() 711 assert((ptr1 >> vm->page_shift) == ((ptr1 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva() 719 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
|
/linux/drivers/crypto/cavium/cpt/ |
A D | request_manager.h | 85 __be64 ptr1; member
|
A D | cptvf_reqmanager.c | 81 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/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cpt_reqmgr.h | 155 __be64 ptr1; member
|
A D | otx2_cptvf_reqmgr.c | 120 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/sound/pci/ |
A D | intel8x0m.c | 546 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()
|
A D | intel8x0.c | 995 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/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_reqmgr.h | 133 __be64 ptr1; member
|
A D | otx_cptvf_reqmgr.c | 132 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/drivers/target/sbp/ |
A D | sbp_target.h | 106 struct sbp2_pointer ptr1; member
|
/linux/sound/pci/ca0106/ |
A D | ca0106_main.c | 1050 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/include/media/ |
A D | v4l2-ctrls.h | 134 union v4l2_ctrl_ptr ptr1,
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | printk-formats.rst | 187 printk("test: difference between pointers: %td\n", ptr2 - ptr1);
|
/linux/tools/perf/util/ |
A D | probe-event.c | 194 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local 202 ptr1 = basename(exec_copy); in convert_exec_to_group() 203 if (!ptr1) { in convert_exec_to_group() 208 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group() 215 ret = e_snprintf(buf, 64, "%s_%s", PERFPROBE_GROUP, ptr1); in convert_exec_to_group()
|
/linux/drivers/net/ethernet/cirrus/ |
A D | cs89x0.c | 334 #define dma_page_eq(ptr1, ptr2) ((long)(ptr1) >> 17 == (long)(ptr2) >> 17) argument
|