Home
last modified time | relevance | path

Searched refs:DEV_BSIZE (Results 1 – 11 of 11) sorted by relevance

/xnu-8020.101.4/bsd/arm/
H A Dparam.h67 #define DEV_BSIZE 512 macro
132 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
H A Ddisklabel.h10 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
/xnu-8020.101.4/bsd/i386/
H A Dparam.h91 #define DEV_BSIZE 512 macro
156 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
H A Ddisklabel.h34 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
/xnu-8020.101.4/bsd/dev/vn/
H A Dvn.c963 if (*f < DEV_BSIZE) { in vnioctl()
1174 vn->sc_secsize = DEV_BSIZE; in vniocattach_file()
1280 tmpbuf = (char *)kalloc_data(DEV_BSIZE, Z_WAITOK); in setcred()
1281 error = file_io(vp, &context, UIO_READ, tmpbuf, 0, DEV_BSIZE, NULL); in setcred()
1282 kfree_data(tmpbuf, DEV_BSIZE); in setcred()
/xnu-8020.101.4/bsd/dev/
H A Dmemdev.c414 if (*f < DEV_BSIZE) { in mdevioctl()
691 …mdev[devid].mdSecsize = DEV_BSIZE; /* Set starting block size… in mdevadd()
/xnu-8020.101.4/bsd/vfs/
H A Dvfs_init.c388 mp->mnt_devblocksize = DEV_BSIZE; in vfsinit()
H A Dkpi_vfs.c871 ioattrp->io_devblocksize = DEV_BSIZE; in vfs_ioattr()
H A Dvfs_subr.c1062 mp->mnt_devblocksize = DEV_BSIZE; in vfs_rootmountalloc_internal()
H A Dvfs_syscalls.c869 mp->mnt_devblocksize = DEV_BSIZE; in mount_common()
/xnu-8020.101.4/bsd/miscfs/specfs/
H A Dspec_vnops.c273 vp->v_specsize = DEV_BSIZE; in set_blocksize()
278 vp->v_specsize = DEV_BSIZE; in set_blocksize()