FreeBSD kernel CAM code
|
#include <cam_xpt_internal.h>
Public Member Functions | |
TAILQ_ENTRY (cam_ed) links | |
STAILQ_ENTRY (cam_ed) highpowerq_entry | |
Data Fields | |
cam_pinfo | devq_entry |
struct cam_et * | target |
struct cam_sim * | sim |
lun_id_t | lun_id |
struct cam_ccbq | ccbq |
struct async_list | asyncs |
struct periph_list | periphs |
u_int | generation |
void * | quirk |
u_int | maxtags |
u_int | mintags |
cam_proto | protocol |
u_int | protocol_version |
cam_xport | transport |
u_int | transport_version |
struct scsi_inquiry_data | inq_data |
uint8_t * | supported_vpds |
uint8_t | supported_vpds_len |
uint32_t | device_id_len |
uint8_t * | device_id |
uint32_t | ext_inq_len |
uint8_t * | ext_inq |
uint8_t | physpath_len |
uint8_t * | physpath |
uint32_t | rcap_len |
uint8_t * | rcap_buf |
struct ata_params | ident_data |
struct mmc_params | mmc_ident_data |
u_int8_t | inq_flags |
u_int8_t | queue_flags |
u_int8_t | serial_num_len |
u_int8_t * | serial_num |
u_int32_t | flags |
u_int32_t | tag_delay_count |
u_int32_t | tag_saved_openings |
u_int32_t | refcount |
struct callout | callout |
struct mtx | device_mtx |
struct task | device_destroy_task |
struct nvme_controller_data * | nvme_cdata |
struct nvme_namespace_data * | nvme_data |
Definition at line 100 of file cam_xpt_internal.h.
cam_ed::STAILQ_ENTRY | ( | cam_ed | ) |
cam_ed::TAILQ_ENTRY | ( | cam_ed | ) |
struct async_list cam_ed::asyncs |
Definition at line 107 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_alloc_device(), and xpt_async_process_dev().
struct callout cam_ed::callout |
Definition at line 153 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_alloc_device(), xpt_release_device(), and xpt_release_devq_device().
struct cam_ccbq cam_ed::ccbq |
Definition at line 106 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_alloc_device(), xpt_dev_ccbq_resize(), xpt_done_process(), xpt_freeze_devq_device(), xpt_get_ccb(), xpt_get_ccb_nowait(), xpt_poll_setup(), xpt_release_ccb(), xpt_release_device(), xpt_release_devq_device(), xpt_run_allocq(), xpt_run_devq(), xpt_schedule_devq(), and xpt_setup_ccb_flags().
struct task cam_ed::device_destroy_task |
Definition at line 156 of file cam_xpt_internal.h.
Referenced by xpt_alloc_device(), and xpt_release_device().
uint8_t* cam_ed::device_id |
Definition at line 121 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_dev_advinfo(), mmc_dev_advinfo(), nvme_alloc_device(), nvme_dev_advinfo(), nvme_probe_done(), probedone(), scsi_alloc_device(), scsi_dev_advinfo(), and xpt_release_device().
uint32_t cam_ed::device_id_len |
Definition at line 120 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_dev_advinfo(), mmc_dev_advinfo(), nvme_alloc_device(), nvme_dev_advinfo(), nvme_probe_done(), probedone(), scsi_alloc_device(), and scsi_dev_advinfo().
struct mtx cam_ed::device_mtx |
Definition at line 155 of file cam_xpt_internal.h.
Referenced by xpt_alloc_device(), xpt_async_process_dev(), xpt_destroy_device(), xpt_path_mtx(), and xptdevicetraverse().
cam_pinfo cam_ed::devq_entry |
Definition at line 101 of file cam_xpt_internal.h.
Referenced by device_is_queued(), xpt_alloc_device(), xpt_freeze_devq_device(), xpt_release_device(), and xpt_schedule_devq().
uint8_t* cam_ed::ext_inq |
Definition at line 123 of file cam_xpt_internal.h.
Referenced by probedone(), scsi_dev_advinfo(), and xpt_release_device().
uint32_t cam_ed::ext_inq_len |
Definition at line 122 of file cam_xpt_internal.h.
Referenced by probedone(), and scsi_dev_advinfo().
u_int32_t cam_ed::flags |
Definition at line 139 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobeschedule(), aprobestart(), ata_action(), ata_dev_async(), ata_device_transport(), ata_get_transfer_settings(), ata_set_transfer_settings(), mmc_dev_async(), mmcprobe_done(), mmcprobe_register(), mmcprobe_start(), nvme_dev_async(), nvme_probe_done(), probedone(), proberequestbackoff(), probeschedule(), probestart(), scsi_dev_async(), scsi_devise_transport(), scsi_scan_bus(), scsi_set_transfer_settings(), scsi_toggle_tags(), xpt_action_default(), xpt_alloc_device(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_dev_ccbq_resize(), xpt_done_process(), xpt_release_device(), xpt_release_devq_device(), xpt_setup_ccb_flags(), xpt_start_tags(), xpt_stop_tags(), xptedtdevicefunc(), xptopen(), and xptsetasyncfunc().
u_int cam_ed::generation |
Definition at line 109 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_add_periph(), xpt_alloc_device(), xpt_remove_periph(), xptdoioctl(), xptedtdevicefunc(), and xptedtperiphfunc().
struct ata_params cam_ed::ident_data |
Definition at line 128 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobestart(), ata_action(), ata_device_transport(), ata_find_quirk(), ata_proto_announce(), ata_proto_announce_sbuf(), ata_proto_denounce(), ata_proto_denounce_sbuf(), ata_set_transfer_settings(), dastart(), semb_proto_announce(), semb_proto_announce_sbuf(), semb_proto_denounce(), semb_proto_denounce_sbuf(), xpt_action_default(), and xptedtdevicefunc().
struct scsi_inquiry_data cam_ed::inq_data |
Definition at line 117 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobestart(), ata_alloc_device(), ata_device_transport(), ata_set_transfer_settings(), mmc_alloc_device(), probedone(), probestart(), scsi_alloc_device(), scsi_devise_transport(), scsi_find_quirk(), scsi_proto_announce(), scsi_proto_announce_sbuf(), scsi_proto_debug_out(), scsi_proto_denounce(), scsi_proto_denounce_sbuf(), scsi_set_transfer_settings(), xpt_action_default(), xptdevicematch(), and xptedtdevicefunc().
u_int8_t cam_ed::inq_flags |
Definition at line 130 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobestart(), ata_alloc_device(), ata_get_transfer_settings(), ata_set_transfer_settings(), mmc_alloc_device(), nvme_alloc_device(), scsi_alloc_device(), scsi_set_transfer_settings(), scsi_toggle_tags(), xpt_action_default(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_dev_ccbq_resize(), xpt_run_devq(), xpt_start_tags(), and xpt_stop_tags().
lun_id_t cam_ed::lun_id |
Definition at line 105 of file cam_xpt_internal.h.
Referenced by ata_alloc_device(), ata_dev_async(), ata_scan_lun(), mmc_alloc_device(), mmc_dev_async(), nvme_alloc_device(), nvme_dev_async(), probedone(), scsi_alloc_device(), scsi_dev_async(), scsi_scan_bus(), scsi_scan_lun(), xpt_alloc_device(), xpt_alloc_device_default(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_async(), xpt_async_process(), xpt_async_process_dev(), xpt_compile_path(), xpt_denounce_periph(), xpt_denounce_periph_sbuf(), xpt_dev_async_default(), xpt_find_device(), xpt_path_comp(), xpt_path_comp_dev(), xpt_path_lun_id(), xpt_path_sbuf(), xpt_print_device(), xpt_rescan(), xpt_setup_ccb_flags(), xptdevicematch(), xptdoioctl(), xptedtdevicefunc(), xptedtperiphfunc(), xptperiphmatch(), xptplistperiphfunc(), and xptsetasyncfunc().
u_int cam_ed::maxtags |
Definition at line 111 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_alloc_device(), ata_find_quirk(), mmc_alloc_device(), nvme_alloc_device(), scsi_alloc_device(), scsi_find_quirk(), xpt_action_default(), xpt_alloc_device_default(), and xpt_start_tags().
u_int cam_ed::mintags |
Definition at line 112 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_alloc_device(), ata_find_quirk(), ata_set_transfer_settings(), mmc_alloc_device(), nvme_alloc_device(), scsi_alloc_device(), scsi_find_quirk(), scsi_set_transfer_settings(), xpt_action_default(), and xpt_alloc_device_default().
struct mmc_params cam_ed::mmc_ident_data |
Definition at line 129 of file cam_xpt_internal.h.
Referenced by get_rca(), mmc_dev_advinfo(), mmc_proto_announce(), mmc_set_timing(), mmcprobe_done(), mmcprobe_register(), mmcprobe_start(), sdda_process_mmc_partitions(), sdda_set_bus_width(), sdda_start_init(), sddaasync(), sddadump(), and sddastart().
struct nvme_controller_data* cam_ed::nvme_cdata |
Definition at line 157 of file cam_xpt_internal.h.
Referenced by nvme_dev_advinfo(), nvme_get_identify_cntrl(), nvme_probe_done(), nvme_proto_announce(), and xpt_release_device().
struct nvme_namespace_data* cam_ed::nvme_data |
Definition at line 158 of file cam_xpt_internal.h.
Referenced by nvme_dev_advinfo(), nvme_get_identify_ns(), nvme_probe_done(), nvme_proto_announce(), and xpt_release_device().
struct periph_list cam_ed::periphs |
Definition at line 108 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_add_periph(), xpt_alloc_device(), xpt_release_device(), xpt_remove_periph(), xptdoioctl(), xptpassannouncefunc(), and xptperiphtraverse().
uint8_t* cam_ed::physpath |
Definition at line 125 of file cam_xpt_internal.h.
Referenced by ata_dev_advinfo(), nvme_dev_advinfo(), scsi_dev_advinfo(), and xpt_release_device().
uint8_t cam_ed::physpath_len |
Definition at line 124 of file cam_xpt_internal.h.
Referenced by ata_dev_advinfo(), nvme_dev_advinfo(), and scsi_dev_advinfo().
cam_proto cam_ed::protocol |
Definition at line 113 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobeschedule(), aprobestart(), ata_action(), ata_device_transport(), ata_get_transfer_settings(), ata_set_transfer_settings(), mmcprobe_done(), nvme_device_transport(), scsi_devise_transport(), scsi_set_transfer_settings(), xpt_action_default(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_denounce_periph(), xpt_denounce_periph_sbuf(), xpt_run_devq(), and xptedtdevicefunc().
u_int cam_ed::protocol_version |
Definition at line 114 of file cam_xpt_internal.h.
Referenced by ata_device_transport(), ata_get_transfer_settings(), ata_set_transfer_settings(), nvme_device_transport(), scsi_devise_transport(), scsi_set_transfer_settings(), and xpt_action_default().
u_int8_t cam_ed::queue_flags |
Definition at line 136 of file cam_xpt_internal.h.
Referenced by ata_alloc_device(), ata_set_transfer_settings(), mmc_alloc_device(), nvme_alloc_device(), probedone(), scsi_alloc_device(), and scsi_set_transfer_settings().
void* cam_ed::quirk |
Definition at line 110 of file cam_xpt_internal.h.
Referenced by ata_alloc_device(), ata_find_quirk(), mmc_alloc_device(), nvme_alloc_device(), scsi_alloc_device(), and scsi_find_quirk().
uint8_t* cam_ed::rcap_buf |
Definition at line 127 of file cam_xpt_internal.h.
Referenced by scsi_dev_advinfo(), and xpt_release_device().
uint32_t cam_ed::rcap_len |
Definition at line 126 of file cam_xpt_internal.h.
Referenced by scsi_dev_advinfo().
u_int32_t cam_ed::refcount |
Definition at line 152 of file cam_xpt_internal.h.
Referenced by xpt_acquire_device(), xpt_alloc_device(), xpt_find_device(), xpt_path_counts(), xpt_release_device(), xptdevicetraverse(), and xptedttargetfunc().
u_int8_t* cam_ed::serial_num |
Definition at line 138 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_alloc_device(), ata_dev_advinfo(), cam_periph_alloc(), mmc_alloc_device(), mmc_dev_advinfo(), nvme_alloc_device(), nvme_dev_advinfo(), nvme_probe_done(), probedone(), probestart(), scsi_alloc_device(), scsi_dev_advinfo(), xpt_action_default(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_denounce_periph(), xpt_denounce_periph_sbuf(), and xpt_release_device().
u_int8_t cam_ed::serial_num_len |
Definition at line 137 of file cam_xpt_internal.h.
Referenced by aprobedone(), ata_alloc_device(), ata_dev_advinfo(), mmc_alloc_device(), mmc_dev_advinfo(), nvme_alloc_device(), nvme_dev_advinfo(), nvme_probe_done(), probedone(), probestart(), scsi_alloc_device(), scsi_dev_advinfo(), xpt_action_default(), xpt_announce_periph(), xpt_announce_periph_sbuf(), xpt_denounce_periph(), and xpt_denounce_periph_sbuf().
struct cam_sim* cam_ed::sim |
Definition at line 104 of file cam_xpt_internal.h.
Referenced by xpt_action_default(), xpt_alloc_device(), xpt_async_bcast(), xpt_dev_ccbq_resize(), xpt_done_process(), xpt_freeze_devq(), xpt_freeze_devq_device(), xpt_poll_setup(), xpt_print_device(), xpt_release_devq(), xpt_release_devq_device(), xpt_release_devq_timeout(), and xpt_run_devq().
uint8_t* cam_ed::supported_vpds |
Definition at line 118 of file cam_xpt_internal.h.
Referenced by probedone(), scsi_alloc_device(), and xpt_release_device().
uint8_t cam_ed::supported_vpds_len |
Definition at line 119 of file cam_xpt_internal.h.
Referenced by probedone(), and scsi_alloc_device().
u_int32_t cam_ed::tag_delay_count |
Definition at line 149 of file cam_xpt_internal.h.
Referenced by ata_set_transfer_settings(), scsi_set_transfer_settings(), xpt_alloc_device(), xpt_done_process(), and xpt_stop_tags().
u_int32_t cam_ed::tag_saved_openings |
Definition at line 151 of file cam_xpt_internal.h.
Referenced by xpt_alloc_device(), xpt_dev_ccbq_resize(), and xpt_start_tags().
struct cam_et* cam_ed::target |
Definition at line 103 of file cam_xpt_internal.h.
Referenced by ata_alloc_device(), mmc_alloc_device(), mmc_dev_async(), nvme_alloc_device(), scsi_alloc_device(), scsi_scan_bus(), xpt_acquire_device(), xpt_add_periph(), xpt_alloc_device(), xpt_alloc_device_default(), xpt_async_process_dev(), xpt_compile_path(), xpt_find_device(), xpt_path_comp_dev(), xpt_print_device(), xpt_release_device(), xpt_remove_periph(), xptdevicematch(), xptdevicetraverse(), xptedtdevicefunc(), xptedttargetfunc(), xptperiphtraverse(), and xptsetasyncfunc().
cam_xport cam_ed::transport |
Definition at line 115 of file cam_xpt_internal.h.
Referenced by aprobedone(), aprobestart(), ata_device_transport(), ata_get_transfer_settings(), ata_set_transfer_settings(), nvme_device_transport(), scsi_devise_transport(), and scsi_set_transfer_settings().
u_int cam_ed::transport_version |
Definition at line 116 of file cam_xpt_internal.h.
Referenced by ata_device_transport(), ata_get_transfer_settings(), ata_set_transfer_settings(), nvme_device_transport(), scsi_devise_transport(), and scsi_set_transfer_settings().