Lines Matching refs:printk_map
667 struct printk_map { struct
680 const struct printk_map *pa = a; in printk_cmp() argument
681 const struct printk_map *pb = b; in printk_cmp()
695 struct printk_map *printk_map; in printk_map_init() local
698 printk_map = malloc(sizeof(*printk_map) * (tep->printk_count + 1)); in printk_map_init()
699 if (!printk_map) in printk_map_init()
706 printk_map[i].printk = printklist->printk; in printk_map_init()
707 printk_map[i].addr = printklist->addr; in printk_map_init()
714 qsort(printk_map, tep->printk_count, sizeof(*printk_map), printk_cmp); in printk_map_init()
716 tep->printk_map = printk_map; in printk_map_init()
722 static struct printk_map *
725 struct printk_map *printk; in find_printk()
726 struct printk_map key; in find_printk()
728 if (!tep->printk_map && printk_map_init(tep)) in find_printk()
733 printk = bsearch(&key, tep->printk_map, tep->printk_count, in find_printk()
734 sizeof(*tep->printk_map), printk_cmp); in find_printk()
796 if (!tep->printk_map) in tep_print_printk()
801 tep->printk_map[i].addr, in tep_print_printk()
802 tep->printk_map[i].printk); in tep_print_printk()
3979 struct printk_map *printk; in print_str_arg()
4518 struct printk_map *printk; in get_bprint_format()
7570 if (tep->printk_map) { in tep_free()
7572 free(tep->printk_map[i].printk); in tep_free()
7573 free(tep->printk_map); in tep_free()