Lines Matching defs:path
37 "Usage: devprop [-n device-path] "
48 char *path = "/";
76 if ((path = realpath(optarg, NULL)) == NULL)
77 path = optarg;
108 * node paths. In that case, the path will be prefixed with
110 * just the path to the node.
112 if (strncmp("/devices/", path, strlen("/devices/")) == 0) {
113 path += strlen("/devices");
116 if ((ptr = strrchr(path, ':')) != NULL)
120 if ((dn = di_init(path, DINFOPROP)) == DI_NODE_NIL) {