/linux-master/fs/ext2/ |
H A D | xattr.c | 710 struct buffer_head *new_bh = NULL; local 715 new_bh = ext2_xattr_cache_find(inode, header); 716 if (new_bh) { 718 if (new_bh == old_bh) { 719 ea_bdebug(new_bh, "keeping this block"); 723 ea_bdebug(new_bh, "reusing block"); 727 unlock_buffer(new_bh); 730 le32_add_cpu(&HDR(new_bh)->h_refcount, 1); 731 ea_bdebug(new_bh, "refcount now=%d", 732 le32_to_cpu(HDR(new_bh) [all...] |
/linux-master/fs/ocfs2/ |
H A D | buffer_head_io.c | 95 int new_bh = 0; local 105 new_bh = (bhs[0] == NULL); 158 if (new_bh && bh) { 202 int new_bh = 0; local 231 new_bh = (bhs[0] == NULL); 345 if (new_bh && bh) {
|
H A D | xattr.h | 83 struct buffer_head *new_bh,
|
H A D | refcounttree.c | 558 struct buffer_head *new_bh = NULL; local 605 new_bh = sb_getblk(inode->i_sb, first_blkno); 606 if (!new_bh) { 611 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh); 613 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh, 621 rb = (struct ocfs2_refcount_block *)new_bh->b_data; 636 ocfs2_journal_dirty(handle, new_bh); 683 brelse(new_bh); 1285 struct buffer_head *new_bh = NULL; local 1305 new_bh 1446 ocfs2_divide_leaf_refcount_block(struct buffer_head *ref_leaf_bh, struct buffer_head *new_bh, u32 *split_cpos) argument 1525 struct buffer_head *new_bh = NULL; local 1746 struct buffer_head *new_bh = NULL; local 1838 struct buffer_head *new_bh = NULL; local 3014 struct buffer_head *new_bh = NULL; local 4157 struct buffer_head *new_bh = NULL; local [all...] |
H A D | dir.c | 62 struct buffer_head **new_bh); 2220 struct buffer_head *new_bh = NULL; local 2227 data_ac, NULL, &new_bh); 2233 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); local 2235 status = ocfs2_journal_access_db(handle, INODE_CACHE(inode), new_bh, 2241 memset(new_bh->b_data, 0, osb->sb->s_blocksize); 2243 de = ocfs2_fill_initial_dirents(inode, parent, new_bh->b_data, size); 2255 ocfs2_init_dir_trailer(inode, new_bh, size); 2258 ocfs2_journal_dirty(handle, new_bh); 2271 *ret_new_bh = new_bh; 3079 ocfs2_do_extend_dir(struct super_block *sb, handle_t *handle, struct inode *dir, struct buffer_head *parent_fe_bh, struct ocfs2_alloc_context *data_ac, struct ocfs2_alloc_context *meta_ac, struct buffer_head **new_bh) argument 3159 struct buffer_head *new_bh = NULL; local 3274 ocfs2_set_new_buffer_uptodate(INODE_CACHE(dir), new_bh); local [all...] |
H A D | xattr.c | 2865 struct buffer_head *new_bh = NULL; local 2883 new_bh = sb_getblk(inode->i_sb, first_blkno); 2884 if (!new_bh) { 2890 ocfs2_set_new_buffer_uptodate(INODE_CACHE(inode), new_bh); local 2893 new_bh, 2901 xblk = (struct ocfs2_xattr_block *)new_bh->b_data; 2920 ocfs2_journal_dirty(ctxt->handle, new_bh); 2932 *ret_bh = new_bh; 2933 new_bh = NULL; 2936 brelse(new_bh); 2951 struct buffer_head *new_bh = NULL; local 6183 struct buffer_head *new_bh; member in struct:ocfs2_xattr_reflink 6332 ocfs2_reflink_xattr_header(handle_t *handle, struct ocfs2_xattr_reflink *args, struct buffer_head *old_bh, struct ocfs2_xattr_header *xh, struct buffer_head *new_bh, struct ocfs2_xattr_header *new_xh, struct ocfs2_xattr_value_buf *vb, struct ocfs2_alloc_context *meta_ac, get_xattr_value_root *func, void *para) argument 7124 ocfs2_reflink_xattrs(struct inode *old_inode, struct buffer_head *old_bh, struct inode *new_inode, struct buffer_head *new_bh, bool preserve_security) argument [all...] |
H 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-master/fs/bfs/ |
H A D | dir.c | 207 struct buffer_head *old_bh, *new_bh; local 215 old_bh = new_bh = NULL; 230 new_bh = bfs_find_entry(new_dir, &new_dentry->d_name, &new_de); 232 if (new_bh && !new_inode) { 233 brelse(new_bh); 234 new_bh = NULL; 236 if (!new_bh) { 255 brelse(new_bh);
|
/linux-master/fs/ext4/ |
H A D | xattr.c | 1922 struct buffer_head *new_bh = NULL; local 2062 new_bh = ext4_xattr_block_cache_find(inode, header(s->base), 2064 if (new_bh) { 2066 if (new_bh == bs->bh) 2067 ea_bdebug(new_bh, "keeping"); 2080 BUFFER_TRACE(new_bh, "get_write_access"); 2082 handle, sb, new_bh, 2086 lock_buffer(new_bh); 2094 ref = le32_to_cpu(BHDR(new_bh)->h_refcount) + 1; 2100 unlock_buffer(new_bh); [all...] |
/linux-master/fs/affs/ |
H A D | file.c | 123 struct buffer_head *new_bh; local 130 new_bh = affs_getzeroblk(sb, blocknr); 131 if (!new_bh) { 136 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); 137 AFFS_HEAD(new_bh)->key = cpu_to_be32(blocknr); 138 AFFS_TAIL(sb, new_bh)->stype = cpu_to_be32(ST_FILE); 139 AFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino); 140 affs_fix_checksum(sb, new_bh); 142 mark_buffer_dirty_inode(new_bh, inode); 154 return new_bh; [all...] |
/linux-master/fs/jbd2/ |
H A D | journal.c | 335 struct buffer_head *new_bh; local 352 new_bh = alloc_buffer_head(GFP_NOFS|__GFP_NOFAIL); 355 atomic_set(&new_bh->b_count, 1); 401 brelse(new_bh); 435 folio_set_bh(new_bh, new_folio, new_offset); 436 new_bh->b_size = bh_in->b_size; 437 new_bh->b_bdev = journal->j_dev; 438 new_bh->b_blocknr = blocknr; 439 new_bh->b_private = bh_in; 440 set_buffer_mapped(new_bh); [all...] |
/linux-master/fs/reiserfs/ |
H A D | fix_node.c | 829 struct buffer_head *new_bh, *Sh = PATH_H_PBUFFER(tb->tb_path, h); local 890 new_bh = sb_getblk(sb, *blocknr); 891 RFALSE(buffer_dirty(new_bh) || 892 buffer_journaled(new_bh) || 893 buffer_journal_dirty(new_bh), 895 new_bh); 901 set_buffer_journal_new(new_bh); 902 tb->FEB[tb->cur_blknum++] = new_bh;
|
/linux-master/fs/exfat/ |
H A D | namei.c | 1118 struct buffer_head *new_bh = NULL; local 1146 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); 1151 brelse(new_bh);
|
/linux-master/fs/nilfs2/ |
H A D | segment.c | 1532 struct buffer_head *new_bh) 1534 BUG_ON(!list_empty(&new_bh->b_assoc_buffers)); 1536 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); 1531 nilfs_list_replace_buffer(struct buffer_head *old_bh, struct buffer_head *new_bh) argument
|