Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ufs/
Dswab.h29 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs64_to_cpu()
38 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs64()
47 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_to_cpu()
56 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs32()
65 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_add()
74 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs32_sub()
83 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_to_cpu()
92 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in cpu_to_fs16()
101 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_add()
110 if (UFS_SB(sbp)->s_bytesex == BYTESEX_LE) in fs16_sub()
Dballoc.c49 uspi = UFS_SB(sb)->s_uspi; in ufs_free_fragments()
57 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
90 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, count); in ufs_free_fragments()
101 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments()
102 if ((UFS_SB(sb)->s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_fragments()
106 fs32_add(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nbfree, 1); in ufs_free_fragments()
122 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
127 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_fragments()
145 uspi = UFS_SB(sb)->s_uspi; in ufs_free_blocks()
157 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_blocks()
[all …]
Dialloc.c69 uspi = UFS_SB(sb)->s_uspi; in ufs_free_inode()
73 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
77 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
85 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
104 fs32_add(sb, &UFS_SB(sb)->fs_cs(cg).cs_nifree, 1); in ufs_free_inode()
109 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cg).cs_ndir, 1); in ufs_free_inode()
119 mutex_unlock(&UFS_SB(sb)->s_lock); in ufs_free_inode()
134 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs2_init_inodes_chunk()
195 sbi = UFS_SB(sb); in ufs_new_inode()
Dsuper.c100 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_nfs_get_inode()
279 uspi = UFS_SB(sb)->s_uspi; in ufs_error()
291 switch (UFS_SB(sb)->s_mount_opt & UFS_MOUNT_ONERROR) { in ufs_error()
313 uspi = UFS_SB(sb)->s_uspi; in ufs_panic()
471 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_setup_cstotal()
505 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_read_cylinder_structures()
591 unsigned mtype = UFS_SB(sb)->s_mount_opt & UFS_MOUNT_UFSTYPE; in ufs_put_cstotal()
592 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_put_cstotal()
645 struct ufs_sb_info *sbi = UFS_SB(sb); in ufs_put_super_internal()
692 mutex_lock(&UFS_SB(sb)->s_lock); in ufs_sync_fs()
[all …]
Dutil.h41 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_state()
60 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_set_fs_state()
83 if ((UFS_SB(sb)->s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect()
94 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask()
118 switch (UFS_SB(sb)->s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask()
140 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen()
149 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen()
158 if ((UFS_SB(sb)->s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type()
194 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_get_inode_uid()
209 switch (UFS_SB(sb)->s_flags & UFS_UID_MASK) { in ufs_set_inode_uid()
[all …]
Ddir.c117 const unsigned chunk_mask = UFS_SB(sb)->s_uspi->s_dirblksize - 1; in ufs_check_page()
140 if (fs32_to_cpu(sb, p->d_ino) > (UFS_SB(sb)->s_uspi->s_ipg * in ufs_check_page()
141 UFS_SB(sb)->s_uspi->s_ncg)) in ufs_check_page()
312 const unsigned int chunk_size = UFS_SB(sb)->s_uspi->s_dirblksize; in ufs_add_link()
431 unsigned chunk_mask = ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_readdir()
433 unsigned flags = UFS_SB(sb)->s_flags; in ufs_readdir()
500 unsigned from = ((char*)dir - kaddr) & ~(UFS_SB(sb)->s_uspi->s_dirblksize - 1); in ufs_delete_entry()
548 const unsigned int chunk_size = UFS_SB(sb)->s_uspi->s_dirblksize; in ufs_make_empty()
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()
Dinode.c48 struct ufs_sb_private_info *uspi = UFS_SB(inode->i_sb)->s_uspi; in ufs_block_to_path()
128 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_frag_map()
133 unsigned flags = UFS_SB(sb)->s_flags; in ufs_frag_map()
226 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_extend_tail()
261 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_inode_getfrag()
339 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_inode_getblock()
399 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_getfrag_block()
655 struct ufs_sb_private_info *uspi = UFS_SB(sb)->s_uspi; in ufs_iget()
682 if ((UFS_SB(sb)->s_flags & UFS_TYPE_MASK) == UFS_TYPE_UFS2) { in ufs_iget()
736 if ((UFS_SB(sb)->s_flags & UFS_UID_MASK) == UFS_UID_EFT) { in ufs1_update_inode()
[all …]
Dcylinder.c32 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_read_cylinder()
85 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_put_cylinder()
130 struct ufs_sb_info * sbi = UFS_SB(sb); in ufs_load_cylinder()
Dufs.h140 static inline struct ufs_sb_info *UFS_SB(struct super_block *sb) in UFS_SB() function
Dnamei.c123 if (l > UFS_SB(sb)->s_uspi->s_maxsymlinklen) { in ufs_symlink()
Dufs_fs.h240 ((UFS_SB(sb)->s_flags & UFS_CG_SUN) ? \