Lines Matching refs:new_bh

1928 	struct buffer_head *new_bh = NULL;  in ext4_xattr_block_set()  local
2068 new_bh = ext4_xattr_block_cache_find(inode, header(s->base), in ext4_xattr_block_set()
2070 if (new_bh) { in ext4_xattr_block_set()
2072 if (new_bh == bs->bh) in ext4_xattr_block_set()
2073 ea_bdebug(new_bh, "keeping"); in ext4_xattr_block_set()
2085 BUFFER_TRACE(new_bh, "get_write_access"); in ext4_xattr_block_set()
2087 handle, sb, new_bh, in ext4_xattr_block_set()
2091 lock_buffer(new_bh); in ext4_xattr_block_set()
2099 ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; in ext4_xattr_block_set()
2105 unlock_buffer(new_bh); in ext4_xattr_block_set()
2109 brelse(new_bh); in ext4_xattr_block_set()
2112 new_bh = NULL; in ext4_xattr_block_set()
2115 BHDR(new_bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_block_set()
2118 ea_bdebug(new_bh, "reusing; refcount now=%d", in ext4_xattr_block_set()
2120 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2121 unlock_buffer(new_bh); in ext4_xattr_block_set()
2124 new_bh); in ext4_xattr_block_set()
2135 new_bh = bs->bh; in ext4_xattr_block_set()
2136 get_bh(new_bh); in ext4_xattr_block_set()
2153 new_bh = sb_getblk(sb, block); in ext4_xattr_block_set()
2154 if (unlikely(!new_bh)) { in ext4_xattr_block_set()
2177 lock_buffer(new_bh); in ext4_xattr_block_set()
2179 new_bh, EXT4_JTR_NONE); in ext4_xattr_block_set()
2181 unlock_buffer(new_bh); in ext4_xattr_block_set()
2185 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext4_xattr_block_set()
2186 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2187 set_buffer_uptodate(new_bh); in ext4_xattr_block_set()
2188 unlock_buffer(new_bh); in ext4_xattr_block_set()
2189 ext4_xattr_block_cache_insert(ea_block_cache, new_bh); in ext4_xattr_block_set()
2191 new_bh); in ext4_xattr_block_set()
2201 EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext4_xattr_block_set()
2204 if (bs->bh && bs->bh != new_bh) { in ext4_xattr_block_set()
2231 brelse(new_bh); in ext4_xattr_block_set()