Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 2 of 2) sorted by relevance

/mm/
Dpage_alloc.c4986 static struct page *__page_frag_cache_refill(struct page_frag_cache *nc, in __page_frag_cache_refill() argument
4997 nc->size = page ? PAGE_FRAG_CACHE_MAX_SIZE : PAGE_SIZE; in __page_frag_cache_refill()
5002 nc->va = page ? page_address(page) : NULL; in __page_frag_cache_refill()
5016 void *page_frag_alloc(struct page_frag_cache *nc, in page_frag_alloc() argument
5023 if (unlikely(!nc->va)) { in page_frag_alloc()
5025 page = __page_frag_cache_refill(nc, gfp_mask); in page_frag_alloc()
5031 size = nc->size; in page_frag_alloc()
5039 nc->pfmemalloc = page_is_pfmemalloc(page); in page_frag_alloc()
5040 nc->pagecnt_bias = PAGE_FRAG_CACHE_MAX_SIZE + 1; in page_frag_alloc()
5041 nc->offset = size; in page_frag_alloc()
[all …]
Dslab.c948 struct array_cache *nc; in cpuup_canceled() local
963 nc = per_cpu_ptr(cachep->cpu_cache, cpu); in cpuup_canceled()
964 free_block(cachep, nc->entry, nc->avail, node, &list); in cpuup_canceled()
965 nc->avail = 0; in cpuup_canceled()