Lines Matching refs:status

131 	status_t			status;
386 status_t status;
402 status = B_NO_MEMORY;
410 status = B_BAD_TYPE;
421 status = B_NO_MEMORY;
440 return status;
497 status_t status = load_module_image(path, &image);
498 if (status < B_OK)
499 return status;
572 status_t status = B_ENTRY_NOT_FOUND;
602 status = B_OK;
608 if (status != B_OK) {
611 return status;
622 status_t status = B_ENTRY_NOT_FOUND;
647 status = vfs_get_module_path(basePath.Path(), name, path.LockBuffer(),
649 if (status == B_OK) {
651 status = check_module_image(path.Path(), name, _moduleImage);
652 if (status == B_OK)
657 if (status != B_OK)
676 status_t status = put_module(dependencies[i].name);
677 if (status < B_OK)
678 return status;
699 status_t status = get_module(dependencies[i].name,
701 if (status < B_OK) {
704 return status;
720 status_t status;
725 status = get_dependent_modules(module);
726 if (status < B_OK) {
728 return status;
737 status = module->info->std_ops(B_MODULE_INIT);
739 TRACE(("...done (%s)\n", strerror(status)));
741 if (status >= B_OK)
748 return status;
798 status_t status = B_OK;
804 status = module->info->std_ops(B_MODULE_UNINIT);
806 TRACE(("...done (%s)\n", strerror(status)));
808 if (status == B_OK) {
815 strerror(status)));
821 return status;
883 status_t status;
1013 status = iterator_push_path_on_stack(iterator,
1015 if (status != B_OK)
1016 return status;
1027 status = get_module_image(path.Path(), &iterator->module_image);
1028 if (status < B_OK) {
1090 status_t status;
1107 status = B_BAD_TYPE;
1114 status = B_BAD_DATA;
1125 status = B_NO_MEMORY;
1150 return status;
1284 status_t status = _AddDirectory(prefix);
1285 if (status != B_OK) {
1287 return status;
1366 status_t status = add_node_listener(device, node, flags, listener);
1367 if (status != B_OK) {
1369 return status;
1395 status_t status = vfs_get_vnode_from_fd(fd, true, &vnode);
1396 if (status != B_OK)
1397 return status;
1403 status = path.InitCheck();
1404 if (status == B_OK) {
1405 status = vfs_entry_ref_to_path(device, directory, name, true,
1408 if (status != B_OK)
1409 return status;
1420 status_t status = B_ERROR;
1442 if (status != B_OK)
1443 status = scanStatus;
1446 return status;
1478 status_t status = _ScanDirectory(stack, dir, prefix, prefixPosition);
1479 if (status != B_OK)
1480 return status;
1522 status_t status = vfs_read_stat(dirfd(dir), dirent->d_name, true, &stat,
1524 if (status != B_OK)
1554 status_t status = vfs_read_stat(dirfd(dir), NULL, true, &stat, true);
1555 if (status == B_OK)
1736 status_t status = get_module_image(path, &moduleImage);
1737 if (status != B_OK)
1738 return status;
1771 status_t status = specifier.AddString("prefix", prefix);
1772 if (status != B_OK)
1773 return status;
1783 status_t status = specifier.AddString("prefix", prefix);
1784 if (status != B_OK)
1785 return status;
1818 status_t status = register_preloaded_module_image(image);
1819 if (status != B_OK && image->is_module) {
1821 strerror(status));
2116 status_t status;
2123 if (iterator->status < B_OK)
2124 return iterator->status;
2126 status = iterator->status;
2129 status = iterator_get_next_module(iterator, buffer, _bufferSize);
2131 iterator->status = status;
2134 TRACE(("read_next_module_name: finished with status %s\n",
2135 strerror(status)));
2136 return status;
2158 status_t status = B_ENTRY_NOT_FOUND;
2170 status = B_OK;
2175 return status;
2184 status_t status;
2217 status = init_module(module);
2220 if (status == B_OK && (module->flags & B_KEEP_LOADED) != 0)
2223 status = B_OK;
2225 if (status == B_OK) {
2237 return status;