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 …]
552 struct clocksource *best, *cs; in __clocksource_select() local555 best = clocksource_find_best(oneshot, skipcur); in __clocksource_select()556 if (!best) in __clocksource_select()578 best = cs; in __clocksource_select()582 if (curr_clocksource != best && !timekeeping_notify(best)) { in __clocksource_select()583 pr_info("Switched to clocksource %s\n", best->name); in __clocksource_select()584 curr_clocksource = best; in __clocksource_select()
3438 unsigned int i, best = 0; in get_ksymbol() local3461 && kallsyms->symtab[i].st_value > kallsyms->symtab[best].st_value) in get_ksymbol()3462 best = i; in get_ksymbol()3468 if (!best) in get_ksymbol()3472 *size = nextval - kallsyms->symtab[best].st_value; in get_ksymbol()3474 *offset = addr - kallsyms->symtab[best].st_value; in get_ksymbol()3475 return symname(kallsyms, best); in get_ksymbol()