• Home
  • Raw
  • Download

Lines Matching refs:new_bh

1851 	struct buffer_head *new_bh = NULL;  in ext4_xattr_block_set()  local
1981 new_bh = ext4_xattr_block_cache_find(inode, header(s->base), in ext4_xattr_block_set()
1983 if (new_bh) { in ext4_xattr_block_set()
1985 if (new_bh == bs->bh) in ext4_xattr_block_set()
1986 ea_bdebug(new_bh, "keeping"); in ext4_xattr_block_set()
1998 BUFFER_TRACE(new_bh, "get_write_access"); in ext4_xattr_block_set()
2000 new_bh); in ext4_xattr_block_set()
2003 lock_buffer(new_bh); in ext4_xattr_block_set()
2022 unlock_buffer(new_bh); in ext4_xattr_block_set()
2026 brelse(new_bh); in ext4_xattr_block_set()
2029 new_bh = NULL; in ext4_xattr_block_set()
2032 ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; in ext4_xattr_block_set()
2033 BHDR(new_bh)->h_refcount = cpu_to_le32(ref); in ext4_xattr_block_set()
2036 ea_bdebug(new_bh, "reusing; refcount now=%d", in ext4_xattr_block_set()
2038 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2039 unlock_buffer(new_bh); in ext4_xattr_block_set()
2042 new_bh); in ext4_xattr_block_set()
2053 new_bh = bs->bh; in ext4_xattr_block_set()
2054 get_bh(new_bh); in ext4_xattr_block_set()
2079 new_bh = sb_getblk(sb, block); in ext4_xattr_block_set()
2080 if (unlikely(!new_bh)) { in ext4_xattr_block_set()
2103 lock_buffer(new_bh); in ext4_xattr_block_set()
2104 error = ext4_journal_get_create_access(handle, new_bh); in ext4_xattr_block_set()
2106 unlock_buffer(new_bh); in ext4_xattr_block_set()
2110 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext4_xattr_block_set()
2111 ext4_xattr_block_csum_set(inode, new_bh); in ext4_xattr_block_set()
2112 set_buffer_uptodate(new_bh); in ext4_xattr_block_set()
2113 unlock_buffer(new_bh); in ext4_xattr_block_set()
2114 ext4_xattr_block_cache_insert(ea_block_cache, new_bh); in ext4_xattr_block_set()
2116 new_bh); in ext4_xattr_block_set()
2126 EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext4_xattr_block_set()
2129 if (bs->bh && bs->bh != new_bh) { in ext4_xattr_block_set()
2156 brelse(new_bh); in ext4_xattr_block_set()