Home
last modified time | relevance | path

Searched refs:old_bh (Results 1 – 9 of 9) sorted by relevance

/fs/ext2/
Dxattr.c622 ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, in ext2_xattr_set2() argument
633 if (new_bh == old_bh) { in ext2_xattr_set2()
650 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
653 new_bh = old_bh; in ext2_xattr_set2()
698 if (new_bh && new_bh != old_bh) { in ext2_xattr_set2()
708 if (old_bh && old_bh != new_bh) { in ext2_xattr_set2()
715 ce = mb_cache_entry_get(ext2_xattr_cache, old_bh->b_bdev, in ext2_xattr_set2()
716 old_bh->b_blocknr); in ext2_xattr_set2()
717 lock_buffer(old_bh); in ext2_xattr_set2()
718 if (HDR(old_bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set2()
[all …]
/fs/bfs/
Ddir.c222 struct buffer_head *old_bh, *new_bh; in bfs_rename() local
227 old_bh = new_bh = NULL; in bfs_rename()
235 old_bh = bfs_find_entry(old_dir, in bfs_rename()
239 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
267 mark_buffer_dirty_inode(old_bh, old_dir); in bfs_rename()
272 brelse(old_bh); in bfs_rename()
/fs/ocfs2/
Dxattr.h93 struct buffer_head *old_bh,
Drefcounttree.c3030 struct buffer_head *old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd() local
3046 ret = ocfs2_read_block(ci, old_block, &old_bh, NULL); in ocfs2_duplicate_clusters_by_jbd()
3059 memcpy(new_bh->b_data, old_bh->b_data, sb->s_blocksize); in ocfs2_duplicate_clusters_by_jbd()
3063 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
3065 old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd()
3069 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
4218 struct buffer_head *old_bh, in __ocfs2_reflink() argument
4238 ret = ocfs2_attach_refcount_tree(inode, old_bh); in __ocfs2_reflink()
4252 ret = ocfs2_create_reflink_node(inode, old_bh, in __ocfs2_reflink()
4260 ret = ocfs2_reflink_xattrs(inode, old_bh, in __ocfs2_reflink()
[all …]
Dxattr.c4234 struct buffer_head *old_bh) in ocfs2_xattr_update_xattr_search() argument
4236 char *buf = old_bh->b_data; in ocfs2_xattr_update_xattr_search()
6169 struct buffer_head *old_bh; member
6322 struct buffer_head *old_bh, in ocfs2_reflink_xattr_header() argument
6340 trace_ocfs2_reflink_xattr_header((unsigned long long)old_bh->b_blocknr, in ocfs2_reflink_xattr_header()
6369 ret = func(sb, old_bh, xh, i, &xv, NULL, para); in ocfs2_reflink_xattr_header()
6451 struct ocfs2_dinode *di = (struct ocfs2_dinode *)args->old_bh->b_data; in ocfs2_reflink_xattr_inline()
6455 (args->old_bh->b_data + header_off); in ocfs2_reflink_xattr_inline()
6488 args->old_bh->b_data + header_off, inline_size); in ocfs2_reflink_xattr_inline()
6493 ret = ocfs2_reflink_xattr_header(handle, args, args->old_bh, xh, in ocfs2_reflink_xattr_inline()
[all …]
/fs/
Dbuffer.c1541 struct buffer_head *old_bh; in unmap_underlying_metadata() local
1545 old_bh = __find_get_block_slow(bdev, block); in unmap_underlying_metadata()
1546 if (old_bh) { in unmap_underlying_metadata()
1547 clear_buffer_dirty(old_bh); in unmap_underlying_metadata()
1548 wait_on_buffer(old_bh); in unmap_underlying_metadata()
1549 clear_buffer_req(old_bh); in unmap_underlying_metadata()
1550 __brelse(old_bh); in unmap_underlying_metadata()
/fs/ext3/
Dnamei.c2339 struct buffer_head * old_bh, * new_bh, * dir_bh; in ext3_rename() local
2346 old_bh = new_bh = dir_bh = NULL; in ext3_rename()
2361 old_bh = ext3_find_entry(old_dir, &old_dentry->d_name, &old_de); in ext3_rename()
2370 if (!old_bh || le32_to_cpu(old_de->inode) != old_inode->i_ino) in ext3_rename()
2436 old_de, old_bh)) == -ENOENT) { in ext3_rename()
2498 brelse (old_bh); in ext3_rename()
/fs/ext4/
Dnamei.c2398 struct buffer_head *old_bh, *new_bh, *dir_bh; in ext4_rename() local
2405 old_bh = new_bh = dir_bh = NULL; in ext4_rename()
2420 old_bh = ext4_find_entry(old_dir, &old_dentry->d_name, &old_de); in ext4_rename()
2429 if (!old_bh || le32_to_cpu(old_de->inode) != old_inode->i_ino) in ext4_rename()
2503 old_de, old_bh)) == -ENOENT) { in ext4_rename()
2562 brelse(old_bh); in ext4_rename()
/fs/nilfs2/
Dsegment.c1460 static void nilfs_list_replace_buffer(struct buffer_head *old_bh, in nilfs_list_replace_buffer() argument
1465 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()