Lines Matching refs:pseg
500 DPRINTF(VOLUMES, ("%s: bad magic pseg:%jx\n", __func__,
510 struct nandfs_segment_summary *segsum, uint64_t pseg)
520 DPRINTF(VOLUMES, ("%s: no super root in pseg:%jx\n", __func__,
521 pseg));
525 /* Get our super root, located at the end of the pseg */
526 blocknr = pseg + segsum->ss_nblocks - 1;
562 uint64_t seg_start, seg_end, cno, seq, create, pseg;
569 pseg = nandfsdev->nd_super.s_last_pseg;
570 segnum = nandfs_get_segnum_of_block(nandfsdev, pseg);
574 DPRINTF(VOLUMES, ("%s: start in pseg %#jx\n", __func__,
575 (uintmax_t)pseg));
578 error = nandfs_load_segsum(nandfsdev, pseg, &segsum);
587 error = nandfs_load_super_root(nandfsdev, &segsum, pseg);
594 super->s_last_pseg = pseg;
606 pseg += segsum.ss_nblocks;
608 (uintmax_t)pseg));
613 if (pseg >= seg_end) {
614 pseg = segsum.ss_next;
617 (uintmax_t)pseg, (uintmax_t)seg_start,
620 segnum = nandfs_get_segnum_of_block(nandfsdev, pseg);