• Home
  • Raw
  • Download

Lines Matching refs:new_bh

680 	struct buffer_head *new_bh = NULL;  in ext3_xattr_block_set()  local
765 new_bh = ext3_xattr_cache_find(inode, header(s->base), &ce); in ext3_xattr_block_set()
766 if (new_bh) { in ext3_xattr_block_set()
768 if (new_bh == bs->bh) in ext3_xattr_block_set()
769 ea_bdebug(new_bh, "keeping"); in ext3_xattr_block_set()
777 new_bh); in ext3_xattr_block_set()
780 lock_buffer(new_bh); in ext3_xattr_block_set()
781 le32_add_cpu(&BHDR(new_bh)->h_refcount, 1); in ext3_xattr_block_set()
782 ea_bdebug(new_bh, "reusing; refcount now=%d", in ext3_xattr_block_set()
783 le32_to_cpu(BHDR(new_bh)->h_refcount)); in ext3_xattr_block_set()
784 unlock_buffer(new_bh); in ext3_xattr_block_set()
786 new_bh); in ext3_xattr_block_set()
795 new_bh = bs->bh; in ext3_xattr_block_set()
796 get_bh(new_bh); in ext3_xattr_block_set()
815 new_bh = sb_getblk(sb, block); in ext3_xattr_block_set()
816 if (!new_bh) { in ext3_xattr_block_set()
822 lock_buffer(new_bh); in ext3_xattr_block_set()
823 error = ext3_journal_get_create_access(handle, new_bh); in ext3_xattr_block_set()
825 unlock_buffer(new_bh); in ext3_xattr_block_set()
828 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext3_xattr_block_set()
829 set_buffer_uptodate(new_bh); in ext3_xattr_block_set()
830 unlock_buffer(new_bh); in ext3_xattr_block_set()
831 ext3_xattr_cache_insert(new_bh); in ext3_xattr_block_set()
832 error = ext3_journal_dirty_metadata(handle, new_bh); in ext3_xattr_block_set()
839 EXT3_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext3_xattr_block_set()
842 if (bs->bh && bs->bh != new_bh) in ext3_xattr_block_set()
849 brelse(new_bh); in ext3_xattr_block_set()