Searched refs:dark_wm (Results 1 – 9 of 9) sorted by relevance
242 available -= subtract_lebs * c->dark_wm; in ubifs_calc_available()690 available += lebs * (c->dark_wm - c->leb_overhead); in ubifs_get_free_space_nolock()
832 if (min_space > c->dark_wm) in ubifs_garbage_collect()833 min_space = c->dark_wm; in ubifs_garbage_collect()
471 if (spc < c->dark_wm) in ubifs_calc_dark()479 if (spc - c->dark_wm < MIN_WRITE_SZ) in ubifs_calc_dark()482 return c->dark_wm; in ubifs_calc_dark()
628 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()1232 ubifs_assert(c, c->dark_wm > 0); in check_free_space()1233 if (c->lst.total_free + c->lst.total_dirty < c->dark_wm) { in check_free_space()1599 dbg_gen("dark watermark: %d", c->dark_wm); in mount_ubifs()1601 x = (long long)c->main_lebs * c->dark_wm; in mount_ubifs()
403 c->lst.total_dark += growth * (long long)c->dark_wm; in ubifs_read_master()
54 if (lprops->free + lprops->dirty >= c->dark_wm) in valuable()
267 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
1407 int dark_wm; member
633 c->dark_wm, c->dead_wm, c->max_idx_node_sz); in ubifs_dump_budg()