Home
last modified time | relevance | path

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

/linux/fs/ocfs2/
H A Dlocalalloc.c273 struct buffer_head *alloc_bh = NULL; in ocfs2_load_local_alloc() local
299 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_load_local_alloc()
306 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
345 osb->local_alloc_bh = alloc_bh; in ocfs2_load_local_alloc()
350 brelse(alloc_bh); in ocfs2_load_local_alloc()
482 struct buffer_head *alloc_bh = NULL; in ocfs2_begin_local_alloc_recovery() local
501 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_begin_local_alloc_recovery()
508 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery()
513 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery()
515 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_begin_local_alloc_recovery()
[all …]
H A Dsuballoc.c2651 struct buffer_head *alloc_bh, in _ocfs2_reclaim_suballoc_to_main() argument
2665 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_reclaim_suballoc_to_main()
2680 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_reclaim_suballoc_to_main()
2722 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_reclaim_suballoc_to_main()
2834 struct buffer_head *alloc_bh, in _ocfs2_free_suballoc_bits() argument
2843 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_free_suballoc_bits()
2884 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_free_suballoc_bits()
2899 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_free_suballoc_bits()
2911 _ocfs2_reclaim_suballoc_to_main(handle, alloc_inode, alloc_bh, group_bh); in _ocfs2_free_suballoc_bits()
2920 struct buffer_head *alloc_bh, in ocfs2_free_suballoc_bits() argument
[all …]
H A Dsuballoc.h126 struct buffer_head *alloc_bh,
H A Drefcounttree.c765 struct buffer_head *alloc_bh = NULL; in ocfs2_remove_refcount_tree() local
806 ret = ocfs2_inode_lock(alloc_inode, &alloc_bh, 1); in ocfs2_remove_refcount_tree()
850 alloc_bh, bit, bg_blkno, 1); in ocfs2_remove_refcount_tree()
860 brelse(alloc_bh); in ocfs2_remove_refcount_tree()