Home
last modified time | relevance | path

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

/lib/
Dsbitmap.c83 unsigned int hint, bool wrap) in __sbitmap_get_word() argument
85 unsigned int orig_hint = hint; in __sbitmap_get_word()
89 nr = find_next_zero_bit(word, depth, hint); in __sbitmap_get_word()
96 if (orig_hint && hint && wrap) { in __sbitmap_get_word()
97 hint = orig_hint = 0; in __sbitmap_get_word()
106 hint = nr + 1; in __sbitmap_get_word()
107 if (hint >= depth - 1) in __sbitmap_get_word()
108 hint = 0; in __sbitmap_get_word()
351 unsigned int hint, depth; in __sbitmap_queue_get() local
354 hint = this_cpu_read(*sbq->alloc_hint); in __sbitmap_queue_get()
[all …]
Diommu-common.c84 iommu->pools[i].hint = start; in iommu_tbl_pool_init()
93 p->hint = p->start; in iommu_tbl_pool_init()
141 start = pool->hint; in iommu_tbl_range_alloc()
191 pool->hint = pool->start; in iommu_tbl_range_alloc()
200 pool->hint = pool->start; in iommu_tbl_range_alloc()
211 (n < pool->hint || need_flush(iommu))) { in iommu_tbl_range_alloc()
217 pool->hint = end; in iommu_tbl_range_alloc()
Ddebugobjects.c284 void *hint = descr->debug_hint ? in debug_print_object() local
290 descr->name, hint); in debug_print_object()