Home
last modified time | relevance | path

Searched refs:freelist (Results 1 – 5 of 5) sorted by relevance

/mm/
Dslub.c365 if (cmpxchg_double(&page->freelist, &page->counters, in __cmpxchg_double_slab()
373 if (page->freelist == freelist_old && in __cmpxchg_double_slab()
375 page->freelist = freelist_new; in __cmpxchg_double_slab()
401 if (cmpxchg_double(&page->freelist, &page->counters, in cmpxchg_double_slab()
412 if (page->freelist == freelist_old && in cmpxchg_double_slab()
414 page->freelist = freelist_new; in cmpxchg_double_slab()
446 for (p = page->freelist; p; p = get_freepointer(s, p)) in get_map()
592 page, page->objects, page->inuse, page->freelist, page->flags); in print_page_info()
913 fp = page->freelist; in on_freelist()
924 page->freelist = NULL; in on_freelist()
[all …]
Dslob.c222 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc()
246 sp->freelist = next; in slob_page_alloc()
251 sp->freelist = cur + units; in slob_page_alloc()
324 sp->freelist = b; in slob_alloc()
371 sp->freelist = b; in slob_free()
391 if (b < (slob_t *)sp->freelist) { in slob_free()
392 if (b + units == sp->freelist) { in slob_free()
393 units += slob_units(sp->freelist); in slob_free()
394 sp->freelist = slob_next(sp->freelist); in slob_free()
396 set_slob(b, units, sp->freelist); in slob_free()
[all …]
Dcompaction.c41 static unsigned long release_freepages(struct list_head *freelist) in release_freepages() argument
46 list_for_each_entry_safe(page, next, freelist, lru) { in release_freepages()
342 struct list_head *freelist, in isolate_freepages_block() argument
429 list_add(&page->lru, freelist); in isolate_freepages_block()
500 LIST_HEAD(freelist); in isolate_freepages_range()
526 block_end_pfn, &freelist, true); in isolate_freepages_range()
544 map_pages(&freelist); in isolate_freepages_range()
548 release_freepages(&freelist); in isolate_freepages_range()
843 struct list_head *freelist = &cc->freepages; in isolate_freepages() local
897 block_end_pfn, freelist, false); in isolate_freepages()
[all …]
Dslab.c404 status = (char *)page->freelist + freelist_size; in set_obj_status()
415 status = (char *)page->freelist + freelist_size; in get_obj_status()
1872 void *freelist; in slab_destroy() local
1874 freelist = page->freelist; in slab_destroy()
1897 kmem_cache_free(cachep->freelist_cache, freelist); in slab_destroy()
2449 void *freelist; in alloc_slabmgmt() local
2454 freelist = kmem_cache_alloc_node(cachep->freelist_cache, in alloc_slabmgmt()
2456 if (!freelist) in alloc_slabmgmt()
2459 freelist = addr + colour_off; in alloc_slabmgmt()
2464 return freelist; in alloc_slabmgmt()
[all …]
Dzsmalloc.c877 page->freelist = NULL; in reset_page()
996 first_page->freelist = location_to_obj(first_page, 0); in alloc_zspage()
1356 obj = (unsigned long)first_page->freelist; in obj_malloc()
1362 first_page->freelist = link->next; in obj_malloc()
1456 link->next = first_page->freelist; in obj_free()
1460 first_page->freelist = (void *)obj; in obj_free()