Searched refs:s_fpb (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/fs/ufs/ |
D | balloc.c | 99 fs32_sub(sb, &ucg->cg_cs.cs_nffree, uspi->s_fpb); in ufs_free_fragments() 100 uspi->cs_total.cs_nffree -= uspi->s_fpb; in ufs_free_fragments() 101 fs32_sub(sb, &UFS_SB(sb)->fs_cs(cgno).cs_nffree, uspi->s_fpb); in ufs_free_fragments() 183 for (i = bit; i < end_bit; i += uspi->s_fpb) { in ufs_free_blocks() 189 inode_sub_bytes(inode, uspi->s_fpb << uspi->s_fshift); in ufs_free_blocks() 366 if (count + ufs_fragnum(fragment) > uspi->s_fpb) { in ufs_new_fragments() 370 count = uspi->s_fpb - ufs_fragnum(fragment); in ufs_new_fragments() 464 request = uspi->s_fpb; in ufs_new_fragments() 527 if ((ufs_fragnum (fragment) + newcount) > uspi->s_fpb) in ufs_add_fragments() 551 for (i = newcount; i < (uspi->s_fpb - fragoff); i++) in ufs_add_fragments() [all …]
|
D | util.h | 352 …((*ubh_get_addr(ubh, (begin) + ((bit) >> 3)) >> ((bit) & 7)) & (0xff >> (UFS_MAXFRAG - uspi->s_fpb… 473 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 | 236 new_size = uspi->s_fpb; in ufs_extend_tail() 263 unsigned nfrags = uspi->s_fpb; in ufs_inode_getfrag() 287 goal += uspi->s_fpb; in ufs_inode_getfrag() 367 goal = tmp + uspi->s_fpb; in ufs_inode_getblock() 369 goal = bh->b_blocknr + uspi->s_fpb; in ufs_inode_getblock() 371 uspi->s_fpb, err, locked_page); in ufs_inode_getblock() 950 free_data(&ctx, tmp, uspi->s_fpb); in ufs_trunc_direct() 1000 free_data(&ctx, block, uspi->s_fpb); in free_full_branch() 1006 ufs_free_blocks(inode, ind_block, uspi->s_fpb); in free_full_branch() 1038 free_data(&ctx, block, uspi->s_fpb); in free_branch_tail() [all …]
|
D | super.c | 524 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_read_cylinder_structures() 526 if (i + uspi->s_fpb > blks) in ufs_read_cylinder_structures() 659 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_put_super_internal() 661 if (i + uspi->s_fpb > blks) in ufs_put_super_internal() 1182 uspi->s_fpb = fs32_to_cpu(sb, usb1->fs_frag); in ufs_fill_super() 1237 uspi->s_fpbmask = uspi->s_fpb - 1; in ufs_fill_super()
|
D | ialloc.c | 138 sector_t end = beg + uspi->s_fpb; in ufs2_init_inodes_chunk()
|
D | ufs_fs.h | 742 __u32 s_fpb; /* fragments per block */ member
|