Searched refs:search_file (Results 1 - 2 of 2) sorted by relevance
/opensolaris-onvv-gate/usr/src/cmd/format/ |
H A D | startup.c | 1589 int search_file; local 1598 if ((search_file = open_disk(devpath, O_RDWR | O_NDELAY)) < 0) { 1604 if (fstat(search_file, &stbuf) == -1 || !S_ISCHR(stbuf.st_mode)) { 1605 (void) close(search_file); 1614 if (ioctl(search_file, DKIOCINFO, &dkinfo) < 0) { 1615 (void) close(search_file); 1623 ret = ioctl(search_file, DKIOCREMOVABLE, &isremovable); 1625 (void) close(search_file); 1630 if (ioctl(search_file, DKIOCGMEDIAINFO, &mediainfo) == -1) { 1651 if (ioctl(search_file, DKIOCGMEDIAINF [all...] |
/opensolaris-onvv-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 1334 int search_file; local 1341 if ((search_file = open(devpath, O_RDONLY | O_NDELAY)) < 0) 1347 if (fstat(search_file, &stbuf) == -1 || !S_ISCHR(stbuf.st_mode)) { 1348 (void) close(search_file); 1358 if (ioctl(search_file, DKIOCINFO, &dkinfo) < 0) { 1359 (void) close(search_file); 1362 (void) close(search_file);
|
Completed in 102 milliseconds