Searched refs:b_data_ref (Results 1 - 2 of 2) sorted by relevance

/xnu-2422.115.4/bsd/sys/
H A Dbuf_internal.h156 #define b_data_ref b_validend macro
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_bio.c771 if (bp->b_shadow_ref && bp->b_data_ref == 0 && external_storage == 0)
772 panic("buf_create_shadow: %p is in the private state (%d, %d)", bp, bp->b_shadow_ref, bp->b_data_ref);
813 bp->b_data_ref++;
851 if (bp->b_shadow_ref == 0 || bp->b_data_ref == 0 || ISSET(bp->b_lflags, BL_SHADOW)) {
870 if (ds_bp == NULL && bp->b_data_ref)
871 panic("buf_make_private: b_data_ref != 0 && ds_bp == NULL");
873 if (ds_bp && (bp->b_data_ref == 0 || bp->b_shadow_ref == 0))
888 ds_bp->b_data_ref = bp->b_data_ref;
890 bp->b_data_ref
[all...]

Completed in 67 milliseconds