Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Darraymap.c743 void *new_ptr, *old_ptr; in bpf_fd_array_map_update_elem() local
759 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
760 map->ops->map_poke_run(map, index, old_ptr, new_ptr); in bpf_fd_array_map_update_elem()
763 old_ptr = xchg(array->ptrs + index, new_ptr); in bpf_fd_array_map_update_elem()
766 if (old_ptr) in bpf_fd_array_map_update_elem()
767 map->ops->map_fd_put_ptr(old_ptr); in bpf_fd_array_map_update_elem()
774 void *old_ptr; in fd_array_map_delete_elem() local
782 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
783 map->ops->map_poke_run(map, index, old_ptr, NULL); in fd_array_map_delete_elem()
786 old_ptr = xchg(array->ptrs + index, NULL); in fd_array_map_delete_elem()
[all …]
/kernel/linux/linux-5.10/kernel/irq/
Dmanage.c1407 struct irqaction *old, **old_ptr; in __setup_irq() local
1513 old_ptr = &desc->action; in __setup_irq()
1514 old = *old_ptr; in __setup_irq()
1562 old_ptr = &old->next; in __setup_irq()
1563 old = *old_ptr; in __setup_irq()
1695 *old_ptr = new; in __setup_irq()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trace.h3444 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3445 TP_ARGS(mp, agno, bucket, old_ptr, new_ptr),
3450 __field(xfs_agino_t, old_ptr)
3457 __entry->old_ptr = old_ptr;
3464 __entry->old_ptr,
3470 xfs_agino_t old_ptr, xfs_agino_t new_ptr),
3471 TP_ARGS(mp, agno, agino, old_ptr, new_ptr),
3476 __field(xfs_agino_t, old_ptr)
3483 __entry->old_ptr = old_ptr;
3490 __entry->old_ptr,
Dxfs_log_recover.c2036 char *ptr, *old_ptr; in xlog_recover_add_to_cont_trans() local
2061 old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; in xlog_recover_add_to_cont_trans()
2064 ptr = kvrealloc(old_ptr, old_len, len + old_len, GFP_KERNEL); in xlog_recover_add_to_cont_trans()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dhmm-tests.c618 void *old_ptr; in TEST_F() local
644 old_ptr = buffer->ptr; in TEST_F()
661 buffer->ptr = old_ptr; in TEST_F()