Searched refs:mof (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c219 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, n
217 deltamap_add( mt_map_t *mtm, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg, threadtrans_t *tp) argument
337 deltamap_remove(mt_map_t *mtm, offset_t mof, off_t nb) argument
385 deltamap_del(mt_map_t *mtm, offset_t mof, off_t nb) argument
411 offset_t mof; local
539 logmap_remove_roll(mt_map_t *mtm, offset_t mof, off_t nb) argument
674 logmap_list_get( mt_map_t *mtm, offset_t mof, off_t nb, mapentry_t **age) argument
758 logmap_list_get_roll(mt_map_t *logmap, offset_t mof, rollbuf_t *rbp) argument
880 offset_t mof; local
1088 offset_t mof; local
1214 offset_t mof; local
1637 logmap_cancel_delta(ml_unit_t *ul, offset_t mof, int32_t nb, int metadata) argument
1721 logmap_cancel(ml_unit_t *ul, offset_t mof, off_t nb, int metadata) argument
1778 logmap_iscancel(mt_map_t *mtm, offset_t mof, off_t nb) argument
[all...]
H A Dlufs_debug.c96 top_mataadd(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
101 deltamap_add(ul->un_matamap, mof, nb, 0, 0, 0, NULL);
108 top_matadel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
113 ASSERT(!matamap_overlap(ul->un_deltamap, mof, nb));
114 deltamap_del(ul->un_matamap, mof, nb);
191 offset_t mof,
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))
232 top_trace(dtyp, ul->un_dev, mof, (lon
189 top_delta_debug( ml_unit_t *ul, offset_t mof, off_t nb, delta_t dtyp) argument
521 matamap_overlap(mt_map_t *mtm, offset_t mof, off_t nb) argument
554 matamap_within(mt_map_t *mtm, offset_t mof, off_t nb) argument
[all...]
H A Dlufs_thread.c131 offset_t mof; local
143 mof = 0;
144 if (!logmap_next_roll(logmap, &mof)) {
154 mof = mof & (offset_t)MAPBLOCKMASK;
155 mblkno = lbtodb(mof);
200 mof += MAPBLOCKSIZE;
201 } while ((nbuf < nmblk) && logmap_next_roll(logmap, &mof));
H A Dlufs_top.c58 offset_t mof,
70 top_delta_debug(ul, mof, nb, dtyp));
72 deltamap_add(ul->un_deltamap, mof, nb, dtyp, func, arg, tp);
84 top_cancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, int flags) argument
93 top_delta_debug(ul, mof, nb, DT_CANCEL)));
96 deltamap_del(ul->un_deltamap, mof, nb);
98 logmap_cancel(ul, mof, nb, metadata);
110 top_iscancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) argument
116 if (logmap_iscancel(ul->un_logmap, mof, nb))
646 offset_t mof local
56 top_delta( ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, delta_t dtyp, int (*func)(), ulong_t arg) argument
[all...]
H A Dlufs.c1279 offset_t mof = ldbtob(bp->b_blkno); local
1290 entire_range = logmap_list_get(logmap, mof, nb, &age);
1330 if (ldl_read(ul, va, mof, nb, age)) {
1353 offset_t mof = ldbtob(bp->b_blkno); local
1364 me = deltamap_remove(ul->un_deltamap, mof, nb);
1371 matamap_within(ul->un_matamap, mof, nb));
1377 logmap_add_buf(ul, va, mof, me,
1380 logmap_add(ul, va, mof, me);
1401 !(matamap_overlap(ul->un_matamap, mof, nb) &&
H A Dlufs_log.c1109 offset_t mof, /* mof of buffer */
1131 if (mof > crb->c_mof) {
1136 skip = mof - crb->c_mof;
1144 skip = crb->c_mof - mof;
1156 fetchzeroes(va, mof, nb, me);
1160 if (mof > me->me_mof) {
1161 rnb = (size_t)(mof - me->me_mof);
1170 rva = (me->me_mof - mof) + va;
1106 ldl_read( ml_unit_t *ul, caddr_t va, offset_t mof, off_t nb, mapentry_t *me) argument
H A Dufs_trans.c456 ufs_trans_mata_free(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb) argument
458 top_matadel(ufsvfsp, mof, nb);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_trans.h236 #define TRANS_DELTA(ufsvfsp, mof, nb, dtyp, func, arg) \
238 top_delta(ufsvfsp, (offset_t)(mof), nb, dtyp, func, arg)
243 #define TRANS_CANCEL(ufsvfsp, mof, nb, flags) \
245 top_cancel(ufsvfsp, (offset_t)(mof), nb, flags)
249 #define TRANS_LOG(ufsvfsp, va, mof, nb, buf, bufsz) \
251 top_log(ufsvfsp, va, (offset_t)(mof), nb, buf, bufsz)
255 #define TRANS_ISCANCEL(ufsvfsp, mof, nb) \
257 top_iscancel(ufsvfsp, (offset_t)(mof), nb) : 0)
377 #define TRANS_MATA_FREE(ufsvfsp, mof, nb) \
379 ufs_trans_mata_free(ufsvfsp, (offset_t)(mof), n
[all...]
H A Dufs_log.h353 #define MAP_INDEX(mof, mtm) \
354 (((mof) >> MAPBLOCKSHIFT) & (mtm->mtm_nhash-1))
355 #define MAP_HASH(mof, mtm) \
356 ((mtm)->mtm_hash + MAP_INDEX((mof), (mtm)))
461 #define DATAoverlapME(mof, hnb, me) \
462 (OVERLAP((mof), (hnb), (me)->me_mof, (me)->me_nb))
463 #define MEwithinDATA(me, mof, hnb) \
464 (WITHIN((me)->me_mof, (me)->me_nb, (mof), (hnb)))
465 #define DATAwithinME(mof, hnb, me) \
466 (WITHIN((mof), (hn
[all...]
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_trans.h522 #define MAP_INDEX(dev, mof, mtm) \
523 ((((mof) >> MAPBLOCKSHIFT) + (dev)) & ((mtm)->mtm_nhash-1))
524 #define MAP_HASH(dev, mof, mtm) \
525 (mtm->mtm_hash + MAP_INDEX(dev, mof, mtm))
620 #define DATAoverlapME(mof, hnb, me) (OVERLAP(mof, hnb, me->me_mof, me->me_nb))
621 #define MEwithinDATA(me, mof, hnb) (WITHIN(me->me_mof, me->me_nb, mof, hnb))
622 #define DATAwithinME(mof, hnb, me) (WITHIN(mof, hn
[all...]
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c161 #define LB_HASHFUNC(mof) (((mof) >> LB_HASHSHIFT) & (LB_HASHSIZE - 1))

Completed in 1031 milliseconds