Lines Matching refs:ubifs_assert
437 ubifs_assert(req->new_page <= 1); in ubifs_budget_space()
438 ubifs_assert(req->dirtied_page <= 1); in ubifs_budget_space()
439 ubifs_assert(req->new_dent <= 1); in ubifs_budget_space()
440 ubifs_assert(req->mod_dent <= 1); in ubifs_budget_space()
441 ubifs_assert(req->new_ino <= 1); in ubifs_budget_space()
442 ubifs_assert(req->new_ino_d <= UBIFS_MAX_INO_DATA); in ubifs_budget_space()
443 ubifs_assert(req->dirtied_ino <= 4); in ubifs_budget_space()
444 ubifs_assert(req->dirtied_ino_d <= UBIFS_MAX_INO_DATA * 4); in ubifs_budget_space()
445 ubifs_assert(!(req->new_ino_d & 7)); in ubifs_budget_space()
446 ubifs_assert(!(req->dirtied_ino_d & 7)); in ubifs_budget_space()
456 ubifs_assert(c->bi.idx_growth >= 0); in ubifs_budget_space()
457 ubifs_assert(c->bi.data_growth >= 0); in ubifs_budget_space()
458 ubifs_assert(c->bi.dd_growth >= 0); in ubifs_budget_space()
524 ubifs_assert(req->new_page <= 1); in ubifs_release_budget()
525 ubifs_assert(req->dirtied_page <= 1); in ubifs_release_budget()
526 ubifs_assert(req->new_dent <= 1); in ubifs_release_budget()
527 ubifs_assert(req->mod_dent <= 1); in ubifs_release_budget()
528 ubifs_assert(req->new_ino <= 1); in ubifs_release_budget()
529 ubifs_assert(req->new_ino_d <= UBIFS_MAX_INO_DATA); in ubifs_release_budget()
530 ubifs_assert(req->dirtied_ino <= 4); in ubifs_release_budget()
531 ubifs_assert(req->dirtied_ino_d <= UBIFS_MAX_INO_DATA * 4); in ubifs_release_budget()
532 ubifs_assert(!(req->new_ino_d & 7)); in ubifs_release_budget()
533 ubifs_assert(!(req->dirtied_ino_d & 7)); in ubifs_release_budget()
535 ubifs_assert(req->idx_growth >= 0); in ubifs_release_budget()
536 ubifs_assert(req->data_growth >= 0); in ubifs_release_budget()
537 ubifs_assert(req->dd_growth >= 0); in ubifs_release_budget()
559 ubifs_assert(c->bi.idx_growth >= 0); in ubifs_release_budget()
560 ubifs_assert(c->bi.data_growth >= 0); in ubifs_release_budget()
561 ubifs_assert(c->bi.dd_growth >= 0); in ubifs_release_budget()
562 ubifs_assert(c->bi.min_idx_lebs < c->main_lebs); in ubifs_release_budget()
563 ubifs_assert(!(c->bi.idx_growth & 7)); in ubifs_release_budget()
564 ubifs_assert(!(c->bi.data_growth & 7)); in ubifs_release_budget()
565 ubifs_assert(!(c->bi.dd_growth & 7)); in ubifs_release_budget()
680 ubifs_assert(c->bi.min_idx_lebs == ubifs_calc_min_idx_lebs(c)); in ubifs_get_free_space_nolock()