Lines Matching refs:prog_info
18 struct bpf_prog_info prog_info = {}; in prog_holds_map() local
32 prog_info_len = sizeof(prog_info); in prog_holds_map()
33 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
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()
42 memset(&prog_info, 0, sizeof(prog_info)); in prog_holds_map()
43 prog_info.nr_map_ids = nr_maps; in prog_holds_map()
44 prog_info.map_ids = ptr_to_u64(map_ids); in prog_holds_map()
45 prog_info_len = sizeof(prog_info); in prog_holds_map()
47 ret = bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len); in prog_holds_map()
54 for (i = 0; i < prog_info.nr_map_ids; i++) { in prog_holds_map()