Searched refs:gfporder (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | slab_def.h | 27 unsigned int gfporder; member in struct:kmem_cache
|
/linux-4.1.27/mm/ |
H A D | slab.c | 526 static void cache_estimate(unsigned long gfporder, size_t buffer_size, cache_estimate() argument 532 size_t slab_size = PAGE_SIZE << gfporder; cache_estimate() 1545 cachep->name, cachep->size, cachep->gfporder); slab_out_of_memory() 1594 if (memcg_charge_slab(cachep, flags, cachep->gfporder)) kmem_getpages() 1597 page = alloc_pages_exact_node(nodeid, flags | __GFP_NOTRACK, cachep->gfporder); kmem_getpages() 1599 memcg_uncharge_slab(cachep, cachep->gfporder); kmem_getpages() 1608 nr_pages = (1 << cachep->gfporder); kmem_getpages() 1620 kmemcheck_alloc_shadow(page, cachep->gfporder, flags, nodeid); kmem_getpages() 1636 const unsigned long nr_freed = (1 << cachep->gfporder); kmem_freepages() 1638 kmemcheck_free_shadow(page, cachep->gfporder); kmem_freepages() 1655 __free_pages(page, cachep->gfporder); kmem_freepages() 1656 memcg_uncharge_slab(cachep, cachep->gfporder); kmem_freepages() 1942 int gfporder; calculate_slab_order() local 1944 for (gfporder = 0; gfporder <= KMALLOC_MAX_ORDER; gfporder++) { calculate_slab_order() 1948 cache_estimate(gfporder, size, align, flags, &remainder, &num); calculate_slab_order() 1974 cachep->gfporder = gfporder; calculate_slab_order() 1989 if (gfporder >= slab_max_order) calculate_slab_order() 1995 if (left_over * 8 <= (PAGE_SIZE << gfporder)) calculate_slab_order() 3980 sinfo->cache_order = cachep->gfporder;
|
Completed in 129 milliseconds