Lines Matching refs:pgnum
324 uint pgnum; /* total number of pages */
468 ns->pages_written = vmalloc(ns->geom.pgnum);
481 memset(ns->pages_written, 0, ns->geom.pgnum);
485 ns->pages = vmalloc(ns->geom.pgnum * sizeof(union ns_mem));
490 for (i = 0; i < ns->geom.pgnum; i++) {
524 for (i = 0; i < ns->geom.pgnum; i++) {
575 ns->geom.pgnum = divide(ns->geom.totsz, ns->geom.pgsz);
576 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz;
669 printk("pages number: %u\n", ns->geom.pgnum);
1589 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) {
1634 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec
1936 if (ns->regs.row + 1 < ns->geom.pgnum)
2199 if (ns->regs.row + 1 < ns->geom.pgnum)