Lines Matching defs:path
132 nmlist_add(struct nmlist **nlhp, char *path)
139 if ((stat(path, &statb) == 0) &&
153 if ((nl->nl_devname = strdup(path)) == NULL) {
216 * the specified search path to avoid attaching all devices.
228 char *path;
242 /* verify valid search path starts with "/devices" or "/dev" */
270 * initialize for /devices path to /dev path translation. To reduce
287 * convert them into the appropriate path form and add items to return
290 for (path = paths; *path; path += strlen(path) + 1) {
297 (void) di_devlink_walk(dlh, NULL, path,
304 cp = malloc(strlen("/devices") + strlen(path) + 1);
306 (void) strcat(cp, path);