Lines Matching refs:status

69 iterative_io_finished_hook(void* cookie, io_request* request, status_t status,
85 status_t status = Volume::Identify(fd, &superBlock);
86 if (status != B_OK)
135 partition->status = B_PARTITION_VALID;
171 status_t status = volume->Mount(device, flags);
172 if (status != B_OK) {
173 ERROR("Failed mounting the volume. Error: %s\n", strerror(status));
175 return status;
188 status_t status = volume->Unmount();
191 return status;
232 status_t status = inode->InitCheck();
233 if (status != B_OK)
236 if (status == B_OK) {
242 ERROR("get_vnode: InitCheck() failed. Error: %s\n", strerror(status));
244 return status;
278 status_t status;
284 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs,
286 if (status != B_OK && status != B_BUFFER_OVERFLOW)
289 bool bufferOverflow = status == B_BUFFER_OVERFLOW;
292 status = read_file_io_vec_pages(volume->Device(), fileVecs,
294 if (status != B_OK || !bufferOverflow)
303 return status;
347 status_t status = inode->FindBlock(offset, blockOffset, &blockLength);
348 if (status != B_OK)
349 return status;
394 status_t status = directory->CheckPermissions(X_OK);
395 if (status < B_OK)
396 return status;
398 status = DirectoryIterator(directory).Lookup(name, strlen(name), _vnodeID);
399 if (status != B_OK) {
400 ERROR("exfat_lookup: name %s (%s)\n", name, strerror(status));
401 if (status == B_ENTRY_NOT_FOUND)
403 return status;
462 status_t status = inode->CheckPermissions(open_mode_to_access(openMode)
464 if (status != B_OK)
465 return status;
479 status = file_cache_disable(inode->FileCache());
480 if (status != B_OK)
481 return status;
563 status_t status = inode->CheckPermissions(R_OK);
564 if (status < B_OK)
565 return status;
596 status_t status = iterator->GetNext(dirent->d_name, &length, &id);
597 if (status == B_ENTRY_NOT_FOUND)
600 if (status == B_BUFFER_OVERFLOW) {
607 if (status != B_OK)
608 return status;