Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/acct/lib/
H A Ddevtolin.c69 char **srch_dirs; /* priority directories to search first */ in devtolin() local
77 srch_dirs = def_srch_dirs; in devtolin()
79 while ((!found) && (srch_dirs[dirno] != NULL)) { in devtolin()
85 found = srch_dir(device, srch_dirs[dirno], in devtolin()
86 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? in devtolin()
97 found = srch_dir(device, dev_dir, 0, srch_dirs); in devtolin()
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c187 char **srch_dirs; in setupdevs() local
195 srch_dirs = get_pri_dirs(); in setupdevs()
197 while (srch_dirs[dirno] != NULL) { in setupdevs()
198 if (srch_dir(srch_dirs[dirno]) < 0) in setupdevs()
204 while (srch_dirs[dirno] != NULL) { in setupdevs()
205 if (strcmp("/dev", srch_dirs[dirno]) == 0) in setupdevs()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c204 const entry_t *srch_dirs; /* priority directories */ in _ttyname_common() local
274 srch_dirs = get_pri_dirs(); in _ttyname_common()
277 while ((!found) && (srch_dirs[dirno].name != NULL)) { in _ttyname_common()
288 if (strcmp(PTS, srch_dirs[dirno].name) == 0) { in _ttyname_common()
294 found = srch_dir(srch_dirs[dirno], match_mask, in _ttyname_common()
295 ((strcmp(srch_dirs[dirno].name, dev_dir.name) in _ttyname_common()
305 found = srch_dir(dev_dir, match_mask, 0, srch_dirs, fsp); in _ttyname_common()