Lines Matching refs:leb_size

696 	c->leb_size = c->vi.usable_leb_size;  in init_constants_early()
698 c->half_leb_size = c->leb_size / 2; in init_constants_early()
704 if (c->leb_size < UBIFS_MIN_LEB_SZ) { in init_constants_early()
706 c->leb_size, UBIFS_MIN_LEB_SZ); in init_constants_early()
765 c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size; in init_constants_early()
795 c->leb_overhead = c->leb_size % UBIFS_MAX_DATA_NODE_SZ; in init_constants_early()
799 if (c->max_bu_buf_len > c->leb_size) in init_constants_early()
800 c->max_bu_buf_len = c->leb_size; in init_constants_early()
838 c->main_bytes = (long long)c->main_lebs * c->leb_size; in init_constants_sb()
853 if (tmp > c->leb_size) { in init_constants_sb()
855 c->leb_size, tmp); in init_constants_sb()
863 tmp64 = c->max_bud_bytes + c->leb_size - 1; in init_constants_sb()
864 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
865 tmp = (c->ref_node_alsz * c->max_bud_cnt + c->leb_size - 1); in init_constants_sb()
866 tmp /= c->leb_size; in init_constants_sb()
900 tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1; in init_constants_sb()
903 if (c->max_bud_bytes < tmp64 + c->leb_size) in init_constants_sb()
904 c->max_bud_bytes = tmp64 + c->leb_size; in init_constants_sb()
911 c->idx_leb_size = c->leb_size - c->max_idx_node_sz; in init_constants_sb()
940 tmp64 *= (long long)c->leb_size - c->leb_overhead; in init_constants_master()
966 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0, in take_gc_lnum()
1391 c->sbuf = vmalloc(c->leb_size); in mount_ubifs()
1397 c->ileb_buf = vmalloc(c->leb_size); in mount_ubifs()
1617 x = (long long)c->main_lebs * c->leb_size; in mount_ubifs()
1619 y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes; in mount_ubifs()
1622 c->leb_size, c->leb_size >> 10, c->min_io_size, in mount_ubifs()
1844 c->ileb_buf = vmalloc(c->leb_size); in ubifs_remount_rw()
1871 c->orph_buf = vmalloc(c->leb_size); in ubifs_remount_rw()