Home
last modified time | relevance | path

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

/block/
Dbio.c69 struct bio_slab *bslab, *new_bio_slabs; in bio_find_or_create_slab() local
77 bslab = &bio_slabs[i]; in bio_find_or_create_slab()
79 if (!bslab->slab && entry == -1) in bio_find_or_create_slab()
81 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
82 slab = bslab->slab; in bio_find_or_create_slab()
83 bslab->slab_ref++; in bio_find_or_create_slab()
105 bslab = &bio_slabs[entry]; in bio_find_or_create_slab()
107 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); in bio_find_or_create_slab()
108 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
113 bslab->slab = slab; in bio_find_or_create_slab()
[all …]