Home
last modified time | relevance | path

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

/mm/
Dpage_alloc.c5880 static struct page *__page_frag_cache_refill(struct page_frag_cache *nc, in __page_frag_cache_refill() argument
5891 nc->size = page ? PAGE_FRAG_CACHE_MAX_SIZE : PAGE_SIZE; in __page_frag_cache_refill()
5896 nc->va = page ? page_address(page) : NULL; in __page_frag_cache_refill()
5910 void *page_frag_alloc_align(struct page_frag_cache *nc, in page_frag_alloc_align() argument
5918 if (unlikely(!nc->va)) { in page_frag_alloc_align()
5920 page = __page_frag_cache_refill(nc, gfp_mask); in page_frag_alloc_align()
5926 size = nc->size; in page_frag_alloc_align()
5934 nc->pfmemalloc = page_is_pfmemalloc(page); in page_frag_alloc_align()
5935 nc->pagecnt_bias = PAGE_FRAG_CACHE_MAX_SIZE + 1; in page_frag_alloc_align()
5936 nc->offset = size; in page_frag_alloc_align()
[all …]
Dslab.c959 struct array_cache *nc; in cpuup_canceled() local
974 nc = per_cpu_ptr(cachep->cpu_cache, cpu); in cpuup_canceled()
975 free_block(cachep, nc->entry, nc->avail, node, &list); in cpuup_canceled()
976 nc->avail = 0; in cpuup_canceled()