Lines Matching refs:leb_size
506 c->leb_size = c->vi.usable_leb_size;
507 c->half_leb_size = c->leb_size / 2;
511 if (c->leb_size < UBIFS_MIN_LEB_SZ) {
513 c->leb_size, UBIFS_MIN_LEB_SZ);
556 c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size;
586 c->leb_overhead = c->leb_size % UBIFS_MAX_DATA_NODE_SZ;
590 if (c->max_bu_buf_len > c->leb_size)
591 c->max_bu_buf_len = c->leb_size;
629 c->main_bytes = (long long)c->main_lebs * c->leb_size;
644 if (tmp > c->leb_size) {
646 c->leb_size, tmp);
654 tmp64 = c->max_bud_bytes + c->leb_size - 1;
655 c->max_bud_cnt = div_u64(tmp64, c->leb_size);
656 tmp = (c->ref_node_alsz * c->max_bud_cnt + c->leb_size - 1);
657 tmp /= c->leb_size;
691 tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1;
694 if (c->max_bud_bytes < tmp64 + c->leb_size)
695 c->max_bud_bytes = tmp64 + c->leb_size;
702 c->idx_leb_size = c->leb_size - c->max_idx_node_sz;
731 tmp64 *= (long long)c->leb_size - c->leb_overhead;
757 err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0,
1184 c->sbuf = vmalloc(c->leb_size);
1189 c->ileb_buf = vmalloc(c->leb_size);
1383 x = (long long)c->main_lebs * c->leb_size;
1386 x = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes;
1399 c->leb_size, c->leb_size >> 10);
1587 c->ileb_buf = vmalloc(c->leb_size);
1614 c->orph_buf = vmalloc(c->leb_size);