Lines Matching refs:contention
70 static int shrink_tnc(struct ubifs_info *c, int nr, int age, int *contention) in shrink_tnc() argument
120 *contention = 1; in shrink_tnc()
156 static int shrink_tnc_trees(int nr, int age, int *contention) in shrink_tnc_trees() argument
179 *contention = 1; in shrink_tnc_trees()
189 *contention = 1; in shrink_tnc_trees()
199 freed += shrink_tnc(c, nr, age, contention); in shrink_tnc_trees()
295 int contention = 0; in ubifs_shrink_scan() local
311 freed = shrink_tnc_trees(nr, OLD_ZNODE_AGE, &contention); in ubifs_shrink_scan()
316 freed += shrink_tnc_trees(nr - freed, YOUNG_ZNODE_AGE, &contention); in ubifs_shrink_scan()
321 freed += shrink_tnc_trees(nr - freed, 0, &contention); in ubifs_shrink_scan()
323 if (!freed && contention) { in ubifs_shrink_scan()