Searched refs:s_fpb (Results 1 – 7 of 7) sorted by relevance
/fs/ufs/ |
D | balloc.c | 98 fs32_sub(sb, &ucg->cg_cs.cs_nffree, uspi->s_fpb); in ufs_free_fragments() 99 uspi->cs_total.cs_nffree -= uspi->s_fpb; in ufs_free_fragments() 100 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments() 184 for (i = bit; i < end_bit; i += uspi->s_fpb) { in ufs_free_blocks() 367 if (count + ufs_fragnum(fragment) > uspi->s_fpb) { in ufs_new_fragments() 371 count = uspi->s_fpb - ufs_fragnum(fragment); in ufs_new_fragments() 466 request = uspi->s_fpb; in ufs_new_fragments() 518 if ((ufs_fragnum (fragment) + newcount) > uspi->s_fpb) in ufs_add_fragments() 539 for (i = newcount; i < (uspi->s_fpb - fragoff); i++) in ufs_add_fragments() 571 for (k = count; k < uspi->s_fpb; k++) \ [all …]
|
D | truncate.c | 135 free_count = uspi->s_fpb; in ufs_trunc_direct() 137 free_count += uspi->s_fpb; in ufs_trunc_direct() 141 free_count = uspi->s_fpb; in ufs_trunc_direct() 217 free_count = uspi->s_fpb; in ufs_trunc_indirect() 219 free_count += uspi->s_fpb; in ufs_trunc_indirect() 223 free_count = uspi->s_fpb; in ufs_trunc_indirect() 240 ufs_free_blocks (inode, tmp, uspi->s_fpb); in ufs_trunc_indirect() 302 ufs_free_blocks(inode, tmp, uspi->s_fpb); in ufs_trunc_dindirect() 360 ufs_free_blocks(inode, tmp, uspi->s_fpb); in ufs_trunc_tindirect() 424 end = uspi->s_fpb - ufs_fragnum(lastfrag) - 1; in ufs_alloc_lastblock()
|
D | util.h | 351 …((*ubh_get_addr(ubh, (begin) + ((bit) >> 3)) >> ((bit) & 7)) & (0xff >> (UFS_MAXFRAG - uspi->s_fpb… 476 switch (uspi->s_fpb) { in _ubh_isblockset_() 493 switch (uspi->s_fpb) { in _ubh_clrblock_() 513 switch (uspi->s_fpb) { in _ubh_setblock_() 538 for (pos = 0; pos < uspi->s_fpb; pos++) { in ufs_fragacct() 547 if (fragsize > 0 && fragsize < uspi->s_fpb) in ufs_fragacct()
|
D | inode.c | 233 uspi->s_fpb - lastblockoff, in ufs_inode_getfrag() 248 goal = tmp + uspi->s_fpb; in ufs_inode_getfrag() 270 goal = tmp + uspi->s_fpb; in ufs_inode_getfrag() 273 goal, uspi->s_fpb, err, in ufs_inode_getfrag() 379 goal = tmp + uspi->s_fpb; in ufs_inode_getblock() 381 goal = bh->b_blocknr + uspi->s_fpb; in ufs_inode_getblock() 383 uspi->s_fpb, err, locked_page); in ufs_inode_getblock() 461 ufs_inode_getfrag(inode, x, fragment, uspi->s_fpb, &err, NULL, NULL,\ in ufs_getfrag_block()
|
D | super.c | 545 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_read_cylinder_structures() 547 if (i + uspi->s_fpb > blks) in ufs_read_cylinder_structures() 670 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_put_super_internal() 672 if (i + uspi->s_fpb > blks) in ufs_put_super_internal() 1084 uspi->s_fpb = fs32_to_cpu(sb, usb1->fs_frag); in ufs_fill_super() 1127 uspi->s_fpbmask = uspi->s_fpb - 1; in ufs_fill_super()
|
D | ialloc.c | 139 sector_t end = beg + uspi->s_fpb; in ufs2_init_inodes_chunk()
|
D | ufs_fs.h | 742 __u32 s_fpb; /* fragments per block */ member
|