Searched refs:sm_fd (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 93 if (handle->sm_fd < 0) { in _m_get_media_info() 98 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_get_media_info() 135 if (handle->sm_fd < 0) { in _m_get_device_info() 205 if (ioctl(handle->sm_fd, FDGETCHANGE, &j)) { in _m_get_media_status() 242 if (handle->sm_fd < 0) { in _m_raw_read() 247 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_raw_read() 281 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw); in _m_raw_read() 315 if (handle->sm_fd < 0) { in _m_raw_write() 320 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_raw_write() 354 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw); in _m_raw_write() [all …]
|
H A D | f_format.c | 556 if (handle->sm_fd < 0) { in _m_media_format() 565 return (format_floppy(handle->sm_fd, &ft)); in _m_media_format() 587 if (handle->sm_fd < 0) { in _m_media_format_track() 598 return (format_floppy(handle->sm_fd, ip)); in _m_media_format_track()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/ |
H A D | b_generic.c | 97 if (ioctl(handle->sm_fd, DKIOCSTATE, &state) < 0) { in _m_get_media_info() 110 ret_val = ioctl(handle->sm_fd, DKIOCGMEDIAINFO, &minfo); in _m_get_media_info() 115 ret_val = ioctl(handle->sm_fd, DKIOCGGEOM, &dkg); in _m_get_media_info()
|
/illumos-gate/usr/src/lib/libsmedia/library/common/ |
H A D | l_misc.c | 359 handle->sm_fd = -1; in get_handle_from_fd() 382 DPRINTF2("fd=%d signature=0x%x\n", handle->sm_fd, handle->sm_signature); in get_handle_from_fd() 481 handle->sm_fd = fd; in get_handle_from_fd() 489 handle->sm_fd = fd; in get_handle_from_fd()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/ |
H A D | Makefile.targ | 29 LIBRARY= sm_fd.a
|
/illumos-gate/usr/src/lib/libsmedia/library/inc/ |
H A D | rmedia.h | 51 int32_t sm_fd; /* fd that is associated with this handle */ member
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | service-storage-removable-media.p5m | 50 file path=usr/lib/smedia/$(ARCH64)/sm_fd.so.1 mode=0555 54 file path=usr/lib/smedia/sm_fd.so.1 mode=0555
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 77 DPRINTF1("fd=%d\n", handle->sm_fd); in _m_get_media_info() 565 fd = handle->sm_fd; in _m_eject()
|