| /linux/fs/ext2/ |
| H A D | xattr.c | 710 struct buffer_head *new_bh = NULL; in ext2_xattr_set2() local 715 new_bh = ext2_xattr_cache_find(inode, header); in ext2_xattr_set2() 716 if (new_bh) { in ext2_xattr_set2() 718 if (new_bh == old_bh) { in ext2_xattr_set2() 719 ea_bdebug(new_bh, "keeping this block"); in ext2_xattr_set2() 723 ea_bdebug(new_bh, "reusing block"); in ext2_xattr_set2() 727 unlock_buffer(new_bh); in ext2_xattr_set2() 730 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); in ext2_xattr_set2() 731 ea_bdebug(new_bh, "refcount now=%d", in ext2_xattr_set2() 732 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2() [all …]
|
| /linux/fs/bfs/ |
| H 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/ocfs2/ |
| H 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()
|
| H A D | refcounttree.c | 560 struct buffer_head *new_bh = NULL; in ocfs2_create_refcount_tree() local 607 new_bh = sb_getblk(inode->i_sb, first_blkno); in ocfs2_create_refcount_tree() 608 if (!new_bh) { in ocfs2_create_refcount_tree() 613 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh); in ocfs2_create_refcount_tree() 615 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh, in ocfs2_create_refcount_tree() 623 rb = (struct ocfs2_refcount_block *)new_bh->b_data; in ocfs2_create_refcount_tree() 638 ocfs2_journal_dirty(handle, new_bh); in ocfs2_create_refcount_tree() 685 brelse(new_bh); in ocfs2_create_refcount_tree() 1287 struct buffer_head *new_bh = NULL; in ocfs2_expand_inline_ref_root() local 1307 new_bh = sb_getblk(sb, blkno); in ocfs2_expand_inline_ref_root() [all …]
|
| H A D | dir.c | 62 struct buffer_head **new_bh); 2276 struct buffer_head *new_bh = NULL; in ocfs2_fill_new_dir_el() local 2283 data_ac, NULL, &new_bh); in ocfs2_fill_new_dir_el() 2289 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); in ocfs2_fill_new_dir_el() 2291 status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh, in ocfs2_fill_new_dir_el() 2297 memset(new_bh->b_data, 0, osb->sb->s_blocksize); in ocfs2_fill_new_dir_el() 2299 de = ocfs2_fill_initial_dirents(inode, parent, new_bh->b_data, size); in ocfs2_fill_new_dir_el() 2311 ocfs2_init_dir_trailer(inode, new_bh, size); in ocfs2_fill_new_dir_el() 2314 ocfs2_journal_dirty(handle, new_bh); in ocfs2_fill_new_dir_el() 2327 *ret_new_bh = new_bh; in ocfs2_fill_new_dir_el() [all …]
|
| H A D | xattr.h | 83 struct buffer_head *new_bh,
|
| H A D | xattr.c | 2903 struct buffer_head *new_bh = NULL; in ocfs2_create_xattr_block() local 2921 new_bh = sb_getblk(inode->i_sb, first_blkno); in ocfs2_create_xattr_block() 2922 if (!new_bh) { in ocfs2_create_xattr_block() 2928 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); in ocfs2_create_xattr_block() 2931 new_bh, in ocfs2_create_xattr_block() 2939 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; in ocfs2_create_xattr_block() 2958 ocfs2_journal_dirty(ctxt->handle, new_bh); in ocfs2_create_xattr_block() 2970 *ret_bh = new_bh; in ocfs2_create_xattr_block() 2971 new_bh = NULL; in ocfs2_create_xattr_block() 2974 brelse(new_bh); in ocfs2_create_xattr_block() [all …]
|
| H A D | ocfs2_trace.h | 2310 TP_PROTO(unsigned long long new_blkno, void *new_bh, 2312 TP_ARGS(new_blkno, new_bh, newdi_blkno), 2315 __field(void *, new_bh) 2320 __entry->new_bh = new_bh; 2323 TP_printk("%llu %p %llu", __entry->new_blkno, __entry->new_bh,
|
| /linux/fs/affs/ |
| H 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/nilfs2/ |
| H A D | segment.c | 1587 struct buffer_head *new_bh) in nilfs_list_replace_buffer() argument 1589 BUG_ON(!list_empty(&new_bh->b_assoc_buffers)); in nilfs_list_replace_buffer() 1591 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()
|