Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
/linux-6.1.9/mm/kasan/
Dkasan_test.c286 char *ptr1, *ptr2; in krealloc_more_oob_helper() local
295 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
296 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, ptr2); in krealloc_more_oob_helper()
299 OPTIMIZER_HIDE_VAR(ptr2); in krealloc_more_oob_helper()
302 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper()
303 ptr2[size1] = 'x'; in krealloc_more_oob_helper()
304 ptr2[middle] = 'x'; in krealloc_more_oob_helper()
305 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
309 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper()
313 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); in krealloc_more_oob_helper()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c83 struct bpf_dynptr ptr1, ptr2; in ringbuf_missing_release2() local
87 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(*sample), 0, &ptr2); in ringbuf_missing_release2()
92 bpf_ringbuf_discard_dynptr(&ptr2, 0); in ringbuf_missing_release2()
284 struct bpf_dynptr ptr1, ptr2; in data_slice_use_after_release2() local
288 bpf_ringbuf_reserve_dynptr(&ringbuf, sizeof(*sample), 0, &ptr2); in data_slice_use_after_release2()
290 sample = bpf_dynptr_data(&ptr2, 0, sizeof(*sample)); in data_slice_use_after_release2()
296 bpf_ringbuf_submit_dynptr(&ptr2, 0); in data_slice_use_after_release2()
306 bpf_ringbuf_discard_dynptr(&ptr2, 0); in data_slice_use_after_release2()
521 struct bpf_dynptr ptr1, ptr2; in invalid_read3() local
524 bpf_ringbuf_reserve_dynptr(&ringbuf, 16, 0, &ptr2); in invalid_read3()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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.h144 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \ argument
149 raw_cpu_ptr(&(ptr2)), \
/linux-6.1.9/drivers/media/platform/amphion/
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.1.9/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()
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.1.9/sound/isa/gus/
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.1.9/sound/pci/emu10k1/
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()
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.1.9/lib/
Dhexdump.c179 const u16 *ptr2 = buf; in hex_dump_to_buffer() local
184 get_unaligned(ptr2 + j)); in hex_dump_to_buffer()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
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.1.9/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()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c683 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() local
692 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva()
693 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva()
696 assert((ptr2 >> vm->page_shift) == ((ptr2 + 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.h156 __be64 ptr2; member
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.1.9/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()
/linux-6.1.9/drivers/target/sbp/
Dsbp_target.h107 struct sbp2_pointer ptr2; member
/linux-6.1.9/tools/perf/util/
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.1.9/sound/pci/ca0106/
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()

12