Searched refs:strset (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | strset.h | 10 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 D | strset.c | 10 #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 D | btf.c | 24 #include "strset.h" 115 struct strset *strs_set; 1435 struct strset *set = NULL; in btf_ensure_modifiable() 3140 struct strset *strs_set;
|
H A D | linker.c | 22 #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 D | Makefile | 7 ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o \
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | Makefile | 7 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 D | ethtool.py | 299 strset = dumpit(ynl, args, 'strset-get') 300 pprint.PrettyPrinter().pprint(strset)
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 164 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 D | hclgevf_main.c | 85 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 22 milliseconds