Lines Matching refs:leafs
59 * then the leafs[0] is the main leaf
61 struct subleaf *leafs;
66 /* array of main leafs */
68 /* number of valid leafs */
155 if (!func->leafs) {
156 func->leafs = malloc(sizeof(struct subleaf));
157 if (!func->leafs)
163 func->leafs = realloc(func->leafs, (s + 1) * sizeof(*leaf));
164 if (!func->leafs)
165 perror("realloc f->leafs");
170 leaf = &func->leafs[s];
203 leaf_print_raw(&func->leafs[i]);
358 leaf = &func->leafs[sub];
397 /* Parse csv file, and construct the array of all leafs and subleafs */
506 show_leaf(&func->leafs[i]);
554 show_leaf(&func->leafs[user_sub]);
582 /* Setup leafs for the basic and extended range */
659 * 2. Parse the csv file, while skipping leafs which are not available
661 * 3. Print leafs info based on user options
668 /* Setup the cpuid leafs of current platform */