Home
last modified time | relevance | path

Searched refs:UFS_SB (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/fs/ufs/
Dswab.h28 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs64_to_cpu()
37 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs64()
46 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_to_cpu()
55 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs32()
64 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_add()
73 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_sub()
82 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_to_cpu()
91 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs16()
100 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_add()
109 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_sub()
Dutil.h40 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state()
59 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state()
82 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect()
93 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask()
117 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask()
139 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen()
148 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen()
157 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type()
193 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid()
208 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid()
[all …]
Dballoc.c48 uspi = UFS_SB(sb)->s_uspi; in ufs_free_fragments()
89 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments()
100 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments()
101 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_fragments()
105 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_fragments()
145 uspi = UFS_SB(sb)->s_uspi; in ufs_free_blocks()
190 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_blocks()
195 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_blocks()
360 uspi = UFS_SB(sb)->s_uspi; in ufs_new_fragments()
510 uspi = UFS_SB(sb)->s_uspi; in ufs_add_fragments()
[all …]
Dsuper.c101 struct ufs_sb_info *sbi = UFS_SB(sb); in lock_ufs()
111 struct ufs_sb_info *sbi = UFS_SB(sb); in unlock_ufs()
120 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_nfs_get_inode()
303 uspi = UFS_SB(sb)->s_uspi; in ufs_error()
315 switch (UFS_SB(sb)->s_mount_opt & UFS_MOUNT_ONERROR) { in ufs_error()
335 uspi = UFS_SB(sb)->s_uspi; in ufs_panic()
492 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_setup_cstotal()
526 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_read_cylinder_structures()
612 unsigned mtype = UFS_SB(sb)->s_mount_opt & UFS_MOUNT_UFSTYPE; in ufs_put_cstotal()
613 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_put_cstotal()
[all …]
Dialloc.c69 uspi = UFS_SB(sb)->s_uspi; in ufs_free_inode()
105 fs32_add(sb, &UFS_SB(sb)->fs_cs(cg).cs_nifree, 1); in ufs_free_inode()
110 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cg).cs_ndir, 1); in ufs_free_inode()
135 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs2_init_inodes_chunk()
196 sbi = UFS_SB(sb); in ufs_new_inode()
Dutil.c187 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_inode_dev()
191 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_inode_dev()
213 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_inode_dev()
226 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_set_inode_dev()
Ddir.c118 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1; in ufs_check_page()
141 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg * in ufs_check_page()
142 UFS_SB(sb)->s_uspi->s_ncg)) in ufs_check_page()
319 const unsigned int chunk_size = UFS_SB(sb)->s_uspi->s_dirblksize; in ufs_add_link()
441 unsigned chunk_mask = ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_readdir()
443 unsigned flags = UFS_SB(sb)->s_flags; in ufs_readdir()
520 unsigned from = ((char*)dir - kaddr) & ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_delete_entry()
568 const unsigned int chunk_size = UFS_SB(sb)->s_uspi->s_dirblksize; in ufs_make_empty()
Dtruncate.c80 uspi = UFS_SB(sb)->s_uspi; in ufs_trunc_direct()
187 uspi = UFS_SB(sb)->s_uspi; in ufs_trunc_indirect()
266 uspi = UFS_SB(sb)->s_uspi; in ufs_trunc_dindirect()
319 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_trunc_tindirect()
378 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_alloc_lastblock()
447 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_truncate()
Dinode.c49 struct ufs_sb_private_info *uspi = UFS_SB(inode->i_sb)->s_uspi; in ufs_block_to_path()
88 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_frag_map()
96 unsigned flags = UFS_SB(sb)->s_flags; in ufs_frag_map()
180 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_inode_getfrag()
336 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_inode_getblock()
419 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_getfrag_block()
681 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_iget()
708 if ((UFS_SB(sb)->s_flags & UFS_TYPE_MASK) == UFS_TYPE_UFS2) { in ufs_iget()
763 if ((UFS_SB(sb)->s_flags & UFS_UID_MASK) == UFS_UID_EFT) { in ufs1_update_inode()
827 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_update_inode()
Dcylinder.c31 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_read_cylinder()
84 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_put_cylinder()
129 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_load_cylinder()
Dufs.h132 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB() function
Dnamei.c141 if (l > UFS_SB(sb)->s_uspi->s_maxsymlinklen) { in ufs_symlink()
Dufs_fs.h238 ((UFS_SB(sb)->s_flags & UFS_CG_SUN) ? \