Searched refs:DEV_BSIZE (Results 1 – 11 of 11) sorted by relevance
67 #define DEV_BSIZE 512 macro132 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
10 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
91 #define DEV_BSIZE 512 macro156 #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE))
34 #define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
963 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()
414 if (*f < DEV_BSIZE) { in mdevioctl()691 …mdev[devid].mdSecsize = DEV_BSIZE; /* Set starting block size… in mdevadd()
388 mp->mnt_devblocksize = DEV_BSIZE; in vfsinit()
871 ioattrp->io_devblocksize = DEV_BSIZE; in vfs_ioattr()
1062 mp->mnt_devblocksize = DEV_BSIZE; in vfs_rootmountalloc_internal()
869 mp->mnt_devblocksize = DEV_BSIZE; in mount_common()
273 vp->v_specsize = DEV_BSIZE; in set_blocksize()278 vp->v_specsize = DEV_BSIZE; in set_blocksize()