Searched refs:b_attr (Results 1 – 5 of 5) sorted by relevance
| /xnu-12377.1.9/bsd/vfs/ |
| H A D | vfs_bio.c | 418 bp->b_attr.ba_cp_file_off = foffset; in buf_setcpoff() 543 return &bp->b_attr; in buf_attr() 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() 688 if (bp->b_attr.ba_un.verify_ptr && bp->b_bcount && vp) { in buf_verifyptr_with_size() 696 return bp->b_attr.ba_un.verify_ptr; in buf_verifyptr_with_size() 701 if (!(bp->b_attr.ba_flags & BA_WILL_VERIFY)) { in buf_verifyptr_with_size() 740 return buf_verifyptr_with_size(__container_of(bap, struct buf, b_attr), 0, len); in bufattr_verifyptr() 761 if (os_atomic_cmpxchg(&bp->b_attr.ba_verify_type, 0, verify_type, acq_rel)) { in buf_verify_enable() 762 assert(bp->b_attr.ba_un.verify_ptr == NULL); in buf_verify_enable() [all …]
|
| H A D | vfs_cluster.c | 899 void *verify_ctx = cbp_head->b_attr.ba_un.verify_ctx; in cluster_handle_verification() 905 assert(cbp_head->b_attr.ba_flags & BA_WILL_VERIFY); in cluster_handle_verification() 907 cbp_head->b_attr.ba_un.verify_ctx = NULL; in cluster_handle_verification() 919 if (cbp_head->b_attr.ba_verify_type && cbp_head->b_attr.ba_flags & BA_VERIFY_VALID) { in cluster_handle_verification() 1042 (os_atomic_load(&cbp_head->b_attr.ba_flags, acquire) & BA_ASYNC_VERIFY); in cluster_iodone() 1044 assert(!async || cbp_head->b_attr.ba_un.verify_ctx); in cluster_iodone() 1190 if (cbp_head->b_attr.ba_un.verify_ctx) { in cluster_iodone_finish() 1192 } else if (cbp_head->b_attr.ba_flags & BA_WILL_VERIFY) { in cluster_iodone_finish() 1383 cbp_head->b_attr.ba_un.verify_ctx = verify_ctx; in cluster_EOT() 1392 os_atomic_or(&cbp_head->b_attr.ba_flags, BA_ASYNC_VERIFY, release); in cluster_EOT() [all …]
|
| /xnu-12377.1.9/bsd/sys/ |
| H A D | buf_internal.h | 148 struct bufattr b_attr; member
|
| /xnu-12377.1.9/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 2248 bap = &bp->b_attr; in throttle_info_end_io() 2544 bap = &bp->b_attr; in spec_strategy()
|
| /xnu-12377.1.9/tools/lldbmacros/ |
| H A D | memory.py | 4706 buf.b_validend, buf.b_redundancy_flags, buf.b_proc, buf.b_attr]
|