Searched refs:bpf_map__set_autocreate (Results 1 - 5 of 5) sorted by last modified time
/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 4743 int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate) function
|
H A D | libbpf.h | 942 * @brief **bpf_map__set_autocreate()** sets whether libbpf has to auto-create 948 * **bpf_map__set_autocreate()** allows to opt-out from libbpf auto-creating 960 LIBBPF_API int bpf_map__set_autocreate(struct bpf_map *map, bool autocreate);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 623 bpf_map__set_autocreate(map, !unpriv || is_unpriv_capable_map(map));
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | struct_ops_autocreate.c | 61 err = bpf_map__set_autocreate(skel->maps.testmod_2, false); 62 if (!ASSERT_OK(err, "bpf_map__set_autocreate")) 95 err = bpf_map__set_autocreate(skel->maps.testmod_1, false); 96 err |= bpf_map__set_autocreate(skel->maps.testmod_2, false); 97 err |= bpf_map__set_autocreate(skel->maps.optional_map2, true); 98 if (!ASSERT_OK(err, "bpf_map__set_autocreate"))
|
H A D | log_fixup.c | 114 bpf_map__set_autocreate(skel->maps.missing_map, false);
|
Completed in 158 milliseconds