Home
last modified time | relevance | path

Searched refs:pool_size (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/ubispl/
H A Dubispl.c248 static int scan_pool(struct ubi_scan_info *ubi, __be32 *pebs, int pool_size) in scan_pool() argument
254 ubi_dbg("Scanning pool size: %d", pool_size); in scan_pool()
256 for (i = 0; i < pool_size; i++) { in scan_pool()
291 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
332 pool_size = be16_to_cpu(fmpl1->size); in ubi_attach_fastmap()
337 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap()
338 ubi_err("bad pool size: %i", pool_size); in ubi_attach_fastmap()
464 ret = scan_pool(ubi, fmpl1->pebs, pool_size); in ubi_attach_fastmap()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dfastmap.c456 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool() argument
460 __be32 *pebs, int pool_size, unsigned long long *max_sqnum, in scan_pool()
479 dbg_bld("scanning fastmap pool: size = %i", pool_size); in scan_pool()
485 for (i = 0; i < pool_size; i++) { in scan_pool()
618 int ret, i, j, pool_size, wl_pool_size; in ubi_attach_fastmap() local
664 pool_size = be16_to_cpu(fmpl->size); in ubi_attach_fastmap()
669 if (pool_size > UBI_FM_MAX_POOL_SIZE || pool_size < 0) { in ubi_attach_fastmap()
670 ubi_err(ubi, "bad pool size: %i", pool_size); in ubi_attach_fastmap()
814 ret = scan_pool(ubi, ai, fmpl->pebs, pool_size, &max_sqnum, &free); in ubi_attach_fastmap()