Home
last modified time | relevance | path

Searched refs:rel_path (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/make/lib/vroot/
H A Dvroot.cc254 int *rel_path, path_len= 1; in translate_with_thunk() local
257 rel_path= flags; in translate_with_thunk()
258 for (path_len-= 2; path_len >= 0; path_len--) rel_path[path_len]= 0; in translate_with_thunk()
262 if (rel_path[path_len] == 1) continue; in translate_with_thunk()
263 if (pp->path[0] != '/') rel_path[path_len]= 1; in translate_with_thunk()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c2254 vlink.rel_path = get_string(hdp, dlp->path); in walk_all_links()
2287 vlink.rel_path = get_string(hdp, dlp->path); in walk_matching_links()
2319 if (vlp->rel_path == NULL && vlp->abs_path == NULL) { in visit_link()
2324 if (vlp->rel_path == NULL) { in visit_link()
2325 vlp->rel_path = (char *)rel_path(hdp, vlp->abs_path); in visit_link()
2326 if (vlp->rel_path == NULL || vlp->rel_path[0] == '\0') in visit_link()
2331 if (regexec(linkp->regp, vlp->rel_path, 0, NULL, 0) != 0) in visit_link()
2336 assert(vlp->rel_path[0] != '/'); in visit_link()
2338 hdp->dev_dir, vlp->rel_path); in visit_link()
2409 if (devlink == NULL || devlink->rel_path == NULL || in devlink_valid()
[all …]
H A Ddevinfo_devlink.h168 char *rel_path; member
404 static const char *rel_path(struct di_devlink_handle *hdp, const char *path);