Lines Matching defs:old_ptr
895 void *new_ptr, *old_ptr;
911 old_ptr = xchg(array->ptrs + index, new_ptr);
912 map->ops->map_poke_run(map, index, old_ptr, new_ptr);
915 old_ptr = xchg(array->ptrs + index, new_ptr);
918 if (old_ptr)
919 map->ops->map_fd_put_ptr(map, old_ptr, true);
926 void *old_ptr;
934 old_ptr = xchg(array->ptrs + index, NULL);
935 map->ops->map_poke_run(map, index, old_ptr, NULL);
938 old_ptr = xchg(array->ptrs + index, NULL);
941 if (old_ptr) {
942 map->ops->map_fd_put_ptr(map, old_ptr, need_defer);