Searched refs:nr_map_ids (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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()
|
D | bpf_obj_id.c | 114 prog_infos[i].nr_map_ids = 2; in serial_test_bpf_obj_id() 135 prog_infos[i].nr_map_ids != 1 || in serial_test_bpf_obj_id() 154 prog_infos[i].nr_map_ids, 1, in serial_test_bpf_obj_id() 219 prog_info.nr_map_ids = 1; in serial_test_bpf_obj_id() 230 prog_info.nr_map_ids = 2; in serial_test_bpf_obj_id()
|
D | tp_attach_query.c | 51 prog_info.nr_map_ids = 0; in serial_test_tp_attach_query()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
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()
|
D | test_skb_cgroup_id_user.c | 93 info.nr_map_ids = 1; in get_map_fd_by_prog_id() 101 if (!info.nr_map_ids) { in get_map_fd_by_prog_id()
|
D | test_tcp_check_syncookie_user.c | 96 info.nr_map_ids = 1; in get_map_fd_by_prog_id() 104 if (!info.nr_map_ids) { in get_map_fd_by_prog_id()
|
/Linux-v6.6/tools/bpf/bpftool/ |
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; i++) { in find_metadata() [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | bpf-utils.c | 36 offsetof(struct bpf_prog_info, nr_map_ids),
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 6406 __u32 nr_map_ids; member
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 6406 __u32 nr_map_ids; member
|
/Linux-v6.6/kernel/bpf/ |
D | syscall.c | 4302 ulen = info.nr_map_ids; in bpf_prog_get_info_by_fd() 4303 info.nr_map_ids = prog->aux->used_map_cnt; in bpf_prog_get_info_by_fd() 4304 ulen = min_t(u32, info.nr_map_ids, ulen); in bpf_prog_get_info_by_fd()
|