Home
last modified time | relevance | path

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

/linux-4.19.296/fs/affs/
Ddir.c49 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()
Damigaffs.c29 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)->table[offset] = cpu_to_be32(ino); in affs_insert_hash()
[all …]
/linux-4.19.296/fs/ocfs2/
Dacl.c357 struct buffer_head *dir_bh, in ocfs2_init_acl() argument
370 dir_bh); in ocfs2_init_acl()
Dxattr.c625 struct buffer_head *dir_bh, in ocfs2_calc_xattr_init() argument
642 acl_len = ocfs2_xattr_get_nolock(dir, dir_bh, in ocfs2_calc_xattr_init()
7225 struct buffer_head *dir_bh = NULL; in ocfs2_init_security_and_acl() local
7233 ret = ocfs2_inode_lock(dir, &dir_bh, 0); in ocfs2_init_security_and_acl()
7238 ret = ocfs2_init_acl(NULL, inode, dir, NULL, dir_bh, NULL, NULL); in ocfs2_init_security_and_acl()
7243 brelse(dir_bh); in ocfs2_init_security_and_acl()
Dnamei.c2430 struct buffer_head *dir_bh, in ocfs2_prep_new_orphaned_file() argument
2458 ret = ocfs2_find_new_inode_loc(dir, dir_bh, inode_ac, in ocfs2_prep_new_orphaned_file()
/linux-4.19.296/fs/udf/
Dnamei.c1099 struct buffer_head *dir_bh = NULL; in udf_rename() local
1150 dir_bh = udf_bread(old_inode, 0, 0, &retval); in udf_rename()
1151 if (!dir_bh) in udf_rename()
1153 dir_fi = udf_get_fileident(dir_bh->b_data, in udf_rename()
1204 mark_buffer_dirty_inode(dir_bh, old_inode); in udf_rename()
1224 brelse(dir_bh); in udf_rename()
/linux-4.19.296/fs/ext4/
Dnamei.c3434 struct buffer_head *dir_bh; member
3443 ent->dir_bh = ext4_get_first_dir_block(handle, ent->inode, in ext4_rename_dir_prepare()
3446 if (!ent->dir_bh) in ext4_rename_dir_prepare()
3450 BUFFER_TRACE(ent->dir_bh, "get_write_access"); in ext4_rename_dir_prepare()
3451 return ext4_journal_get_write_access(handle, ent->dir_bh); in ext4_rename_dir_prepare()
3460 BUFFER_TRACE(ent->dir_bh, "call ext4_handle_dirty_metadata"); in ext4_rename_dir_finish()
3465 ent->dir_bh); in ext4_rename_dir_finish()
3469 ent->dir_bh); in ext4_rename_dir_finish()
3803 if (old.dir_bh) { in ext4_rename()
3843 brelse(old.dir_bh); in ext4_rename()
[all …]