Searched refs:sm_fd (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_generic.c | 95 if (handle->sm_fd < 0) { in _m_get_media_info() 100 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_get_media_info() 137 if (handle->sm_fd < 0) { in _m_get_device_info() 207 if (ioctl(handle->sm_fd, FDGETCHANGE, &j)) { in _m_get_media_status() 244 if (handle->sm_fd < 0) { in _m_raw_read() 249 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_raw_read() 283 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw); in _m_raw_read() 317 if (handle->sm_fd < 0) { in _m_raw_write() 322 if (ioctl(handle->sm_fd, FDIOGCHAR, &fdchar) < 0) { in _m_raw_write() 356 ret_val = ioctl(handle->sm_fd, FDRAW, &fdraw); in _m_raw_write() [all …]
|
H A D | f_format.c | 558 if (handle->sm_fd < 0) { in _m_media_format() 567 return (format_floppy(handle->sm_fd, &ft)); in _m_media_format() 589 if (handle->sm_fd < 0) { in _m_media_format_track() 600 return (format_floppy(handle->sm_fd, ip)); in _m_media_format_track()
|
/titanic_41/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()
|
/titanic_41/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()
|
/titanic_41/usr/src/lib/libsmedia/plugins/floppy/ |
H A D | Makefile.targ | 31 LIBRARY= sm_fd.a
|
/titanic_41/usr/src/lib/libsmedia/library/inc/ |
H A D | rmedia.h | 53 int32_t sm_fd; /* fd that is associated with this handle */ member
|
/titanic_41/usr/src/pkg/manifests/ |
H A D | service-storage-removable-media.mf | 51 file path=usr/lib/smedia/$(ARCH64)/sm_fd.so.1 mode=0555 55 file path=usr/lib/smedia/sm_fd.so.1 mode=0555
|
/titanic_41/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 80 DPRINTF1("fd=%d\n", handle->sm_fd); in _m_get_media_info() 574 fd = handle->sm_fd; in _m_eject()
|