Searched refs:old_ptr (Results 1 – 2 of 2) sorted by relevance
/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 …]
|
/kernel/irq/ |
D | manage.c | 1512 struct irqaction *old, **old_ptr; in __setup_irq() local 1618 old_ptr = &desc->action; in __setup_irq() 1619 old = *old_ptr; in __setup_irq() 1667 old_ptr = &old->next; in __setup_irq() 1668 old = *old_ptr; in __setup_irq() 1805 *old_ptr = new; in __setup_irq()
|