Lines Matching refs:result
34 status_t result = resume_thread(fThread);
35 if (result != B_OK) {
37 fInitError = result;
49 status_t result;
50 wait_for_thread(fThread, &result);
102 status_t result = wait_for_objects(object, 2);
104 if (result < B_OK
106 return result;
165 status_t result;
175 result = read_from_io_request(args->fRequest, buffer,
178 while (size < thisBufferLength && result == B_OK) {
180 result = args->fInode->WriteDirect(NULL,
186 } while (position < length && result == B_OK);
196 result = args->fInode->ReadDirect(NULL,
198 if (result != B_OK)
201 result = write_to_io_request(args->fRequest, buffer + size,
203 if (result != B_OK)
207 } while (size < length && result == B_OK && !eof);
210 } while (position < length && result == B_OK && !eof);
215 notify_io_request(args->fRequest, result);