Home
last modified time | relevance | path

Searched refs:s_fpb (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/ufs/
Dballoc.c99 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 …]
Dutil.h352 …((*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()
Dinode.c236 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 …]
Dsuper.c523 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_read_cylinder_structures()
525 if (i + uspi->s_fpb > blks) in ufs_read_cylinder_structures()
658 for (i = 0; i < blks; i += uspi->s_fpb) { in ufs_put_super_internal()
660 if (i + uspi->s_fpb > blks) in ufs_put_super_internal()
1174 uspi->s_fpb = fs32_to_cpu(sb, usb1->fs_frag); in ufs_fill_super()
1229 uspi->s_fpbmask = uspi->s_fpb - 1; in ufs_fill_super()
Dialloc.c138 sector_t end = beg + uspi->s_fpb; in ufs2_init_inodes_chunk()
Dufs_fs.h742 __u32 s_fpb; /* fragments per block */ member