Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/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.c10 #include "strset.h"
12 struct strset { struct
24 const struct strset *s = ctx; in strset_hash_fn()
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 *se
[all...]
H A Dbtf.c24 #include "strset.h"
115 struct strset *strs_set;
1435 struct strset *set = NULL; in btf_ensure_modifiable()
3140 struct strset *strs_set;
H A Dlinker.c22 #include "strset.h"
143 struct strset *strtab_strs; /* STRTAB unique strings */
336 /* initialize strset with an empty string to conform to ELF */ in init_output_elf()
/kernel/linux/linux-5.10/net/ethtool/
H A DMakefile7 ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o \
/kernel/linux/linux-6.6/net/ethtool/
H A DMakefile7 ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o rss.o \
/kernel/linux/linux-6.6/tools/net/ynl/
H A Dethtool.py299 strset = dumpit(ynl, args, 'strset-get')
300 pprint.PrettyPrinter().pprint(strset)
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c164 static int hclgevf_tqps_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_tqps_get_sset_count() argument
209 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() argument
211 if (strset == ETH_SS_TEST) in hclgevf_get_sset_count()
213 else if (strset == ETH_SS_STATS) in hclgevf_get_sset_count()
214 return hclgevf_tqps_get_sset_count(handle, strset); in hclgevf_get_sset_count()
219 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() argument
224 if (strset == ETH_SS_STATS) in hclgevf_get_strings()
/kernel/linux/linux-6.6/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()

Completed in 30 milliseconds