Home
last modified time | relevance | path

Searched refs:victim_entry_slab (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/f2fs/
H A Dgc.c25 static struct kmem_cache *victim_entry_slab; variable
374 ve = f2fs_kmem_cache_alloc(victim_entry_slab, GFP_NOFS); in attach_victim_entry()
619 kmem_cache_free(victim_entry_slab, ve); in release_victim_entry()
1829 victim_entry_slab = f2fs_kmem_cache_create("f2fs_victim_entry", in f2fs_create_garbage_collection_cache()
1831 if (!victim_entry_slab) in f2fs_create_garbage_collection_cache()
1838 kmem_cache_destroy(victim_entry_slab); in f2fs_destroy_garbage_collection_cache()
/kernel/linux/linux-6.6/fs/f2fs/
H A Dgc.c26 static struct kmem_cache *victim_entry_slab; variable
444 ve = f2fs_kmem_cache_alloc(victim_entry_slab, GFP_NOFS, true, NULL); in __create_victim_entry()
678 kmem_cache_free(victim_entry_slab, ve); in release_victim_entry()
1943 victim_entry_slab = f2fs_kmem_cache_create("f2fs_victim_entry", in f2fs_create_garbage_collection_cache()
1945 return victim_entry_slab ? 0 : -ENOMEM; in f2fs_create_garbage_collection_cache()
1950 kmem_cache_destroy(victim_entry_slab); in f2fs_destroy_garbage_collection_cache()

Completed in 6 milliseconds