Lines Matching refs:newcount
351 unsigned cgno, oldcount, newcount; in ufs_new_fragments() local
373 newcount = oldcount + count; in ufs_new_fragments()
426 newcount - oldcount, locked_page != NULL); in ufs_new_fragments()
442 result = ufs_add_fragments(inode, tmp, oldcount, newcount); in ufs_new_fragments()
449 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
460 request = newcount; in ufs_new_fragments()
470 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
482 if (newcount < request) in ufs_new_fragments()
483 ufs_free_fragments (inode, result + newcount, request - newcount); in ufs_new_fragments()
509 unsigned oldcount, unsigned newcount) in ufs_add_fragments() argument
518 (unsigned long long)fragment, oldcount, newcount); in ufs_add_fragments()
522 count = newcount - oldcount; in ufs_add_fragments()
527 if ((ufs_fragnum (fragment) + newcount) > uspi->s_fpb) in ufs_add_fragments()
541 for (i = oldcount; i < newcount; i++) in ufs_add_fragments()
551 for (i = newcount; i < (uspi->s_fpb - fragoff); i++) in ufs_add_fragments()
561 for (i = oldcount; i < newcount; i++) in ufs_add_fragments()