Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/
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 …]
Dsuballoc.c2522 struct buffer_head *alloc_bh, in _ocfs2_free_suballoc_bits() argument
2531 struct ocfs2_dinode *fe = (struct ocfs2_dinode *) alloc_bh->b_data; in _ocfs2_free_suballoc_bits()
2571 alloc_bh, OCFS2_JOURNAL_ACCESS_WRITE); in _ocfs2_free_suballoc_bits()
2584 ocfs2_journal_dirty(handle, alloc_bh); in _ocfs2_free_suballoc_bits()
2593 struct buffer_head *alloc_bh, in ocfs2_free_suballoc_bits() argument
2598 return _ocfs2_free_suballoc_bits(handle, alloc_inode, alloc_bh, in ocfs2_free_suballoc_bits()
2831 struct buffer_head *alloc_bh, in ocfs2_test_suballoc_bit() argument
2844 alloc_di = (struct ocfs2_dinode *)alloc_bh->b_data; in ocfs2_test_suballoc_bit()
2893 struct buffer_head *alloc_bh = NULL; in ocfs2_test_inode_bit() local
2920 status = ocfs2_inode_lock(inode_alloc_inode, &alloc_bh, 0); in ocfs2_test_inode_bit()
[all …]
Dsuballoc.h125 struct buffer_head *alloc_bh,
Drefcounttree.c764 struct buffer_head *alloc_bh = NULL; in ocfs2_remove_refcount_tree() local
805 ret = ocfs2_inode_lock(alloc_inode, &alloc_bh, 1); in ocfs2_remove_refcount_tree()
849 alloc_bh, bit, bg_blkno, 1); in ocfs2_remove_refcount_tree()
859 brelse(alloc_bh); in ocfs2_remove_refcount_tree()