Searched refs:oldstate (Results 1 – 2 of 2) sorted by relevance
207 int oldstate; in event_source_poll() local213 oldstate = es->state; in event_source_poll()214 if (finalize && (oldstate == EVENT_STATE_HANDLED)) { in event_source_poll()219 if (oldstate == EVENT_STATE_HANDLED) { in event_source_poll()527 int oldstate; in event_client_poll() local535 oldstate = ec->state; in event_client_poll()536 if (finalize && (oldstate == EVENT_STATE_SIGNALED)) { in event_client_poll()541 if (oldstate == EVENT_STATE_CLOSED) { in event_client_poll()545 if (oldstate == EVENT_STATE_SIGNALED) { in event_client_poll()570 int oldstate; in event_client_destroy() local[all …]
475 int oldstate; in virtio_start() local497 oldstate = atomic_cmpxchg(&vb->state, VIRTIO_BUS_STATE_IDLE, in virtio_start()500 if (oldstate != VIRTIO_BUS_STATE_IDLE) { in virtio_start()502 LTRACEF("unexpected state state (%d)\n", oldstate); in virtio_start()549 vb->state = oldstate; in virtio_start()561 int oldstate; in virtio_stop() local581 oldstate = atomic_cmpxchg(&vb->state, VIRTIO_BUS_STATE_ACTIVE, in virtio_stop()584 if (oldstate != VIRTIO_BUS_STATE_ACTIVE) { in virtio_stop()