Home
last modified time | relevance | path

Searched refs:old_bh (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/fs/ext2/
H A Dxattr.c658 ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, in ext2_xattr_set2() argument
670 if (new_bh == old_bh) { in ext2_xattr_set2()
687 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
690 new_bh = old_bh; in ext2_xattr_set2()
735 if (new_bh && new_bh != old_bh) { in ext2_xattr_set2()
745 if (old_bh && old_bh != new_bh) { in ext2_xattr_set2()
750 lock_buffer(old_bh); in ext2_xattr_set2()
751 if (HDR(old_bh) in ext2_xattr_set2()
[all...]
/kernel/linux/linux-5.10/fs/bfs/
H A Ddir.c207 struct buffer_head *old_bh, *new_bh; in bfs_rename() local
215 old_bh = new_bh = NULL; in bfs_rename()
223 old_bh = bfs_find_entry(old_dir, &old_dentry->d_name, &old_de); in bfs_rename()
225 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
249 mark_buffer_dirty_inode(old_bh, old_dir); in bfs_rename()
254 brelse(old_bh); in bfs_rename()
/kernel/linux/linux-6.6/fs/bfs/
H A Ddir.c207 struct buffer_head *old_bh, *new_bh; in bfs_rename() local
215 old_bh = new_bh = NULL; in bfs_rename()
223 old_bh = bfs_find_entry(old_dir, &old_dentry->d_name, &old_de); in bfs_rename()
225 if (!old_bh || (le16_to_cpu(old_de->ino) != old_inode->i_ino)) in bfs_rename()
249 mark_buffer_dirty_inode(old_bh, old_dir); in bfs_rename()
254 brelse(old_bh); in bfs_rename()
/kernel/linux/linux-6.6/fs/ext2/
H A Dxattr.c706 ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh, in ext2_xattr_set2() argument
718 if (new_bh == old_bh) { in ext2_xattr_set2()
735 } else if (old_bh && header == HDR(old_bh)) { in ext2_xattr_set2()
738 new_bh = old_bh; in ext2_xattr_set2()
786 if (new_bh && new_bh != old_bh) { in ext2_xattr_set2()
796 if (old_bh && old_bh != new_bh) { in ext2_xattr_set2()
801 ext2_xattr_release_block(inode, old_bh); in ext2_xattr_set2()
/kernel/linux/linux-5.10/fs/exfat/
H A Dnamei.c1024 struct buffer_head *new_bh, *old_bh; in exfat_rename_file() local
1027 epold = exfat_get_dentry(sb, p_dir, oldentry, &old_bh, &sector_old); in exfat_rename_file()
1059 brelse(old_bh); in exfat_rename_file()
1062 epold = exfat_get_dentry(sb, p_dir, oldentry + 1, &old_bh, in exfat_rename_file()
1069 brelse(old_bh); in exfat_rename_file()
1075 brelse(old_bh); in exfat_rename_file()
1091 exfat_update_bh(old_bh, sync); in exfat_rename_file()
1092 brelse(old_bh); in exfat_rename_file()
1216 struct buffer_head *old_bh, *new_bh = NULL; in __exfat_rename() local
1232 ep = exfat_get_dentry(sb, &olddir, dentry, &old_bh, NUL in __exfat_rename()
[all...]
/kernel/linux/linux-6.6/fs/exfat/
H A Dnamei.c1019 struct buffer_head *new_bh, *old_bh; in exfat_rename_file() local
1022 epold = exfat_get_dentry(sb, p_dir, oldentry, &old_bh); in exfat_rename_file()
1053 brelse(old_bh); in exfat_rename_file()
1056 epold = exfat_get_dentry(sb, p_dir, oldentry + 1, &old_bh); in exfat_rename_file()
1061 brelse(old_bh); in exfat_rename_file()
1067 brelse(old_bh); in exfat_rename_file()
1084 exfat_update_bh(old_bh, sync); in exfat_rename_file()
1085 brelse(old_bh); in exfat_rename_file()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dxattr.h83 struct buffer_head *old_bh,
H A 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()
4180 struct buffer_head *old_bh, in __ocfs2_reflink()
4200 ret = ocfs2_attach_refcount_tree(inode, old_bh); in __ocfs2_reflink()
4214 ret = ocfs2_create_reflink_node(inode, old_bh, in __ocfs2_reflink()
4222 ret = ocfs2_reflink_xattrs(inode, old_bh, in __ocfs2_reflink()
4179 __ocfs2_reflink(struct dentry *old_dentry, struct buffer_head *old_bh, struct inode *new_inode, bool preserve) __ocfs2_reflink() argument
4255 struct buffer_head *old_bh = NULL; ocfs2_reflink() local
[all...]
H A Dxattr.c4254 struct buffer_head *old_bh) in ocfs2_xattr_update_xattr_search()
4256 char *buf = old_bh->b_data; in ocfs2_xattr_update_xattr_search()
6183 * old_bh and new_bh are inode bh for the old and new inode.
6188 struct buffer_head *old_bh; member
6340 struct buffer_head *old_bh, in ocfs2_reflink_xattr_header()
6358 trace_ocfs2_reflink_xattr_header((unsigned long long)old_bh->b_blocknr, in ocfs2_reflink_xattr_header()
6387 ret = func(sb, old_bh, xh, i, &xv, NULL, para); in ocfs2_reflink_xattr_header()
6469 struct ocfs2_dinode *di = (struct ocfs2_dinode *)args->old_bh->b_data; in ocfs2_reflink_xattr_inline()
6473 (args->old_bh->b_data + header_off); in ocfs2_reflink_xattr_inline()
6506 args->old_bh in ocfs2_reflink_xattr_inline()
4252 ocfs2_xattr_update_xattr_search(struct inode *inode, struct ocfs2_xattr_search *xs, struct buffer_head *old_bh) ocfs2_xattr_update_xattr_search() argument
6338 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) ocfs2_reflink_xattr_header() argument
7130 ocfs2_reflink_xattrs(struct inode *old_inode, struct buffer_head *old_bh, struct inode *new_inode, struct buffer_head *new_bh, bool preserve_security) ocfs2_reflink_xattrs() argument
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dxattr.h81 struct buffer_head *old_bh,
H A Drefcounttree.c3013 struct buffer_head *old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd() local
3029 ret = ocfs2_read_block(ci, old_block, &old_bh, NULL); in ocfs2_duplicate_clusters_by_jbd()
3042 memcpy(new_bh->b_data, old_bh->b_data, sb->s_blocksize); in ocfs2_duplicate_clusters_by_jbd()
3046 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
3048 old_bh = NULL; in ocfs2_duplicate_clusters_by_jbd()
3052 brelse(old_bh); in ocfs2_duplicate_clusters_by_jbd()
4151 struct buffer_head *old_bh, in __ocfs2_reflink()
4171 ret = ocfs2_attach_refcount_tree(inode, old_bh); in __ocfs2_reflink()
4185 ret = ocfs2_create_reflink_node(inode, old_bh, in __ocfs2_reflink()
4193 ret = ocfs2_reflink_xattrs(inode, old_bh, in __ocfs2_reflink()
4150 __ocfs2_reflink(struct dentry *old_dentry, struct buffer_head *old_bh, struct inode *new_inode, bool preserve) __ocfs2_reflink() argument
4226 struct buffer_head *old_bh = NULL; ocfs2_reflink() local
[all...]
H A Dxattr.c4248 struct buffer_head *old_bh) in ocfs2_xattr_update_xattr_search()
4250 char *buf = old_bh->b_data; in ocfs2_xattr_update_xattr_search()
6177 * old_bh and new_bh are inode bh for the old and new inode.
6182 struct buffer_head *old_bh; member
6334 struct buffer_head *old_bh, in ocfs2_reflink_xattr_header()
6352 trace_ocfs2_reflink_xattr_header((unsigned long long)old_bh->b_blocknr, in ocfs2_reflink_xattr_header()
6381 ret = func(sb, old_bh, xh, i, &xv, NULL, para); in ocfs2_reflink_xattr_header()
6463 struct ocfs2_dinode *di = (struct ocfs2_dinode *)args->old_bh->b_data; in ocfs2_reflink_xattr_inline()
6467 (args->old_bh->b_data + header_off); in ocfs2_reflink_xattr_inline()
6500 args->old_bh in ocfs2_reflink_xattr_inline()
4246 ocfs2_xattr_update_xattr_search(struct inode *inode, struct ocfs2_xattr_search *xs, struct buffer_head *old_bh) ocfs2_xattr_update_xattr_search() argument
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) ocfs2_reflink_xattr_header() 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) ocfs2_reflink_xattrs() argument
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dsegment.c1576 static void nilfs_list_replace_buffer(struct buffer_head *old_bh, in nilfs_list_replace_buffer() argument
1581 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()
1582 /* The caller must release old_bh */ in nilfs_list_replace_buffer()
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dsegment.c1573 static void nilfs_list_replace_buffer(struct buffer_head *old_bh, in nilfs_list_replace_buffer() argument
1578 list_replace_init(&old_bh->b_assoc_buffers, &new_bh->b_assoc_buffers); in nilfs_list_replace_buffer()
1579 /* The caller must release old_bh */ in nilfs_list_replace_buffer()

Completed in 40 milliseconds