Home
last modified time | relevance | path

Searched refs:fragsize (Results 1 – 2 of 2) sorted by relevance

/fs/ufs/
Dutil.h533 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()
Dballoc.c511 unsigned cgno, fragno, fragoff, count, fragsize, i; in ufs_add_fragments() local
550 fragsize = i - oldcount; in ufs_add_fragments()
551 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments()
554 fs32_sub(sb, &ucg->cg_frsum[fragsize], 1); in ufs_add_fragments()
555 if (fragsize != count) in ufs_add_fragments()
556 fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1); in ufs_add_fragments()