/kernel/linux/linux-5.10/fs/affs/ |
H A D | dir.c | 49 struct buffer_head *dir_bh = NULL; in affs_readdir() local 76 dir_bh = affs_bread(sb, inode->i_ino); in affs_readdir() 77 if (!dir_bh) in affs_readdir() 89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 139 affs_brelse(dir_bh); in affs_readdir()
|
H A D | amigaffs.c | 29 struct buffer_head *dir_bh; in affs_insert_hash() local 38 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash() 39 if (!dir_bh) in affs_insert_hash() 42 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash() 44 affs_brelse(dir_bh); in affs_insert_hash() 45 dir_bh = affs_bread(sb, hash_ino); in affs_insert_hash() 46 if (!dir_bh) in affs_insert_hash() 48 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash() 54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash() 55 AFFS_HEAD(dir_bh) in affs_insert_hash() [all...] |
/kernel/linux/linux-6.6/fs/affs/ |
H A D | dir.c | 49 struct buffer_head *dir_bh = NULL; in affs_readdir() local 76 dir_bh = affs_bread(sb, inode->i_ino); in affs_readdir() 77 if (!dir_bh) in affs_readdir() 89 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 106 ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[hash_pos]); in affs_readdir() 139 affs_brelse(dir_bh); in affs_readdir()
|
H A D | amigaffs.c | 29 struct buffer_head *dir_bh; in affs_insert_hash() local 38 dir_bh = affs_bread(sb, dir->i_ino); in affs_insert_hash() 39 if (!dir_bh) in affs_insert_hash() 42 hash_ino = be32_to_cpu(AFFS_HEAD(dir_bh)->table[offset]); in affs_insert_hash() 44 affs_brelse(dir_bh); in affs_insert_hash() 45 dir_bh = affs_bread(sb, hash_ino); in affs_insert_hash() 46 if (!dir_bh) in affs_insert_hash() 48 hash_ino = be32_to_cpu(AFFS_TAIL(sb, dir_bh)->hash_chain); in affs_insert_hash() 54 if (dir->i_ino == dir_bh->b_blocknr) in affs_insert_hash() 55 AFFS_HEAD(dir_bh) in affs_insert_hash() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | acl.c | 351 struct buffer_head *dir_bh, in ocfs2_init_acl() 364 dir_bh); in ocfs2_init_acl() 347 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument
|
H A D | xattr.c | 617 struct buffer_head *dir_bh, in ocfs2_calc_xattr_init() 634 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init() 7217 struct buffer_head *dir_bh = NULL; in ocfs2_init_security_and_acl() local 7225 ret = ocfs2_inode_lock(dir, &dir_bh, 0); in ocfs2_init_security_and_acl() 7230 ret = ocfs2_init_acl(NULL, inode, dir, NULL, dir_bh, NULL, NULL); in ocfs2_init_security_and_acl() 7235 brelse(dir_bh); in ocfs2_init_security_and_acl() 616 ocfs2_calc_xattr_init(struct inode *dir, struct buffer_head *dir_bh, umode_t mode, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, int *want_meta) ocfs2_calc_xattr_init() argument
|
H A D | namei.c | 2409 * @dir_bh: buffer_head the @dir inode block 2425 struct buffer_head *dir_bh, in ocfs2_prep_new_orphaned_file() 2453 ret = ocfs2_find_new_inode_loc(dir, dir_bh, inode_ac, in ocfs2_prep_new_orphaned_file() 2424 ocfs2_prep_new_orphaned_file(struct inode *dir, struct buffer_head *dir_bh, char *orphan_name, struct inode **ret_orphan_dir, u64 *ret_di_blkno, struct ocfs2_dir_lookup_result *orphan_insert, struct ocfs2_alloc_context **ret_inode_ac) ocfs2_prep_new_orphaned_file() argument
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | acl.c | 355 struct buffer_head *dir_bh, in ocfs2_init_acl() 368 dir_bh); in ocfs2_init_acl() 351 ocfs2_init_acl(handle_t *handle, struct inode *inode, struct inode *dir, struct buffer_head *di_bh, struct buffer_head *dir_bh, struct ocfs2_alloc_context *meta_ac, struct ocfs2_alloc_context *data_ac) ocfs2_init_acl() argument
|
H A D | xattr.c | 611 struct buffer_head *dir_bh, in ocfs2_calc_xattr_init() 628 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init() 7211 struct buffer_head *dir_bh = NULL; in ocfs2_init_security_and_acl() local 7219 ret = ocfs2_inode_lock(dir, &dir_bh, 0); in ocfs2_init_security_and_acl() 7224 ret = ocfs2_init_acl(NULL, inode, dir, NULL, dir_bh, NULL, NULL); in ocfs2_init_security_and_acl() 7229 brelse(dir_bh); in ocfs2_init_security_and_acl() 610 ocfs2_calc_xattr_init(struct inode *dir, struct buffer_head *dir_bh, umode_t mode, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, int *want_meta) ocfs2_calc_xattr_init() argument
|
H A D | namei.c | 2414 * @dir_bh: buffer_head the @dir inode block 2430 struct buffer_head *dir_bh, in ocfs2_prep_new_orphaned_file() 2458 ret = ocfs2_find_new_inode_loc(dir, dir_bh, inode_ac, in ocfs2_prep_new_orphaned_file() 2429 ocfs2_prep_new_orphaned_file(struct inode *dir, struct buffer_head *dir_bh, char *orphan_name, struct inode **ret_orphan_dir, u64 *ret_di_blkno, struct ocfs2_dir_lookup_result *orphan_insert, struct ocfs2_alloc_context **ret_inode_ac) ocfs2_prep_new_orphaned_file() argument
|
/kernel/linux/linux-5.10/fs/udf/ |
H A D | namei.c | 1084 struct buffer_head *dir_bh = NULL; in udf_rename() local 1135 dir_bh = udf_bread(old_inode, 0, 0, &retval); in udf_rename() 1136 if (!dir_bh) in udf_rename() 1138 dir_fi = udf_get_fileident(dir_bh->b_data, in udf_rename() 1189 mark_buffer_dirty_inode(dir_bh, old_inode); in udf_rename() 1209 brelse(dir_bh); in udf_rename()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | namei.c | 3687 struct buffer_head *dir_bh; member 3696 ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode, in ext4_rename_dir_prepare() 3699 if (!ent->dir_bh) in ext4_rename_dir_prepare() 3703 BUFFER_TRACE(ent->dir_bh, "get_write_access"); in ext4_rename_dir_prepare() 3704 return ext4_journal_get_write_access(handle, ent->dir_bh); in ext4_rename_dir_prepare() 3713 BUFFER_TRACE(ent->dir_bh, "call ext4_handle_dirty_metadata"); in ext4_rename_dir_finish() 3718 ent->dir_bh); in ext4_rename_dir_finish() 3721 ent->dir_bh); in ext4_rename_dir_finish() 4062 if (old.dir_bh) { in ext4_rename() 4126 brelse(old.dir_bh); in ext4_rename() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | namei.c | 3590 struct buffer_head *dir_bh; member 3599 ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode, in ext4_rename_dir_prepare() 3602 if (!ent->dir_bh) in ext4_rename_dir_prepare() 3606 BUFFER_TRACE(ent->dir_bh, "get_write_access"); in ext4_rename_dir_prepare() 3608 ent->dir_bh, EXT4_JTR_NONE); in ext4_rename_dir_prepare() 3617 BUFFER_TRACE(ent->dir_bh, "call ext4_handle_dirty_metadata"); in ext4_rename_dir_finish() 3622 ent->dir_bh); in ext4_rename_dir_finish() 3625 ent->dir_bh); in ext4_rename_dir_finish() 3968 if (old.dir_bh) { in ext4_rename() 4040 brelse(old.dir_bh); in ext4_rename() [all...] |