H A D | scsi_all.c | 3741 scsi_desc_iterate(struct scsi_sense_data_desc *sense, u_int sense_len, in scsi_desc_iterate() argument 3807 scsi_find_desc_func(struct scsi_sense_data_desc *sense, u_int sense_len, in scsi_find_desc_func() argument 3829 scsi_find_desc(struct scsi_sense_data_desc *sense, u_int sense_len, in scsi_find_desc() argument 3847 u_int *sense_len, scsi_sense_data_type sense_format, int current_error, in scsi_set_sense_data_desc_va() argument 3995 scsi_set_sense_data_fixed_va(struct scsi_sense_data * sense_data,u_int * sense_len,scsi_sense_data_type sense_format,int current_error,int sense_key,int asc,int ascq,va_list ap) scsi_set_sense_data_fixed_va() argument 4098 scsi_set_sense_data_va(struct scsi_sense_data * sense_data,u_int * sense_len,scsi_sense_data_type sense_format,int current_error,int sense_key,int asc,int ascq,va_list ap) scsi_set_sense_data_va() argument 4119 u_int sense_len = SSD_FULL_SIZE; scsi_set_sense_data() local 4128 scsi_set_sense_data_len(struct scsi_sense_data * sense_data,u_int * sense_len,scsi_sense_data_type sense_format,int current_error,int sense_key,int asc,int ascq,...) scsi_set_sense_data_len() argument 4144 scsi_get_sense_info(struct scsi_sense_data * sense_data,u_int sense_len,uint8_t info_type,uint64_t * info,int64_t * signed_info) scsi_get_sense_info() argument 4276 scsi_get_sks(struct scsi_sense_data * sense_data,u_int sense_len,uint8_t * sks) scsi_get_sks() argument 4334 scsi_get_block_info(struct scsi_sense_data * sense_data,u_int sense_len,struct scsi_inquiry_data * inq_data,uint8_t * block_bits) scsi_get_block_info() argument 4389 scsi_get_stream_info(struct scsi_sense_data * sense_data,u_int sense_len,struct scsi_inquiry_data * inq_data,uint8_t * stream_bits) scsi_get_stream_info() argument 4599 scsi_sense_info_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_info_sbuf() argument 4615 scsi_sense_command_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_command_sbuf() argument 4629 scsi_sense_sks_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_sks_sbuf() argument 4649 scsi_sense_fru_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_fru_sbuf() argument 4665 scsi_sense_stream_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_stream_sbuf() argument 4677 scsi_sense_block_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_block_sbuf() argument 4689 scsi_sense_progress_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_progress_sbuf() argument 4723 scsi_sense_ata_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_ata_sbuf() argument 4770 scsi_sense_forwarded_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_forwarded_sbuf() argument 4794 scsi_sense_generic_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_generic_sbuf() argument 4841 scsi_sense_desc_sbuf(struct sbuf * sb,struct scsi_sense_data * sense,u_int sense_len,uint8_t * cdb,int cdb_len,struct scsi_inquiry_data * inq_data,struct scsi_sense_desc_header * header) scsi_sense_desc_sbuf() argument 4903 scsi_print_desc_func(struct scsi_sense_data_desc * sense,u_int sense_len,struct scsi_sense_desc_header * header,void * arg) scsi_print_desc_func() argument 4941 scsi_sense_only_sbuf(struct scsi_sense_data * sense,u_int sense_len,struct sbuf * sb,char * path_str,struct scsi_inquiry_data * inq_data,uint8_t * cdb,int cdb_len) scsi_sense_only_sbuf() argument 5328 scsi_extract_sense_len(struct scsi_sense_data * sense_data,u_int sense_len,int * error_code,int * sense_key,int * asc,int * ascq,int show_errors) scsi_extract_sense_len() argument 5404 scsi_get_sense_key(struct scsi_sense_data * sense_data,u_int sense_len,int show_errors) scsi_get_sense_key() argument 5416 scsi_get_asc(struct scsi_sense_data * sense_data,u_int sense_len,int show_errors) scsi_get_asc() argument 5428 scsi_get_ascq(struct scsi_sense_data * sense_data,u_int sense_len,int show_errors) scsi_get_ascq() argument 7632 scsi_test_unit_ready(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t sense_len,uint32_t timeout) scsi_test_unit_ready() argument 7656 scsi_request_sense(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),void * data_ptr,uint8_t dxfer_len,uint8_t tag_action,uint8_t sense_len,uint32_t timeout) scsi_request_sense() argument 7681 scsi_inquiry(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t * inq_buf,uint32_t inq_len,int evpd,uint8_t page_code,uint8_t sense_len,uint32_t timeout) scsi_inquiry() argument 7711 scsi_mode_sense(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int dbd,uint8_t pc,uint8_t page,uint8_t * param_buf,uint32_t param_len,uint8_t sense_len,uint32_t timeout) scsi_mode_sense() argument 7722 scsi_mode_sense_len(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int dbd,uint8_t pc,uint8_t page,uint8_t * param_buf,uint32_t param_len,int minimum_cmd_size,uint8_t sense_len,uint32_t timeout) scsi_mode_sense_len() argument 7734 scsi_mode_sense_subpage(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int dbd,uint8_t pc,uint8_t page,uint8_t subpage,uint8_t * param_buf,uint32_t param_len,int minimum_cmd_size,uint8_t sense_len,uint32_t timeout) scsi_mode_sense_subpage() argument 7790 scsi_mode_select(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int scsi_page_fmt,int save_pages,uint8_t * param_buf,uint32_t param_len,uint8_t sense_len,uint32_t timeout) scsi_mode_select() argument 7803 scsi_mode_select_len(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int scsi_page_fmt,int save_pages,uint8_t * param_buf,uint32_t param_len,int minimum_cmd_size,uint8_t sense_len,uint32_t timeout) scsi_mode_select_len() argument 7861 scsi_log_sense(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t page_code,uint8_t page,int save_pages,int ppc,uint32_t paramptr,uint8_t * param_buf,uint32_t param_len,uint8_t sense_len,uint32_t timeout) scsi_log_sense() argument 7896 scsi_log_select(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t page_code,int save_pages,int pc_reset,uint8_t * param_buf,uint32_t param_len,uint8_t sense_len,uint32_t timeout) scsi_log_select() argument 7931 scsi_prevent(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t action,uint8_t sense_len,uint32_t timeout) scsi_prevent() argument 7958 scsi_read_capacity(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,struct scsi_read_capacity_data * rcap_buf,uint8_t sense_len,uint32_t timeout) scsi_read_capacity() argument 7982 scsi_read_capacity_16(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint64_t lba,int reladr,int pmi,uint8_t * rcap_buf,int rcap_buf_len,uint8_t sense_len,uint32_t timeout) scsi_read_capacity_16() argument 8014 scsi_report_luns(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t select_report,struct scsi_report_luns_data * rpl_buf,uint32_t alloc_len,uint8_t sense_len,uint32_t timeout) scsi_report_luns() argument 8040 scsi_report_target_group(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t pdf,void * buf,uint32_t alloc_len,uint8_t sense_len,uint32_t timeout) scsi_report_target_group() argument 8066 scsi_report_timestamp(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t pdf,void * buf,uint32_t alloc_len,uint8_t sense_len,uint32_t timeout) scsi_report_timestamp() argument 8091 scsi_set_target_group(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,void * buf,uint32_t alloc_len,uint8_t sense_len,uint32_t timeout) scsi_set_target_group() argument 8130 scsi_set_timestamp(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,void * buf,uint32_t alloc_len,uint8_t sense_len,uint32_t timeout) scsi_set_timestamp() argument 8160 scsi_synchronize_cache(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint32_t begin_lba,uint16_t lb_count,uint8_t sense_len,uint32_t timeout) scsi_synchronize_cache() argument 8188 scsi_read_write(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int readop,uint8_t byte2,int minimum_cmd_size,uint64_t lba,uint32_t block_count,uint8_t * data_ptr,uint32_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_read_write() argument 8302 scsi_write_same(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t byte2,int minimum_cmd_size,uint64_t lba,uint32_t block_count,uint8_t * data_ptr,uint32_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_write_same() argument 8370 scsi_ata_identify(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t * data_ptr,uint16_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_ata_identify() argument 8403 scsi_ata_trim(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint16_t block_count,uint8_t * data_ptr,uint16_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_ata_trim() argument 8430 scsi_ata_read_log(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint32_t log_address,uint32_t page_number,uint16_t block_count,uint8_t protocol,uint8_t * data_ptr,uint32_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_ata_read_log() argument 8491 scsi_ata_setfeatures(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t feature,uint64_t lba,uint32_t count,uint8_t sense_len,uint32_t timeout) scsi_ata_setfeatures() argument 8535 scsi_ata_pass(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint32_t flags,uint8_t tag_action,uint8_t protocol,uint8_t ata_flags,uint16_t features,uint16_t sector_count,uint64_t lba,uint8_t command,uint8_t device,uint8_t icc,uint32_t auxiliary,uint8_t control,uint8_t * data_ptr,uint32_t dxfer_len,uint8_t * cdb_storage,size_t cdb_storage_len,int minimum_cmd_size,uint8_t sense_len,uint32_t timeout) scsi_ata_pass() argument 8704 scsi_ata_pass_16(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint32_t flags,uint8_t tag_action,uint8_t protocol,uint8_t ata_flags,uint16_t features,uint16_t sector_count,uint64_t lba,uint8_t command,uint8_t control,uint8_t * data_ptr,uint16_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_ata_pass_16() argument 8745 scsi_unmap(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t byte2,uint8_t * data_ptr,uint16_t dxfer_len,uint8_t sense_len,uint32_t timeout) scsi_unmap() argument 8775 scsi_receive_diagnostic_results(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int pcv,uint8_t page_code,uint8_t * data_ptr,uint16_t allocation_length,uint8_t sense_len,uint32_t timeout) scsi_receive_diagnostic_results() argument 8806 scsi_send_diagnostic(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int unit_offline,int device_offline,int self_test,int page_format,int self_test_code,uint8_t * data_ptr,uint16_t param_list_length,uint8_t sense_len,uint32_t timeout) scsi_send_diagnostic() argument 8847 scsi_get_physical_element_status(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t * data_ptr,uint16_t allocation_length,uint8_t report_type,uint32_t starting_element,uint8_t sense_len,uint32_t timeout) scsi_get_physical_element_status() argument 8875 scsi_remove_element_and_truncate(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint64_t requested_capacity,uint32_t element_id,uint8_t sense_len,uint32_t timeout) scsi_remove_element_and_truncate() argument 8902 scsi_restore_elements_and_rebuild(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t sense_len,uint32_t timeout) scsi_restore_elements_and_rebuild() argument 8929 scsi_read_buffer(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int mode,uint8_t buffer_id,uint32_t offset,uint8_t * data_ptr,uint32_t allocation_length,uint8_t sense_len,uint32_t timeout) scsi_read_buffer() argument 8959 scsi_write_buffer(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int mode,uint8_t buffer_id,uint32_t offset,uint8_t * data_ptr,uint32_t param_list_length,uint8_t sense_len,uint32_t timeout) scsi_write_buffer() argument 8987 scsi_start_stop(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int start,int load_eject,int immediate,uint8_t sense_len,uint32_t timeout) scsi_start_stop() argument 9023 scsi_read_attribute(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint8_t service_action,uint32_t element,uint8_t elem_type,int logical_volume,int partition,uint32_t first_attribute,int cache,uint8_t * data_ptr,uint32_t length,int sense_len,uint32_t timeout) scsi_read_attribute() argument 9059 scsi_write_attribute(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint32_t element,int logical_volume,int partition,int wtc,uint8_t * data_ptr,uint32_t length,int sense_len,uint32_t timeout) scsi_write_attribute() argument 9090 scsi_persistent_reserve_in(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int service_action,uint8_t * data_ptr,uint32_t dxfer_len,int sense_len,int timeout) scsi_persistent_reserve_in() argument 9119 scsi_persistent_reserve_out(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int service_action,int scope,int res_type,uint8_t * data_ptr,uint32_t dxfer_len,int sense_len,int timeout) scsi_persistent_reserve_out() argument 9148 scsi_security_protocol_in(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint32_t security_protocol,uint32_t security_protocol_specific,int byte4,uint8_t * data_ptr,uint32_t dxfer_len,int sense_len,int timeout) scsi_security_protocol_in() argument 9181 scsi_security_protocol_out(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,uint32_t security_protocol,uint32_t security_protocol_specific,int byte4,uint8_t * data_ptr,uint32_t dxfer_len,int sense_len,int timeout) scsi_security_protocol_out() argument 9214 scsi_report_supported_opcodes(struct ccb_scsiio * csio,uint32_t retries,void (* cbfcnp)(struct cam_periph *,union ccb *),uint8_t tag_action,int options,int req_opcode,int req_service_action,uint8_t * data_ptr,uint32_t dxfer_len,int sense_len,int timeout) scsi_report_supported_opcodes() argument [all...] |