Home
last modified time | relevance | path

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

/fs/ufs/
Dinode.c85 static inline int grow_chain32(struct ufs_inode_info *ufsi, in grow_chain32() argument
93 seq = read_seqbegin(&ufsi->meta_lock); in grow_chain32()
97 } while (read_seqretry(&ufsi->meta_lock, seq)); in grow_chain32()
101 static inline int grow_chain64(struct ufs_inode_info *ufsi, in grow_chain64() argument
109 seq = read_seqbegin(&ufsi->meta_lock); in grow_chain64()
113 } while (read_seqretry(&ufsi->meta_lock, seq)); in grow_chain64()
124 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_frag_map() local
147 if (!grow_chain32(ufsi, NULL, &ufsi->i_u1.i_data[*p++], chain, q)) in ufs_frag_map()
161 if (!grow_chain32(ufsi, bh, ptr, chain, ++q)) in ufs_frag_map()
170 if (!grow_chain64(ufsi, NULL, &ufsi->i_u1.u2_i_data[*p++], chain, q)) in ufs_frag_map()
[all …]
Dialloc.c180 struct ufs_inode_info *ufsi; in ufs_new_inode() local
192 ufsi = UFS_I(inode); in ufs_new_inode()
294 ufsi->i_flags = UFS_I(dir)->i_flags; in ufs_new_inode()
295 ufsi->i_lastfrag = 0; in ufs_new_inode()
296 ufsi->i_shadow = 0; in ufs_new_inode()
297 ufsi->i_osync = 0; in ufs_new_inode()
298 ufsi->i_oeftflag = 0; in ufs_new_inode()
299 ufsi->i_dir_start_lookup = 0; in ufs_new_inode()
300 memset(&ufsi->i_u1, 0, sizeof(ufsi->i_u1)); in ufs_new_inode()
Dutil.c181 ufs_get_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi) in ufs_get_inode_dev() argument
187 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); in ufs_get_inode_dev()
189 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); in ufs_get_inode_dev()
208 ufs_set_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi, dev_t dev) in ufs_set_inode_dev() argument
226 ufsi->i_u1.i_data[1] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
228 ufsi->i_u1.i_data[0] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
Dutil.h556 struct ufs_inode_info *ufsi, in ufs_get_direct_data_ptr() argument
561 (void *)&ufsi->i_u1.u2_i_data[blk] : in ufs_get_direct_data_ptr()
562 (void *)&ufsi->i_u1.i_data[blk]; in ufs_get_direct_data_ptr()