Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ubifs/
Dsb.c86 int min_leb_cnt = UBIFS_MIN_LEB_CNT; in create_default_filesystem() local
122 if (c->leb_cnt - min_leb_cnt > 8) { in create_default_filesystem()
125 min_leb_cnt += 1; in create_default_filesystem()
139 if (c->leb_cnt - min_leb_cnt > 1) in create_default_filesystem()
382 int err = 1, min_leb_cnt; in validate_sb() local
419 min_leb_cnt = UBIFS_SB_LEBS + UBIFS_MST_LEBS + c->log_lebs; in validate_sb()
420 min_leb_cnt += c->lpt_lebs + c->orph_lebs + c->jhead_cnt + 6; in validate_sb()
422 if (c->leb_cnt < min_leb_cnt || c->leb_cnt > c->vi.size) { in validate_sb()
424 c->leb_cnt, c->vi.size, min_leb_cnt); in validate_sb()