Searched refs:bh_cachep (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/fs/ |
D | iobuf.c | 55 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()
|
D | dcache.c | 1264 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()
|
D | buffer.c | 1213 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/ |
D | highmem.c | 271 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/ |
D | slab.h | 74 extern kmem_cache_t *bh_cachep;
|
/linux-2.4.37.9/drivers/md/ |
D | raid1.c | 82 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/ |
D | loop.c | 341 kmem_cache_free(bh_cachep, bh); in loop_put_buffer() 418 bh = kmem_cache_alloc(bh_cachep, SLAB_NOIO); in loop_get_buffer()
|
D | umem.c | 982 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/ |
D | xfs_buf.c | 525 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()
|