Searched refs:mnt_devblocksize (Results 1 – 11 of 11) sorted by relevance
47 #define BLK_MAX(mp) ((mp->mnt_vfsstat.f_blocks * mp->mnt_vfsstat.f_bsize) / (mp->mnt_devblocksize))
691 } else if (mp && mp->mnt_devblocksize) { in buf_verifyptr_with_size()692 *len = (bp->b_bcount / mp->mnt_devblocksize) * num_bytes; in buf_verifyptr_with_size()706 if (!(upl && vp && mp && mp->mnt_devblocksize)) { in buf_verifyptr_with_size()718 *len = (verify_size / mp->mnt_devblocksize) * num_bytes; in buf_verifyptr_with_size()724 uint32_t start = (bp->b_uploffset / mp->mnt_devblocksize) * num_bytes; in buf_verifyptr_with_size()754 } else if (bp->b_vp->v_mount && bp->b_vp->v_mount->mnt_devblocksize) { in buf_verify_enable()755 …num_bytes = (bp->b_bcount / bp->b_vp->v_mount->mnt_devblocksize) * get_num_bytes_for_verify_kind(v… in buf_verify_enable()783 } else if (bp->b_vp->v_mount && bp->b_vp->v_mount->mnt_devblocksize) { in buf_verify_free()784 …num_bytes = (bp->b_bcount / bp->b_vp->v_mount->mnt_devblocksize) * get_num_bytes_for_verify_kind(b… in buf_verify_free()
396 mp->mnt_devblocksize = DEV_BSIZE; in vfsinit()
1553 if (mp->mnt_devblocksize > 1 && !(flags & (CL_DEV_MEMORY | CL_DIRECT_IO))) { in cluster_io()1626 …(upl_adjusted_size(upl, PAGE_MASK) / mp->mnt_devblocksize) * get_num_bytes_for_verify_kind(verify_… in cluster_io()1639 …G((FSDBG_CODE(DBG_FSRW, 22)) | DBG_FUNC_NONE, max_iosize, max_vectors, mp->mnt_devblocksize, 0, 0); in cluster_io()3225 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize; in cluster_write_direct()3655 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize; in cluster_write_contig()5441 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize; in cluster_read_direct()6036 devblocksize = (u_int32_t)vp->v_mount->mnt_devblocksize; in cluster_read_contig()
820 return mp->mnt_devblocksize; in vfs_devblocksize()921 ioattrp->io_devblocksize = mp->mnt_devblocksize; in vfs_ioattr()943 mp->mnt_devblocksize = ioattrp->io_devblocksize; in vfs_setioattr()
1128 mp->mnt_devblocksize = DEV_BSIZE; in vfs_rootmountalloc_internal()4524 mp->mnt_devblocksize = blksize; in vfs_init_io_attributes()7612 mp->mnt_vfsstat.f_bsize = mp->mnt_devblocksize; /* default from the device block size */ in vfs_update_vfsstat()
1108 VFSATTR_RETURN(&vs, f_bsize, mnt->mnt_devblocksize); in getvolattrlist()
1331 mp->mnt_devblocksize = DEV_BSIZE; in mount_common()
133 uint32_t mnt_devblocksize; /* the underlying device block size */ member
379 blksize = vp->v_mount->mnt_devblocksize; in mockfs_blockmap()
303 blocksize = vp->v_mount->mnt_devblocksize; in vnode_trim_list()