Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/vfs/
H A Dvfs_disk_conditioner.c47 #define BLK_MAX(mp) ((mp->mnt_vfsstat.f_blocks * mp->mnt_vfsstat.f_bsize) / (mp->mnt_devblocksize))
H A Dvfs_bio.c691 } 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()
H A Dvfs_init.c396 mp->mnt_devblocksize = DEV_BSIZE; in vfsinit()
H A Dvfs_cluster.c1553 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()
H A Dkpi_vfs.c820 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()
H A Dvfs_subr.c1128 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()
H A Dvfs_attrlist.c1108 VFSATTR_RETURN(&vs, f_bsize, mnt->mnt_devblocksize); in getvolattrlist()
H A Dvfs_syscalls.c1331 mp->mnt_devblocksize = DEV_BSIZE; in mount_common()
/xnu-12377.1.9/bsd/sys/
H A Dmount_internal.h133 uint32_t mnt_devblocksize; /* the underlying device block size */ member
/xnu-12377.1.9/bsd/miscfs/mockfs/
H A Dmockfs_vnops.c379 blksize = vp->v_mount->mnt_devblocksize; in mockfs_blockmap()
/xnu-12377.1.9/bsd/vm/
H A Dvm_compressor_backing_file.c303 blocksize = vp->v_mount->mnt_devblocksize; in vnode_trim_list()