Searched refs:DEV_BSIZE (Results 1 - 20 of 20) sorted by relevance

/macosx-10.9.5/xnu-2422.115.4/bsd/i386/
H A Ddisklabel.h34 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
H A Dparam.h89 #define DEV_BSIZE 512 macro
90 #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
142 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \
144 #define dbtob(db) /* calculates (db * DEV_BSIZE) */ \
152 * For now though just use DEV_BSIZE.
154 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
/macosx-10.9.5/text_cmds-87/sort/
H A Dsystem.h236 #if !defined DEV_BSIZE && defined BSIZE
237 # define DEV_BSIZE BSIZE macro
239 #if !defined DEV_BSIZE && defined BBSIZE /* SGI */
240 # define DEV_BSIZE BBSIZE macro
242 #ifndef DEV_BSIZE
243 # define DEV_BSIZE 4096 macro
251 # define ST_BLKSIZE(statbuf) DEV_BSIZE
270 ? (statbuf).st_blksize : DEV_BSIZE)
/macosx-10.9.5/diskdev_cmds-572.1.1/fdisk.tproj/
H A Dmbr.h109 #if (DEV_BSIZE != 512)
110 #error "DEV_BSIZE != 512, somebody better fix me!"
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/netware/
H A Dfilestat.c76 #ifdef DEV_BSIZE
77 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)DEV_BSIZE;
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/unix/
H A Dfilestat.c120 #ifdef DEV_BSIZE
121 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)DEV_BSIZE;
/macosx-10.9.5/apr-30/apr/apr/file_io/netware/
H A Dfilestat.c76 #ifdef DEV_BSIZE
77 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)DEV_BSIZE;
/macosx-10.9.5/apr-30/apr/apr/file_io/unix/
H A Dfilestat.c124 #ifdef DEV_BSIZE
125 finfo->csize = (apr_off_t)info->st_blocks * (apr_off_t)DEV_BSIZE;
/macosx-10.9.5/Libc-997.90.3/gen/
H A Ddisklabel.c126 getnumdflt(dp->d_secsize, "se", DEV_BSIZE);
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/
H A Dmemdev.c395 if (*f < DEV_BSIZE) return (EINVAL); /* Too short? */
628 mdev[devid].mdSecsize = DEV_BSIZE; /* Set starting block size */
/macosx-10.9.5/xnu-2422.115.4/bsd/dev/vn/
H A Dvn.c974 if (*f < DEV_BSIZE) {
1192 vn->sc_secsize = DEV_BSIZE;
1298 tmpbuf = _MALLOC(DEV_BSIZE, M_TEMP, M_WAITOK);
1299 error = file_io(vp, &context, UIO_READ, tmpbuf, 0, DEV_BSIZE, NULL);
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_init.c450 mp->mnt_devblocksize = DEV_BSIZE;
H A Dkpi_vfs.c746 ioattrp->io_devblocksize = DEV_BSIZE;
H A Dvfs_subr.c945 mp->mnt_devblocksize = DEV_BSIZE;
H A Dvfs_syscalls.c617 mp->mnt_devblocksize = DEV_BSIZE;
/macosx-10.9.5/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c252 vp->v_specsize = DEV_BSIZE;
257 vp->v_specsize = DEV_BSIZE;
/macosx-10.9.5/NFS-81/rpc.rquotad/
H A Drquotad.c518 uint32_t bsize = DEV_BSIZE;
/macosx-10.9.5/msdosfs-198/msdosfs.kextproj/msdosfs.kmodproj/
H A Dmsdosfs_vfsops.c420 if ((pmp->pm_BytesPerSec < DEV_BSIZE) ||
/macosx-10.9.5/crontabs-51/newsyslog/
H A Dnewsyslog.c1922 return (kbytes(dbtob(sb.st_blocks, DEV_BSIZE)));
/macosx-10.9.5/IOStorageFamily-172/
H A DIOMediaBSDClient.cpp32 #include <sys/systm.h> // (DEV_BSIZE, ...)
1714 if ( blockSize == 0 ) blockSize = DEV_BSIZE;

Completed in 834 milliseconds