new_bh 121 fs/affs/file.c struct buffer_head *new_bh; new_bh 128 fs/affs/file.c new_bh = affs_getzeroblk(sb, blocknr); new_bh 129 fs/affs/file.c if (!new_bh) { new_bh 134 fs/affs/file.c AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); new_bh 135 fs/affs/file.c AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); new_bh 136 fs/affs/file.c AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); new_bh 137 fs/affs/file.c AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); new_bh 138 fs/affs/file.c affs_fix_checksum(sb, new_bh); new_bh 140 fs/affs/file.c mark_buffer_dirty_inode(new_bh, inode); new_bh 152 fs/affs/file.c return new_bh; new_bh 207 fs/bfs/dir.c struct buffer_head *old_bh, *new_bh; new_bh 215 fs/bfs/dir.c old_bh = new_bh = NULL; new_bh 230 fs/bfs/dir.c new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); new_bh 232 fs/bfs/dir.c if (new_bh && !new_inode) { new_bh 233 fs/bfs/dir.c brelse(new_bh); new_bh 234 fs/bfs/dir.c new_bh = NULL; new_bh 236 fs/bfs/dir.c if (!new_bh) { new_bh 255 fs/bfs/dir.c brelse(new_bh); new_bh 658 fs/ext2/xattr.c struct buffer_head *new_bh = NULL; new_bh 663 fs/ext2/xattr.c new_bh = ext2_xattr_cache_find(inode, header); new_bh 664 fs/ext2/xattr.c if (new_bh) { new_bh 666 fs/ext2/xattr.c if (new_bh == old_bh) { new_bh 667 fs/ext2/xattr.c ea_bdebug(new_bh, "keeping this block"); new_bh 671 fs/ext2/xattr.c ea_bdebug(new_bh, "reusing block"); new_bh 675 fs/ext2/xattr.c unlock_buffer(new_bh); new_bh 678 fs/ext2/xattr.c le32_add_cpu(&HDR(new_bh)->h_refcount, 1); new_bh 679 fs/ext2/xattr.c ea_bdebug(new_bh, "refcount now=%d", new_bh 680 fs/ext2/xattr.c le32_to_cpu(HDR(new_bh)->h_refcount)); new_bh 682 fs/ext2/xattr.c unlock_buffer(new_bh); new_bh 686 fs/ext2/xattr.c new_bh = old_bh; new_bh 687 fs/ext2/xattr.c get_bh(new_bh); new_bh 688 fs/ext2/xattr.c ext2_xattr_cache_insert(ea_block_cache, new_bh); new_bh 698 fs/ext2/xattr.c new_bh = sb_getblk(sb, block); new_bh 699 fs/ext2/xattr.c if (unlikely(!new_bh)) { new_bh 705 fs/ext2/xattr.c lock_buffer(new_bh); new_bh 706 fs/ext2/xattr.c memcpy(new_bh->b_data, header, new_bh->b_size); new_bh 707 fs/ext2/xattr.c set_buffer_uptodate(new_bh); new_bh 708 fs/ext2/xattr.c unlock_buffer(new_bh); new_bh 709 fs/ext2/xattr.c ext2_xattr_cache_insert(ea_block_cache, new_bh); new_bh 713 fs/ext2/xattr.c mark_buffer_dirty(new_bh); new_bh 715 fs/ext2/xattr.c sync_dirty_buffer(new_bh); new_bh 717 fs/ext2/xattr.c if (buffer_req(new_bh) && !buffer_uptodate(new_bh)) new_bh 723 fs/ext2/xattr.c EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; new_bh 731 fs/ext2/xattr.c if (new_bh && new_bh != old_bh) { new_bh 741 fs/ext2/xattr.c if (old_bh && old_bh != new_bh) { new_bh 777 fs/ext2/xattr.c brelse(new_bh); new_bh 1851 fs/ext4/xattr.c struct buffer_head *new_bh = NULL; new_bh 1981 fs/ext4/xattr.c new_bh = ext4_xattr_block_cache_find(inode, header(s->base), new_bh 1983 fs/ext4/xattr.c if (new_bh) { new_bh 1985 fs/ext4/xattr.c if (new_bh == bs->bh) new_bh 1986 fs/ext4/xattr.c ea_bdebug(new_bh, "keeping"); new_bh 1998 fs/ext4/xattr.c BUFFER_TRACE(new_bh, "get_write_access"); new_bh 2000 fs/ext4/xattr.c new_bh); new_bh 2003 fs/ext4/xattr.c lock_buffer(new_bh); new_bh 2022 fs/ext4/xattr.c unlock_buffer(new_bh); new_bh 2026 fs/ext4/xattr.c brelse(new_bh); new_bh 2029 fs/ext4/xattr.c new_bh = NULL; new_bh 2032 fs/ext4/xattr.c ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; new_bh 2033 fs/ext4/xattr.c BHDR(new_bh)->h_refcount = cpu_to_le32(ref); new_bh 2036 fs/ext4/xattr.c ea_bdebug(new_bh, "reusing; refcount now=%d", new_bh 2038 fs/ext4/xattr.c ext4_xattr_block_csum_set(inode, new_bh); new_bh 2039 fs/ext4/xattr.c unlock_buffer(new_bh); new_bh 2042 fs/ext4/xattr.c new_bh); new_bh 2053 fs/ext4/xattr.c new_bh = bs->bh; new_bh 2054 fs/ext4/xattr.c get_bh(new_bh); new_bh 2079 fs/ext4/xattr.c new_bh = sb_getblk(sb, block); new_bh 2080 fs/ext4/xattr.c if (unlikely(!new_bh)) { new_bh 2103 fs/ext4/xattr.c lock_buffer(new_bh); new_bh 2104 fs/ext4/xattr.c error = ext4_journal_get_create_access(handle, new_bh); new_bh 2106 fs/ext4/xattr.c unlock_buffer(new_bh); new_bh 2110 fs/ext4/xattr.c memcpy(new_bh->b_data, s->base, new_bh->b_size); new_bh 2111 fs/ext4/xattr.c ext4_xattr_block_csum_set(inode, new_bh); new_bh 2112 fs/ext4/xattr.c set_buffer_uptodate(new_bh); new_bh 2113 fs/ext4/xattr.c unlock_buffer(new_bh); new_bh 2114 fs/ext4/xattr.c ext4_xattr_block_cache_insert(ea_block_cache, new_bh); new_bh 2116 fs/ext4/xattr.c new_bh); new_bh 2126 fs/ext4/xattr.c EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; new_bh 2129 fs/ext4/xattr.c if (bs->bh && bs->bh != new_bh) { new_bh 2156 fs/ext4/xattr.c brelse(new_bh); new_bh 344 fs/jbd2/journal.c struct buffer_head *new_bh; new_bh 361 fs/jbd2/journal.c new_bh = alloc_buffer_head(GFP_NOFS|__GFP_NOFAIL); new_bh 364 fs/jbd2/journal.c atomic_set(&new_bh->b_count, 1); new_bh 411 fs/jbd2/journal.c brelse(new_bh); new_bh 447 fs/jbd2/journal.c set_bh_page(new_bh, new_page, new_offset); new_bh 448 fs/jbd2/journal.c new_bh->b_size = bh_in->b_size; new_bh 449 fs/jbd2/journal.c new_bh->b_bdev = journal->j_dev; new_bh 450 fs/jbd2/journal.c new_bh->b_blocknr = blocknr; new_bh 451 fs/jbd2/journal.c new_bh->b_private = bh_in; new_bh 452 fs/jbd2/journal.c set_buffer_mapped(new_bh); new_bh 453 fs/jbd2/journal.c set_buffer_dirty(new_bh); new_bh 455 fs/jbd2/journal.c *bh_out = new_bh; new_bh 1533 fs/nilfs2/segment.c struct buffer_head *new_bh) new_bh 1535 fs/nilfs2/segment.c BUG_ON(!list_empty(&new_bh->b_assoc_buffers)); new_bh 1537 fs/nilfs2/segment.c list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); new_bh 97 fs/ocfs2/buffer_head_io.c int new_bh = 0; new_bh 107 fs/ocfs2/buffer_head_io.c new_bh = (bhs[0] == NULL); new_bh 160 fs/ocfs2/buffer_head_io.c if (new_bh && bh) { new_bh 204 fs/ocfs2/buffer_head_io.c int new_bh = 0; new_bh 233 fs/ocfs2/buffer_head_io.c new_bh = (bhs[0] == NULL); new_bh 347 fs/ocfs2/buffer_head_io.c if (new_bh && bh) { new_bh 64 fs/ocfs2/dir.c struct buffer_head **new_bh); new_bh 2224 fs/ocfs2/dir.c struct buffer_head *new_bh = NULL; new_bh 2231 fs/ocfs2/dir.c data_ac, NULL, &new_bh); new_bh 2237 fs/ocfs2/dir.c ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); new_bh 2239 fs/ocfs2/dir.c status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh, new_bh 2245 fs/ocfs2/dir.c memset(new_bh->b_data, 0, osb->sb->s_blocksize); new_bh 2247 fs/ocfs2/dir.c de = ocfs2_fill_initial_dirents(inode, parent, new_bh->b_data, size); new_bh 2259 fs/ocfs2/dir.c ocfs2_init_dir_trailer(inode, new_bh, size); new_bh 2262 fs/ocfs2/dir.c ocfs2_journal_dirty(handle, new_bh); new_bh 2275 fs/ocfs2/dir.c *ret_new_bh = new_bh; new_bh 2276 fs/ocfs2/dir.c new_bh = NULL; new_bh 2279 fs/ocfs2/dir.c brelse(new_bh); new_bh 3089 fs/ocfs2/dir.c struct buffer_head **new_bh) new_bh 3125 fs/ocfs2/dir.c *new_bh = sb_getblk(sb, p_blkno); new_bh 3126 fs/ocfs2/dir.c if (!*new_bh) { new_bh 3163 fs/ocfs2/dir.c struct buffer_head *new_bh = NULL; new_bh 3178 fs/ocfs2/dir.c &new_bh); new_bh 3196 fs/ocfs2/dir.c BUG_ON(new_bh == NULL); new_bh 3204 fs/ocfs2/dir.c brelse(new_bh); new_bh 3205 fs/ocfs2/dir.c new_bh = NULL; new_bh 3272 fs/ocfs2/dir.c data_ac, meta_ac, &new_bh); new_bh 3278 fs/ocfs2/dir.c ocfs2_set_new_buffer_uptodate(INODE_CACHE(dir), new_bh); new_bh 3280 fs/ocfs2/dir.c status = ocfs2_journal_access_db(handle, INODE_CACHE(dir), new_bh, new_bh 3286 fs/ocfs2/dir.c memset(new_bh->b_data, 0, sb->s_blocksize); new_bh 3288 fs/ocfs2/dir.c de = (struct ocfs2_dir_entry *) new_bh->b_data; new_bh 3293 fs/ocfs2/dir.c ocfs2_init_dir_trailer(dir, new_bh, le16_to_cpu(de->rec_len)); new_bh 3297 fs/ocfs2/dir.c dx_root_bh, new_bh); new_bh 3307 fs/ocfs2/dir.c ocfs2_journal_dirty(handle, new_bh); new_bh 3319 fs/ocfs2/dir.c *new_de_bh = new_bh; new_bh 3332 fs/ocfs2/dir.c brelse(new_bh); new_bh 2313 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long new_blkno, void *new_bh, new_bh 2315 fs/ocfs2/ocfs2_trace.h TP_ARGS(new_blkno, new_bh, newdi_blkno), new_bh 2318 fs/ocfs2/ocfs2_trace.h __field(void *, new_bh) new_bh 2323 fs/ocfs2/ocfs2_trace.h __entry->new_bh = new_bh; new_bh 2326 fs/ocfs2/ocfs2_trace.h TP_printk("%llu %p %llu", __entry->new_blkno, __entry->new_bh, new_bh 558 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 605 fs/ocfs2/refcounttree.c new_bh = sb_getblk(inode->i_sb, first_blkno); new_bh 606 fs/ocfs2/refcounttree.c if (!new_bh) { new_bh 611 fs/ocfs2/refcounttree.c ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh); new_bh 613 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh, new_bh 621 fs/ocfs2/refcounttree.c rb = (struct ocfs2_refcount_block *)new_bh->b_data; new_bh 636 fs/ocfs2/refcounttree.c ocfs2_journal_dirty(handle, new_bh); new_bh 683 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 1285 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 1305 fs/ocfs2/refcounttree.c new_bh = sb_getblk(sb, blkno); new_bh 1306 fs/ocfs2/refcounttree.c if (new_bh == NULL) { new_bh 1311 fs/ocfs2/refcounttree.c ocfs2_set_new_buffer_uptodate(ci, new_bh); new_bh 1313 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access_rb(handle, ci, new_bh, new_bh 1325 fs/ocfs2/refcounttree.c memcpy(new_bh->b_data, ref_root_bh->b_data, sb->s_blocksize); new_bh 1327 fs/ocfs2/refcounttree.c new_rb = (struct ocfs2_refcount_block *)new_bh->b_data; new_bh 1335 fs/ocfs2/refcounttree.c ocfs2_journal_dirty(handle, new_bh); new_bh 1352 fs/ocfs2/refcounttree.c *ref_leaf_bh = new_bh; new_bh 1353 fs/ocfs2/refcounttree.c new_bh = NULL; new_bh 1355 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 1447 fs/ocfs2/refcounttree.c struct buffer_head *new_bh, new_bh 1456 fs/ocfs2/refcounttree.c (struct ocfs2_refcount_block *)new_bh->b_data; new_bh 1525 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 1553 fs/ocfs2/refcounttree.c new_bh = sb_getblk(sb, blkno); new_bh 1554 fs/ocfs2/refcounttree.c if (new_bh == NULL) { new_bh 1559 fs/ocfs2/refcounttree.c ocfs2_set_new_buffer_uptodate(ci, new_bh); new_bh 1561 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access_rb(handle, ci, new_bh, new_bh 1569 fs/ocfs2/refcounttree.c new_rb = (struct ocfs2_refcount_block *)new_bh->b_data; new_bh 1583 fs/ocfs2/refcounttree.c ret = ocfs2_divide_leaf_refcount_block(ref_leaf_bh, new_bh, &new_cpos); new_bh 1590 fs/ocfs2/refcounttree.c ocfs2_journal_dirty(handle, new_bh); new_bh 1595 fs/ocfs2/refcounttree.c (unsigned long long)new_bh->b_blocknr, new_cpos); new_bh 1598 fs/ocfs2/refcounttree.c ret = ocfs2_insert_extent(handle, &ref_et, new_cpos, new_bh->b_blocknr, new_bh 1604 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 1746 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 1763 fs/ocfs2/refcounttree.c &new_bh); new_bh 1769 fs/ocfs2/refcounttree.c ref_leaf_bh = new_bh; new_bh 1809 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 1838 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 1893 fs/ocfs2/refcounttree.c &new_bh); new_bh 1899 fs/ocfs2/refcounttree.c ref_leaf_bh = new_bh; new_bh 1974 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 3011 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 3017 fs/ocfs2/refcounttree.c new_bh = sb_getblk(osb->sb, new_block); new_bh 3018 fs/ocfs2/refcounttree.c if (new_bh == NULL) { new_bh 3024 fs/ocfs2/refcounttree.c ocfs2_set_new_buffer_uptodate(ci, new_bh); new_bh 3032 fs/ocfs2/refcounttree.c ret = ocfs2_journal_access(handle, ci, new_bh, new_bh 3039 fs/ocfs2/refcounttree.c memcpy(new_bh->b_data, old_bh->b_data, sb->s_blocksize); new_bh 3040 fs/ocfs2/refcounttree.c ocfs2_journal_dirty(handle, new_bh); new_bh 3042 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 3044 fs/ocfs2/refcounttree.c new_bh = NULL; new_bh 3048 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 4184 fs/ocfs2/refcounttree.c struct buffer_head *new_bh = NULL; new_bh 4205 fs/ocfs2/refcounttree.c ret = ocfs2_inode_lock_nested(new_inode, &new_bh, 1, new_bh 4213 fs/ocfs2/refcounttree.c new_inode, new_bh, preserve); new_bh 4221 fs/ocfs2/refcounttree.c new_inode, new_bh, new_bh 4230 fs/ocfs2/refcounttree.c new_inode, new_bh, preserve); new_bh 4236 fs/ocfs2/refcounttree.c brelse(new_bh); new_bh 2871 fs/ocfs2/xattr.c struct buffer_head *new_bh = NULL; new_bh 2889 fs/ocfs2/xattr.c new_bh = sb_getblk(inode->i_sb, first_blkno); new_bh 2890 fs/ocfs2/xattr.c if (!new_bh) { new_bh 2896 fs/ocfs2/xattr.c ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); new_bh 2899 fs/ocfs2/xattr.c new_bh, new_bh 2907 fs/ocfs2/xattr.c xblk = (struct ocfs2_xattr_block *)new_bh->b_data; new_bh 2926 fs/ocfs2/xattr.c ocfs2_journal_dirty(ctxt->handle, new_bh); new_bh 2938 fs/ocfs2/xattr.c *ret_bh = new_bh; new_bh 2939 fs/ocfs2/xattr.c new_bh = NULL; new_bh 2942 fs/ocfs2/xattr.c brelse(new_bh); new_bh 2957 fs/ocfs2/xattr.c struct buffer_head *new_bh = NULL; new_bh 2964 fs/ocfs2/xattr.c 0, &new_bh); new_bh 2970 fs/ocfs2/xattr.c xs->xattr_bh = new_bh; new_bh 6189 fs/ocfs2/xattr.c struct buffer_head *new_bh; new_bh 6342 fs/ocfs2/xattr.c struct buffer_head *new_bh, new_bh 6393 fs/ocfs2/xattr.c ret = func(sb, new_bh, new_xh, j, &new_xv, &value_bh, para); new_bh 6475 fs/ocfs2/xattr.c (args->new_bh->b_data + header_off); new_bh 6480 fs/ocfs2/xattr.c .vb_bh = args->new_bh, new_bh 6499 fs/ocfs2/xattr.c args->new_bh, OCFS2_JOURNAL_ACCESS_WRITE); new_bh 6505 fs/ocfs2/xattr.c memcpy(args->new_bh->b_data + header_off, new_bh 6508 fs/ocfs2/xattr.c new_di = (struct ocfs2_dinode *)args->new_bh->b_data; new_bh 6512 fs/ocfs2/xattr.c args->new_bh, new_xh, &vb, meta_ac, new_bh 6535 fs/ocfs2/xattr.c ocfs2_journal_dirty(handle, args->new_bh); new_bh 6622 fs/ocfs2/xattr.c args->new_bh, new_bh 6651 fs/ocfs2/xattr.c new_di = (struct ocfs2_dinode *)args->new_bh->b_data; new_bh 6657 fs/ocfs2/xattr.c ocfs2_journal_dirty(handle, args->new_bh); new_bh 7102 fs/ocfs2/xattr.c ret = ocfs2_create_empty_xattr_block(args->new_inode, args->new_bh, new_bh 7133 fs/ocfs2/xattr.c struct buffer_head *new_bh, new_bh 7158 fs/ocfs2/xattr.c args.new_bh = new_bh; new_bh 85 fs/ocfs2/xattr.h struct buffer_head *new_bh, new_bh 829 fs/reiserfs/fix_node.c struct buffer_head *new_bh, *Sh = PATH_H_PBUFFER(tb->tb_path, h); new_bh 890 fs/reiserfs/fix_node.c new_bh = sb_getblk(sb, *blocknr); new_bh 891 fs/reiserfs/fix_node.c RFALSE(buffer_dirty(new_bh) || new_bh 892 fs/reiserfs/fix_node.c buffer_journaled(new_bh) || new_bh 893 fs/reiserfs/fix_node.c buffer_journal_dirty(new_bh), new_bh 895 fs/reiserfs/fix_node.c new_bh); new_bh 901 fs/reiserfs/fix_node.c set_buffer_journal_new(new_bh); new_bh 902 fs/reiserfs/fix_node.c tb->FEB[tb->cur_blknum++] = new_bh;