Lines Matching refs:mof

219 	offset_t mof,
235 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
236 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
249 mep = MAP_HASH(mof, mtm);
251 if (DATAwithinME(mof, hnb, me)) {
264 (!DATAoverlapME(mof, hnb, me)) ||
265 MEwithinDATA(me, mof, hnb));
278 * and so multiple deltas to the same mof offset
311 me->me_mof = mof;
334 * remove deltas within (mof, nb) and return as linked list
337 deltamap_remove(mt_map_t *mtm, offset_t mof, off_t nb)
351 for (mer = NULL, hnb = 0; nb; nb -= hnb, mof += hnb) {
352 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
358 mep = MAP_HASH(mof, mtm);
360 if (MEwithinDATA(me, mof, hnb)) {
382 * delete entries within (mof, nb)
385 deltamap_del(mt_map_t *mtm, offset_t mof, off_t nb)
390 menext = deltamap_remove(mtm, mof, nb);
411 offset_t mof;
426 mof = me->me_mof;
430 deltamap_del(mtm, mof, nb);
536 * remove rolled deltas within (mof, nb) and free them
539 logmap_remove_roll(mt_map_t *mtm, offset_t mof, off_t nb)
545 offset_t savmof = mof;
555 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
556 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
562 mep = MAP_HASH(mof, mtm);
565 (MEwithinDATA(me, mof, hnb))) {
570 mof = savmof;
669 * get a list of deltas within <mof, mof+nb>
671 * return value says whether the entire mof range is covered by deltas
676 offset_t mof,
684 offset_t savmof = mof;
698 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
699 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
705 mep = MAP_HASH(mof, mtm);
709 if (!DATAoverlapME(mof, hnb, me))
727 mof = savmof;
758 logmap_list_get_roll(mt_map_t *logmap, offset_t mof, rollbuf_t *rbp)
766 ASSERT((mof & MAPBLOCKOFF) == 0);
774 mep = MAP_HASH(mof, logmap);
776 if (!DATAoverlapME(mof, MAPBLOCKSIZE, me))
880 offset_t mof;
899 mof = crb->c_mof;
902 mof = me->me_mof;
909 if ((nb & DEV_BMASK) || (mof & DEV_BMASK)) {
914 start_sec = (mof & MAPBLOCKOFF) >> DEV_BSHIFT;
1088 offset_t mof;
1107 mof = melist->me_mof;
1113 savmep = mep = MAP_HASH(mof, mtm);
1127 if (MEwithinDATA(me, mof, nb) &&
1214 offset_t mof;
1236 mof = melist->me_mof;
1242 savmep = mep = MAP_HASH(mof, mtm);
1257 if (MEwithinDATA(me, mof, nb) &&
1309 WITHIN(mof, nb, crb->c_mof, crb->c_nb)) {
1637 logmap_cancel_delta(ml_unit_t *ul, offset_t mof, int32_t nb, int metadata)
1659 me->me_mof = mof;
1688 mep = MAP_HASH(mof, mtm);
1721 logmap_cancel(ml_unit_t *ul, offset_t mof, off_t nb, int metadata)
1732 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
1733 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
1743 mep = MAP_HASH(mof, mtm);
1746 if (!DATAoverlapME(mof, hnb, me))
1749 ASSERT(MEwithinDATA(me, mof, hnb));
1767 logmap_cancel_delta(ul, mof, hnb, metadata);
1778 logmap_iscancel(mt_map_t *mtm, offset_t mof, off_t nb)
1785 for (hnb = 0; nb; nb -= hnb, mof += hnb) {
1786 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF);
1792 mep = MAP_HASH(mof, mtm);
1797 if (DATAoverlapME(mof, hnb, me))