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.c425 fd = drive_open_disk(dp->p.disk, opath, sizeof (opath)); in drive_get_attributes()
583 if ((fd = drive_open_disk(diskp, NULL, 0)) >= 0) { in drive_get_stats()
636 drive_open_disk(disk_t *diskp, char *opath, int len) in drive_open_disk() function
1021 fd = drive_open_disk(dp, NULL, 0); in get_drive_type()
1182 fd = drive_open_disk(dp, NULL, 0); in get_rpm()
1238 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.h191 int drive_open_disk(disk_t *diskp, char *opath, int len);