Home
last modified time | relevance | path

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

/fs/ufs/
Dinode.c88 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_frag_map() local
115 block = ufsi->i_u1.i_data[*p++]; in ufs_frag_map()
133 u2_block = ufsi->i_u1.u2_i_data[*p++]; in ufs_frag_map()
178 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_inode_getfrag() local
197 p = ufs_get_direct_data_ptr(uspi, ufsi, block); in ufs_inode_getfrag()
204 lastfrag = ufsi->i_lastfrag; in ufs_inode_getfrag()
231 p2 = ufs_get_direct_data_ptr(uspi, ufsi, lastblock); in ufs_inode_getfrag()
237 if (lastfrag != ufsi->i_lastfrag) in ufs_inode_getfrag()
242 lastfrag = ufsi->i_lastfrag; in ufs_inode_getfrag()
246 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_inode_getfrag()
[all …]
Dialloc.c193 struct ufs_inode_info *ufsi; in ufs_new_inode() local
205 ufsi = UFS_I(inode); in ufs_new_inode()
318 ufsi->i_flags = UFS_I(dir)->i_flags; in ufs_new_inode()
319 ufsi->i_lastfrag = 0; in ufs_new_inode()
320 ufsi->i_shadow = 0; in ufs_new_inode()
321 ufsi->i_osync = 0; in ufs_new_inode()
322 ufsi->i_oeftflag = 0; in ufs_new_inode()
323 ufsi->i_dir_start_lookup = 0; in ufs_new_inode()
324 memset(&ufsi->i_u1, 0, sizeof(ufsi->i_u1)); in ufs_new_inode()
Dtruncate.c69 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_trunc_direct() local
88 frag4 = min_t(u32, UFS_NDIR_FRAGMENT, ufsi->i_lastfrag); in ufs_trunc_direct()
112 p = ufs_get_direct_data_ptr(uspi, ufsi, ufs_fragstoblks(frag1)); in ufs_trunc_direct()
128 p = ufs_get_direct_data_ptr(uspi, ufsi, i); in ufs_trunc_direct()
156 p = ufs_get_direct_data_ptr(uspi, ufsi, ufs_fragstoblks(frag3)); in ufs_trunc_direct()
325 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_trunc_tindirect() local
338 p = ufs_get_direct_data_ptr(uspi, ufsi, UFS_TIND_BLOCK); in ufs_trunc_tindirect()
452 struct ufs_inode_info *ufsi = UFS_I(inode); in ufs_truncate() local
480 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_truncate()
483 ufs_get_direct_data_ptr(uspi, ufsi, in ufs_truncate()
[all …]
Dutil.c186 ufs_get_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi) in ufs_get_inode_dev() argument
192 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[1]); in ufs_get_inode_dev()
194 fs32 = fs32_to_cpu(sb, ufsi->i_u1.i_data[0]); in ufs_get_inode_dev()
213 ufs_set_inode_dev(struct super_block *sb, struct ufs_inode_info *ufsi, dev_t dev) in ufs_set_inode_dev() argument
231 ufsi->i_u1.i_data[1] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
233 ufsi->i_u1.i_data[0] = cpu_to_fs32(sb, fs32); in ufs_set_inode_dev()
Dutil.h555 struct ufs_inode_info *ufsi, in ufs_get_direct_data_ptr() argument
560 (void *)&ufsi->i_u1.u2_i_data[blk] : in ufs_get_direct_data_ptr()
561 (void *)&ufsi->i_u1.i_data[blk]; in ufs_get_direct_data_ptr()