Lines Matching defs:pgnum
322 uint pgnum; /* total number of pages */
555 BITS_TO_LONGS(ns->geom.pgnum)));
579 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum));
584 for (i = 0; i < ns->geom.pgnum; i++) {
618 for (i = 0; i < ns->geom.pgnum; i++) {
658 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz);
659 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz;
747 printk("pages number: %u\n", ns->geom.pgnum);
1585 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) {
1630 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec