Searched refs:inner_fd (Results 1 – 2 of 2) sorted by relevance
164 int zero = 0, ret = 0, outer_fd = -1, inner_fd = -1, err; in update_outer_map() local183 inner_fd = bpf_sys_bpf(BPF_MAP_CREATE, attr, attr_sz); in update_outer_map()184 if (inner_fd < 0) in update_outer_map()190 attr->value = ptr_to_u64(&inner_fd); in update_outer_map()203 if (inner_fd >= 0) in update_outer_map()204 bpf_sys_close(inner_fd); in update_outer_map()
97 int create_outer_array(int inner_fd) {98 LIBBPF_OPTS(bpf_map_create_opts, opts, .inner_map_fd = inner_fd);