Home
last modified time | relevance | path

Searched refs:ntfs_cntob (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/sys/fs/ntfs/
Dntfs_subr.c1045 ntfs_cntob(cn), rdsize, rdbuf, NULL); in ntfs_ntlookupfile()
1168 cpbl = ntfs_btocn(blsize + ntfs_cntob(1) - 1); in ntfs_ntreaddir()
1195 ntfs_cntob(blnum * cpbl), rdsize, rdbuf, NULL); in ntfs_ntreaddir()
1237 while (ntfs_cntob(blnum * cpbl) < iavap->va_datalen) { in ntfs_ntreaddir()
1245 if (ntfs_cntob(blnum * cpbl) >= iavap->va_datalen) in ntfs_ntreaddir()
1382 towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off); in ntfs_writeattr_plain()
1388 off - ntfs_cntob(vap->va_vcnstart), in ntfs_writeattr_plain()
1458 if (ntfs_cntob(ccl) < off) { in ntfs_writentvattr_plain()
1459 off -= ntfs_cntob(ccl); in ntfs_writentvattr_plain()
1477 tocopy = MIN(left, ntfs_cntob(1) - off); in ntfs_writentvattr_plain()
[all …]
Dntfs_vnops.c149 toread = MIN(off + resid, ntfs_cntob(1));
151 error = bread(vp, cn, ntfs_cntob(1), NOCRED, &bp);
287 if (ntfs_cntob(bp->b_blkno) >= fp->f_size) {
292 fp->f_size-ntfs_cntob(bp->b_blkno));
297 fp->f_attrname, ntfs_cntob(bp->b_blkno),
312 if (ntfs_cntob(bp->b_blkno) + bp->b_bcount >= fp->f_size) {
318 fp->f_size-ntfs_cntob(bp->b_blkno));
323 fp->f_attrname, ntfs_cntob(bp->b_blkno),towrite,
Dntfs.h281 #define ntfs_cntob(cn) (off_t)((cn) * (ntmp)->ntm_spc * (ntmp)->ntm_bps) macro
283 #define ntfs_btocl(off) (cn_t)((off + ntfs_cntob(1) - 1) / ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
Dntfs_compr.c104 for (i = 0; i * NTFS_COMPBLOCK_SIZE < ntfs_cntob(NTFS_COMPUNIT_CL); i++) { in ntfs_uncompunit()
Dntfs_vfsops.c320 if (ntfs_cntob(1) != BBSIZE)