Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/fs/erofs/
Dpcpubuf.c65 void *ptr, *old_ptr; in erofs_pcpubuf_growsize() local
88 old_ptr = pcb->ptr; in erofs_pcpubuf_growsize()
97 DBG_BUGON(old_ptr); in erofs_pcpubuf_growsize()
101 if (old_ptr) in erofs_pcpubuf_growsize()
102 vunmap(old_ptr); in erofs_pcpubuf_growsize()
/linux-6.1.9/mm/kasan/
Dtags.c102 void *old_ptr; in save_stack_info() local
117 old_ptr = READ_ONCE(entry->ptr); in save_stack_info()
118 if (old_ptr == STACK_RING_BUSY_PTR) in save_stack_info()
120 if (!try_cmpxchg(&entry->ptr, &old_ptr, STACK_RING_BUSY_PTR)) in save_stack_info()
/linux-6.1.9/tools/include/nolibc/
Dstdlib.h146 void *realloc(void *old_ptr, size_t new_size) in realloc() argument
152 if (!old_ptr) in realloc()
155 heap = container_of(old_ptr, struct nolibc_heap, user_p); in realloc()
163 return old_ptr; in realloc()
/linux-6.1.9/arch/riscv/errata/thead/
Derrata.c82 memcpy((void *)__pa_symbol(alt->old_ptr), in thead_errata_patch_func()
85 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in thead_errata_patch_func()
/linux-6.1.9/kernel/bpf/
Darraymap.c831 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
847 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
848 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem()
851 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
854 if (old_ptr) in bpf_fd_array_map_update_elem()
855 map->ops->map_fd_put_ptr(old_ptr); in bpf_fd_array_map_update_elem()
862 void *old_ptr; in fd_array_map_delete_elem() local
870 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
871 map->ops->map_poke_run(map, index, old_ptr, NULL); in fd_array_map_delete_elem()
874 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
[all …]
Dsyscall.c595 unsigned long old_ptr; in bpf_map_free_kptrs() local
604 old_ptr = xchg(btf_id_ptr, 0); in bpf_map_free_kptrs()
605 off_desc->kptr.dtor((void *)old_ptr); in bpf_map_free_kptrs()
/linux-6.1.9/arch/riscv/include/asm/
Dalternative.h31 void *old_ptr; /* address of original instruciton or data */ member
/linux-6.1.9/arch/riscv/errata/sifive/
Derrata.c110 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in sifive_errata_patch_func()
/linux-6.1.9/arch/riscv/kernel/
Dcpufeature.c320 patch_text_nosync(alt->old_ptr, alt->alt_ptr, alt->alt_len); in riscv_cpufeature_patch_func()
/linux-6.1.9/kernel/irq/
Dmanage.c1499 struct irqaction *old, **old_ptr; in __setup_irq() local
1605 old_ptr = &desc->action; in __setup_irq()
1606 old = *old_ptr; in __setup_irq()
1654 old_ptr = &old->next; in __setup_irq()
1655 old = *old_ptr; in __setup_irq()
1792 *old_ptr = new; in __setup_irq()
/linux-6.1.9/fs/xfs/
Dxfs_trace.h3631 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3632 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3637 __field(xfs_agino_t, old_ptr)
3644 __entry->old_ptr = old_ptr;
3651 __entry->old_ptr,
3657 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3658 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3663 __field(xfs_agino_t, old_ptr)
3670 __entry->old_ptr = old_ptr;
3677 __entry->old_ptr,
Dxfs_log_recover.c2056 char *ptr, *old_ptr; in xlog_recover_add_to_cont_trans() local
2081 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; in xlog_recover_add_to_cont_trans()
2084 ptr = kvrealloc(old_ptr, old_len, len + old_len, GFP_KERNEL); in xlog_recover_add_to_cont_trans()
/linux-6.1.9/tools/testing/selftests/vm/
Dhmm-tests.c685 void *old_ptr; in TEST_F() local
711 old_ptr = buffer->ptr; in TEST_F()
728 buffer->ptr = old_ptr; in TEST_F()