Lines Matching refs:new_bh
1840 struct buffer_head *new_bh = NULL; in ext4_xattr_block_set() local
1970 new_bh = ext4_xattr_block_cache_find(inode, header(s->base), in ext4_xattr_block_set()
1972 if (new_bh) { in ext4_xattr_block_set()
1974 if (new_bh == bs->bh) in ext4_xattr_block_set()
1975 ea_bdebug(new_bh, "keeping"); in ext4_xattr_block_set()
1987 BUFFER_TRACE(new_bh, "get_write_access"); in ext4_xattr_block_set()
1989 new_bh); in ext4_xattr_block_set()
1992 lock_buffer(new_bh); in ext4_xattr_block_set()
2011 unlock_buffer(new_bh); in ext4_xattr_block_set()
2015 brelse(new_bh); in ext4_xattr_block_set()
2018 new_bh = NULL; in ext4_xattr_block_set()
2021 ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; in ext4_xattr_block_set()
2022 BHDR(new_bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_block_set()
2025 ea_bdebug(new_bh, "reusing; refcount now=%d", in ext4_xattr_block_set()
2027 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2028 unlock_buffer(new_bh); in ext4_xattr_block_set()
2031 new_bh); in ext4_xattr_block_set()
2042 new_bh = bs->bh; in ext4_xattr_block_set()
2043 get_bh(new_bh); in ext4_xattr_block_set()
2068 new_bh = sb_getblk(sb, block); in ext4_xattr_block_set()
2069 if (unlikely(!new_bh)) { in ext4_xattr_block_set()
2092 lock_buffer(new_bh); in ext4_xattr_block_set()
2093 error = ext4_journal_get_create_access(handle, new_bh); in ext4_xattr_block_set()
2095 unlock_buffer(new_bh); in ext4_xattr_block_set()
2099 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext4_xattr_block_set()
2100 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2101 set_buffer_uptodate(new_bh); in ext4_xattr_block_set()
2102 unlock_buffer(new_bh); in ext4_xattr_block_set()
2103 ext4_xattr_block_cache_insert(ea_block_cache, new_bh); in ext4_xattr_block_set()
2105 new_bh); in ext4_xattr_block_set()
2115 EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext4_xattr_block_set()
2118 if (bs->bh && bs->bh != new_bh) { in ext4_xattr_block_set()
2145 brelse(new_bh); in ext4_xattr_block_set()