Home
last modified time | relevance | path

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

/Linux-v4.19/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()
492 struct buffer_head *alloc_bh = NULL; in ocfs2_begin_local_alloc_recovery() local
511 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_begin_local_alloc_recovery()
518 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery()
523 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery()
525 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_begin_local_alloc_recovery()
[all …]
Dsuballoc.c2461 struct buffer_head *alloc_bh, in _ocfs2_free_suballoc_bits() argument
2470 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_free_suballoc_bits()
2507 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_free_suballoc_bits()
2519 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_free_suballoc_bits()
2531 struct buffer_head *alloc_bh, in ocfs2_free_suballoc_bits() argument
2536 return _ocfs2_free_suballoc_bits(handle, alloc_inode, alloc_bh, in ocfs2_free_suballoc_bits()
2771 struct buffer_head *alloc_bh, in ocfs2_test_suballoc_bit() argument
2784 alloc_di = (struct ocfs2_dinode *)alloc_bh->b_data; in ocfs2_test_suballoc_bit()
2833 struct buffer_head *alloc_bh = NULL; in ocfs2_test_inode_bit() local
2857 status = ocfs2_inode_lock(inode_alloc_inode, &alloc_bh, 0); in ocfs2_test_inode_bit()
[all …]
Dsuballoc.h137 struct buffer_head *alloc_bh,
Drefcounttree.c771 struct buffer_head *alloc_bh = NULL; in ocfs2_remove_refcount_tree() local
812 ret = ocfs2_inode_lock(alloc_inode, &alloc_bh, 1); in ocfs2_remove_refcount_tree()
856 alloc_bh, bit, bg_blkno, 1); in ocfs2_remove_refcount_tree()
866 brelse(alloc_bh); in ocfs2_remove_refcount_tree()