Home
last modified time | relevance | path

Searched refs:jnl_lebs (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/fs/ubifs/
Dsb.c84 int err, tmp, jnl_lebs, log_lebs, max_buds, main_lebs, main_first; in create_default_filesystem() local
103 jnl_lebs = c->leb_cnt * DEFAULT_JNL_PERCENT / 100; in create_default_filesystem()
105 jnl_lebs = (c->leb_cnt / 100) * DEFAULT_JNL_PERCENT; in create_default_filesystem()
107 if (jnl_lebs < UBIFS_MIN_JNL_LEBS) in create_default_filesystem()
108 jnl_lebs = UBIFS_MIN_JNL_LEBS; in create_default_filesystem()
109 if (jnl_lebs * c->leb_size > DEFAULT_MAX_JNL) in create_default_filesystem()
110 jnl_lebs = DEFAULT_MAX_JNL / c->leb_size; in create_default_filesystem()
118 tmp = 2 * (c->ref_node_alsz * jnl_lebs) + c->leb_size - 1; in create_default_filesystem()
128 max_buds = jnl_lebs - log_lebs; in create_default_filesystem()