Lines Matching refs:leb_size
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()
119 log_lebs = tmp / c->leb_size; in create_default_filesystem()
177 tmp64 = (long long)max_buds * c->leb_size; in create_default_filesystem()
197 sup->leb_size = cpu_to_le32(c->leb_size); in create_default_filesystem()
216 main_bytes = (long long)main_lebs * c->leb_size; in create_default_filesystem()
400 if (le32_to_cpu(sup->leb_size) != c->leb_size) { in validate_sb()
402 le32_to_cpu(sup->leb_size), c->leb_size); in validate_sb()
440 max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS; in validate_sb()
447 max_bytes = (long long)c->leb_size * c->main_lebs; in validate_sb()
461 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) { in validate_sb()
769 c->log_bytes = (long long)c->log_lebs * c->leb_size; in ubifs_read_superblock()
801 ubifs_assert(c, len < c->leb_size); in fixup_leb()
860 err = fixup_leb(c, lnum, c->leb_size - free); in fixup_free_space()
882 err = fixup_leb(c, lnum, c->leb_size - lprops->free); in fixup_free_space()