Home
last modified time | relevance | path

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

/fs/
Dbio.c78 struct bio_slab *bslab, *new_bio_slabs; in bio_find_or_create_slab() local
86 bslab = &bio_slabs[i]; in bio_find_or_create_slab()
88 if (!bslab->slab && entry == -1) in bio_find_or_create_slab()
90 else if (bslab->slab_size == sz) { in bio_find_or_create_slab()
91 slab = bslab->slab; in bio_find_or_create_slab()
92 bslab->slab_ref++; in bio_find_or_create_slab()
114 bslab = &bio_slabs[entry]; in bio_find_or_create_slab()
116 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); in bio_find_or_create_slab()
117 slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL); in bio_find_or_create_slab()
121 printk(KERN_INFO "bio: create slab <%s> at %d\n", bslab->name, entry); in bio_find_or_create_slab()
[all …]