Searched refs:prog_id (Results 1 – 4 of 4) sorted by relevance
/kernel/bpf/ |
D | prog_iter.c | 10 u32 prog_id; member 18 prog = bpf_prog_get_curr_or_next(&info->prog_id); in bpf_prog_seq_start() 32 ++info->prog_id; in bpf_prog_seq_next() 34 return bpf_prog_get_curr_or_next(&info->prog_id); in bpf_prog_seq_next()
|
D | arraymap.c | 885 u32 prog_id; in prog_array_map_seq_show_elem() local 894 prog_id = prog_fd_array_sys_lookup_elem(ptr); in prog_array_map_seq_show_elem() 896 &prog_id, m); in prog_array_map_seq_show_elem()
|
D | syscall.c | 3420 #define BPF_PROG_GET_FD_BY_ID_LAST_FIELD prog_id 3442 u32 id = attr->prog_id; in bpf_prog_get_fd_by_id() 3974 info.prog_id = link->prog->aux->id; in bpf_link_get_info_by_fd() 4052 u32 prog_id, u32 fd_type, in bpf_task_fd_query_copy() argument 4088 if (put_user(prog_id, &uattr->task_fd_query.prog_id) || in bpf_task_fd_query_copy() 4150 u32 prog_id, fd_type; in bpf_task_fd_query() local 4153 err = bpf_get_perf_event_info(event, &prog_id, &fd_type, in bpf_task_fd_query() 4157 err = bpf_task_fd_query_copy(attr, uattr, prog_id, in bpf_task_fd_query()
|
/kernel/trace/ |
D | bpf_trace.c | 1957 int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id, in bpf_get_perf_event_info() argument 1973 *prog_id = prog->aux->id; in bpf_get_perf_event_info()
|