Home
last modified time | relevance | path

Searched refs:ufsi (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/fs/ufs/
Dinode.c87 static inline int grow_chain32(struct ufs_inode_info *ufsi, in grow_chain32() argument
95 seq = read_seqbegin(&ufsi->meta_lock); in grow_chain32()
99 } while (read_seqretry(&ufsi->meta_lock, seq)); in grow_chain32()
103 static inline int grow_chain64(struct ufs_inode_info *ufsi, in grow_chain64() argument
111 seq = read_seqbegin(&ufsi->meta_lock); in grow_chain64()
115 } while (read_seqretry(&ufsi->meta_lock, seq)); in grow_chain64()
126 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_frag_map() local
149 if (!grow_chain32(ufsi, NULL, &ufsi->i_u1.i_data[*p++], chain, q)) in ufs_frag_map()
163 if (!grow_chain32(ufsi, bh, ptr, chain, ++q)) in ufs_frag_map()
172 if (!grow_chain64(ufsi, NULL, &ufsi->i_u1.u2_i_data[*p++], chain, q)) in ufs_frag_map()
[all …]
Dialloc.c182 struct ufs_inode_info *ufsi; in ufs_new_inode() local
194 ufsi = UFS_I(inode); in ufs_new_inode()
296 ufsi->i_flags = UFS_I(dir)->i_flags; in ufs_new_inode()
297 ufsi->i_lastfrag = 0; in ufs_new_inode()
298 ufsi->i_shadow = 0; in ufs_new_inode()
299 ufsi->i_osync = 0; in ufs_new_inode()
300 ufsi->i_oeftflag = 0; in ufs_new_inode()
301 ufsi->i_dir_start_lookup = 0; in ufs_new_inode()
302 memset(&ufsi->i_u1, 0, sizeof(ufsi->i_u1)); in ufs_new_inode()
Dutil.c182 ufs_get_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi) in ufs_get_inode_dev() argument
188 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); in ufs_get_inode_dev()
190 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); in ufs_get_inode_dev()
209 ufs_set_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi, dev_t dev) in ufs_set_inode_dev() argument
227 ufsi->i_u1.i_data[1] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
229 ufsi->i_u1.i_data[0] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
Dutil.h552 struct ufs_inode_info *ufsi, in ufs_get_direct_data_ptr() argument
557 (void *)&ufsi->i_u1.u2_i_data[blk] : in ufs_get_direct_data_ptr()
558 (void *)&ufsi->i_u1.i_data[blk]; in ufs_get_direct_data_ptr()