Searched refs:dark_wm (Results 1 – 8 of 8) sorted by relevance
252 available -= subtract_lebs * c->dark_wm; in ubifs_calc_available()702 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
786 if (min_space > c->dark_wm) in ubifs_garbage_collect()787 min_space = c->dark_wm; in ubifs_garbage_collect()
476 if (spc < c->dark_wm) in ubifs_calc_dark()484 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark()487 return c->dark_wm; in ubifs_calc_dark()
788 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()1315 ubifs_assert(c->dark_wm > 0); in check_free_space()1316 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()1664 dbg_gen("dark watermark: %d", c->dark_wm); in mount_ubifs()1666 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
321 c->lst.total_dark += growth * (long long)c->dark_wm; in ubifs_read_master()
245 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
1955 int dark_wm; member
600 c->dark_wm, c->dead_wm, c->max_idx_node_sz); in ubifs_dump_budg()