Searched refs:hashmap__insert (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | hashmap.h | 50 * behind auxiliary macros, e.g. hashmap_insert <-> hashmap__insert; 123 * hashmap__insert() adds key/value entry w/ various semantics, depending on 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ macro 139 hashmap__insert((map), (key), (value), HASHMAP_ADD, NULL, NULL) 142 hashmap__insert((map), (key), (value), HASHMAP_SET, (old_key), (old_value)) 145 hashmap__insert((map), (key), (value), HASHMAP_UPDATE, (old_key), (old_value)) 148 hashmap__insert((map), (key), (value), HASHMAP_APPEND, NULL, NULL)
|
H A D | strset.c | 168 err = hashmap__insert(set->strs_hash, new_off, new_off,
|
/linux-master/tools/perf/util/ |
H A D | hashmap.h | 50 * behind auxiliary macros, e.g. hashmap_insert <-> hashmap__insert; 123 * hashmap__insert() adds key/value entry w/ various semantics, depending on 133 #define hashmap__insert(map, key, value, strategy, old_key, old_value) \ macro 139 hashmap__insert((map), (key), (value), HASHMAP_ADD, NULL, NULL) 142 hashmap__insert((map), (key), (value), HASHMAP_SET, (old_key), (old_value)) 145 hashmap__insert((map), (key), (value), HASHMAP_UPDATE, (old_key), (old_value)) 148 hashmap__insert((map), (key), (value), HASHMAP_APPEND, NULL, NULL)
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 275 err = hashmap__insert(map, "a", "apricot", HASHMAP_ADD, NULL, NULL); 276 if (CHECK(err, "hashmap__insert", "unexpected error: %d\n", err)) 279 err = hashmap__insert(map, "a", "apple", HASHMAP_SET, &old_key, &old_value); 280 if (CHECK(err, "hashmap__insert", "unexpected error: %d\n", err))
|
Completed in 128 milliseconds