Lines Matching defs:pgnum
324 uint pgnum; /* total number of pages */
557 BITS_TO_LONGS(ns->geom.pgnum)));
581 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum));
586 for (i = 0; i < ns->geom.pgnum; i++) {
620 for (i = 0; i < ns->geom.pgnum; i++) {
660 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz);
661 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz;
749 printk("pages number: %u\n", ns->geom.pgnum);
1580 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) {
1625 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec