Home
last modified time | relevance | path

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

/fs/ufs/
Dinode.c85 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_frag_map() local
113 block = ufsi->i_u1.i_data[*p++]; in ufs_frag_map()
131 u2_block = ufsi->i_u1.u2_i_data[*p++]; in ufs_frag_map()
177 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_inode_getfrag() local
196 p = ufs_get_direct_data_ptr(uspi, ufsi, block); in ufs_inode_getfrag()
203 lastfrag = ufsi->i_lastfrag; in ufs_inode_getfrag()
230 p2 = ufs_get_direct_data_ptr(uspi, ufsi, lastblock); in ufs_inode_getfrag()
236 if (lastfrag != ufsi->i_lastfrag) in ufs_inode_getfrag()
241 lastfrag = ufsi->i_lastfrag; in ufs_inode_getfrag()
245 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_inode_getfrag()
[all …]
Dialloc.c183 struct ufs_inode_info *ufsi; in ufs_new_inode() local
195 ufsi = UFS_I(inode); in ufs_new_inode()
298 ufsi->i_flags = UFS_I(dir)->i_flags; in ufs_new_inode()
299 ufsi->i_lastfrag = 0; in ufs_new_inode()
300 ufsi->i_shadow = 0; in ufs_new_inode()
301 ufsi->i_osync = 0; in ufs_new_inode()
302 ufsi->i_oeftflag = 0; in ufs_new_inode()
303 ufsi->i_dir_start_lookup = 0; in ufs_new_inode()
304 memset(&ufsi->i_u1, 0, sizeof(ufsi->i_u1)); in ufs_new_inode()
Dtruncate.c68 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_trunc_direct() local
87 frag4 = min_t(u64, UFS_NDIR_FRAGMENT, ufsi->i_lastfrag); in ufs_trunc_direct()
111 p = ufs_get_direct_data_ptr(uspi, ufsi, ufs_fragstoblks(frag1)); in ufs_trunc_direct()
127 p = ufs_get_direct_data_ptr(uspi, ufsi, i); in ufs_trunc_direct()
155 p = ufs_get_direct_data_ptr(uspi, ufsi, ufs_fragstoblks(frag3)); in ufs_trunc_direct()
320 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_trunc_tindirect() local
333 p = ufs_get_direct_data_ptr(uspi, ufsi, UFS_TIND_BLOCK); in ufs_trunc_tindirect()
445 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_truncate() local
472 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_truncate()
475 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_truncate()
[all …]
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()