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

/darwin-on-arm/xnu/libkern/libkern/
H A DOSMalloc.h69 uint32_t OSMT_state; member in struct:_OSMallocTag_
/darwin-on-arm/xnu/osfmk/kern/
H A Dkalloc.c709 OSMTag->OSMT_state = OSMT_VALID;
717 if (!((tag->OSMT_state & OSMT_VALID_MASK) == OSMT_VALID))
718 panic("OSMalloc_Tagref():'%s' has bad state 0x%08X\n", tag->OSMT_name, tag->OSMT_state);
727 if (!((tag->OSMT_state & OSMT_VALID_MASK) == OSMT_VALID))
728 panic("OSMalloc_Tagref():'%s' has bad state 0x%08X\n", tag->OSMT_name, tag->OSMT_state);
731 if (hw_compare_and_store(OSMT_VALID|OSMT_RELEASED, OSMT_VALID|OSMT_RELEASED, &tag->OSMT_state)) {
745 if (!hw_compare_and_store(OSMT_VALID, OSMT_VALID|OSMT_RELEASED, &tag->OSMT_state))
746 panic("OSMalloc_Tagfree():'%s' has bad state 0x%08X \n", tag->OSMT_name, tag->OSMT_state);

Completed in 11 milliseconds