/titanic_50/usr/src/uts/common/sys/scsi/impl/ |
H A D | uscsi.h | 43 struct uscsi_cmd { struct 206 struct uscsi_cmd *scsi_uscsi_alloc(); 208 struct scsi_address *, struct uscsi_cmd **); 210 struct scsi_address *, struct uscsi_cmd **); 212 int scsi_uscsi_pktinit(struct uscsi_cmd *, struct scsi_pkt *); 214 struct uscsi_cmd *, int (*)(struct buf *), 216 int scsi_uscsi_pktfini(struct scsi_pkt *, struct uscsi_cmd *); 218 int scsi_uscsi_copyout(intptr_t, struct uscsi_cmd *); 219 void scsi_uscsi_free(struct uscsi_cmd *); 220 int scsi_uscsi_copyout_and_free(intptr_t, struct uscsi_cmd *);
|
/titanic_50/usr/src/cmd/cdrw/ |
H A D | mmc.c | 41 struct uscsi_cmd *scmd; in test_unit_ready() 56 struct uscsi_cmd *scmd; in inquiry() 74 struct uscsi_cmd *scmd; in read_capacity() 91 struct uscsi_cmd *scmd; in mode_sense() 118 struct uscsi_cmd *scmd; in mode_select() 143 struct uscsi_cmd *scmd; in read_track_info() 177 struct uscsi_cmd *scmd; in read_toc() 206 struct uscsi_cmd *scmd; in read_header() 229 struct uscsi_cmd *scmd; in read_disc_info() 248 struct uscsi_cmd *scmd; in get_configuration() [all …]
|
H A D | transport.h | 47 struct uscsi_cmd *get_uscsi_cmd(void); 48 int uscsi(int fd, struct uscsi_cmd *scmd);
|
H A D | transport.c | 43 static struct uscsi_cmd uscmd; 47 struct uscsi_cmd * 57 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi()
|
H A D | toshiba.c | 57 struct uscsi_cmd *scmd; in read_toc_as_per_8020() 79 struct uscsi_cmd *scmd; in toshiba_read_audio() 113 struct uscsi_cmd *scmd; in toshiba_speed_ctrl()
|
/titanic_50/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_init.c | 57 struct uscsi_cmd uscsi_cmd; in read_scsi_page() local 64 (void) memset(&uscsi_cmd, 0, sizeof (uscsi_cmd)); in read_scsi_page() 68 uscsi_cmd.uscsi_flags |= USCSI_READ | USCSI_ISOLATE; in read_scsi_page() 69 uscsi_cmd.uscsi_bufaddr = data; in read_scsi_page() 70 uscsi_cmd.uscsi_buflen = size; in read_scsi_page() 71 uscsi_cmd.uscsi_timeout = 1000; in read_scsi_page() 72 uscsi_cmd.uscsi_cdb = (char *)cdb; in read_scsi_page() 75 uscsi_cmd.uscsi_flags |= USCSI_RQENABLE; in read_scsi_page() 76 uscsi_cmd.uscsi_rqbuf = data; in read_scsi_page() 77 uscsi_cmd.uscsi_rqlen = size; in read_scsi_page() [all …]
|
/titanic_50/usr/src/lib/storage/libg_fc/common/ |
H A D | io.c | 92 struct uscsi_cmd ucmd; in g_scsi_persistent_reserve_in_cmd() 127 struct uscsi_cmd ucmd; in g_scsi_send_diag_cmd() 165 struct uscsi_cmd ucmd; in rec_diag_cmd() 229 struct uscsi_cmd ucmd; in g_scsi_writebuffer_cmd() 265 struct uscsi_cmd ucmd; in g_scsi_readbuffer_cmd() 294 struct uscsi_cmd ucmd; in g_scsi_inquiry_cmd() 337 struct uscsi_cmd ucmd; in g_scsi_log_sense_cmd() 372 struct uscsi_cmd ucmd; in g_scsi_mode_select_cmd() 412 struct uscsi_cmd ucmd; in g_scsi_mode_sense_cmd() 458 struct uscsi_cmd ucmd; in g_scsi_read_capacity_cmd() [all …]
|
/titanic_50/usr/src/lib/fm/libseslog/common/ |
H A D | libseslog.c | 67 construct_scsi_pt_obj(struct uscsi_cmd *uscsi) in construct_scsi_pt_obj() 69 (void) memset(uscsi, 0, sizeof (struct uscsi_cmd)); in construct_scsi_pt_obj() 78 set_scsi_pt_cdb(struct uscsi_cmd *uscsi, const unsigned char *cdb, in set_scsi_pt_cdb() 89 set_scsi_pt_sense(struct uscsi_cmd *uscsi, unsigned char *sense, in set_scsi_pt_sense() 101 set_scsi_pt_data_in(struct uscsi_cmd *uscsi, unsigned char *dxferp, in set_scsi_pt_data_in() 116 do_scsi_pt(struct uscsi_cmd *uscsi, int fd, int time_secs) in do_scsi_pt() 147 struct uscsi_cmd uscsi; in read_log() 440 set_scsi_pt_data_out(struct uscsi_cmd *uscsi, const unsigned char *dxferp, in set_scsi_pt_data_out() 468 struct uscsi_cmd uscsi; in sg_ll_mode_sense10() 505 struct uscsi_cmd uscsi; in sg_ll_mode_select10()
|
/titanic_50/usr/src/cmd/format/ |
H A D | ctlr_scsi.c | 80 static void scsi_printerr(struct uscsi_cmd *, 208 struct uscsi_cmd ucmd; 259 rc = uscsi_cmd(fd, &ucmd, flags); 335 struct uscsi_cmd ucmd; 480 status = uscsi_cmd(cur_file, &ucmd, 493 status = uscsi_cmd(cur_file, &ucmd, 506 status = uscsi_cmd(cur_file, &ucmd, 542 struct uscsi_cmd ucmd; in scsi_raw_format() 588 status = uscsi_cmd(cur_file, &ucmd, F_NORMAL); in scsi_raw_format() 597 status = uscsi_cmd(cur_file, &ucmd, F_NORMAL); in scsi_raw_format() [all …]
|
H A D | ctlr_scsi.h | 138 int uscsi_cmd(int, struct uscsi_cmd *, int); 170 int uscsi_cmd();
|
H A D | menu_scsi.c | 540 struct uscsi_cmd ucmd; in do_format() 614 status = uscsi_cmd(cur_file, &ucmd, F_NORMAL); in do_format() 944 struct uscsi_cmd ucmd; in default_all_pages() 968 status = uscsi_cmd(cur_file, &ucmd, (option_msg) ? F_NORMAL : F_SILENT); in default_all_pages()
|
/titanic_50/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 659 scsi_printerr(struct uscsi_cmd *ucmd, struct scsi_extended_sense *rq, int rqlen) in scsi_printerr() 712 sizeof (struct uscsi_cmd)); in scsi_printerr() 1042 uscsi_cmd(int fd, struct uscsi_cmd *ucmd, void *rqbuf, int *rqlen) in uscsi_cmd() function 1168 struct uscsi_cmd ucmd; in uscsi_request_sense() 1181 status = uscsi_cmd(fd, &ucmd, rqbuf, rqblen); in uscsi_request_sense() 1205 struct uscsi_cmd ucmd; in uscsi_mode_sense() 1231 status = uscsi_cmd(fd, &ucmd, rqbuf, rqblen); in uscsi_mode_sense() 1327 struct uscsi_cmd ucmd; in uscsi_mode_sense_10() 1352 status = uscsi_cmd(fd, &ucmd, rqbuf, rqblen); in uscsi_mode_sense_10() 1449 struct uscsi_cmd ucmd; in uscsi_mode_select() [all …]
|
/titanic_50/usr/src/lib/libbc/inc/include/scsi/impl/ |
H A D | uscsi.h | 43 struct uscsi_cmd { struct 64 #define USCSICMD _IOWR('u', 1, struct uscsi_cmd) /* user scsi command */ argument
|
/titanic_50/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 44 uscsi_cmd_init(struct uscsi_cmd *scmd, char *cdb, int cdblen) in uscsi_cmd_init() 52 uscsi(int fd, struct uscsi_cmd *scmd) in uscsi() 136 struct uscsi_cmd scmd; in mode_sense() 191 struct uscsi_cmd scmd; in get_configuration() 366 struct uscsi_cmd scmd; in get_disc_info() 412 struct uscsi_cmd scmd; in read_format_capacity() 483 struct uscsi_cmd scmd; in read_toc()
|
H A D | cdutils.h | 41 void uscsi_cmd_init(struct uscsi_cmd *scmd, char *cdb, int cdblen); 42 int uscsi(int fd, struct uscsi_cmd *scmd);
|
/titanic_50/usr/src/cmd/smserverd/ |
H A D | smediad.c | 249 static int32_t do_uscsi_cmd(int32_t file, struct uscsi_cmd *uscsi_cmd, 295 static int32_t invalid_uscsi_operation(door_data_t *, struct uscsi_cmd *); 302 invalid_uscsi_operation(door_data_t *door_dp, struct uscsi_cmd *ucmd) in invalid_uscsi_operation() 336 struct uscsi_cmd ucmd; in get_sector_size() 463 do_uscsi_cmd(int32_t file, struct uscsi_cmd *uscsi_cmd, int32_t flag) in do_uscsi_cmd() argument 470 uscsi_cmd->uscsi_flags = USCSI_ISOLATE; in do_uscsi_cmd() 473 uscsi_cmd->uscsi_flags |= USCSI_DIAGNOSE; in do_uscsi_cmd() 475 uscsi_cmd->uscsi_flags |= USCSI_SILENT; in do_uscsi_cmd() 478 uscsi_cmd->uscsi_flags |= flag; in do_uscsi_cmd() 481 ret_val = ioctl(file, USCSICMD, uscsi_cmd); in do_uscsi_cmd() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 136 static int sgen_uscsi_cmd(dev_t, struct uscsi_cmd *, int); 1183 retval = sgen_uscsi_cmd(dev, (struct uscsi_cmd *)arg, flag); in sgen_ioctl() 1202 sgen_uscsi_cmd(dev_t dev, struct uscsi_cmd *ucmd, int flag) in sgen_uscsi_cmd() 1204 struct uscsi_cmd *uscmd; in sgen_uscsi_cmd() 1445 struct uscsi_cmd *ucmd; in sgen_make_uscsi_cmd() 1453 ucmd = (struct uscsi_cmd *)bp->b_private; in sgen_make_uscsi_cmd() 1573 struct uscsi_cmd *ucmd; in sgen_callback() 1594 ucmd = (struct uscsi_cmd *)bp->b_private; in sgen_callback() 1726 struct uscsi_cmd *ucmd = in sgen_handle_autosense() 1727 (struct uscsi_cmd *)sg_state->sgen_cmdbuf->b_private; in sgen_handle_autosense() [all …]
|
/titanic_50/usr/src/lib/storage/libg_fc/common/hdrs/ |
H A D | g_state.h | 173 extern void g_scsi_printerr(struct uscsi_cmd *, 196 extern int cmd(int, struct uscsi_cmd *, int);
|
/titanic_50/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_subr.c | 2041 struct uscsi_cmd uic_cmd; 2085 struct uscsi_cmd **uscmdp) in scsi_uscsi_alloc_and_copyin() 2088 struct uscsi_cmd *uscmd; in scsi_uscsi_alloc_and_copyin() 2114 struct uscsi_cmd * 2133 struct uscsi_cmd **uscmdp) in scsi_uscsi_copyin() 2143 struct uscsi_cmd *uscmd = *uscmdp; in scsi_uscsi_copyin() 2161 bzero(uscmd, sizeof (struct uscsi_cmd)); in scsi_uscsi_copyin() 2352 struct uscsi_cmd *uscmd, int (*strat)(struct buf *), in scsi_uscsi_handle_cmd() 2476 scsi_uscsi_pktinit(struct uscsi_cmd *uscmd, struct scsi_pkt *pkt) in scsi_uscsi_pktinit() 2546 scsi_uscsi_pktfini(struct scsi_pkt *pkt, struct uscsi_cmd *uscmd) in scsi_uscsi_pktfini() [all …]
|
/titanic_50/usr/src/lib/mpapi/libmpapi/common/ |
H A D | mpapi-sun.h | 61 struct uscsi_cmd *cmd
|
H A D | mpapi-sun.c | 45 MP_OID pathOid, struct uscsi_cmd *cmd) in Sun_MP_SendScsiCmd()
|
/titanic_50/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 70 static void scsi_printerr(struct uscsi_cmd *ucmd, 75 static int issue_uscsi_cmd(int file, struct uscsi_cmd *command, int flag); 283 scsi_printerr(struct uscsi_cmd *ucmd, struct scsi_extended_sense *rq, in scsi_printerr() 376 sizeof (struct uscsi_cmd), HEX_ONLY, msg_string); in scsi_printerr() 391 issue_uscsi_cmd(int file, struct uscsi_cmd *command, int flag) in issue_uscsi_cmd() 617 struct uscsi_cmd ucmd; in scsi_mode_sense_cmd() 663 struct uscsi_cmd ucmd; in scsi_release() 690 struct uscsi_cmd ucmd; in scsi_reserve()
|
/titanic_50/usr/src/uts/common/sys/scsi/targets/ |
H A D | ses.h | 52 #define Uscmd struct uscsi_cmd 197 _NOTE(SCHEME_PROTECTS_DATA("unique per pkt", uscsi_cmd))
|
/titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | Sun_MP_SendScsiCmd.c | 40 Sun_MP_SendScsiCmd(MP_OID pathOid, struct uscsi_cmd *cmd) in Sun_MP_SendScsiCmd()
|
/titanic_50/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 330 static void fill_command_g1(struct uscsi_cmd *cmd, 1246 struct uscsi_cmd cmd; in get_cdrom_drvtype() 1313 struct uscsi_cmd cmd; in check_atapi() 1374 fill_command_g1(struct uscsi_cmd *cmd, union scsi_cdb *cdb, in fill_command_g1() 1377 bzero((caddr_t)cmd, sizeof (struct uscsi_cmd)); in fill_command_g1() 1419 struct uscsi_cmd ucmd; in uscsi_mode_sense()
|