Searched refs:ufs_sb (Results 1 – 12 of 12) sorted by relevance
46 uspi = sb->u.ufs_sb.s_uspi; in ufs_read_cylinder()47 ucpi = sb->u.ufs_sb.s_ucpi[bitmap_nr]; in ufs_read_cylinder()48 ucg = (struct ufs_cylinder_group *)sb->u.ufs_sb.s_ucg[cgno]->b_data; in ufs_read_cylinder()55 UCPI_UBH->bh[0] = sb->u.ufs_sb.s_ucg[cgno]; in ufs_read_cylinder()59 sb->u.ufs_sb.s_cgno[bitmap_nr] = cgno; in ufs_read_cylinder()81 brelse (sb->u.ufs_sb.s_ucg[j]); in ufs_read_cylinder()82 sb->u.ufs_sb.s_cgno[bitmap_nr] = UFS_CGNO_EMPTY; in ufs_read_cylinder()99 uspi = sb->u.ufs_sb.s_uspi; in ufs_put_cylinder()100 if (sb->u.ufs_sb.s_cgno[bitmap_nr] == UFS_CGNO_EMPTY) { in ufs_put_cylinder()104 ucpi = sb->u.ufs_sb.s_ucpi[bitmap_nr]; in ufs_put_cylinder()[all …]
28 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs64_to_cpu()37 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in cpu_to_fs64()46 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs64_add()55 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs64_sub()64 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs32_to_cpu()73 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in cpu_to_fs32()82 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs32_add()91 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs32_sub()100 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in fs16_to_cpu()109 if (sbp->u.ufs_sb.s_bytesex == BYTESEX_LE) in cpu_to_fs16()[all …]
191 uspi = sb->u.ufs_sb.s_uspi; in ufs_error()203 switch (sb->u.ufs_sb.s_mount_opt & UFS_MOUNT_ONERROR) { in ufs_error()223 uspi = sb->u.ufs_sb.s_uspi; in ufs_panic()327 uspi = sb->u.ufs_sb.s_uspi; in ufs_read_cylinder_structures()346 sb->u.ufs_sb.s_csp[ufs_fragstoblks(i)] = (struct ufs_csum *)space; in ufs_read_cylinder_structures()356 if (!(sb->u.ufs_sb.s_ucg = kmalloc (sizeof(struct buffer_head *) * uspi->s_ncg, GFP_KERNEL))) in ufs_read_cylinder_structures()359 sb->u.ufs_sb.s_ucg[i] = NULL; in ufs_read_cylinder_structures()361 sb->u.ufs_sb.s_ucpi[i] = NULL; in ufs_read_cylinder_structures()362 sb->u.ufs_sb.s_cgno[i] = UFS_CGNO_EMPTY; in ufs_read_cylinder_structures()366 if (!(sb->u.ufs_sb.s_ucg[i] = sb_bread(sb, ufs_cgcmin(i)))) in ufs_read_cylinder_structures()[all …]
33 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_state()48 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_set_fs_state()65 if ((sb->u.ufs_sb.s_flags & UFS_ST_MASK) == UFS_ST_SUNx86) in ufs_get_fs_npsect()76 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_qbmask()99 switch (sb->u.ufs_sb.s_flags & UFS_ST_MASK) { in ufs_get_fs_qfmask()120 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_get_de_namlen()129 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) == UFS_DE_OLD) in ufs_set_de_namlen()138 if ((sb->u.ufs_sb.s_flags & UFS_DE_MASK) != UFS_DE_44BSD) in ufs_set_de_type()174 switch (sb->u.ufs_sb.s_flags & UFS_UID_MASK) { in ufs_get_inode_uid()187 switch (sb->u.ufs_sb.s_flags & UFS_UID_MASK) { in ufs_set_inode_uid()[all …]
49 uspi = sb->u.ufs_sb.s_uspi; in ufs_free_fragments()103 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_fragments()143 uspi = sb->u.ufs_sb.s_uspi; in ufs_free_blocks()186 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_free_blocks()249 uspi = sb->u.ufs_sb.s_uspi; in ufs_new_fragments()409 uspi = sb->u.ufs_sb.s_uspi; in ufs_add_fragments()472 ucg = (struct ufs_cylinder_group *) sb->u.ufs_sb.s_ucg[cgno]->b_data; \492 uspi = sb->u.ufs_sb.s_uspi; in ufs_alloc_fragments()608 uspi = sb->u.ufs_sb.s_uspi; in ufs_alloccg_block()635 if ((sb->u.ufs_sb.s_flags & UFS_CG_MASK) == UFS_CG_44BSD) in ufs_alloccg_block()[all …]
55 struct ufs_sb_private_info *uspi = inode->i_sb->u.ufs_sb.s_uspi; in ufs_block_to_path()88 struct ufs_sb_private_info *uspi = sb->u.ufs_sb.s_uspi; in ufs_frag_map()138 uspi = sb->u.ufs_sb.s_uspi; in ufs_inode_getfrag()244 uspi = sb->u.ufs_sb.s_uspi; in ufs_block_getfrag()320 uspi = sb->u.ufs_sb.s_uspi; in ufs_getfrag_block()491 uspi = sb->u.ufs_sb.s_uspi; in ufs_read_inode()492 flags = sb->u.ufs_sb.s_flags; in ufs_read_inode()587 uspi = sb->u.ufs_sb.s_uspi; in ufs_update_inode()588 flags = sb->u.ufs_sb.s_flags; in ufs_update_inode()
82 uspi = sb->u.ufs_sb.s_uspi; in ufs_trunc_direct()212 uspi = sb->u.ufs_sb.s_uspi; in ufs_trunc_indirect()306 uspi = sb->u.ufs_sb.s_uspi; in ufs_trunc_dindirect()373 uspi = sb->u.ufs_sb.s_uspi; in ufs_trunc_tindirect()433 uspi = sb->u.ufs_sb.s_uspi; in ufs_truncate()
73 uspi = sb->u.ufs_sb.s_uspi; in ufs_free_inode()164 uspi = sb->u.ufs_sb.s_uspi; in ufs_new_inode()
66 flags = sb->u.ufs_sb.s_flags; in ufs_readdir()304 else if (fs32_to_cpu(sb, de->d_ino) > (sb->u.ufs_sb.s_uspi->s_ipg * in ufs_check_dir_entry()305 sb->u.ufs_sb.s_uspi->s_ncg)) in ufs_check_dir_entry()382 uspi = sb->u.ufs_sb.s_uspi; in ufs_add_link()
131 if (l > sb->u.ufs_sb.s_uspi->s_maxsymlinklen) { in ufs_symlink()
400 u.ufs_sb.s_csp[(indx) >> uspi->s_csshift][(indx) & ~uspi->s_csmask]
783 struct ufs_sb_info ufs_sb; member