Searched refs:old_ptr (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/fs/erofs/ |
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()
|
/linux-6.6.21/mm/kasan/ |
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()
|
/linux-6.6.21/tools/include/nolibc/ |
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()
|
/linux-6.6.21/kernel/bpf/ |
D | arraymap.c | 846 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local 862 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem() 863 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem() 866 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem() 869 if (old_ptr) in bpf_fd_array_map_update_elem() 870 map->ops->map_fd_put_ptr(map, old_ptr, true); in bpf_fd_array_map_update_elem() 877 void *old_ptr; in __fd_array_map_delete_elem() local 885 old_ptr = xchg(array->ptrs + index, NULL); in __fd_array_map_delete_elem() 886 map->ops->map_poke_run(map, index, old_ptr, NULL); in __fd_array_map_delete_elem() 889 old_ptr = xchg(array->ptrs + index, NULL); in __fd_array_map_delete_elem() [all …]
|
/linux-6.6.21/kernel/irq/ |
D | manage.c | 1507 struct irqaction *old, **old_ptr; in __setup_irq() local 1613 old_ptr = &desc->action; in __setup_irq() 1614 old = *old_ptr; in __setup_irq() 1662 old_ptr = &old->next; in __setup_irq() 1663 old = *old_ptr; in __setup_irq() 1800 *old_ptr = new; in __setup_irq()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_trace.h | 3777 xfs_agino_t old_ptr, xfs_agino_t new_ptr), 3778 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr), 3783 __field(xfs_agino_t, old_ptr) 3790 __entry->old_ptr = old_ptr; 3797 __entry->old_ptr, 3803 xfs_agino_t old_ptr, xfs_agino_t new_ptr), 3804 TP_ARGS(mp, agno, agino, old_ptr, new_ptr), 3809 __field(xfs_agino_t, old_ptr) 3816 __entry->old_ptr = old_ptr; 3823 __entry->old_ptr,
|
D | xfs_log_recover.c | 2056 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.6.21/tools/testing/selftests/mm/ |
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()
|