Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c219 offset_t mof, in deltamap_add() argument
235 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in deltamap_add()
236 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF); in deltamap_add()
249 mep = MAP_HASH(mof, mtm); in deltamap_add()
251 if (DATAwithinME(mof, hnb, me)) { in deltamap_add()
264 (!DATAoverlapME(mof, hnb, me)) || in deltamap_add()
265 MEwithinDATA(me, mof, hnb)); in deltamap_add()
311 me->me_mof = mof; in deltamap_add()
337 deltamap_remove(mt_map_t *mtm, offset_t mof, off_t nb) in deltamap_remove() argument
351 for (mer = NULL, hnb = 0; nb; nb -= hnb, mof += hnb) { in deltamap_remove()
[all …]
H A Dlufs_debug.c96 top_mataadd(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_mataadd() argument
101 deltamap_add(ul->un_matamap, mof, nb, 0, 0, 0, NULL); in top_mataadd()
108 top_matadel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_matadel() argument
113 ASSERT(!matamap_overlap(ul->un_deltamap, mof, nb)); in top_matadel()
114 deltamap_del(ul->un_matamap, mof, nb); in top_matadel()
191 offset_t mof, in top_delta_debug() argument
203 matamap_within(ul->un_matamap, mof, nb)); in top_delta_debug()
220 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug()
224 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug()
232 top_trace(dtyp, ul->un_dev, mof, (long)nb, (long)0); in top_delta_debug()
[all …]
H A Dlufs_top.c56 offset_t mof, in top_delta() argument
68 top_delta_debug(ul, mof, nb, dtyp)); in top_delta()
70 deltamap_add(ul->un_deltamap, mof, nb, dtyp, func, arg, tp); in top_delta()
82 top_cancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, int flags) in top_cancel() argument
91 top_delta_debug(ul, mof, nb, DT_CANCEL))); in top_cancel()
94 deltamap_del(ul->un_deltamap, mof, nb); in top_cancel()
96 logmap_cancel(ul, mof, nb, metadata); in top_cancel()
108 top_iscancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_iscancel() argument
114 if (logmap_iscancel(ul->un_logmap, mof, nb)) in top_iscancel()
638 offset_t mof = ldbtob(bp->b_blkno); in top_read_roll() local
[all …]
H A Dlufs_thread.c131 offset_t mof; in log_roll_read() local
143 mof = 0; in log_roll_read()
144 if (!logmap_next_roll(logmap, &mof)) { in log_roll_read()
154 mof = mof & (offset_t)MAPBLOCKMASK; in log_roll_read()
155 mblkno = lbtodb(mof); in log_roll_read()
200 mof += MAPBLOCKSIZE; in log_roll_read()
201 } while ((nbuf < nmblk) && logmap_next_roll(logmap, &mof)); in log_roll_read()
H A Dlufs.c1279 offset_t mof = ldbtob(bp->b_blkno); in lufs_read_strategy() local
1290 entire_range = logmap_list_get(logmap, mof, nb, &age); in lufs_read_strategy()
1330 if (ldl_read(ul, va, mof, nb, age)) { in lufs_read_strategy()
1353 offset_t mof = ldbtob(bp->b_blkno); in lufs_write_strategy() local
1364 me = deltamap_remove(ul->un_deltamap, mof, nb); in lufs_write_strategy()
1371 matamap_within(ul->un_matamap, mof, nb)); in lufs_write_strategy()
1377 logmap_add_buf(ul, va, mof, me, in lufs_write_strategy()
1380 logmap_add(ul, va, mof, me); in lufs_write_strategy()
1401 !(matamap_overlap(ul->un_matamap, mof, nb) && in lufs_write_strategy()
H A Dlufs_log.c1109 offset_t mof, /* mof of buffer */ in ldl_read() argument
1131 if (mof > crb->c_mof) { in ldl_read()
1136 skip = mof - crb->c_mof; in ldl_read()
1144 skip = crb->c_mof - mof; in ldl_read()
1156 fetchzeroes(va, mof, nb, me); in ldl_read()
1160 if (mof > me->me_mof) { in ldl_read()
1161 rnb = (size_t)(mof - me->me_mof); in ldl_read()
1170 rva = (me->me_mof - mof) + va; in ldl_read()
H A Dufs_trans.c456 ufs_trans_mata_free(struct ufsvfs *ufsvfsp, offset_t mof, off_t nb) in ufs_trans_mata_free() argument
458 top_matadel(ufsvfsp, mof, nb); in ufs_trans_mata_free()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dufs_trans.h236 #define TRANS_DELTA(ufsvfsp, mof, nb, dtyp, func, arg) \ argument
238 top_delta(ufsvfsp, (offset_t)(mof), nb, dtyp, func, arg)
243 #define TRANS_CANCEL(ufsvfsp, mof, nb, flags) \ argument
245 top_cancel(ufsvfsp, (offset_t)(mof), nb, flags)
249 #define TRANS_LOG(ufsvfsp, va, mof, nb, buf, bufsz) \ argument
251 top_log(ufsvfsp, va, (offset_t)(mof), nb, buf, bufsz)
255 #define TRANS_ISCANCEL(ufsvfsp, mof, nb) \ argument
257 top_iscancel(ufsvfsp, (offset_t)(mof), nb) : 0)
377 #define TRANS_MATA_FREE(ufsvfsp, mof, nb) \ argument
379 ufs_trans_mata_free(ufsvfsp, (offset_t)(mof), nb)
[all …]
H A Dufs_log.h353 #define MAP_INDEX(mof, mtm) \ argument
354 (((mof) >> MAPBLOCKSHIFT) & (mtm->mtm_nhash-1))
355 #define MAP_HASH(mof, mtm) \ argument
356 ((mtm)->mtm_hash + MAP_INDEX((mof), (mtm)))
461 #define DATAoverlapME(mof, hnb, me) \ argument
462 (OVERLAP((mof), (hnb), (me)->me_mof, (me)->me_nb))
463 #define MEwithinDATA(me, mof, hnb) \ argument
464 (WITHIN((me)->me_mof, (me)->me_nb, (mof), (hnb)))
465 #define DATAwithinME(mof, hnb, me) \ argument
466 (WITHIN((mof), (hnb), (me)->me_mof, (me)->me_nb))
[all …]
/titanic_41/usr/src/uts/common/sys/lvm/
H A Dmd_trans.h522 #define MAP_INDEX(dev, mof, mtm) \ argument
523 ((((mof) >> MAPBLOCKSHIFT) + (dev)) & ((mtm)->mtm_nhash-1))
524 #define MAP_HASH(dev, mof, mtm) \ argument
525 (mtm->mtm_hash + MAP_INDEX(dev, mof, mtm))
620 #define DATAoverlapME(mof, hnb, me) (OVERLAP(mof, hnb, me->me_mof, me->me_nb)) argument
621 #define MEwithinDATA(me, mof, hnb) (WITHIN(me->me_mof, me->me_nb, mof, hnb)) argument
622 #define DATAwithinME(mof, hnb, me) (WITHIN(mof, hnb, me->me_mof, me->me_nb)) argument
/titanic_41/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c161 #define LB_HASHFUNC(mof) (((mof) >> LB_HASHSHIFT) & (LB_HASHSIZE - 1)) argument