Searched refs:sc_region (Results 1 – 4 of 4) sorted by relevance
392 sc->sc_region = malloc(sc->sc_regions * sizeof(struct cfi_region), in cfi_attach()397 sc->sc_region[r].r_blocks = blocks + 1; in cfi_attach()401 sc->sc_region[r].r_blksz = (blksz == 0) ? 128 : in cfi_attach()411 printf("%ux%s%s", sc->sc_region[r].r_blocks, in cfi_attach()412 cfi_fmtsize(sc->sc_region[r].r_blksz), in cfi_attach()501 free(sc->sc_region, M_TEMP); in cfi_detach()655 minsz = sc->sc_region[0].r_blksz; in cfi_write_block()657 if (sc->sc_region[i].r_blksz < minsz) in cfi_write_block()658 minsz = sc->sc_region[i].r_blksz; in cfi_write_block()
99 rsz = sc->sc_region[r].r_blocks * sc->sc_region[r].r_blksz; in cfi_block_start()107 sc->sc_wrbufsz = sc->sc_region[r].r_blksz; in cfi_block_start()
63 struct cfi_region *sc_region; /* Array of region info. */ member
118 sc->parent->sc_region[sc->parent->sc_regions-1].r_blksz; in cfi_disk_attach()