Lines Matching refs:nb
96 top_mataadd(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb)
101 deltamap_add(ul->un_matamap, mof, nb, 0, 0, 0, NULL);
108 top_matadel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb)
113 ASSERT(!matamap_overlap(ul->un_deltamap, mof, nb));
114 deltamap_del(ul->un_matamap, mof, nb);
192 off_t nb,
203 matamap_within(ul->un_matamap, mof, nb));
220 if (!matamap_within(ul->un_deltamap, mof, nb))
224 if (!matamap_within(ul->un_deltamap, mof, nb))
225 tp->rsize += nb + sizeof (struct delta);
232 top_trace(dtyp, ul->un_dev, mof, (long)nb, (long)0);
521 matamap_overlap(mt_map_t *mtm, offset_t mof, off_t nb)
527 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
530 if (hnb > nb)
531 hnb = nb;
554 matamap_within(mt_map_t *mtm, offset_t mof, off_t nb)
562 for (hnb = 0; nb && scans == withins; nb -= hnb, mof += hnb) {
566 if (hnb > nb)
567 hnb = nb;