Searched refs:HASHMAP_ADD (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | hashmap.h | 86 * - HASHMAP_ADD - only add key/value if key doesn't exist yet; 99 HASHMAP_ADD, enumerator 119 return hashmap__insert(map, key, value, HASHMAP_ADD, NULL, NULL); in hashmap__add()
|
H A D | hashmap.c | 179 } else if (strategy == HASHMAP_ADD) { in hashmap__insert()
|
H A D | btf.c | 1543 * contents doesn't exist already (HASHMAP_ADD strategy). If such in btf__add_str() 1547 HASHMAP_ADD, (const void **)&old_off, NULL); in btf__add_str()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | hashmap.h | 86 * - HASHMAP_ADD - only add key/value if key doesn't exist yet; 99 HASHMAP_ADD, enumerator 119 return hashmap__insert(map, key, value, HASHMAP_ADD, NULL, NULL); in hashmap__add()
|
H A D | hashmap.c | 179 } else if (strategy == HASHMAP_ADD) { in hashmap__insert()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | hashmap.h | 96 * - HASHMAP_ADD - only add key/value if key doesn't exist yet; 109 HASHMAP_ADD, enumerator 139 hashmap__insert((map), (key), (value), HASHMAP_ADD, NULL, NULL)
|
H A D | strset.c | 165 * contents doesn't exist already (HASHMAP_ADD strategy). If such in strset__add_str() 169 HASHMAP_ADD, &old_off, NULL); in strset__add_str()
|
H A D | hashmap.c | 179 } else if (strategy == HASHMAP_ADD) { in hashmap_insert()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hashmap.h | 96 * - HASHMAP_ADD - only add key/value if key doesn't exist yet; 109 HASHMAP_ADD, enumerator 139 hashmap__insert((map), (key), (value), HASHMAP_ADD, NULL, NULL)
|
H A D | hashmap.c | 179 } else if (strategy == HASHMAP_ADD) { in hashmap_insert()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 275 err = hashmap__insert(map, "a", "apricot", HASHMAP_ADD, NULL, NULL); in test_hashmap_ptr_iface()
|
Completed in 10 milliseconds