Searched refs:outer_fd (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 164 int zero = 0, ret = 0, outer_fd = -1, inner_fd = -1, err; in update_outer_map() local 174 outer_fd = bpf_sys_bpf(BPF_MAP_GET_FD_BY_ID, attr, attr_sz); in update_outer_map() 175 if (outer_fd < 0) in update_outer_map() 188 attr->map_fd = outer_fd; in update_outer_map() 196 attr->map_fd = outer_fd; in update_outer_map() 205 if (outer_fd >= 0) in update_outer_map() 206 bpf_sys_close(outer_fd); in update_outer_map()
|
/linux/Documentation/bpf/ |
H A D | map_of_maps.rst | 115 int add_devmap(int outer_fd, int index, const char *name) { 123 return bpf_map_update_elem(outer_fd, &index, &fd, BPF_ANY);
|
/linux/samples/bpf/ |
H A D | map_perf_test_user.c | 134 int outer_fd = map_fd[array_of_lru_hashs_idx]; in do_test_lru() local 158 ret = bpf_map_update_elem(outer_fd, &cpu, in do_test_lru()
|