Lines Matching refs:loc
562 #define blkmap(fs, map, loc) \
563 (((map)[(loc) / NBBY] >> ((loc) % NBBY)) & (0xff >> (NBBY - (fs)->fs_frag)))
570 #define blkoff(fs, loc) /* calculates (loc % fs->fs_bsize) */ \
571 ((loc) & ~((fs)->fs_bmask))
572 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \
573 ((loc) & ~((fs)->fs_fmask))
581 #define lblkno(fs, loc) /* calculates (loc / fs->fs_bsize) */ \
582 ((loc) >> (fs)->fs_bshift)
583 #define numfrags(fs, loc) /* calculates (loc / fs->fs_fsize) */ \
584 ((loc) >> (fs)->fs_fshift)