leb_size          878 drivers/mtd/ubi/attach.c 	memset(ubi->peb_buf, 0x00, ubi->leb_size);
leb_size          881 drivers/mtd/ubi/attach.c 			  ubi->leb_size);
leb_size          897 drivers/mtd/ubi/attach.c 	if (ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->leb_size))
leb_size          905 drivers/mtd/ubi/attach.c 	       pnum, ubi->leb_start, ubi->leb_size);
leb_size          907 drivers/mtd/ubi/attach.c 			       ubi->peb_buf, ubi->leb_size, 1);
leb_size         1711 drivers/mtd/ubi/attach.c 		if (av->data_pad > ubi->leb_size / 2) {
leb_size           80 drivers/mtd/ubi/block.c 	int leb_size;
leb_size          195 drivers/mtd/ubi/block.c 	offset = do_div(pos, dev->leb_size);
leb_size          204 drivers/mtd/ubi/block.c 		if (offset + to_read > dev->leb_size)
leb_size          205 drivers/mtd/ubi/block.c 			to_read = dev->leb_size - offset;
leb_size          395 drivers/mtd/ubi/block.c 	dev->leb_size = vi->usable_leb_size;
leb_size          358 drivers/mtd/ubi/build.c 		ret = sprintf(buf, "%d\n", ubi->leb_size);
leb_size          712 drivers/mtd/ubi/build.c 	ubi->leb_size = ubi->peb_size - ubi->leb_start;
leb_size          981 drivers/mtd/ubi/build.c 		ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size);
leb_size          623 drivers/mtd/ubi/cdev.c 	if (req->alignment > ubi->leb_size)
leb_size         1322 drivers/mtd/ubi/eba.c 			    ubi->leb_size - be32_to_cpu(vid_hdr->data_pad);
leb_size           92 drivers/mtd/ubi/fastmap.c 	return roundup(size, ubi->leb_size);
leb_size          923 drivers/mtd/ubi/fastmap.c 	fm_size = ubi->leb_size * used_blocks;
leb_size         1015 drivers/mtd/ubi/fastmap.c 		ret = ubi_io_read_data(ubi, ubi->fm_buf + (ubi->leb_size * i),
leb_size         1016 drivers/mtd/ubi/fastmap.c 				       pnum, 0, ubi->leb_size);
leb_size         1358 drivers/mtd/ubi/fastmap.c 		ret = ubi_io_write_data(ubi, fm_raw + (i * ubi->leb_size),
leb_size         1359 drivers/mtd/ubi/fastmap.c 					new_fm->e[i]->pnum, 0, ubi->leb_size);
leb_size         1562 drivers/mtd/ubi/fastmap.c 	new_fm->used_blocks = ubi->fm_size / ubi->leb_size;
leb_size          844 drivers/mtd/ubi/io.c 	int usable_leb_size = ubi->leb_size - data_pad;
leb_size          879 drivers/mtd/ubi/io.c 	if (data_pad >= ubi->leb_size / 2) {
leb_size          884 drivers/mtd/ubi/io.c 	if (data_size > ubi->leb_size) {
leb_size           29 drivers/mtd/ubi/kapi.c 	di->leb_size = ubi->leb_size;
leb_size          637 drivers/mtd/ubi/ubi.h 	int leb_size;
leb_size          123 drivers/mtd/ubi/upd.c 	vol->upd_buf = vmalloc(ubi->leb_size);
leb_size          207 drivers/mtd/ubi/vmt.c 	vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment;
leb_size          227 drivers/mtd/ubi/vmt.c 	vol->data_pad  = ubi->leb_size % vol->alignment;
leb_size          661 drivers/mtd/ubi/vmt.c 	if (vol->alignment > ubi->leb_size || vol->alignment == 0) {
leb_size          672 drivers/mtd/ubi/vmt.c 	n = ubi->leb_size % vol->alignment;
leb_size          694 drivers/mtd/ubi/vmt.c 	n = ubi->leb_size - vol->data_pad;
leb_size          695 drivers/mtd/ubi/vmt.c 	if (vol->usable_leb_size != ubi->leb_size - vol->data_pad) {
leb_size          199 drivers/mtd/ubi/vtbl.c 		if (alignment > ubi->leb_size || alignment == 0) {
leb_size          210 drivers/mtd/ubi/vtbl.c 		n = ubi->leb_size % alignment;
leb_size          545 drivers/mtd/ubi/vtbl.c 		vol->usable_leb_size = ubi->leb_size - vol->data_pad;
leb_size          635 drivers/mtd/ubi/vtbl.c 	vol->usable_leb_size = ubi->leb_size;
leb_size          639 drivers/mtd/ubi/vtbl.c 		(long long)vol->used_ebs * (ubi->leb_size - vol->data_pad);
leb_size          794 drivers/mtd/ubi/vtbl.c 	ubi->vtbl_slots = ubi->leb_size / UBI_VTBL_RECORD_SIZE;
leb_size           13 drivers/mtd/ubi/wl.h 	*count += (ubi->fm_size / ubi->leb_size) * 2;
leb_size          224 fs/ubifs/budget.c 	available -= (long long)subtract_lebs * c->leb_size;
leb_size          335 fs/ubifs/debug.c 		pr_err("\tleb_size       %u\n", le32_to_cpu(sup->leb_size));
leb_size          657 fs/ubifs/debug.c 		       lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc,
leb_size          661 fs/ubifs/debug.c 		       lp->lnum, lp->free, lp->dirty, c->leb_size - spc, spc,
leb_size          818 fs/ubifs/debug.c 	buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
leb_size          760 fs/ubifs/file.c 			ubifs_assert(c, bu->buf_len <= c->leb_size);
leb_size          102 fs/ubifs/find.c 	if (lprops->free + lprops->dirty == c->leb_size) {
leb_size          183 fs/ubifs/find.c 		      lprops->free + lprops->dirty == c->leb_size));
leb_size          318 fs/ubifs/find.c 		     (pick_free && lp->free + lp->dirty == c->leb_size));
leb_size          369 fs/ubifs/find.c 	if (!data->pick_free && lprops->free == c->leb_size)
leb_size          377 fs/ubifs/find.c 	if (lprops->free + lprops->dirty == c->leb_size && lprops->dirty > 0)
leb_size          549 fs/ubifs/find.c 	*offs = c->leb_size - lprops->free;
leb_size          564 fs/ubifs/find.c 	dbg_find("found LEB %d, free %d", lnum, c->leb_size - *offs);
leb_size          565 fs/ubifs/find.c 	ubifs_assert(c, *offs <= c->leb_size - min_space);
leb_size          606 fs/ubifs/find.c 	if (lprops->free + lprops->dirty != c->leb_size)
leb_size          639 fs/ubifs/find.c 	ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size);
leb_size          702 fs/ubifs/find.c 	lprops = ubifs_change_lp(c, lprops, c->leb_size, 0, flags, 0);
leb_size           77 fs/ubifs/gc.c  	       c->leb_size - wbuf->offs - wbuf->used);
leb_size          361 fs/ubifs/gc.c  			avail = c->leb_size - wbuf->offs - wbuf->used -
leb_size          383 fs/ubifs/gc.c  			avail = c->leb_size - wbuf->offs - wbuf->used -
leb_size          506 fs/ubifs/gc.c  	if (lp->free + lp->dirty == c->leb_size) {
leb_size          511 fs/ubifs/gc.c  		if (lp->free != c->leb_size) {
leb_size          520 fs/ubifs/gc.c  			err = ubifs_change_one_lp(c, lp->lnum, c->leb_size,
leb_size          581 fs/ubifs/gc.c  		err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0,
leb_size          598 fs/ubifs/gc.c  		err = ubifs_change_one_lp(c, lnum, c->leb_size, 0, 0, 0, 0);
leb_size          745 fs/ubifs/gc.c  		space_before = c->leb_size - wbuf->offs - wbuf->used;
leb_size          785 fs/ubifs/gc.c  		space_after = c->leb_size - wbuf->offs - wbuf->used;
leb_size          885 fs/ubifs/gc.c  		lp = ubifs_change_lp(c, lp, c->leb_size, 0, lp->flags, 0);
leb_size          916 fs/ubifs/gc.c  		lp = ubifs_change_lp(c, lp, c->leb_size, 0, flags, 1);
leb_size          233 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
leb_size          252 fs/ubifs/io.c  	if (node_len + offs > c->leb_size)
leb_size          549 fs/ubifs/io.c  	ubifs_assert(c, wbuf->offs + wbuf->size <= c->leb_size);
leb_size          554 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
leb_size          584 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs < c->max_write_size)
leb_size          585 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
leb_size          597 fs/ubifs/io.c  					  c->leb_size - wbuf->offs, dirt);
leb_size          617 fs/ubifs/io.c  	ubifs_assert(c, offs >= 0 && offs <= c->leb_size);
leb_size          625 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs < c->max_write_size)
leb_size          626 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
leb_size          728 fs/ubifs/io.c  	ubifs_assert(c, !(wbuf->offs & 7) && wbuf->offs <= c->leb_size);
leb_size          736 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
leb_size          739 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) {
leb_size          766 fs/ubifs/io.c  			if (c->leb_size - wbuf->offs >= c->max_write_size)
leb_size          769 fs/ubifs/io.c  				wbuf->size = c->leb_size - wbuf->offs;
leb_size          855 fs/ubifs/io.c  	if (c->leb_size - wbuf->offs >= c->max_write_size)
leb_size          858 fs/ubifs/io.c  		wbuf->size = c->leb_size - wbuf->offs;
leb_size          866 fs/ubifs/io.c  		int free = c->leb_size - wbuf->offs - wbuf->used;
leb_size          911 fs/ubifs/io.c  	ubifs_assert(c, offs % c->min_io_size == 0 && offs < c->leb_size);
leb_size          974 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
leb_size         1049 fs/ubifs/io.c  	ubifs_assert(c, len >= UBIFS_CH_SZ && offs + len <= c->leb_size);
leb_size         1050 fs/ubifs/io.c  	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
leb_size          118 fs/ubifs/journal.c 	avail = c->leb_size - wbuf->offs - wbuf->used;
leb_size          167 fs/ubifs/journal.c 	avail = c->leb_size - wbuf->offs - wbuf->used;
leb_size           94 fs/ubifs/log.c 	h = (long long)c->lhead_lnum * c->leb_size + c->lhead_offs;
leb_size           95 fs/ubifs/log.c 	t = (long long)c->ltail_lnum * c->leb_size;
leb_size          144 fs/ubifs/log.c 	c->bud_bytes += c->leb_size - bud->start;
leb_size          204 fs/ubifs/log.c 	if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
leb_size          234 fs/ubifs/log.c 	if (c->lhead_offs > c->leb_size - c->ref_node_alsz) {
leb_size          325 fs/ubifs/log.c 			c->cmt_bud_bytes += c->leb_size - bud->start;
leb_size          328 fs/ubifs/log.c 				c->leb_size - bud->start, c->cmt_bud_bytes);
leb_size          397 fs/ubifs/log.c 		if (lnum == -1 || offs == c->leb_size)
leb_size          441 fs/ubifs/log.c 	ubifs_assert(c, c->lhead_offs < c->leb_size);
leb_size          485 fs/ubifs/log.c 	c->min_log_bytes = c->leb_size;
leb_size          615 fs/ubifs/log.c 	int len = le32_to_cpu(ch->len), remains = c->leb_size - *offs;
leb_size          652 fs/ubifs/log.c 	buf = vmalloc(c->leb_size);
leb_size          752 fs/ubifs/log.c 			bud_bytes += c->leb_size - bud->start;
leb_size          402 fs/ubifs/lprops.c 	if (lprops->free == c->leb_size) {
leb_size          407 fs/ubifs/lprops.c 	if (lprops->free + lprops->dirty == c->leb_size) {
leb_size          557 fs/ubifs/lprops.c 	if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size)
leb_size          569 fs/ubifs/lprops.c 		c->lst.total_used -= c->leb_size - old_spc;
leb_size          577 fs/ubifs/lprops.c 		if (free == c->leb_size) {
leb_size          578 fs/ubifs/lprops.c 			if (lprops->free != c->leb_size)
leb_size          580 fs/ubifs/lprops.c 		} else if (lprops->free == c->leb_size)
leb_size          610 fs/ubifs/lprops.c 		c->lst.total_used += c->leb_size - new_spc;
leb_size          613 fs/ubifs/lprops.c 	if ((lprops->flags & LPROPS_TAKEN) && lprops->free == c->leb_size)
leb_size          790 fs/ubifs/lprops.c 	ubifs_assert(c, lprops->free == c->leb_size);
leb_size          813 fs/ubifs/lprops.c 	ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size);
leb_size          837 fs/ubifs/lprops.c 	ubifs_assert(c, lprops->free + lprops->dirty == c->leb_size);
leb_size          861 fs/ubifs/lprops.c 		if (lprops->free != c->leb_size) {
leb_size          877 fs/ubifs/lprops.c 		if (lprops->free + lprops->dirty != c->leb_size) {
leb_size          907 fs/ubifs/lprops.c 		if (lprops->free + lprops->dirty != c->leb_size) {
leb_size         1084 fs/ubifs/lprops.c 	if (lp->free == c->leb_size) {
leb_size         1086 fs/ubifs/lprops.c 		lst->total_free += c->leb_size;
leb_size         1087 fs/ubifs/lprops.c 		lst->total_dark += ubifs_calc_dark(c, c->leb_size);
leb_size         1090 fs/ubifs/lprops.c 	if (lp->free + lp->dirty == c->leb_size &&
leb_size         1094 fs/ubifs/lprops.c 		lst->total_dark  +=  ubifs_calc_dark(c, c->leb_size);
leb_size         1098 fs/ubifs/lprops.c 	buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
leb_size         1143 fs/ubifs/lprops.c 	free = c->leb_size - sleb->endpt;
leb_size         1146 fs/ubifs/lprops.c 	if (free > c->leb_size || free < 0 || dirty > c->leb_size ||
leb_size         1153 fs/ubifs/lprops.c 	if (lp->free + lp->dirty == c->leb_size &&
leb_size         1154 fs/ubifs/lprops.c 	    free + dirty == c->leb_size)
leb_size         1156 fs/ubifs/lprops.c 		    (!is_idx && free == c->leb_size) ||
leb_size         1157 fs/ubifs/lprops.c 		    lp->free == c->leb_size) {
leb_size         1191 fs/ubifs/lprops.c 		if (free == c->leb_size)
leb_size         1205 fs/ubifs/lprops.c 	if (free == c->leb_size)
leb_size         1212 fs/ubifs/lprops.c 		lst->total_used += c->leb_size - free - dirty;
leb_size           70 fs/ubifs/lpt.c 	c->space_bits = fls(c->leb_size) - 3;
leb_size           72 fs/ubifs/lpt.c 	c->lpt_offs_bits = fls(c->leb_size - 1);
leb_size           73 fs/ubifs/lpt.c 	c->lpt_spc_bits = fls(c->leb_size);
leb_size          110 fs/ubifs/lpt.c 	while (sz > c->leb_size) {
leb_size          112 fs/ubifs/lpt.c 		sz -= c->leb_size;
leb_size          134 fs/ubifs/lpt.c 	lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size);
leb_size          141 fs/ubifs/lpt.c 	if (c->ltab_sz > c->leb_size) {
leb_size          184 fs/ubifs/lpt.c 	if (c->lpt_sz > c->leb_size) {
leb_size          193 fs/ubifs/lpt.c 		lebs_needed = div_u64(sz + c->leb_size - 1, c->leb_size);
leb_size          203 fs/ubifs/lpt.c 		if (c->ltab_sz > c->leb_size) {
leb_size          630 fs/ubifs/lpt.c 	buf = vmalloc(c->leb_size);
leb_size          643 fs/ubifs/lpt.c 		ltab[i].free = c->leb_size;
leb_size          660 fs/ubifs/lpt.c 	pnode->lprops[0].free = c->leb_size - iopos;
leb_size          666 fs/ubifs/lpt.c 	pnode->lprops[1].free = c->leb_size - iopos;
leb_size          670 fs/ubifs/lpt.c 		pnode->lprops[i].free = c->leb_size;
leb_size          683 fs/ubifs/lpt.c 	pnode->lprops[0].free = c->leb_size;
leb_size          687 fs/ubifs/lpt.c 	pnode->lprops[1].free = c->leb_size;
leb_size          701 fs/ubifs/lpt.c 		if (len + c->pnode_sz > c->leb_size) {
leb_size          703 fs/ubifs/lpt.c 			set_ltab(c, lnum, c->leb_size - alen, alen - len);
leb_size          734 fs/ubifs/lpt.c 			if (len + c->nnode_sz > c->leb_size) {
leb_size          736 fs/ubifs/lpt.c 				set_ltab(c, lnum, c->leb_size - alen,
leb_size          753 fs/ubifs/lpt.c 					if (boffs + bsz > c->leb_size) {
leb_size          782 fs/ubifs/lpt.c 		if (len + c->lsave_sz > c->leb_size) {
leb_size          784 fs/ubifs/lpt.c 			set_ltab(c, lnum, c->leb_size - alen, alen - len);
leb_size          807 fs/ubifs/lpt.c 	if (len + c->ltab_sz > c->leb_size) {
leb_size          809 fs/ubifs/lpt.c 		set_ltab(c, lnum, c->leb_size - alen, alen - len);
leb_size          824 fs/ubifs/lpt.c 	set_ltab(c, lnum, c->leb_size - alen, alen - len);
leb_size         1056 fs/ubifs/lpt.c 		if (free < 0 || free > c->leb_size || dirty < 0 ||
leb_size         1057 fs/ubifs/lpt.c 		    dirty > c->leb_size || free + dirty > c->leb_size)
leb_size         1119 fs/ubifs/lpt.c 		max_offs = c->leb_size - c->pnode_sz;
leb_size         1121 fs/ubifs/lpt.c 		max_offs = c->leb_size - c->nnode_sz;
leb_size         1163 fs/ubifs/lpt.c 		if (free < 0 || free > c->leb_size || free % c->min_io_size ||
leb_size         1166 fs/ubifs/lpt.c 		if (dirty < 0 || dirty > c->leb_size || (dirty & 7))
leb_size         1168 fs/ubifs/lpt.c 		if (dirty + free > c->leb_size)
leb_size         1298 fs/ubifs/lpt.c 			lprops->free = c->leb_size;
leb_size         1854 fs/ubifs/lpt.c 	c->lpt_buf = vmalloc(c->leb_size);
leb_size         1868 fs/ubifs/lpt.c 		if (c->ltab[i].free == c->leb_size) {
leb_size         2042 fs/ubifs/lpt.c 			lprops->free = c->leb_size;
leb_size         2048 fs/ubifs/lpt.c 		ubifs_assert(c, branch->offs >= 0 && branch->offs < c->leb_size);
leb_size         2350 fs/ubifs/lpt.c 			if (lprops->free != c->leb_size) {
leb_size         2359 fs/ubifs/lpt.c 			if (lprops->free + lprops->dirty != c->leb_size) {
leb_size          157 fs/ubifs/lpt_commit.c 		if (c->ltab[i].free == c->leb_size) {
leb_size          167 fs/ubifs/lpt_commit.c 		if (c->ltab[i].free == c->leb_size) {
leb_size          198 fs/ubifs/lpt_commit.c 	if (!done_lsave && offs + c->lsave_sz <= c->leb_size) {
leb_size          206 fs/ubifs/lpt_commit.c 	if (offs + c->ltab_sz <= c->leb_size) {
leb_size          222 fs/ubifs/lpt_commit.c 		while (offs + len > c->leb_size) {
leb_size          224 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
leb_size          225 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          265 fs/ubifs/lpt_commit.c 		if (offs + c->lsave_sz > c->leb_size) {
leb_size          267 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
leb_size          268 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          285 fs/ubifs/lpt_commit.c 		if (offs + c->ltab_sz > c->leb_size) {
leb_size          287 fs/ubifs/lpt_commit.c 			upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
leb_size          288 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          303 fs/ubifs/lpt_commit.c 	upd_ltab(c, lnum, c->leb_size - alen, alen - offs);
leb_size          381 fs/ubifs/lpt_commit.c 	if (!done_lsave && offs + c->lsave_sz <= c->leb_size) {
leb_size          388 fs/ubifs/lpt_commit.c 	if (offs + c->ltab_sz <= c->leb_size) {
leb_size          401 fs/ubifs/lpt_commit.c 		while (offs + len > c->leb_size) {
leb_size          411 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          461 fs/ubifs/lpt_commit.c 		if (offs + c->lsave_sz > c->leb_size) {
leb_size          468 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          487 fs/ubifs/lpt_commit.c 		if (offs + c->ltab_sz > c->leb_size) {
leb_size          494 fs/ubifs/lpt_commit.c 			dbg_chk_lpt_sz(c, 2, c->leb_size - offs);
leb_size          688 fs/ubifs/lpt_commit.c 			free += c->leb_size - c->nhead_offs;
leb_size          689 fs/ubifs/lpt_commit.c 		else if (c->ltab[i].free == c->leb_size)
leb_size          690 fs/ubifs/lpt_commit.c 			free += c->leb_size;
leb_size          691 fs/ubifs/lpt_commit.c 		else if (c->ltab[i].free + c->ltab[i].dirty == c->leb_size)
leb_size          692 fs/ubifs/lpt_commit.c 			free += c->leb_size;
leb_size          716 fs/ubifs/lpt_commit.c 		    c->ltab[i].free + c->ltab[i].dirty == c->leb_size) {
leb_size          718 fs/ubifs/lpt_commit.c 			c->ltab[i].free = c->leb_size;
leb_size         1039 fs/ubifs/lpt_commit.c 	offs = c->leb_size - len;
leb_size         1107 fs/ubifs/lpt_commit.c 	int err, len = c->leb_size, node_type, node_num, node_len, offs;
leb_size         1112 fs/ubifs/lpt_commit.c 	err = ubifs_leb_read(c, lnum, buf, 0, c->leb_size, 1);
leb_size         1130 fs/ubifs/lpt_commit.c 		offs = c->leb_size - len;
leb_size         1158 fs/ubifs/lpt_commit.c 		    c->ltab[i].free + c->ltab[i].dirty == c->leb_size)
leb_size         1592 fs/ubifs/lpt_commit.c 	int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len;
leb_size         1599 fs/ubifs/lpt_commit.c 	buf = p = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
leb_size         1607 fs/ubifs/lpt_commit.c 	err = ubifs_leb_read(c, lnum, buf, 0, c->leb_size, 1);
leb_size         1624 fs/ubifs/lpt_commit.c 					  lnum, c->leb_size - len);
leb_size         1642 fs/ubifs/lpt_commit.c 		ret = dbg_is_node_dirty(c, node_type, lnum, c->leb_size - len);
leb_size         1715 fs/ubifs/lpt_commit.c 			free += c->leb_size - c->nhead_offs;
leb_size         1716 fs/ubifs/lpt_commit.c 		else if (c->ltab[i].free == c->leb_size)
leb_size         1717 fs/ubifs/lpt_commit.c 			free += c->leb_size;
leb_size         1779 fs/ubifs/lpt_commit.c 		chk_lpt_sz = c->leb_size;
leb_size         1844 fs/ubifs/lpt_commit.c 	int err, len = c->leb_size, node_type, node_num, node_len, offs;
leb_size         1848 fs/ubifs/lpt_commit.c 	buf = p = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
leb_size         1854 fs/ubifs/lpt_commit.c 	err = ubifs_leb_read(c, lnum, buf, 0, c->leb_size, 1);
leb_size         1859 fs/ubifs/lpt_commit.c 		offs = c->leb_size - len;
leb_size          196 fs/ubifs/master.c 	    c->lhead_offs < 0 || c->lhead_offs >= c->leb_size ||
leb_size          203 fs/ubifs/master.c 	    c->zroot.offs >= c->leb_size || c->zroot.offs & 7) {
leb_size          221 fs/ubifs/master.c 	    c->ihead_offs > c->leb_size || c->ihead_offs & 7) {
leb_size          226 fs/ubifs/master.c 	main_sz = (long long)c->main_lebs * c->leb_size;
leb_size          233 fs/ubifs/master.c 	    c->lpt_offs < 0 || c->lpt_offs + c->nnode_sz > c->leb_size) {
leb_size          240 fs/ubifs/master.c 	    c->nhead_offs > c->leb_size) {
leb_size          247 fs/ubifs/master.c 	    c->ltab_offs + c->ltab_sz > c->leb_size) {
leb_size          254 fs/ubifs/master.c 	    c->lsave_offs + c->lsave_sz > c->leb_size)) {
leb_size          405 fs/ubifs/master.c 		c->lst.total_free += growth * (long long)c->leb_size;
leb_size          449 fs/ubifs/master.c 	if (offs + UBIFS_MST_NODE_SZ > c->leb_size) {
leb_size          281 fs/ubifs/misc.h 	int max_xattrs = (c->leb_size / 2) / UBIFS_INO_NODE_SZ;
leb_size          271 fs/ubifs/orphan.c 	       ((c->leb_size - UBIFS_ORPH_NODE_SZ) / sizeof(__le64));
leb_size          272 fs/ubifs/orphan.c 	gap = c->leb_size - c->ohead_offs;
leb_size          291 fs/ubifs/orphan.c 	       ((c->leb_size - UBIFS_ORPH_NODE_SZ) / sizeof(__le64));
leb_size          343 fs/ubifs/orphan.c 	gap = c->leb_size - c->ohead_offs;
leb_size          347 fs/ubifs/orphan.c 		gap = c->leb_size;
leb_size          382 fs/ubifs/orphan.c 	ubifs_assert(c, c->ohead_offs + len <= c->leb_size);
leb_size          814 fs/ubifs/orphan.c 		c->orph_buf = vmalloc(c->leb_size);
leb_size          975 fs/ubifs/orphan.c 	buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL);
leb_size          104 fs/ubifs/recovery.c 	sbuf = vmalloc(c->leb_size);
leb_size          108 fs/ubifs/recovery.c 	err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0);
leb_size          115 fs/ubifs/recovery.c 	len = c->leb_size;
leb_size          116 fs/ubifs/recovery.c 	while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) {
leb_size          160 fs/ubifs/recovery.c 	if (offs < c->leb_size) {
leb_size          170 fs/ubifs/recovery.c 	if (offs < c->leb_size)
leb_size          267 fs/ubifs/recovery.c 				   c->leb_size - offs2 - sz < sz) {
leb_size          292 fs/ubifs/recovery.c 		if (offs2 + sz + sz <= c->leb_size)
leb_size          412 fs/ubifs/recovery.c 	check_len = c->leb_size - empty_offs;
leb_size          443 fs/ubifs/recovery.c 	memset(*buf, 0xff, c->leb_size - empty_offs);
leb_size          625 fs/ubifs/recovery.c 	int ret = 0, err, len = c->leb_size - offs, start = offs, min_io_unit;
leb_size          766 fs/ubifs/recovery.c 	len = c->leb_size - offs;
leb_size          809 fs/ubifs/recovery.c 	if (c->leb_size - offs < UBIFS_CS_NODE_SZ)
leb_size          916 fs/ubifs/recovery.c 	if (offs + len > c->leb_size)
leb_size          917 fs/ubifs/recovery.c 		len = c->leb_size - offs;
leb_size         1167 fs/ubifs/recovery.c 	if (wbuf->lnum == -1 || wbuf->offs == c->leb_size)
leb_size         1424 fs/ubifs/recovery.c 	err = ubifs_leb_read(c, lnum, c->sbuf, 0, c->leb_size, 1);
leb_size         1435 fs/ubifs/recovery.c 	len = c->leb_size - 1;
leb_size          102 fs/ubifs/replay.c 	if (b->bud->start == 0 && (lp->free != c->leb_size || lp->dirty != 0)) {
leb_size          126 fs/ubifs/replay.c 		dirty -= c->leb_size - lp->free;
leb_size          148 fs/ubifs/replay.c 				     b->bud->lnum, c->leb_size - b->free);
leb_size          828 fs/ubifs/replay.c 	b->free = c->leb_size - sleb->endpt;
leb_size          962 fs/ubifs/replay.c 	    lnum < c->main_first || offs > c->leb_size ||
leb_size         1123 fs/ubifs/replay.c 	if (sleb->endpt || c->lhead_offs >= c->leb_size) {
leb_size         1195 fs/ubifs/replay.c 	if (c->ihead_offs != c->leb_size - free) {
leb_size          107 fs/ubifs/sb.c  	if (jnl_lebs * c->leb_size > DEFAULT_MAX_JNL)
leb_size          108 fs/ubifs/sb.c  		jnl_lebs = DEFAULT_MAX_JNL / c->leb_size;
leb_size          116 fs/ubifs/sb.c  	tmp = 2 * (c->ref_node_alsz * jnl_lebs) + c->leb_size - 1;
leb_size          117 fs/ubifs/sb.c  	log_lebs = tmp / c->leb_size;
leb_size          175 fs/ubifs/sb.c  	tmp64 = (long long)max_buds * c->leb_size;
leb_size          194 fs/ubifs/sb.c  	sup->leb_size      = cpu_to_le32(c->leb_size);
leb_size          213 fs/ubifs/sb.c  	main_bytes = (long long)main_lebs * c->leb_size;
leb_size          399 fs/ubifs/sb.c  	if (le32_to_cpu(sup->leb_size) != c->leb_size) {
leb_size          401 fs/ubifs/sb.c  			  le32_to_cpu(sup->leb_size), c->leb_size);
leb_size          439 fs/ubifs/sb.c  	max_bytes = (long long)c->leb_size * UBIFS_MIN_BUD_LEBS;
leb_size          446 fs/ubifs/sb.c  	max_bytes = (long long)c->leb_size * c->main_lebs;
leb_size          460 fs/ubifs/sb.c  	    ubifs_idx_node_sz(c, c->fanout) > c->leb_size) {
leb_size          768 fs/ubifs/sb.c  	c->log_bytes = (long long)c->log_lebs * c->leb_size;
leb_size          800 fs/ubifs/sb.c  	ubifs_assert(c, len < c->leb_size);
leb_size          859 fs/ubifs/sb.c  			err = fixup_leb(c, lnum, c->leb_size - free);
leb_size          881 fs/ubifs/sb.c  			err = fixup_leb(c, lnum, c->leb_size - lprops->free);
leb_size           89 fs/ubifs/scan.c 		    offs + node_len + pad_len > c->leb_size) {
leb_size          141 fs/ubifs/scan.c 	err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0);
leb_size          144 fs/ubifs/scan.c 			  c->leb_size - offs, lnum, offs, err);
leb_size          231 fs/ubifs/scan.c 	len = c->leb_size - offs;
leb_size          258 fs/ubifs/scan.c 	int err, len = c->leb_size - offs;
leb_size          512 fs/ubifs/super.c 	c->leb_size = c->vi.usable_leb_size;
leb_size          514 fs/ubifs/super.c 	c->half_leb_size = c->leb_size / 2;
leb_size          520 fs/ubifs/super.c 	if (c->leb_size < UBIFS_MIN_LEB_SZ) {
leb_size          522 fs/ubifs/super.c 			   c->leb_size, UBIFS_MIN_LEB_SZ);
leb_size          580 fs/ubifs/super.c 	c->ranges[UBIFS_SIG_NODE].max_len = c->leb_size - UBIFS_SB_NODE_SZ;
leb_size          586 fs/ubifs/super.c 	c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size;
leb_size          616 fs/ubifs/super.c 	c->leb_overhead = c->leb_size % UBIFS_MAX_DATA_NODE_SZ;
leb_size          620 fs/ubifs/super.c 	if (c->max_bu_buf_len > c->leb_size)
leb_size          621 fs/ubifs/super.c 		c->max_bu_buf_len = c->leb_size;
leb_size          624 fs/ubifs/super.c 	c->min_log_bytes = c->leb_size;
leb_size          663 fs/ubifs/super.c 	c->main_bytes = (long long)c->main_lebs * c->leb_size;
leb_size          678 fs/ubifs/super.c 	if (tmp > c->leb_size) {
leb_size          680 fs/ubifs/super.c 			  c->leb_size, tmp);
leb_size          688 fs/ubifs/super.c 	tmp64 = c->max_bud_bytes + c->leb_size - 1;
leb_size          689 fs/ubifs/super.c 	c->max_bud_cnt = div_u64(tmp64, c->leb_size);
leb_size          690 fs/ubifs/super.c 	tmp = (c->ref_node_alsz * c->max_bud_cnt + c->leb_size - 1);
leb_size          691 fs/ubifs/super.c 	tmp /= c->leb_size;
leb_size          725 fs/ubifs/super.c 	tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1;
leb_size          728 fs/ubifs/super.c 	if (c->max_bud_bytes < tmp64 + c->leb_size)
leb_size          729 fs/ubifs/super.c 		c->max_bud_bytes = tmp64 + c->leb_size;
leb_size          736 fs/ubifs/super.c 	c->idx_leb_size = c->leb_size - c->max_idx_node_sz;
leb_size          765 fs/ubifs/super.c 	tmp64 *= (long long)c->leb_size - c->leb_overhead;
leb_size          791 fs/ubifs/super.c 	err = ubifs_change_one_lp(c, c->gc_lnum, c->leb_size, 0,
leb_size         1260 fs/ubifs/super.c 	c->sbuf = vmalloc(c->leb_size);
leb_size         1265 fs/ubifs/super.c 		c->ileb_buf = vmalloc(c->leb_size);
leb_size         1512 fs/ubifs/super.c 	x = (long long)c->main_lebs * c->leb_size;
leb_size         1513 fs/ubifs/super.c 	y = (long long)c->log_lebs * c->leb_size + c->max_bud_bytes;
leb_size         1515 fs/ubifs/super.c 		  c->leb_size, c->leb_size >> 10, c->min_io_size,
leb_size         1725 fs/ubifs/super.c 	c->ileb_buf = vmalloc(c->leb_size);
leb_size         1753 fs/ubifs/super.c 	c->orph_buf = vmalloc(c->leb_size);
leb_size         1655 fs/ubifs/tnc.c 	ubifs_assert(c, !(offs & 7) && offs < c->leb_size);
leb_size         1656 fs/ubifs/tnc.c 	ubifs_assert(c, offs + len <= c->leb_size);
leb_size          141 fs/ubifs/tnc_commit.c 	if (gap_end == c->leb_size) {
leb_size          287 fs/ubifs/tnc_commit.c 	c->ileb_len = c->leb_size;
leb_size          288 fs/ubifs/tnc_commit.c 	gap_end = c->leb_size;
leb_size          301 fs/ubifs/tnc_commit.c 		if (lp.free == c->leb_size) {
leb_size          307 fs/ubifs/tnc_commit.c 						  c->leb_size - c->ileb_len,
leb_size          314 fs/ubifs/tnc_commit.c 	err = ubifs_change_one_lp(c, lnum, c->leb_size - c->ileb_len, dirt,
leb_size          339 fs/ubifs/tnc_commit.c 	cnt -= (c->leb_size - c->ihead_offs) / c->max_idx_node_sz;
leb_size          342 fs/ubifs/tnc_commit.c 	d = c->leb_size / c->max_idx_node_sz;
leb_size          449 fs/ubifs/tnc_commit.c 	if (buf_offs + next_len > c->leb_size)
leb_size          515 fs/ubifs/tnc_commit.c 		    buf_offs + used + next_len <= c->leb_size &&
leb_size          520 fs/ubifs/tnc_commit.c 		    buf_offs + used + next_len <= c->leb_size)
leb_size          528 fs/ubifs/tnc_commit.c 			if (buf_offs + next_len > c->leb_size) {
leb_size          530 fs/ubifs/tnc_commit.c 					c->leb_size - buf_offs, blen - used,
leb_size          542 fs/ubifs/tnc_commit.c 		err = ubifs_update_one_lp(c, lnum, c->leb_size - buf_offs,
leb_size          849 fs/ubifs/tnc_commit.c 	if (buf_offs + next_len > c->leb_size) {
leb_size          980 fs/ubifs/tnc_commit.c 		if (next_len && nxt_offs <= c->leb_size) {
leb_size          997 fs/ubifs/tnc_commit.c 			if (nxt_offs > c->leb_size) {
leb_size          321 fs/ubifs/tnc_misc.c 		    zbr->offs + zbr->len > c->leb_size || zbr->offs & 7) {
leb_size          659 fs/ubifs/ubifs-media.h 	__le32 leb_size;
leb_size         1349 fs/ubifs/ubifs.h 	int leb_size;
leb_size          178 include/linux/mtd/ubi.h 	int leb_size;