Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A 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);
H A 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 …]
H A DBuild3 btf_dump.o ringbuf.o strset.o linker.o gen_loader.o relo_core.o \
H A Dbtf.c115 struct strset *strs_set;
1435 struct strset *set = NULL; in btf_ensure_modifiable()
3140 struct strset *strs_set;
H A Dlinker.c143 struct strset *strtab_strs; /* STRTAB unique strings */
/openbmc/linux/net/ethtool/
H A DMakefile7 ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o rss.o \
/openbmc/linux/tools/net/ynl/
H A Dethtool.py299 strset = dumpit(ynl, args, 'strset-get')
300 pprint.PrettyPrinter().pprint(strset)
/openbmc/linux/Documentation/netlink/specs/
H A Dethtool.yaml108 name: strset
951 name: strset-get
954 attribute-set: strset
956 do: &strset-get-op
966 dump: *strset-get-op
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c85 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() argument
87 if (strset == ETH_SS_TEST) in hclgevf_get_sset_count()
89 else if (strset == ETH_SS_STATS) in hclgevf_get_sset_count()
95 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() argument
100 if (strset == ETH_SS_STATS) in hclgevf_get_strings()