Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ocfs2/
Dlocalalloc.c288 struct buffer_head *alloc_bh = NULL; in ocfs2_load_local_alloc() local
314 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_load_local_alloc()
321 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
355 osb->local_alloc_bh = alloc_bh; in ocfs2_load_local_alloc()
360 brelse(alloc_bh); in ocfs2_load_local_alloc()
495 struct buffer_head *alloc_bh = NULL; in ocfs2_begin_local_alloc_recovery() local
514 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_begin_local_alloc_recovery()
521 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery()
526 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery()
528 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_begin_local_alloc_recovery()
[all …]
Dsuballoc.c2445 struct buffer_head *alloc_bh, in _ocfs2_free_suballoc_bits() argument
2454 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_free_suballoc_bits()
2491 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_free_suballoc_bits()
2501 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_free_suballoc_bits()
2513 struct buffer_head *alloc_bh, in ocfs2_free_suballoc_bits() argument
2518 return _ocfs2_free_suballoc_bits(handle, alloc_inode, alloc_bh, in ocfs2_free_suballoc_bits()
2800 struct buffer_head *alloc_bh, in ocfs2_test_suballoc_bit() argument
2813 alloc_di = (struct ocfs2_dinode *)alloc_bh->b_data; in ocfs2_test_suballoc_bit()
2862 struct buffer_head *alloc_bh = NULL; in ocfs2_test_inode_bit() local
2886 status = ocfs2_inode_lock(inode_alloc_inode, &alloc_bh, 0); in ocfs2_test_inode_bit()
[all …]
Dsuballoc.h121 struct buffer_head *alloc_bh,
Drefcounttree.c768 struct buffer_head *alloc_bh = NULL; in ocfs2_remove_refcount_tree() local
809 ret = ocfs2_inode_lock(alloc_inode, &alloc_bh, 1); in ocfs2_remove_refcount_tree()
853 alloc_bh, bit, bg_blkno, 1); in ocfs2_remove_refcount_tree()
863 brelse(alloc_bh); in ocfs2_remove_refcount_tree()