Searched refs:best (Results 1 – 3 of 3) sorted by relevance
748 struct debug_alloc_header *best, *bestprev, *prev, *h; in debug_kmalloc() local760 prev = best = bestprev = NULL; in debug_kmalloc()762 if (h->size >= size && (!best || h->size < best->size)) { in debug_kmalloc()763 best = h; in debug_kmalloc()773 if (!best) in debug_kmalloc()775 rem = best->size - size; in debug_kmalloc()777 if (best->next == 0 && bestprev == NULL && rem < dah_overhead) in debug_kmalloc()780 best->size = size; in debug_kmalloc()781 h_offset = ((char *)best - debug_alloc_pool) + in debug_kmalloc()782 dah_overhead + best->size; in debug_kmalloc()[all …]
583 struct clocksource *best, *cs; in __clocksource_select() local586 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()587 if (!best) in __clocksource_select()617 best = cs; in __clocksource_select()621 if (curr_clocksource != best && !timekeeping_notify(best)) { in __clocksource_select()622 pr_info("Switched to clocksource %s\n", best->name); in __clocksource_select()623 curr_clocksource = best; in __clocksource_select()
3871 unsigned int i, best = 0; in get_ksymbol() local3894 && kallsyms->symtab[i].st_value > kallsyms->symtab[best].st_value) in get_ksymbol()3895 best = i; in get_ksymbol()3901 if (!best) in get_ksymbol()3905 *size = nextval - kallsyms->symtab[best].st_value; in get_ksymbol()3907 *offset = addr - kallsyms->symtab[best].st_value; in get_ksymbol()3908 return symname(kallsyms, best); in get_ksymbol()