Lines Matching refs:oldcount
351 unsigned cgno, oldcount, newcount; in ufs_new_fragments() local
372 oldcount = ufs_fragnum (fragment); in ufs_new_fragments()
373 newcount = oldcount + count; in ufs_new_fragments()
378 if (oldcount) { in ufs_new_fragments()
422 if (oldcount == 0) { in ufs_new_fragments()
425 ufs_clear_frags(inode, result + oldcount, 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()
470 ufs_clear_frags(inode, result + oldcount, newcount - oldcount, in ufs_new_fragments()
473 ufs_change_blocknr(inode, fragment - oldcount, oldcount, in ufs_new_fragments()
484 ufs_free_fragments (inode, tmp, oldcount); 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()
541 for (i = oldcount; i < newcount; i++) in ufs_add_fragments()
554 fragsize = i - oldcount; in ufs_add_fragments()
561 for (i = oldcount; i < newcount; i++) in ufs_add_fragments()