Searched refs:old_ptr (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/fs/erofs/ |
H A D | pcpubuf.c | 65 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()
|
/openbmc/linux/mm/kasan/ |
H A D | tags.c | 102 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()
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stdlib.h | 165 void *realloc(void *old_ptr, size_t new_size) in realloc() argument 171 if (!old_ptr) in realloc() 174 heap = container_of(old_ptr, struct nolibc_heap, user_p); in realloc() 182 return old_ptr; in realloc()
|
/openbmc/linux/kernel/bpf/ |
H A D | arraymap.c | 849 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local 865 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem() 869 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem() 872 if (old_ptr) in bpf_fd_array_map_update_elem() 873 map->ops->map_fd_put_ptr(map, old_ptr, true); in bpf_fd_array_map_update_elem() 880 void *old_ptr; in __fd_array_map_delete_elem() local 888 old_ptr = xchg(array->ptrs + index, NULL); in __fd_array_map_delete_elem() 889 map->ops->map_poke_run(map, index, old_ptr, NULL); in __fd_array_map_delete_elem() 892 old_ptr = xchg(array->ptrs + index, NULL); in __fd_array_map_delete_elem() 895 if (old_ptr) { in __fd_array_map_delete_elem() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | manage.c | 1511 struct irqaction *old, **old_ptr; in __setup_irq() local 1617 old_ptr = &desc->action; in __setup_irq() 1618 old = *old_ptr; in __setup_irq() 1666 old_ptr = &old->next; in __setup_irq() 1667 old = *old_ptr; in __setup_irq() 1804 *old_ptr = new; in __setup_irq()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_trace.h | 3772 xfs_agino_t old_ptr, xfs_agino_t new_ptr), 3773 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr), 3778 __field(xfs_agino_t, old_ptr) 3785 __entry->old_ptr = old_ptr; 3792 __entry->old_ptr, 3798 xfs_agino_t old_ptr, xfs_agino_t new_ptr), 3799 TP_ARGS(mp, agno, agino, old_ptr, new_ptr), 3804 __field(xfs_agino_t, old_ptr) 3811 __entry->old_ptr = old_ptr; 3818 __entry->old_ptr,
|
H A D | xfs_log_recover.c | 2073 char *ptr, *old_ptr; in xlog_recover_add_to_cont_trans() local 2098 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; in xlog_recover_add_to_cont_trans() 2101 ptr = kvrealloc(old_ptr, old_len, len + old_len, GFP_KERNEL); in xlog_recover_add_to_cont_trans()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 690 void *old_ptr; in TEST_F() local 716 old_ptr = buffer->ptr; in TEST_F() 733 buffer->ptr = old_ptr; in TEST_F()
|