Home
last modified time | relevance | path

Searched refs:strset (Results 1 – 6 of 6) sorted by relevance

/third_party/libbpf/src/
Dstrset.c12 struct strset { struct
24 const struct strset *s = ctx; in strset_hash_fn() argument
32 const struct strset *s = ctx; in strset_equal_fn()
39 struct strset *strset__new(size_t max_data_sz, const char *init_data, size_t init_data_sz) in strset__new()
41 struct strset *set = calloc(1, sizeof(*set)); in strset__new()
84 void strset__free(struct strset *set) in strset__free()
94 size_t strset__data_size(const struct strset *set) in strset__data_size()
99 const char *strset__data(const struct strset *set) in strset__data()
104 static void *strset_add_str_mem(struct strset *set, size_t add_sz) in strset_add_str_mem()
116 int strset__find_str(struct strset *set, const char *s) in strset__find_str()
[all …]
Dstrset.h10 struct strset;
12 struct strset *strset__new(size_t max_data_sz, const char *init_data, size_t init_data_sz);
13 void strset__free(struct strset *set);
15 const char *strset__data(const struct strset *set);
16 size_t strset__data_size(const struct strset *set);
18 int strset__find_str(struct strset *set, const char *s);
19 int strset__add_str(struct strset *set, const char *s);
DMakefile54 btf_dump.o hashmap.o ringbuf.o strset.o linker.o gen_loader.o \
Dbtf.c130 struct strset *strs_set;
1548 struct strset *set = NULL;
3253 struct strset *strs_set;
Dlinker.c143 struct strset *strtab_strs; /* STRTAB unique strings */
/third_party/libbpf/
DBUILD.gn91 "./src/strset.c",
92 "./src/strset.h",