Searched refs:fragsize (Results 1 – 2 of 2) sorted by relevance
/fs/ufs/ |
D | util.h | 533 unsigned fragsize, pos; in ufs_fragacct() local 537 fragsize = 0; in ufs_fragacct() 540 fragsize++; in ufs_fragacct() 542 else if (fragsize > 0) { in ufs_fragacct() 543 fs32_add(sb, &fraglist[fragsize], cnt); in ufs_fragacct() 544 fragsize = 0; in ufs_fragacct() 547 if (fragsize > 0 && fragsize < uspi->s_fpb) in ufs_fragacct() 548 fs32_add(sb, &fraglist[fragsize], cnt); in ufs_fragacct()
|
D | balloc.c | 500 unsigned cgno, fragno, fragoff, count, fragsize, i; in ufs_add_fragments() local 536 fragsize = i - oldcount; in ufs_add_fragments() 537 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments() 540 fs32_sub(sb, &ucg->cg_frsum[fragsize], 1); in ufs_add_fragments() 541 if (fragsize != count) in ufs_add_fragments() 542 fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1); in ufs_add_fragments()
|