Searched refs:nr_map_ids (Results 1 – 10 of 10) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | metadata.c | 37 map_ids = calloc(prog_info.nr_map_ids, sizeof(__u32)); in prog_holds_map() 41 nr_maps = prog_info.nr_map_ids; in prog_holds_map() 43 prog_info.nr_map_ids = nr_maps; in prog_holds_map() 54 for (i = 0; i < prog_info.nr_map_ids; i++) { in prog_holds_map()
|
H A D | bpf_obj_id.c | 105 prog_infos[i].nr_map_ids = 2; in serial_test_bpf_obj_id() 131 !ASSERT_EQ(prog_infos[i].nr_map_ids, 1, "nr_map_ids") || in serial_test_bpf_obj_id() 181 prog_info.nr_map_ids = 1; in serial_test_bpf_obj_id() 191 prog_info.nr_map_ids = 2; in serial_test_bpf_obj_id()
|
H A D | tp_attach_query.c | 51 prog_info.nr_map_ids = 0; in serial_test_tp_attach_query()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 291 .nr_map_ids = 8, in syncookie_open_bpf_maps() 303 if (prog_info.nr_map_ids < 2) { in syncookie_open_bpf_maps() 305 prog_info.nr_map_ids); in syncookie_open_bpf_maps() 310 for (i = 0; i < prog_info.nr_map_ids; i++) { in syncookie_open_bpf_maps()
|
H A D | test_tcp_check_syncookie_user.c |
|
/linux/tools/bpf/bpftool/ |
H A D | prog.c | 198 info.nr_map_ids = num_maps; in show_prog_maps() 202 if (err || !info.nr_map_ids) in show_prog_maps() 208 for (i = 0; i < info.nr_map_ids; i++) in show_prog_maps() 213 for (i = 0; i < info.nr_map_ids; i++) in show_prog_maps() 215 i == info.nr_map_ids - 1 ? "" : ","); in show_prog_maps() 238 if (!prog_info.nr_map_ids) in find_metadata() 241 map_ids = calloc(prog_info.nr_map_ids, sizeof(__u32)); in find_metadata() 245 nr_maps = prog_info.nr_map_ids; in find_metadata() 247 prog_info.nr_map_ids = nr_maps; in find_metadata() 255 for (i = 0; i < prog_info.nr_map_ids; in find_metadata() [all...] |
/linux/tools/perf/util/ |
H A D | bpf-utils.c | 36 offsetof(struct bpf_prog_info, nr_map_ids),
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 6561 __u32 nr_map_ids; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6561 __u32 nr_map_ids; member
|
/linux/kernel/bpf/ |
H A D | syscall.c | 4705 ulen = info.nr_map_ids; in bpf_prog_get_info_by_fd() 4706 info.nr_map_ids = prog->aux->used_map_cnt; in bpf_prog_get_info_by_fd() 4707 ulen = min_t(u32, info.nr_map_ids, ulen); in bpf_prog_get_info_by_fd()
|