Home
last modified time | relevance | path

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

/fs/ext2/
Dxattr.c626 ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, in ext2_xattr_set2() argument
637 if (new_bh == old_bh) { in ext2_xattr_set2()
654 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
657 new_bh = old_bh; in ext2_xattr_set2()
701 if (new_bh && new_bh != old_bh) in ext2_xattr_set2()
709 if (old_bh && old_bh != new_bh) { in ext2_xattr_set2()
716 ce = mb_cache_entry_get(ext2_xattr_cache, old_bh->b_bdev, in ext2_xattr_set2()
717 old_bh->b_blocknr); in ext2_xattr_set2()
718 lock_buffer(old_bh); in ext2_xattr_set2()
719 if (HDR(old_bh)->h_refcount == cpu_to_le32(1)) { in ext2_xattr_set2()
[all …]
/fs/bfs/
Ddir.c225 struct buffer_head *old_bh, *new_bh; in bfs_rename() local
230 old_bh = new_bh = NULL; in bfs_rename()
238 old_bh = bfs_find_entry(old_dir, in bfs_rename()
242 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
270 mark_buffer_dirty(old_bh); in bfs_rename()
275 brelse(old_bh); in bfs_rename()
/fs/
Dbuffer.c1669 struct buffer_head *old_bh; in unmap_underlying_metadata() local
1673 old_bh = __find_get_block_slow(bdev, block); in unmap_underlying_metadata()
1674 if (old_bh) { in unmap_underlying_metadata()
1675 clear_buffer_dirty(old_bh); in unmap_underlying_metadata()
1676 wait_on_buffer(old_bh); in unmap_underlying_metadata()
1677 clear_buffer_req(old_bh); in unmap_underlying_metadata()
1678 __brelse(old_bh); in unmap_underlying_metadata()
/fs/ext3/
Dnamei.c2266 struct buffer_head * old_bh, * new_bh, * dir_bh; in ext3_rename() local
2270 old_bh = new_bh = dir_bh = NULL; in ext3_rename()
2285 old_bh = ext3_find_entry(old_dir, &old_dentry->d_name, &old_de); in ext3_rename()
2294 if (!old_bh || le32_to_cpu(old_de->inode) != old_inode->i_ino) in ext3_rename()
2356 old_de, old_bh)) == -ENOENT) { in ext3_rename()
2409 brelse (old_bh); in ext3_rename()
/fs/ext4/
Dnamei.c2312 struct buffer_head *old_bh, *new_bh, *dir_bh; in ext4_rename() local
2316 old_bh = new_bh = dir_bh = NULL; in ext4_rename()
2331 old_bh = ext4_find_entry(old_dir, &old_dentry->d_name, &old_de); in ext4_rename()
2340 if (!old_bh || le32_to_cpu(old_de->inode) != old_inode->i_ino) in ext4_rename()
2403 old_de, old_bh)) == -ENOENT) { in ext4_rename()
2457 brelse(old_bh); in ext4_rename()
/fs/ocfs2/
Dxattr.c3384 struct buffer_head *old_bh) in ocfs2_xattr_update_xattr_search() argument
3386 char *buf = old_bh->b_data; in ocfs2_xattr_update_xattr_search()