Searched refs:dirno (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 86 int dirno = 0; in get_pri_dirs() local 120 pri_dirs[dirno++] = sfp; in get_pri_dirs() 142 pri_dirs[dirno] = NULL; in get_pri_dirs() 188 int dirno = 0; in setupdevs() local 199 while (srch_dirs[dirno] != NULL) { in setupdevs() 200 if (srch_dir(srch_dirs[dirno]) < 0) in setupdevs() 202 dirno++; in setupdevs() 205 dirno = 0; in setupdevs() 206 while (srch_dirs[dirno] != NULL) { in setupdevs() 207 if (strcmp("/dev", srch_dirs[dirno]) == 0) in setupdevs() [all …]
|
/titanic_41/usr/src/cmd/acct/lib/ |
H A D | devtolin.c | 71 int dirno = 0; local 79 while ((!found) && (srch_dirs[dirno] != NULL)) { 83 found = srch_dir(device, srch_dirs[dirno], 84 ((strcmp(srch_dirs[dirno], dev_dir) == 0) ? 87 dirno++; 128 int dirno = 0; local 137 while (skip_dirs[dirno] != NULL) 138 if (strcmp(skip_dirs[dirno++], path) == 0)
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | ttyname.c | 208 int dirno = 0; in _ttyname_common() local 277 while ((!found) && (srch_dirs[dirno].name != NULL)) { in _ttyname_common() 288 if (strcmp(PTS, srch_dirs[dirno].name) == NULL) { 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() 298 dirno++; in _ttyname_common() 490 int dirno = 0; in srch_dir() local 502 while (skip_dirs[dirno].name != NULL) in srch_dir() 503 if (strcmp(skip_dirs[dirno++].name, path.name) == 0) in srch_dir()
|