Searched refs:mim_fd (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage.c | 118 int i, fd, mim_fd, err; in __setup() local 139 mim_fd = bpf_map__fd(ctx.array_of_maps); in __setup() 140 if (mim_fd < 0) { in __setup() 160 err = bpf_map_update_elem(mim_fd, &i, &fd, 0); in __setup()
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_maps.c | 1156 int mim_fd, fd, err; in test_map_in_map() local 1200 mim_fd = bpf_map__fd(map); in test_map_in_map() 1201 if (mim_fd < 0) { in test_map_in_map() 1206 err = bpf_map_update_elem(mim_fd, &pos, &fd, 0); in test_map_in_map() 1217 mim_fd = bpf_map__fd(map); in test_map_in_map() 1218 if (mim_fd < 0) { in test_map_in_map() 1223 err = bpf_map_update_elem(mim_fd, &pos, &fd, 0); in test_map_in_map()
|