Lines Matching refs:write_points_nr
1247 u64 stranded = c->write_points_nr * c->bucket_size_max; in too_many_writepoints()
1257 if (c->write_points_nr == ARRAY_SIZE(c->write_points) || in try_increase_writepoints()
1261 wp = c->write_points + c->write_points_nr++; in try_increase_writepoints()
1274 if (c->write_points_nr < old_nr) { in try_decrease_writepoints()
1279 if (c->write_points_nr == 1 || in try_decrease_writepoints()
1285 wp = c->write_points + --c->write_points_nr; in try_decrease_writepoints()
1325 wp < c->write_points + c->write_points_nr; wp++) in writepoint_find()
1331 if (oldest >= c->write_points + c->write_points_nr || in writepoint_find()
1398 unsigned nr_effective, write_points_nr; in bch2_alloc_sectors_start_trans() local
1410 write_points_nr = c->write_points_nr; in bch2_alloc_sectors_start_trans()
1507 try_decrease_writepoints(trans, write_points_nr)) in bch2_alloc_sectors_start_trans()
1567 c->write_points_nr = ARRAY_SIZE(c->write_points); in bch2_fs_allocator_foreground_init()
1586 wp < c->write_points + c->write_points_nr; wp++) { in bch2_fs_allocator_foreground_init()