Searched refs:dark_wm (Results 1 – 9 of 9) sorted by relevance
257 available -= subtract_lebs * c->dark_wm; in ubifs_calc_available()707 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
797 if (min_space > c->dark_wm) in ubifs_garbage_collect()798 min_space = c->dark_wm; in ubifs_garbage_collect()
605 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()1147 ubifs_assert(c->dark_wm > 0); in check_free_space()1148 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()1474 dbg_msg("dark watermark: %d", c->dark_wm); in mount_ubifs()1476 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
485 if (spc < c->dark_wm) in ubifs_calc_dark()493 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark()496 return c->dark_wm; in ubifs_calc_dark()
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()
250 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
1345 int dark_wm; member
662 c->dark_wm, c->dead_wm, c->max_idx_node_sz); in dbg_dump_budg()