Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/erofs/
A 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.3-rc2/mm/kasan/
A 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.3-rc2/tools/include/nolibc/
A Dstdlib.h173 void *realloc(void *old_ptr, size_t new_size) in realloc() argument
179 if (!old_ptr) in realloc()
182 heap = container_of(old_ptr, struct nolibc_heap, user_p); in realloc()
190 return old_ptr; in realloc()
/linux-6.3-rc2/kernel/bpf/
A Darraymap.c822 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
838 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
842 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
845 if (old_ptr) in bpf_fd_array_map_update_elem()
846 map->ops->map_fd_put_ptr(old_ptr); in bpf_fd_array_map_update_elem()
853 void *old_ptr; in fd_array_map_delete_elem() local
861 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
862 map->ops->map_poke_run(map, index, old_ptr, NULL); in fd_array_map_delete_elem()
865 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
868 if (old_ptr) { in fd_array_map_delete_elem()
[all …]
/linux-6.3-rc2/kernel/irq/
A Dmanage.c1502 struct irqaction *old, **old_ptr; in __setup_irq() local
1608 old_ptr = &desc->action; in __setup_irq()
1609 old = *old_ptr; in __setup_irq()
1657 old_ptr = &old->next; in __setup_irq()
1658 old = *old_ptr; in __setup_irq()
1795 *old_ptr = new; in __setup_irq()
/linux-6.3-rc2/fs/xfs/
A Dxfs_trace.h3711 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3712 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3717 __field(xfs_agino_t, old_ptr)
3724 __entry->old_ptr = old_ptr;
3731 __entry->old_ptr,
3737 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3738 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3743 __field(xfs_agino_t, old_ptr)
3750 __entry->old_ptr = old_ptr;
3757 __entry->old_ptr,
A 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.3-rc2/tools/testing/selftests/mm/
A 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()

Completed in 30 milliseconds