Searched refs:dark_wm (Results 1 – 9 of 9) sorted by relevance
285 available -= subtract_lebs * c->dark_wm; in ubifs_calc_available()734 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
681 if (min_space > c->dark_wm) in ubifs_garbage_collect()682 min_space = c->dark_wm; in ubifs_garbage_collect()
581 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()1086 ubifs_assert(c->dark_wm > 0); in check_free_space()1087 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()1393 dbg_msg("dark watermark: %d", c->dark_wm); in mount_ubifs()1395 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
482 if (spc < c->dark_wm) in calc_dark()490 if (spc - c->dark_wm < MIN_WRITE_SZ) in calc_dark()493 return c->dark_wm; in calc_dark()
320 c->lst.total_dark += growth * (long long)c->dark_wm; in ubifs_read_master()
248 tmp64 = (c->main_lebs - 1) * c->dark_wm; in create_default_filesystem()
66 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
1290 int dark_wm; member
620 c->dark_wm, c->dead_wm, c->max_idx_node_sz); in dbg_dump_budg()