Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/
Diobuf.c55 kiobuf->bh[i] = kmem_cache_alloc(bh_cachep, GFP_KERNEL); in alloc_kiobuf_bhs()
64 kmem_cache_free(bh_cachep, kiobuf->bh[i]); in alloc_kiobuf_bhs()
81 kmem_cache_free(bh_cachep, kiobuf->bh[i]); in free_kiobuf_bhs()
Ddcache.c1264 kmem_cache_t *bh_cachep; variable
1265 EXPORT_SYMBOL(bh_cachep);
1273 bh_cachep = kmem_cache_create("buffer_head", in vfs_caches_init()
1276 if(!bh_cachep) in vfs_caches_init()
Dbuffer.c1213 kmem_cache_free(bh_cachep, bh); in __put_unused_buffer_head()
1256 if((bh = kmem_cache_alloc(bh_cachep, SLAB_NOFS)) != NULL) { in get_unused_buffer_head()
/linux-2.4.37.9/mm/
Dhighmem.c271 kmem_cache_free(bh_cachep, bh); in bounce_end_io()
302 struct buffer_head * bh = kmem_cache_alloc(bh_cachep, SLAB_ATOMIC); in init_emergency_pool()
374 bh = kmem_cache_alloc(bh_cachep, SLAB_NOHIGHIO); in alloc_bounce_bh()
/linux-2.4.37.9/include/linux/
Dslab.h74 extern kmem_cache_t *bh_cachep;
/linux-2.4.37.9/drivers/md/
Draid1.c82 t = kmem_cache_alloc(bh_cachep, SLAB_NOIO); in raid1_alloc_bh()
107 kmem_cache_free(bh_cachep, t); in raid1_free_bh()
125 bh = kmem_cache_alloc(bh_cachep, SLAB_KERNEL); in raid1_grow_bh()
148 kmem_cache_free(bh_cachep, bh); in raid1_shrink_bh()
/linux-2.4.37.9/drivers/block/
Dloop.c341 kmem_cache_free(bh_cachep, bh); in loop_put_buffer()
418 bh = kmem_cache_alloc(bh_cachep, SLAB_NOIO); in loop_get_buffer()
Dumem.c982 bh = kmem_cache_alloc(bh_cachep, SLAB_KERNEL); in mm_init_mem()
1042 kmem_cache_free(bh_cachep, bh); in mm_init_mem()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c525 bh = kmem_cache_alloc(bh_cachep, SLAB_KERNEL); in _pagebuf_prealloc_bh()
611 kmem_cache_free(bh_cachep, bh); in _pagebuf_free_bh()
1673 bh = kmem_cache_alloc(bh_cachep, SLAB_NOFS); in _pagebuf_page_io()