Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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-6.3-rc2/mm/kasan/
A Dkasan_test.c366 kfree(ptr2); in krealloc_more_oob_helper()
410 kfree(ptr2); in krealloc_less_oob_helper()
464 } *ptr1, *ptr2; in kmalloc_oob_16() local
474 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_oob_16()
481 kfree(ptr2); in kmalloc_oob_16()
488 } *ptr1, *ptr2; in kmalloc_uaf_16() local
495 ptr2 = kmalloc(sizeof(*ptr2), GFP_KERNEL); in kmalloc_uaf_16()
497 kfree(ptr2); in kmalloc_uaf_16()
683 kfree(ptr2); in kmalloc_uaf2()
690 kfree(ptr2); in kmalloc_uaf2()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Ddynptr_fail.c93 struct bpf_dynptr ptr1, ptr2; in ringbuf_missing_release2() local
102 bpf_ringbuf_discard_dynptr(&ptr2, 0); in ringbuf_missing_release2()
304 struct bpf_dynptr ptr1, ptr2; in data_slice_use_after_release2() local
316 bpf_ringbuf_submit_dynptr(&ptr2, 0); in data_slice_use_after_release2()
554 struct bpf_dynptr ptr1, ptr2; in invalid_read3() local
966 struct bpf_dynptr ptr2; in dynptr_invalidate_slice_failure() local
971 if (get_map_val_dynptr(&ptr2)) in dynptr_invalidate_slice_failure()
977 p2 = bpf_dynptr_data(&ptr2, 0, 1); in dynptr_invalidate_slice_failure()
994 struct bpf_dynptr ptr2; in dynptr_invalidate_slice_success() local
999 if (get_map_val_dynptr(&ptr2)) in dynptr_invalidate_slice_success()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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.h144 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
149 raw_cpu_ptr(&(ptr2)), \
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_rpc.c36 u32 ptr2; in vpu_rpc_check_buffer_space() local
42 ptr2 = desc->rptr; in vpu_rpc_check_buffer_space()
45 ptr2 = desc->wptr; 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.3-rc2/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.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()
763 ptr2 = nilfs_btree_node_get_ptr(p.node, p.index, p.ncmax); in nilfs_btree_lookup_contig()
769 ret = __nilfs_btree_get_block(btree, ptr2, &path[level].bp_bh, in nilfs_btree_lookup_contig()
/linux-6.3-rc2/sound/isa/gus/
A Dgus_mem.c136 unsigned int ptr1, ptr2; in snd_gf1_mem_find() local
152 ptr2 = boundary; in snd_gf1_mem_find()
157 ptr2 = pblock->next->ptr; in snd_gf1_mem_find()
160 if (ptr1 >= ptr2) in snd_gf1_mem_find()
162 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
/linux-6.3-rc2/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-6.3-rc2/lib/
A Dhexdump.c179 const u16 *ptr2 = buf; in hex_dump_to_buffer() local
184 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/testing/selftests/kvm/lib/
A Dkvm_util.c768 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() local
777 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
778 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva()
781 assert((ptr2 >> vm->page_shift) == ((ptr2 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva()
788 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
/linux-6.3-rc2/include/media/
A 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.3-rc2/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-6.3-rc2/drivers/target/sbp/
A Dsbp_target.h107 struct sbp2_pointer ptr2; member
/linux-6.3-rc2/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-6.3-rc2/tools/perf/util/
A Dprobe-event.c197 char *ptr1, *ptr2, *exec_copy; in convert_exec_to_group() local
211 for (ptr2 = ptr1; *ptr2 != '\0'; ptr2++) { in convert_exec_to_group()
212 if (!isalnum(*ptr2) && *ptr2 != '_') { in convert_exec_to_group()
213 *ptr2 = '\0'; in convert_exec_to_group()
/linux-6.3-rc2/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()

Completed in 67 milliseconds

12