Searched refs:dark_wm (Results 1 – 9 of 9) sorted by relevance
256 available -= subtract_lebs * c->dark_wm; in ubifs_calc_available()704 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
792 if (min_space > c->dark_wm) in ubifs_garbage_collect()793 min_space = c->dark_wm; in ubifs_garbage_collect()
483 if (spc < c->dark_wm) in ubifs_calc_dark()491 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark()494 return c->dark_wm; in ubifs_calc_dark()
610 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()1162 ubifs_assert(c, c->dark_wm > 0); in check_free_space()1163 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()1487 dbg_gen("dark watermark: %d", c->dark_wm); in mount_ubifs()1489 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
328 c->lst.total_dark += growth * (long long)c->dark_wm; in ubifs_read_master()
66 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
262 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
1352 int dark_wm; member
602 c->dark_wm, c->dead_wm, c->max_idx_node_sz); in ubifs_dump_budg()