Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c219 offset_t mof, in deltamap_add() argument
311 me->me_mof = mof; in deltamap_add()
411 offset_t mof; in deltamap_push() local
426 mof = me->me_mof; in deltamap_push()
570 mof = savmof; in logmap_remove_roll()
676 offset_t mof, in logmap_list_get() argument
727 mof = savmof; in logmap_list_get()
880 offset_t mof; in logmap_setup_read() local
1088 offset_t mof; in logmap_add() local
1214 offset_t mof; in logmap_add_buf() local
[all …]
H A Dlufs_debug.c113 deltamap_del(ul->un_matamap, mof, nb); in top_matadel()
190 offset_t mof, in top_delta_debug() argument
202 matamap_within(ul->un_matamap, mof, nb)); in top_delta_debug()
219 if (!matamap_within(ul->un_deltamap, mof, nb)) in top_delta_debug()
526 for (hnb = 0; nb; nb -= hnb, mof += hnb) { in matamap_overlap()
528 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF); in matamap_overlap()
534 mep = MAP_HASH(mof, mtm); in matamap_overlap()
537 if (DATAoverlapME(mof, hnb, me)) in matamap_overlap()
564 hnb = MAPBLOCKSIZE - (mof & MAPBLOCKOFF); in matamap_within()
570 mep = MAP_HASH(mof, mtm); in matamap_within()
[all …]
H A Dlufs_top.c58 offset_t mof, in top_delta() argument
70 top_delta_debug(ul, mof, nb, dtyp)); in top_delta()
72 deltamap_add(ul->un_deltamap, mof, nb, dtyp, func, arg, tp); in top_delta()
84 top_cancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb, int flags) in top_cancel() argument
93 top_delta_debug(ul, mof, nb, DT_CANCEL))); in top_cancel()
96 deltamap_del(ul->un_deltamap, mof, nb); in top_cancel()
98 logmap_cancel(ul, mof, nb, metadata); in top_cancel()
110 top_iscancel(ufsvfs_t *ufsvfsp, offset_t mof, off_t nb) in top_iscancel() argument
116 if (logmap_iscancel(ul->un_logmap, mof, nb)) in top_iscancel()
646 offset_t mof = ldbtob(bp->b_blkno); in top_read_roll() local
[all …]
H A Dlufs_thread.c130 offset_t mof; in log_roll_read() local
142 mof = 0; in log_roll_read()
143 if (!logmap_next_roll(logmap, &mof)) { in log_roll_read()
153 mof = mof & (offset_t)MAPBLOCKMASK; in log_roll_read()
154 mblkno = lbtodb(mof); in log_roll_read()
197 mof += MAPBLOCKSIZE; in log_roll_read()
198 } 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()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_trans.h243 #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
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)
397 #define TRANS_MATAADD(ufsvfsp, mof, nb) \ argument
398 top_mataadd(ufsvfsp, (offset_t)(mof), nb)
404 #define TRANS_MATA_FREE(ufsvfsp, mof, nb) argument
[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
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))
467 #define DATAwithinCRB(mof, nb, crb) \ argument
[all …]
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dlufsboot.c159 #define LB_HASHFUNC(mof) (((mof) >> LB_HASHSHIFT) & (LB_HASHSIZE - 1)) argument