Searched refs:nobjs (Results 1 – 7 of 7) sorted by relevance
34 if (cache->nobjs >= min) in mmu_topup_memory_cache()36 while (cache->nobjs < max) { in mmu_topup_memory_cache()40 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()47 while (mc->nobjs) in mmu_free_memory_cache()48 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()55 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()56 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
125 if (cache->nobjs >= min) in mmu_topup_memory_cache()127 while (cache->nobjs < max) { in mmu_topup_memory_cache()131 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache()138 while (mc->nobjs) in mmu_free_memory_cache()139 free_page((unsigned long)mc->objects[--mc->nobjs]); in mmu_free_memory_cache()146 BUG_ON(!mc || !mc->nobjs); in mmu_memory_cache_alloc()147 p = mc->objects[--mc->nobjs]; in mmu_memory_cache_alloc()
93 int nobjs; member
930 if (cache->nobjs >= min) in mmu_topup_memory_cache()932 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache()936 cache->objects[cache->nobjs++] = obj; in mmu_topup_memory_cache()943 return cache->nobjs; in mmu_memory_cache_free_objects()949 while (mc->nobjs) in mmu_free_memory_cache()950 kmem_cache_free(cache, mc->objects[--mc->nobjs]); in mmu_free_memory_cache()958 if (cache->nobjs >= min) in mmu_topup_memory_cache_page()960 while (cache->nobjs < ARRAY_SIZE(cache->objects)) { in mmu_topup_memory_cache_page()964 cache->objects[cache->nobjs++] = page; in mmu_topup_memory_cache_page()971 while (mc->nobjs) in mmu_free_memory_cache_page()[all …]
90 int nobjs; member
303 int nobjs; member
237 int nobjs; member