Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/ia64/lib/
Dmemset.S33 #define ptr2 r27 macro
72 and ptr2 = -(MIN1+1), dest // aligned address
88 (p_unalgn) add ptr1 = (MIN1+1), ptr2 // after alignment
89 (p_unalgn) add ptr2 = MIN1P1HALF, ptr2 // after alignment
96 (p_y) st8 [ptr2] = value,-4 //
97 (p_n) add ptr2 = 4, ptr2 //
103 (p_yy) st4 [ptr2] = value,-2 //
104 (p_nn) add ptr2 = 2, ptr2 //
112 (p_y) st2 [ptr2] = value,-1 //
113 (p_n) add ptr2 = 1, ptr2 //
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_kasan.c183 char *ptr1, *ptr2; in kmalloc_oob_krealloc_more() local
190 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_more()
191 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr2); in kmalloc_oob_krealloc_more()
193 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2 + OOB_TAG_OFF] = 'x'); in kmalloc_oob_krealloc_more()
194 kfree(ptr2); in kmalloc_oob_krealloc_more()
199 char *ptr1, *ptr2; in kmalloc_oob_krealloc_less() local
206 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in kmalloc_oob_krealloc_less()
207 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr2); in kmalloc_oob_krealloc_less()
209 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2 + OOB_TAG_OFF] = 'x'); in kmalloc_oob_krealloc_less()
210 kfree(ptr2); in kmalloc_oob_krealloc_less()
[all …]
Dhexdump.c179 const u16 *ptr2 = buf; in hex_dump_to_buffer() local
184 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
/kernel/linux/linux-5.10/arch/hexagon/lib/
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()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
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); \
Dpercpu.h143 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
148 raw_cpu_ptr(&(ptr2)), \
/kernel/linux/linux-5.10/fs/nilfs2/
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()
Dbtree.c499 __u64 ptr2; in __nilfs_btree_get_block() local
504 ptr2 = nilfs_btree_node_get_ptr(ra->node, i, ra->ncmax); in __nilfs_btree_get_block()
506 ret = nilfs_btnode_submit_block(btnc, ptr2, 0, in __nilfs_btree_get_block()
709 __u64 ptr, ptr2; in nilfs_btree_lookup_contig() local
742 ptr2 = nilfs_btree_node_get_ptr(node, index, ncmax); in nilfs_btree_lookup_contig()
744 ret = nilfs_dat_translate(dat, ptr2, &blocknr); in nilfs_btree_lookup_contig()
747 ptr2 = blocknr; in nilfs_btree_lookup_contig()
749 if (ptr2 != ptr + cnt || ++cnt == maxblocks) in nilfs_btree_lookup_contig()
764 ptr2 = nilfs_btree_node_get_ptr(p.node, p.index, p.ncmax); in nilfs_btree_lookup_contig()
770 ret = __nilfs_btree_get_block(btree, ptr2, &path[level].bp_bh, in nilfs_btree_lookup_contig()
/kernel/linux/linux-5.10/sound/isa/gus/
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()
/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
512 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback()
513 ptr2+= (ptr4 >> 3) * runtime->period_size; in snd_p16v_pcm_pointer_playback()
514 ptr=ptr2; in snd_p16v_pcm_pointer_playback()
528 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_p16v_pcm_pointer_capture() local
535 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
536 ptr=ptr2; 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
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()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c548 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() local
557 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
558 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva()
561 assert((ptr2 >> vm->page_shift) == ((ptr2 + 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/media/common/saa7146/
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()
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/
Drequest_manager.h86 __be64 ptr2; member
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()
/kernel/linux/linux-5.10/drivers/target/sbp/
Dsbp_target.h107 struct sbp2_pointer ptr2; member
Dsbp_target.c456 sbp2_pointer_to_addr(&req->orb.ptr2), response, in sbp_management_request_login()
1472 sbp2_pointer_to_addr(&req->orb.ptr2), in sbp_mgt_agent_process()
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
Dotx_cptvf_reqmgr.h134 __be64 ptr2; member
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()
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-ctrls.c1594 union v4l2_ctrl_ptr ptr2) 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/tools/perf/util/
Dprobe-event.c195 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
209 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
210 if (!isalnum(*ptr2) && *ptr2 != '_') { in convert_exec_to_group()
211 *ptr2 = '\0'; in convert_exec_to_group()
/kernel/linux/linux-5.10/include/media/
Dv4l2-ctrls.h133 union v4l2_ctrl_ptr ptr2);
/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
1054 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_capture()
1055 ptr=ptr2; in snd_ca0106_pcm_pointer_capture()
/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);

12