| /linux/fs/ext2/ |
| A D | xattr.c | 716 if (new_bh) { in ext2_xattr_set2() 734 unlock_buffer(new_bh); in ext2_xattr_set2() 738 new_bh = old_bh; in ext2_xattr_set2() 739 get_bh(new_bh); in ext2_xattr_set2() 760 lock_buffer(new_bh); in ext2_xattr_set2() 761 memcpy(new_bh->b_data, header, new_bh->b_size); in ext2_xattr_set2() 763 unlock_buffer(new_bh); in ext2_xattr_set2() 772 if (buffer_req(new_bh) && !buffer_uptodate(new_bh)) in ext2_xattr_set2() 778 EXT2_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext2_xattr_set2() 786 if (new_bh && new_bh != old_bh) { in ext2_xattr_set2() [all …]
|
| /linux/fs/ocfs2/ |
| A D | buffer_head_io.c | 95 int new_bh = 0; in ocfs2_read_blocks_sync() local 105 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks_sync() 158 if (new_bh && bh) { in ocfs2_read_blocks_sync() 202 int new_bh = 0; in ocfs2_read_blocks() local 231 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks() 344 if (new_bh && bh) { in ocfs2_read_blocks()
|
| A D | refcounttree.c | 607 if (!new_bh) { in ocfs2_create_refcount_tree() 684 brelse(new_bh); in ocfs2_create_refcount_tree() 1354 new_bh = NULL; in ocfs2_expand_inline_ref_root() 1356 brelse(new_bh); in ocfs2_expand_inline_ref_root() 1598 brelse(new_bh); in ocfs2_new_leaf_refcount_block() 1803 brelse(new_bh); in ocfs2_insert_refcount_rec() 1968 brelse(new_bh); in ocfs2_split_refcount_rec() 3039 brelse(new_bh); in ocfs2_duplicate_clusters_by_jbd() 3041 new_bh = NULL; in ocfs2_duplicate_clusters_by_jbd() 3045 brelse(new_bh); in ocfs2_duplicate_clusters_by_jbd() [all …]
|
| A D | dir.c | 2281 *ret_new_bh = new_bh; in ocfs2_fill_new_dir_el() 2282 new_bh = NULL; in ocfs2_fill_new_dir_el() 2285 brelse(new_bh); in ocfs2_fill_new_dir_el() 3132 if (!*new_bh) { in ocfs2_do_extend_dir() 3184 &new_bh); in ocfs2_extend_dir() 3202 BUG_ON(new_bh == NULL); in ocfs2_extend_dir() 3210 brelse(new_bh); in ocfs2_extend_dir() 3211 new_bh = NULL; in ocfs2_extend_dir() 3303 dx_root_bh, new_bh); in ocfs2_extend_dir() 3325 *new_de_bh = new_bh; in ocfs2_extend_dir() [all …]
|
| A D | xattr.h | 83 struct buffer_head *new_bh,
|
| A D | xattr.c | 2892 if (!new_bh) { in ocfs2_create_xattr_block() 2901 new_bh, in ocfs2_create_xattr_block() 2940 *ret_bh = new_bh; in ocfs2_create_xattr_block() 2941 new_bh = NULL; in ocfs2_create_xattr_block() 2944 brelse(new_bh); in ocfs2_create_xattr_block() 2966 0, &new_bh); in ocfs2_xattr_block_set() 2972 xs->xattr_bh = new_bh; in ocfs2_xattr_block_set() 6182 struct buffer_head *new_bh; member 6473 .vb_bh = args->new_bh, in ocfs2_reflink_xattr_inline() 6606 args->new_bh, in ocfs2_reflink_xattr_block() [all …]
|
| A D | ocfs2_trace.h | 2312 TP_PROTO(unsigned long long new_blkno, void *new_bh, 2314 TP_ARGS(new_blkno, new_bh, newdi_blkno), 2317 __field(void *, new_bh) 2322 __entry->new_bh = new_bh; 2325 TP_printk("%llu %p %llu", __entry->new_blkno, __entry->new_bh,
|
| /linux/fs/bfs/ |
| A D | dir.c | 207 struct buffer_head *old_bh, *new_bh; in bfs_rename() local 215 old_bh = new_bh = NULL; in bfs_rename() 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); in bfs_rename() 232 if (new_bh && !new_inode) { in bfs_rename() 233 brelse(new_bh); in bfs_rename() 234 new_bh = NULL; in bfs_rename() 236 if (!new_bh) { in bfs_rename() 255 brelse(new_bh); in bfs_rename()
|
| /linux/fs/ext4/ |
| A D | xattr.c | 2040 new_bh = NULL; in ext4_xattr_block_set() 2044 if (new_bh) { in ext4_xattr_block_set() 2084 brelse(new_bh); in ext4_xattr_block_set() 2087 new_bh = NULL; in ext4_xattr_block_set() 2099 new_bh); in ext4_xattr_block_set() 2110 new_bh = bs->bh; in ext4_xattr_block_set() 2111 get_bh(new_bh); in ext4_xattr_block_set() 2161 memcpy(new_bh->b_data, s->base, new_bh->b_size); in ext4_xattr_block_set() 2167 new_bh); in ext4_xattr_block_set() 2177 EXT4_I(inode)->i_file_acl = new_bh ? new_bh->b_blocknr : 0; in ext4_xattr_block_set() [all …]
|
| /linux/fs/affs/ |
| A D | file.c | 123 struct buffer_head *new_bh; in affs_alloc_extblock() local 130 new_bh = affs_getzeroblk(sb, blocknr); in affs_alloc_extblock() 131 if (!new_bh) { in affs_alloc_extblock() 136 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock() 137 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); in affs_alloc_extblock() 138 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); in affs_alloc_extblock() 139 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); in affs_alloc_extblock() 140 affs_fix_checksum(sb, new_bh); in affs_alloc_extblock() 142 mark_buffer_dirty_inode(new_bh, inode); in affs_alloc_extblock() 154 return new_bh; in affs_alloc_extblock()
|
| /linux/fs/jbd2/ |
| A D | journal.c | 332 struct buffer_head *new_bh; in jbd2_journal_write_metadata_buffer() local 352 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer() 391 brelse(new_bh); in jbd2_journal_write_metadata_buffer() 392 free_buffer_head(new_bh); in jbd2_journal_write_metadata_buffer() 418 new_bh->b_size = bh_in->b_size; in jbd2_journal_write_metadata_buffer() 419 new_bh->b_bdev = journal->j_dev; in jbd2_journal_write_metadata_buffer() 420 new_bh->b_blocknr = blocknr; in jbd2_journal_write_metadata_buffer() 421 new_bh->b_private = bh_in; in jbd2_journal_write_metadata_buffer() 422 set_buffer_mapped(new_bh); in jbd2_journal_write_metadata_buffer() 423 set_buffer_dirty(new_bh); in jbd2_journal_write_metadata_buffer() [all …]
|
| /linux/fs/reiserfs/ |
| A D | fix_node.c | 829 struct buffer_head *new_bh, *Sh = PATH_H_PBUFFER(tb->tb_path, h); in get_empty_nodes() local 890 new_bh = sb_getblk(sb, *blocknr); in get_empty_nodes() 891 RFALSE(buffer_dirty(new_bh) || in get_empty_nodes() 892 buffer_journaled(new_bh) || in get_empty_nodes() 893 buffer_journal_dirty(new_bh), in get_empty_nodes() 895 new_bh); in get_empty_nodes() 901 set_buffer_journal_new(new_bh); in get_empty_nodes() 902 tb->FEB[tb->cur_blknum++] = new_bh; in get_empty_nodes()
|
| /linux/fs/exfat/ |
| A D | namei.c | 1131 struct buffer_head *new_bh = NULL; in __exfat_rename() local 1159 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename() 1164 brelse(new_bh); in __exfat_rename()
|
| /linux/fs/nilfs2/ |
| A D | segment.c | 1580 struct buffer_head *new_bh) in nilfs_list_replace_buffer() argument 1582 BUG_ON(!list_empty(&new_bh->b_assoc_buffers)); in nilfs_list_replace_buffer() 1584 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()
|