Lines Matching refs:status
39 status_t status = NO_MEMORY; in createEventFlag() local
42 EventFlag* evFlag = new (std::nothrow) EventFlag(fd, offset, &status); in createEventFlag()
44 if (status == NO_ERROR) { in createEventFlag()
51 return status; in createEventFlag()
60 status_t status = NO_MEMORY; in createEventFlag() local
63 EventFlag* evFlag = new (std::nothrow) EventFlag(fwAddr, &status); in createEventFlag()
65 if (status == NO_ERROR) { in createEventFlag()
72 return status; in createEventFlag()
78 EventFlag::EventFlag(int fd, off_t offset, status_t* status) { in EventFlag() argument
85 *status = NO_ERROR; in EventFlag()
87 *status = -errno; in EventFlag()
96 EventFlag::EventFlag(std::atomic<uint32_t>* fwAddr, status_t* status) { in EventFlag() argument
97 *status = NO_ERROR; in EventFlag()
99 *status = BAD_VALUE; in EventFlag()
117 status_t status = NO_ERROR; in wake() local
127 status = -errno; in wake()
131 return status; in wake()
146 status_t status = NO_ERROR; in waitHelper() local
154 return status; in waitHelper()
176 status = -errno; in waitHelper()
177 if (status != -EAGAIN && status != -ETIMEDOUT) { in waitHelper()
187 status = -EINTR; in waitHelper()
190 return status; in waitHelper()
208 status_t status; in wait() local
219 status = -ETIMEDOUT; in wait()
225 status = waitHelper(bitmask, efState, timeoutNanoSeconds); in wait()
226 if ((status != -EAGAIN) && (status != -EINTR)) { in wait()
230 return status; in wait()
235 status_t status = NO_ERROR; in unmapEventFlagWord() local
239 status = -errno; in unmapEventFlagWord()
244 return status; in unmapEventFlagWord()
252 status_t status = unmapEventFlagWord((*evFlag)->mEfWordPtr, in deleteEventFlag() local
257 return status; in deleteEventFlag()