Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ocfs2/
Dlocalalloc.c274 struct buffer_head *alloc_bh = NULL; in ocfs2_load_local_alloc() local
300 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_load_local_alloc()
307 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_load_local_alloc()
346 osb->local_alloc_bh = alloc_bh; in ocfs2_load_local_alloc()
351 brelse(alloc_bh); in ocfs2_load_local_alloc()
483 struct buffer_head *alloc_bh = NULL; in ocfs2_begin_local_alloc_recovery() local
502 status = ocfs2_read_inode_block_full(inode, &alloc_bh, in ocfs2_begin_local_alloc_recovery()
509 *alloc_copy = kmalloc(alloc_bh->b_size, GFP_KERNEL); in ocfs2_begin_local_alloc_recovery()
514 memcpy((*alloc_copy), alloc_bh->b_data, alloc_bh->b_size); in ocfs2_begin_local_alloc_recovery()
516 alloc = (struct ocfs2_dinode *) alloc_bh->b_data; in ocfs2_begin_local_alloc_recovery()
[all …]
Dsuballoc.c2447 struct buffer_head *alloc_bh, in _ocfs2_free_suballoc_bits() argument
2456 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_free_suballoc_bits()
2493 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_free_suballoc_bits()
2505 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_free_suballoc_bits()
2517 struct buffer_head *alloc_bh, in ocfs2_free_suballoc_bits() argument
2522 return _ocfs2_free_suballoc_bits(handle, alloc_inode, alloc_bh, in ocfs2_free_suballoc_bits()
2757 struct buffer_head *alloc_bh, in ocfs2_test_suballoc_bit() argument
2770 alloc_di = (struct ocfs2_dinode *)alloc_bh->b_data; in ocfs2_test_suballoc_bit()
2819 struct buffer_head *alloc_bh = NULL; in ocfs2_test_inode_bit() local
2843 status = ocfs2_inode_lock(inode_alloc_inode, &alloc_bh, 0); in ocfs2_test_inode_bit()
[all …]
Dsuballoc.h123 struct buffer_head *alloc_bh,
Drefcounttree.c763 struct buffer_head *alloc_bh = NULL; in ocfs2_remove_refcount_tree() local
804 ret = ocfs2_inode_lock(alloc_inode, &alloc_bh, 1); in ocfs2_remove_refcount_tree()
848 alloc_bh, bit, bg_blkno, 1); in ocfs2_remove_refcount_tree()
858 brelse(alloc_bh); in ocfs2_remove_refcount_tree()