Symbol: ntfs_cntob
sys/vfs/ntfs/ntfs.h
290
#define ntfs_btocl(off) (cn_t)((off + ntfs_cntob(1) - 1) / ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
sys/vfs/ntfs/ntfs_compr.c
105
for (i = 0; i * NTFS_COMPBLOCK_SIZE < ntfs_cntob(NTFS_COMPUNIT_CL); i++) {
sys/vfs/ntfs/ntfs_subr.c
1015
ntfs_cntob(cn), rdsize, rdbuf, NULL);
sys/vfs/ntfs/ntfs_subr.c
1133
cpbl = ntfs_btocn(blsize + ntfs_cntob(1) - 1);
sys/vfs/ntfs/ntfs_subr.c
1160
ntfs_cntob(blnum * cpbl), rdsize, rdbuf, NULL);
sys/vfs/ntfs/ntfs_subr.c
1202
while (ntfs_cntob(blnum * cpbl) < iavap->va_datalen) {
sys/vfs/ntfs/ntfs_subr.c
1210
if (ntfs_cntob(blnum * cpbl) >= iavap->va_datalen)
sys/vfs/ntfs/ntfs_subr.c
1334
towrite = min(left, ntfs_cntob(vap->va_vcnend + 1) - off);
sys/vfs/ntfs/ntfs_subr.c
1340
off - ntfs_cntob(vap->va_vcnstart),
sys/vfs/ntfs/ntfs_subr.c
1404
if (ntfs_cntob(ccl) < off) {
sys/vfs/ntfs/ntfs_subr.c
1405
off -= ntfs_cntob(ccl);
sys/vfs/ntfs/ntfs_subr.c
1423
tocopy = min(left, ntfs_cntob(1) - off);
sys/vfs/ntfs/ntfs_subr.c
1425
KASSERT(cl == 1 && tocopy <= ntfs_cntob(1),
sys/vfs/ntfs/ntfs_subr.c
1432
if (off == 0 && tocopy == ntfs_cntob(cl) &&
sys/vfs/ntfs/ntfs_subr.c
1435
ntfs_cntob(cl), 0, 0);
sys/vfs/ntfs/ntfs_subr.c
1440
ntfs_cntob(cl), &bp);
sys/vfs/ntfs/ntfs_subr.c
1506
if (ntfs_cntob(ccl) < off) {
sys/vfs/ntfs/ntfs_subr.c
1507
off -= ntfs_cntob(ccl);
sys/vfs/ntfs/ntfs_subr.c
1518
min(ntfs_cntob(ccl) - off,
sys/vfs/ntfs/ntfs_subr.c
1530
ntfs_cntob(1) - off);
sys/vfs/ntfs/ntfs_subr.c
1533
tocopy <= ntfs_cntob(1),
sys/vfs/ntfs/ntfs_subr.c
1546
ntfs_cntob(cl),
sys/vfs/ntfs/ntfs_subr.c
1568
tocopy = min(left, ntfs_cntob(ccl) - off);
sys/vfs/ntfs/ntfs_subr.c
1624
toread = min(left, ntfs_cntob(vap->va_vcnend + 1) - off);
sys/vfs/ntfs/ntfs_subr.c
1630
off - ntfs_cntob(vap->va_vcnstart),
sys/vfs/ntfs/ntfs_subr.c
1687
cup = kmalloc(ntfs_cntob(NTFS_COMPUNIT_CL), M_NTFSDECOMP,
sys/vfs/ntfs/ntfs_subr.c
1689
uup = kmalloc(ntfs_cntob(NTFS_COMPUNIT_CL), M_NTFSDECOMP,
sys/vfs/ntfs/ntfs_subr.c
1693
off = roff - ntfs_cntob(cn);
sys/vfs/ntfs/ntfs_subr.c
1697
attrname, ntfs_cntob(cn),
sys/vfs/ntfs/ntfs_subr.c
1698
ntfs_cntob(NTFS_COMPUNIT_CL),
sys/vfs/ntfs/ntfs_subr.c
1703
tocopy = min(left, ntfs_cntob(NTFS_COMPUNIT_CL) - off);
sys/vfs/ntfs/ntfs_subr.c
1705
if (init == ntfs_cntob(NTFS_COMPUNIT_CL)) {
sys/vfs/ntfs/ntfs_subr.c
1730
off += tocopy - ntfs_cntob(NTFS_COMPUNIT_CL);
sys/vfs/ntfs/ntfs_vfsops.c
338
if (ntfs_cntob(1) != BBSIZE)
sys/vfs/ntfs/ntfs_vnops.c
146
toread = min(off + resid, ntfs_cntob(1));
sys/vfs/ntfs/ntfs_vnops.c
148
error = bread(vp, ntfs_cntodoff(cn), ntfs_cntob(1), &bp);