Lines Matching refs:pct

166 	uint8_t pct;  member
433 lp->pct += np->pct; in merge_name_list()
435 } else if (np->pct > lp->pct) { in merge_name_list()
436 lp->pct = np->pct; in merge_name_list()
488 alloc_name_list(char *name, uint8_t pct) in alloc_name_list() argument
494 nlp->pct = pct; in alloc_name_list()
495 nlp->max_pct = pct; in alloc_name_list()
703 get_serial_no(nvlist_t *nvl, name_list_t **serial_p, uint8_t pct) in get_serial_no() argument
720 nlp = alloc_name_list(buf, pct); in get_serial_no()
726 nlp = alloc_name_list(lserial[0], pct); in get_serial_no()
729 n1lp = alloc_name_list(lserial[j], pct); in get_serial_no()
737 nlp = alloc_name_list(serial, pct); in get_serial_no()
960 print_name(name_list_t *list, char *padding, int *np, int pct, int full) in print_name() argument
972 if (list->pct && pct > 0 && pct < 100) { in print_name()
984 (void) printf(" %d%%\n", list->pct); in print_name()
1075 int limit, int pct, void (func1)(int, char *), int full) in print_name_list() argument
1093 if (list->pct && pct > 0 && pct < 100) { in print_name_list()
1103 (void) printf(" %d%%\n", list->pct); in print_name_list()
1114 print_name(list, padding, &n, pct, full); in print_name_list()
1121 print_name(list->prev, padding, &n, pct, full); in print_name_list()
1231 dgettext("FMD", "Fault class :"), 0, srp->class->pct, in print_sup_record()
1265 srp->fru->pct == 100 ? 100 : srp->fru->max_pct, in print_sup_record()
1271 srp->fru->pct == 100 ? 100 : srp->fru->max_pct, in print_sup_record()
1378 if (fru->pct == 100) { in print_fru_line()