Searched refs:nobjs (Results 1 – 5 of 5) sorted by relevance
121 if (cache->nobjs >= min) in mmu_topup_memory_cache()123 while (cache->nobjs < max) { in mmu_topup_memory_cache()127 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()134 while (mc->nobjs) in mmu_free_memory_cache()135 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()142 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()143 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
90 int nobjs; member
85 int nobjs; member
670 if (cache->nobjs >= min) in mmu_topup_memory_cache()672 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()676 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()683 return cache->nobjs; in mmu_memory_cache_free_objects()689 while (mc->nobjs) in mmu_free_memory_cache()690 kmem_cache_free(cache, mc->objects[--mc->nobjs]); in mmu_free_memory_cache()698 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()700 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()704 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache_page()711 while (mc->nobjs) in mmu_free_memory_cache_page()[all …]
219 int nobjs; member