RES_XRCD_ALLOCATED
ret->com.state = RES_XRCD_ALLOCATED;
else if (res->com.state != RES_XRCD_ALLOCATED)