Lines Matching defs:path
56 char *cb_path; /* device path we want to match */
57 di_node_t cb_node; /* found leaf node of device path */
247 * Strip any trailing arguments from a device path.
251 strip_args(char *path, size_t len)
255 if (path != NULL && len != 0 &&
259 (void) memcpy(stripped_path, path, len);
274 char *path;
277 path = get_prop("chosen", "bootpath", &len);
278 return (strip_args(path, len));
288 char *path;
291 path = get_prop("aliases", "net", &len);
292 return (strip_args(path, len));
315 * Map a device path to its matching di_node_t.
318 path2node(char *path)
322 cb.cb_path = path;
396 * it specifies the path of a network device; if so, use this.
403 * use the path defined by the 'net' property of /aliases.