Home
last modified time | relevance | path

Searched refs:best (Results 1 – 3 of 3) sorted by relevance

/kernel/debug/kdb/
Dkdb_support.c748 struct debug_alloc_header *best, *bestprev, *prev, *h; in debug_kmalloc() local
760 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 …]
/kernel/time/
Dclocksource.c728 struct clocksource *best, *cs; in __clocksource_select() local
731 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()
732 if (!best) in __clocksource_select()
765 best = cs; in __clocksource_select()
770 if (curr_clocksource != best && !timekeeping_notify(best)) { in __clocksource_select()
771 pr_info("Switched to clocksource %s\n", best->name); in __clocksource_select()
772 curr_clocksource = best; in __clocksource_select()
/kernel/
Dmodule.c4064 unsigned int i, best = 0; in find_kallsyms_symbol() local
4074 bestval = kallsyms_symbol_value(&kallsyms->symtab[best]); in find_kallsyms_symbol()
4092 best = i; in find_kallsyms_symbol()
4099 if (!best) in find_kallsyms_symbol()
4107 return kallsyms_symbol_name(kallsyms, best); in find_kallsyms_symbol()