Lines Matching refs:sbm_flags
196 ASSERT((mp->sbm_flags & SBD_MFLAG_RELOWNER) in sbd_pre_attach_mem()
459 if (s_mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_post_detach_mem()
571 (s_mp->sbm_flags & SBD_MFLAG_RELDONE) != 0); in sbd_post_detach_mem_unit()
573 if (s_mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_post_detach_mem_unit()
577 ASSERT(t_mp->sbm_flags & SBD_MFLAG_TARGET); in sbd_post_detach_mem_unit()
580 ASSERT(t_mp->sbm_flags & SBD_MFLAG_RELDONE); in sbd_post_detach_mem_unit()
598 if (s_mp->sbm_flags & SBD_MFLAG_RELDONE) { in sbd_post_detach_mem_unit()
602 if (rv == 0 && t_mp && (t_mp->sbm_flags & SBD_MFLAG_RELDONE)) { in sbd_post_detach_mem_unit()
675 if (s_mp->sbm_flags & SBD_MFLAG_MEMUPSIZE) { in sbd_post_detach_mem_unit()
766 t_mp->sbm_flags = 0; in sbd_mem_cleanup()
804 s_mp->sbm_flags = 0; in sbd_mem_cleanup()
881 if (mp->sbm_flags & SBD_MFLAG_RESERVED) { in sbd_pre_release_mem()
939 ASSERT(mp->sbm_flags == 0); in sbd_pre_release_mem()
972 mp->sbm_flags |= SBD_MFLAG_RELOWNER; in sbd_pre_release_mem()
1006 mp->sbm_flags &= ~SBD_MFLAG_RELOWNER; in sbd_pre_release_mem()
1011 ASSERT(mp->sbm_flags == 0); in sbd_pre_release_mem()
1035 mp->sbm_flags |= SBD_MFLAG_RESERVED; in sbd_pre_release_mem()
1044 if (mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_pre_release_mem()
1061 ASSERT(mp->sbm_flags & SBD_MFLAG_RELOWNER); in sbd_pre_release_mem()
1062 ASSERT(mp->sbm_flags & SBD_MFLAG_RESERVED); in sbd_pre_release_mem()
1085 if (s_mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_release_mem_done()
1089 ASSERT(t_mp->sbm_flags & SBD_MFLAG_TARGET); in sbd_release_mem_done()
1090 ASSERT(t_mp->sbm_flags & SBD_MFLAG_RESERVED); in sbd_release_mem_done()
1097 ASSERT(s_mp->sbm_flags & SBD_MFLAG_RELOWNER); in sbd_release_mem_done()
1098 ASSERT(s_mp->sbm_flags & SBD_MFLAG_RESERVED); in sbd_release_mem_done()
1109 s_mp->sbm_flags &= ~SBD_MFLAG_RELOWNER; in sbd_release_mem_done()
1182 s_mp->sbm_flags |= SBD_MFLAG_RELDONE; in sbd_release_mem_done()
1184 t_mp->sbm_flags &= ~SBD_MFLAG_RESERVED; in sbd_release_mem_done()
1185 t_mp->sbm_flags |= SBD_MFLAG_RELDONE; in sbd_release_mem_done()
1258 if (s_mp->sbm_flags & SBD_MFLAG_TARGET) { in sbd_cancel_mem()
1263 } else if (s_mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_cancel_mem()
1278 ASSERT((s_mp->sbm_flags & SBD_MFLAG_RELOWNER) == 0); in sbd_cancel_mem()
1302 ASSERT((s_mp->sbm_flags & SBD_MFLAG_RELOWNER) == 0); in sbd_cancel_mem()
1314 t_mp->sbm_flags = 0; in sbd_cancel_mem()
1336 s_mp->sbm_flags = 0; in sbd_cancel_mem()
1434 ASSERT(mp->sbm_flags == 0); in sbd_init_mem_unit_data()
1691 if (t_mp->sbm_flags & SBD_MFLAG_RESERVED) in sbd_select_mem_target()
1962 s_mp->sbm_flags |= SBD_MFLAG_RESERVED; in sbd_select_mem_target()
1977 t_mp->sbm_flags |= SBD_MFLAG_RESERVED; in sbd_select_mem_target()
1994 s_mp->sbm_flags &= ~SBD_MFLAG_RESERVED; in sbd_select_mem_target()
2023 s_mp->sbm_flags |= SBD_MFLAG_SOURCE; in sbd_select_mem_target()
2029 c_mp->sbm_flags |= SBD_MFLAG_TARGET; in sbd_select_mem_target()
2034 s_mp->sbm_flags &= ~SBD_MFLAG_MEMRESIZE; in sbd_select_mem_target()
2036 s_mp->sbm_flags |= SBD_MFLAG_MEMUPSIZE; in sbd_select_mem_target()
2040 s_mp->sbm_flags |= SBD_MFLAG_MEMDOWNSIZE; in sbd_select_mem_target()
2548 if (s_mp->sbm_flags & SBD_MFLAG_SOURCE) { in sbd_detach_memory()
2665 t_mp->sbm_flags = 0; in sbd_detach_memory()