Home
last modified time | relevance | path

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

12

/linux/arch/ia64/lib/
A Dmemset.S33 #define ptr2 r27 macro
89 (p_unalgn) add ptr2 = MIN1P1HALF, ptr2 // after alignment
97 (p_n) add ptr2 = 4, ptr2 //
104 (p_nn) add ptr2 = 2, ptr2 //
113 (p_n) add ptr2 = 1, ptr2 //
160 stf8 [ptr2] = fvalue, 8
168 stf8 [ptr2] = fvalue, 8
176 stf8 [ptr2] = fvalue, 8
184 stf8 [ptr2] = fvalue, 8
254 add ptr2 = 16, ptr1
[all …]
/linux/lib/
A Dtest_kasan.c275 char *ptr1, *ptr2; in krealloc_more_oob_helper() local
301 kfree(ptr2); in krealloc_more_oob_helper()
342 kfree(ptr2); in krealloc_less_oob_helper()
396 } *ptr1, *ptr2; in kmalloc_oob_16() local
404 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_oob_16()
409 kfree(ptr2); in kmalloc_oob_16()
416 } *ptr1, *ptr2; in kmalloc_uaf_16() local
421 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_uaf_16()
423 kfree(ptr2); in kmalloc_uaf_16()
589 kfree(ptr2); in kmalloc_uaf2()
[all …]
A Dhexdump.c158 const u16 *ptr2 = buf; in hex_dump_to_buffer() local
163 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
/linux/arch/hexagon/lib/
A Dchecksum.c90 unsigned short *ptr2; in do_csum() local
108 ptr2 = (unsigned short *) &ptr[start & 1]; in do_csum()
110 sum1 += (u64) ptr2[0]; in do_csum()
155 ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; in do_csum()
157 sum0 += (u64) ptr2[0]; in do_csum()
/linux/arch/arm64/include/asm/
A Dcmpxchg.h205 #define __cmpxchg_double_check(ptr1, ptr2) \ argument
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); \
222 #define arch_cmpxchg_double_local(ptr1, ptr2, o1, o2, n1, n2) \ argument
225 __cmpxchg_double_check(ptr1, ptr2); \
A Dpercpu.h143 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
148 raw_cpu_ptr(&(ptr2)), \
/linux/fs/nilfs2/
A Ddirect.c55 __u64 ptr, ptr2; in nilfs_direct_lookup_contig() local
76 (ptr2 = nilfs_direct_get_ptr(direct, key + cnt)) != in nilfs_direct_lookup_contig()
80 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_direct_lookup_contig()
83 ptr2 = blocknr; in nilfs_direct_lookup_contig()
85 if (ptr2 != ptr + cnt) in nilfs_direct_lookup_contig()
A Dbtree.c488 __u64 ptr2; in __nilfs_btree_get_block() local
493 ptr2 = nilfs_btree_node_get_ptr(ra->node, i, ra->ncmax); in __nilfs_btree_get_block()
495 ret = nilfs_btnode_submit_block(btnc, ptr2, 0, in __nilfs_btree_get_block()
698 __u64 ptr, ptr2; in nilfs_btree_lookup_contig() local
731 ptr2 = nilfs_btree_node_get_ptr(node, index, ncmax); in nilfs_btree_lookup_contig()
733 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_btree_lookup_contig()
736 ptr2 = blocknr; in nilfs_btree_lookup_contig()
738 if (ptr2 != ptr + cnt || ++cnt == maxblocks) in nilfs_btree_lookup_contig()
752 ptr2 = nilfs_btree_node_get_ptr(p.node, p.index, p.ncmax); in nilfs_btree_lookup_contig()
758 ret = __nilfs_btree_get_block(btree, ptr2, &path[level].bp_bh, in nilfs_btree_lookup_contig()
/linux/sound/isa/gus/
A Dgus_mem.c129 unsigned int ptr1, ptr2; in snd_gf1_mem_find() local
145 ptr2 = boundary; in snd_gf1_mem_find()
150 ptr2 = pblock->next->ptr; in snd_gf1_mem_find()
153 if (ptr1 >= ptr2) in snd_gf1_mem_find()
155 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
/linux/sound/pci/emu10k1/
A Dp16v.c505 snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; in snd_p16v_pcm_pointer_playback() local
514 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
515 ptr2+= (ptr4 >> 3) * runtime->period_size; in snd_p16v_pcm_pointer_playback()
516 ptr=ptr2; in snd_p16v_pcm_pointer_playback()
530 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_p16v_pcm_pointer_capture() local
537 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
538 ptr=ptr2; in snd_p16v_pcm_pointer_capture()
A Demu10k1x.c511 snd_pcm_uframes_t ptr = 0, ptr1 = 0, ptr2= 0,ptr3 = 0,ptr4 = 0; in snd_emu10k1x_pcm_pointer() local
525 ptr2 = bytes_to_frames(runtime, ptr1); in snd_emu10k1x_pcm_pointer()
526 ptr2 += (ptr4 >> 3) * runtime->period_size; in snd_emu10k1x_pcm_pointer()
527 ptr = ptr2; in snd_emu10k1x_pcm_pointer()
/linux/drivers/media/common/saa7146/
A Dsaa7146_video.c210 __le32 *ptr1, *ptr2, *ptr3; in saa7146_pgtable_build() local
245 ptr2 = pt2->cpu; in saa7146_pgtable_build()
268 for(i = m1; i <= m2 ; i++, ptr2++) { in saa7146_pgtable_build()
269 *ptr2 = ptr1[i]; in saa7146_pgtable_build()
271 fill = *(ptr2-1); in saa7146_pgtable_build()
272 for(;i<1024;i++,ptr2++) { in saa7146_pgtable_build()
273 *ptr2 = fill; in saa7146_pgtable_build()
/linux/drivers/media/v4l2-core/
A Dv4l2-ctrls-core.c70 union v4l2_ctrl_ptr ptr2) 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 Dkvm_util.c699 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() local
708 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
709 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva()
712 assert((ptr2 >> vm->page_shift) == ((ptr2 + 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 Drequest_manager.h86 __be64 ptr2; member
A Dcptvf_reqmanager.c82 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
92 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cpt_reqmgr.h156 __be64 ptr2; member
A Dotx2_cptvf_reqmgr.c121 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
130 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_reqmgr.h134 __be64 ptr2; member
A Dotx_cptvf_reqmgr.c133 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
142 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components()
/linux/drivers/target/sbp/
A Dsbp_target.h107 struct sbp2_pointer ptr2; member
/linux/tools/perf/util/
A Dprobe-event.c194 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
208 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
209 if (!isalnum(*ptr2) && *ptr2 != '_') { in convert_exec_to_group()
210 *ptr2 = '\0'; in convert_exec_to_group()
/linux/sound/pci/ca0106/
A Dca0106_main.c1050 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_ca0106_pcm_pointer_capture() local
1057 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_capture()
1058 ptr=ptr2; in snd_ca0106_pcm_pointer_capture()
/linux/include/media/
A Dv4l2-ctrls.h135 union v4l2_ctrl_ptr ptr2);
/linux/Documentation/translations/zh_CN/core-api/
A Dprintk-formats.rst187 printk("test: difference between pointers: %td\n", ptr2 - ptr1);

Completed in 73 milliseconds

12