Home
last modified time | relevance | path

Searched refs:coll (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/
H A Dbuiltin-bench.c143 #define for_each_collection(coll) \ argument
144 for (coll = collections; coll->name; coll++)
147 #define for_each_bench(coll, bench) \ argument
148 for (bench = coll->benchmarks; bench && bench->name; bench++)
150 static void dump_benchmarks(const struct collection *coll) in dump_benchmarks() argument
154 printf("\n # List of available benchmarks for collection '%s':\n\n", coll->name); in dump_benchmarks()
156 for_each_bench(coll, bench) in dump_benchmarks()
181 const struct collection *coll; in print_usage() local
237 run_collection(struct collection * coll) run_collection() argument
263 struct collection *coll; run_all_collections() local
271 struct collection *coll; cmd_bench() local
[all...]
/linux/net/wireless/
H A Dreg.c701 struct fwdb_collection *coll = (void *)(data + ptr); in valid_country() local
706 if ((u8 *)coll + offsetofend(typeof(*coll), n_rules) > data + size) in valid_country()
710 if ((u8 *)coll + ALIGN(coll->len, 2) + in valid_country()
711 (coll->n_rules * 2) > data + size) in valid_country()
715 if (coll->len < offsetofend(struct fwdb_collection, dfs_region)) in valid_country()
718 rules_ptr = (void *)((u8 *)coll + ALIGN(coll->len, 2)); in valid_country()
720 for (i = 0; i < coll->n_rules; i++) { in valid_country()
872 struct fwdb_collection *coll = (void *)((u8 *)db + ptr); in __regdb_query_wmm() local
875 for (i = 0; i < coll->n_rules; i++) { in __regdb_query_wmm()
876 __be16 *rules_ptr = (void *)((u8 *)coll + ALIGN(coll->len, 2)); in __regdb_query_wmm()
[all …]