Lines Matching defs:path
63 * @doc Comparison is based on Node WWN, Port WWN and path
81 string path = getPath();
83 if (stat(path.c_str(), &sbuf) == -1) {
87 log.debug("Unable to stat %s: %s", path.c_str(),
99 char *path;
106 * @postcondition Find matching /dev link for the given path argument.
109 * @doc The input path is expected to not have "/devices".
117 * When path is specified, it doesn't have minor
120 if (warg->path) {
126 strncmp(start, warg->path, warg->len) != 0 ||
127 // make it sure the device path has minor name
144 * is found, the long path is left as is.
170 warg.path = NULL;
177 warg.path = mappings->entry[j].ScsiId.OSDeviceName +
181 warg.path = mappings->entry[j].ScsiId.OSDeviceName;
204 * Finds controller path for a give device path.
206 * Return vale: controller path.
208 string HBAPort::lookupControllerPath(string path) {
236 if (strstr(buf, path.c_str())) {
249 throw InternalError("Unable to find controller path");