Home
last modified time | relevance | path

Searched refs:drive_open_disk (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c135 fd = drive_open_disk(dp->p.disk, NULL, 0); in media_get_attributes()
314 if ((fd = drive_open_disk(media[i]->p.disk, NULL, 0)) < 0) { in apply_filter()
545 if ((fd = drive_open_disk(dp, NULL, 0)) >= 0) {
H A Ddrive.c424 fd = drive_open_disk(dp->p.disk, opath, sizeof (opath)); in drive_get_attributes()
581 if ((fd = drive_open_disk(diskp, NULL, 0)) >= 0) { in drive_get_stats()
634 drive_open_disk(disk_t *diskp, char *opath, int len) in drive_open_disk() function
1003 fd = drive_open_disk(dp, NULL, 0); in get_drive_type()
1160 fd = drive_open_disk(dp, NULL, 0); in get_rpm()
1216 fd = drive_open_disk(dp, NULL, 0); in get_solidstate()
H A Dslice.c529 if ((fd = drive_open_disk(desc->p.disk, NULL, 0)) < 0) { in get_fixed_assocs()
667 if ((fd = drive_open_disk(dp, NULL, 0)) >= 0) { in make_fixed_descriptors()
767 if ((fd = drive_open_disk(diskp, NULL, 0)) < 0) { in match_fixed_name()
H A Ddisks_private.h189 int drive_open_disk(disk_t *diskp, char *opath, int len);