ntfs_cntob 284 ntfs/ntfs.h #define ntfs_btocl(off) (cn_t)((off + ntfs_cntob(1) - 1) / ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
ntfs_cntob 124 ntfs/ntfs_compr.c for (i = 0; i * NTFS_COMPBLOCK_SIZE < ntfs_cntob(NTFS_COMPUNIT_CL); i++) {
ntfs_cntob 1103 ntfs/ntfs_subr.c ntfs_cntob(cn), rdsize, rdbuf, NULL);
ntfs_cntob 1121 ntfs/ntfs_subr.c "$I30", ntfs_cntob(cn), rdsize, rdbuf, NULL);
ntfs_cntob 1278 ntfs/ntfs_subr.c cpbl = ntfs_btocn(blsize + ntfs_cntob(1) - 1);
ntfs_cntob 1305 ntfs/ntfs_subr.c ntfs_cntob(blnum * cpbl), rdsize, rdbuf, NULL);
ntfs_cntob 1347 ntfs/ntfs_subr.c while (ntfs_cntob(blnum * cpbl) < iavap->va_datalen) {
ntfs_cntob 1355 ntfs/ntfs_subr.c if (ntfs_cntob(blnum * cpbl) >= iavap->va_datalen)
ntfs_cntob 1498 ntfs/ntfs_subr.c towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
ntfs_cntob 1504 ntfs/ntfs_subr.c off - ntfs_cntob(vap->va_vcnstart),
ntfs_cntob 1574 ntfs/ntfs_subr.c if (ntfs_cntob(ccl) < off) {
ntfs_cntob 1575 ntfs/ntfs_subr.c off -= ntfs_cntob(ccl);
ntfs_cntob 1593 ntfs/ntfs_subr.c tocopy = MIN(left, ntfs_cntob(1) - off);
ntfs_cntob 1595 ntfs/ntfs_subr.c KASSERT(cl == 1 && tocopy <= ntfs_cntob(1));
ntfs_cntob 1601 ntfs/ntfs_subr.c if ((off == 0) && (tocopy == ntfs_cntob(cl)))
ntfs_cntob 1604 ntfs/ntfs_subr.c ntfs_cntob(cl), 0, 0);
ntfs_cntob 1608 ntfs/ntfs_subr.c ntfs_cntob(cl), NOCRED, &bp);
ntfs_cntob 1680 ntfs/ntfs_subr.c if (ntfs_cntob(ccl) < off) {
ntfs_cntob 1681 ntfs/ntfs_subr.c off -= ntfs_cntob(ccl);
ntfs_cntob 1699 ntfs/ntfs_subr.c ntfs_cntob(1) - off);
ntfs_cntob 1702 ntfs/ntfs_subr.c tocopy <= ntfs_cntob(1));
ntfs_cntob 1714 ntfs/ntfs_subr.c ntfs_cntob(cl),
ntfs_cntob 1736 ntfs/ntfs_subr.c tocopy = MIN(left, ntfs_cntob(ccl) - off);
ntfs_cntob 1798 ntfs/ntfs_subr.c toread = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
ntfs_cntob 1804 ntfs/ntfs_subr.c off - ntfs_cntob(vap->va_vcnstart),
ntfs_cntob 1869 ntfs/ntfs_subr.c MALLOC(cup, u_int8_t *, ntfs_cntob(NTFS_COMPUNIT_CL),
ntfs_cntob 1871 ntfs/ntfs_subr.c MALLOC(uup, u_int8_t *, ntfs_cntob(NTFS_COMPUNIT_CL),
ntfs_cntob 1875 ntfs/ntfs_subr.c off = roff - ntfs_cntob(cn);
ntfs_cntob 1879 ntfs/ntfs_subr.c attrname, ntfs_cntob(cn),
ntfs_cntob 1880 ntfs/ntfs_subr.c ntfs_cntob(NTFS_COMPUNIT_CL),
ntfs_cntob 1885 ntfs/ntfs_subr.c tocopy = MIN(left, ntfs_cntob(NTFS_COMPUNIT_CL) - off);
ntfs_cntob 1887 ntfs/ntfs_subr.c if (init == ntfs_cntob(NTFS_COMPUNIT_CL)) {
ntfs_cntob 1912 ntfs/ntfs_subr.c off += tocopy - ntfs_cntob(NTFS_COMPUNIT_CL);
ntfs_cntob 346 ntfs/ntfs_vnops.c if (ntfs_cntob(bp->b_blkno) >= fp->f_size) {
ntfs_cntob 351 ntfs/ntfs_vnops.c fp->f_size - ntfs_cntob(bp->b_blkno));
ntfs_cntob 356 ntfs/ntfs_vnops.c fp->f_attrname, ntfs_cntob(bp->b_blkno),
ntfs_cntob 371 ntfs/ntfs_vnops.c if (ntfs_cntob(bp->b_blkno) + bp->b_bcount >= fp->f_size) {
ntfs_cntob 377 ntfs/ntfs_vnops.c fp->f_size - ntfs_cntob(bp->b_blkno));
ntfs_cntob 382 ntfs/ntfs_vnops.c fp->f_attrname, ntfs_cntob(bp->b_blkno),towrite,