Home
last modified time | relevance | path

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

/fs/ext2/
Dxattr.c624 ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, in ext2_xattr_set2() argument
636 if (new_bh == old_bh) { in ext2_xattr_set2()
653 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
656 new_bh = old_bh; in ext2_xattr_set2()
701 if (new_bh && new_bh != old_bh) { in ext2_xattr_set2()
711 if (old_bh && old_bh != new_bh) { in ext2_xattr_set2()
716 lock_buffer(old_bh); in ext2_xattr_set2()
717 if (HDR(old_bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set2()
718 __u32 hash = le32_to_cpu(HDR(old_bh)->h_hash); in ext2_xattr_set2()
725 hash, old_bh->b_blocknr); in ext2_xattr_set2()
[all …]
/fs/bfs/
Ddir.c214 struct buffer_head *old_bh, *new_bh; in bfs_rename() local
222 old_bh = new_bh = NULL; in bfs_rename()
230 old_bh = bfs_find_entry(old_dir, in bfs_rename()
234 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
262 mark_buffer_dirty_inode(old_bh, old_dir); in bfs_rename()
267 brelse(old_bh); in bfs_rename()
/fs/ocfs2/
Dxattr.h91 struct buffer_head *old_bh,
Drefcounttree.c3012 struct buffer_head *old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd() local
3028 ret = ocfs2_read_block(ci, old_block, &old_bh, NULL); in ocfs2_duplicate_clusters_by_jbd()
3041 memcpy(new_bh->b_data, old_bh->b_data, sb->s_blocksize); in ocfs2_duplicate_clusters_by_jbd()
3045 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
3047 old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd()
3051 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
4174 struct buffer_head *old_bh, in __ocfs2_reflink() argument
4194 ret = ocfs2_attach_refcount_tree(inode, old_bh); in __ocfs2_reflink()
4208 ret = ocfs2_create_reflink_node(inode, old_bh, in __ocfs2_reflink()
4216 ret = ocfs2_reflink_xattrs(inode, old_bh, in __ocfs2_reflink()
[all …]
Dxattr.c4259 struct buffer_head *old_bh) in ocfs2_xattr_update_xattr_search() argument
4261 char *buf = old_bh->b_data; in ocfs2_xattr_update_xattr_search()
6193 struct buffer_head *old_bh; member
6345 struct buffer_head *old_bh, in ocfs2_reflink_xattr_header() argument
6363 trace_ocfs2_reflink_xattr_header((unsigned long long)old_bh->b_blocknr, in ocfs2_reflink_xattr_header()
6392 ret = func(sb, old_bh, xh, i, &xv, NULL, para); in ocfs2_reflink_xattr_header()
6474 struct ocfs2_dinode *di = (struct ocfs2_dinode *)args->old_bh->b_data; in ocfs2_reflink_xattr_inline()
6478 (args->old_bh->b_data + header_off); in ocfs2_reflink_xattr_inline()
6511 args->old_bh->b_data + header_off, inline_size); in ocfs2_reflink_xattr_inline()
6516 ret = ocfs2_reflink_xattr_header(handle, args, args->old_bh, xh, in ocfs2_reflink_xattr_inline()
[all …]
/fs/
Dbuffer.c1625 struct buffer_head *old_bh; in unmap_underlying_metadata() local
1629 old_bh = __find_get_block_slow(bdev, block); in unmap_underlying_metadata()
1630 if (old_bh) { in unmap_underlying_metadata()
1631 clear_buffer_dirty(old_bh); in unmap_underlying_metadata()
1632 wait_on_buffer(old_bh); in unmap_underlying_metadata()
1633 clear_buffer_req(old_bh); in unmap_underlying_metadata()
1634 __brelse(old_bh); in unmap_underlying_metadata()
/fs/nilfs2/
Dsegment.c1543 static void nilfs_list_replace_buffer(struct buffer_head *old_bh, in nilfs_list_replace_buffer() argument
1548 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()