Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dslab_def.h36 unsigned int freelist_size; member
/openbmc/linux/mm/
H A Dslab.c1666 size_t freelist_size; in calculate_slab_order() local
1669 freelist_size = num * sizeof(freelist_idx_t); in calculate_slab_order()
1670 if (freelist_size > KMALLOC_MAX_CACHE_SIZE) { in calculate_slab_order()
1671 freelist_cache_size = PAGE_SIZE << get_order(freelist_size); in calculate_slab_order()
1673 freelist_cache = kmalloc_slab(freelist_size, 0u, _RET_IP_); in calculate_slab_order()
2035 cachep->freelist_size = cachep->num * sizeof(freelist_idx_t); in __kmem_cache_create()
2287 freelist = kmalloc_node(cachep->freelist_size, in alloc_slabmgmt()
2292 cachep->freelist_size; in alloc_slabmgmt()
/openbmc/linux/drivers/md/
H A Ddm-writecache.c121 size_t freelist_size; member
698 wc->freelist_size++; in writecache_add_to_freelist()
703 if (unlikely(wc->freelist_size + wc->writeback_size <= wc->freelist_high_watermark)) in writecache_verify_watermark()
742 wc->freelist_size--; in writecache_pop_from_freelist()
1030 wc->freelist_size = 0; in writecache_resume()
1996 wc->freelist_size + wc->writeback_size <= wc->freelist_low_watermark || in writecache_writeback()
2691 (unsigned long long)wc->n_blocks, (unsigned long long)wc->freelist_size, in writecache_status()