Searched refs:libscsi_hdl_t (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | libscsi.h | 82 typedef struct libscsi_hdl libscsi_hdl_t; typedef 97 void *(*lseo_open)(libscsi_hdl_t *, const void *); 98 void (*lseo_close)(libscsi_hdl_t *, void *); 99 int (*lseo_exec)(libscsi_hdl_t *, void *, libscsi_action_t *); 100 void (*lseo_target_name)(libscsi_hdl_t *, void *, char *, size_t); 101 int (*lseo_max_transfer)(libscsi_hdl_t *, void *, size_t *); 110 extern libscsi_hdl_t *libscsi_init(uint_t, libscsi_errno_t *); 111 extern void libscsi_fini(libscsi_hdl_t *); 113 extern libscsi_target_t *libscsi_open(libscsi_hdl_t *, const char *, 115 extern void libscsi_close(libscsi_hdl_t *, libscsi_target_t *); [all …]
|
H A D | scsi_subr.c | 67 libscsi_set_errno(libscsi_hdl_t *hp, libscsi_errno_t err) in libscsi_set_errno() 82 libscsi_verror(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, in libscsi_verror() 114 libscsi_error(libscsi_hdl_t *hp, libscsi_errno_t err, const char *fmt, ...) in libscsi_error() 129 libscsi_errno(libscsi_hdl_t *hp) in libscsi_errno() 135 libscsi_errmsg(libscsi_hdl_t *hp) in libscsi_errmsg() 145 libscsi_alloc(libscsi_hdl_t *hp, size_t size) in libscsi_alloc() 161 libscsi_zalloc(libscsi_hdl_t *hp, size_t size) in libscsi_zalloc() 174 libscsi_strdup(libscsi_hdl_t *hp, const char *str) in libscsi_strdup() 187 libscsi_free(libscsi_hdl_t *hp, void *ptr) in libscsi_free() 192 libscsi_hdl_t * [all …]
|
H A D | scsi_engine.c | 45 get_engine(libscsi_hdl_t *hp, const char *name) in get_engine() 165 libscsi_open(libscsi_hdl_t *hp, const char *engine, const void *target) in libscsi_open() 205 libscsi_hdl_t * 212 libscsi_close(libscsi_hdl_t *hp, libscsi_target_t *tp) in libscsi_close() 485 libscsi_action_alloc_vendor(libscsi_hdl_t *hp, spc3_cmd_t cmd, size_t cdbsz, in libscsi_action_alloc_vendor() 566 libscsi_action_alloc(libscsi_hdl_t *hp, spc3_cmd_t cmd, uint_t flags, in libscsi_action_alloc() 627 libscsi_hdl_t *hp = aip->lsai_hdl; in libscsi_exec() 655 libscsi_hdl_t *hp = tp->lst_hdl; in libscsi_max_transfer()
|
H A D | libscsi_impl.h | 47 libscsi_hdl_t *lsai_hdl;
|
/illumos-gate/usr/src/lib/scsi/plugins/scsi/engines/uscsi/ |
H A D | uscsi.c | 50 uscsi_open(libscsi_hdl_t *hp, const void *target) in uscsi_open() 75 uscsi_close(libscsi_hdl_t *hp, void *private) in uscsi_close() 90 xlate_flags(libscsi_hdl_t *hp, uint_t flags, int *uf) in xlate_flags() 131 uscsi_exec(libscsi_hdl_t *hp, void *private, libscsi_action_t *ap) in uscsi_exec() 210 uscsi_target_name(libscsi_hdl_t *hp, void *private, char *buf, size_t len) in uscsi_target_name() 218 uscsi_max_transfer(libscsi_hdl_t *hp, void *private, size_t *sizep) in uscsi_max_transfer() 264 libscsi_uscsi_init(libscsi_hdl_t *hp) in libscsi_uscsi_init()
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_impl.h | 83 libscsi_hdl_t *st_scsi_hdl; 152 extern int ses_libscsi_error(libscsi_hdl_t *, const char *, ...);
|
H A D | ses_enclosure.c | 248 libscsi_hdl_t *hp; in ses_open()
|
H A D | ses_subr.c | 248 ses_libscsi_error(libscsi_hdl_t *shp, const char *fmt, ...) in ses_libscsi_error()
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | sd.c | 160 sdfw_read_descriptor(struct devicelist *flashdev, libscsi_hdl_t *hdl, in sdfw_read_descriptor() 254 sdfw_write(struct devicelist *flashdev, libscsi_hdl_t *handle, in sdfw_write() 361 libscsi_hdl_t *handle; in fw_writefw() 506 libscsi_hdl_t *handle; in fw_identify()
|
H A D | ses.c | 745 libscsi_hdl_t *handle; in scsi_writebuf()
|
/illumos-gate/usr/src/cmd/fwflash/plugins/vendor/ |
H A D | sd-GENERIC.c | 56 libscsi_hdl_t *hdl = NULL; in vendorvrfy()
|