Home
last modified time | relevance | path

Searched refs:ba_verify_type (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.81.4/bsd/sys/
H A Dbuf_internal.h101 vnode_verify_kind_t ba_verify_type; member
/xnu-12377.81.4/bsd/vfs/
H A Dvfs_bio.c649 return bap->ba_verify_type; in bufattr_verifykind()
655 assert(bap->ba_verify_type); in bufattr_setverifyvalid()
674 if (!(os_atomic_load(&bp->b_attr.ba_verify_type, relaxed))) { in buf_verifyptr_with_size()
685 num_bytes = get_num_bytes_for_verify_kind(bp->b_attr.ba_verify_type); in buf_verifyptr_with_size()
761 if (os_atomic_cmpxchg(&bp->b_attr.ba_verify_type, 0, verify_type, acq_rel)) { in buf_verify_enable()
778 if (os_atomic_load(&bp->b_attr.ba_verify_type, relaxed)) { in buf_verify_free()
782 …= (bp->b_bcount / bp->b_vp->v_specsize) * get_num_bytes_for_verify_kind(bp->b_attr.ba_verify_type); in buf_verify_free()
784 … / bp->b_vp->v_mount->mnt_devblocksize) * get_num_bytes_for_verify_kind(bp->b_attr.ba_verify_type); in buf_verify_free()
789 os_atomic_store(&bp->b_attr.ba_verify_type, 0, release); in buf_verify_free()
H A Dvfs_cluster.c922 if (cbp_head->b_attr.ba_verify_type && cbp_head->b_attr.ba_flags & BA_VERIFY_VALID) { in cluster_handle_verification()
2296 cbp->b_attr.ba_verify_type = verify_kind; in cluster_io()