Searched refs:oldcount (Results 1 – 2 of 2) sorted by relevance
/fs/ufs/ |
D | balloc.c | 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() [all …]
|
/fs/btrfs/ |
D | backref.c | 209 static void update_share_count(struct share_check *sc, int oldcount, in update_share_count() argument 212 if ((!sc) || (oldcount == 0 && newcount < 1)) in update_share_count() 215 if (oldcount > 0 && newcount < 1) in update_share_count() 217 else if (oldcount < 1 && newcount > 0) in update_share_count()
|