Searched refs:ddb_entry (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_init.c | 48 struct ddb_entry *ddb_entry) in qla4xxx_free_ddb() argument 51 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = in qla4xxx_free_ddb() 52 (struct ddb_entry *) INVALID_ENTRY; in qla4xxx_free_ddb() 1002 struct ddb_entry *ddb_entry, uint32_t state) in qla4xxx_ddb_change() argument 1007 old_fw_ddb_device_state = ddb_entry->fw_ddb_device_state; in qla4xxx_ddb_change() 1011 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_ddb_change() 1013 ddb_entry->fw_ddb_device_state = state; in qla4xxx_ddb_change() 1020 qla4xxx_update_session_conn_param(ha, ddb_entry); in qla4xxx_ddb_change() 1021 ddb_entry->unblock_sess(ddb_entry->sess); in qla4xxx_ddb_change() 1026 iscsi_conn_login_event(ddb_entry->conn, in qla4xxx_ddb_change() [all …]
|
D | ql4_glbl.h | 19 void qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry); 24 int qla4xxx_reset_lun(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry, 27 struct ddb_entry *ddb_entry); 78 struct ddb_entry *ddb_entry, uint64_t lun, uint16_t mrkr_mod); 149 struct ddb_entry *ddb_entry, 153 struct ddb_entry *ddb_entry, int options); 162 struct ddb_entry *ddb_entry); 164 struct ddb_entry *ddb_entry); 182 struct ddb_entry *ddb_entry, uint32_t state); 184 struct ddb_entry *ddb_entry, uint32_t state); [all …]
|
D | ql4_inline.h | 20 static inline struct ddb_entry * 23 struct ddb_entry *ddb_entry = NULL; in qla4xxx_lookup_ddb_by_fw_index() local 27 (struct ddb_entry *) INVALID_ENTRY)) { in qla4xxx_lookup_ddb_by_fw_index() 28 ddb_entry = ha->fw_ddb_index_map[fw_ddb_index]; in qla4xxx_lookup_ddb_by_fw_index() 32 ha->host_no, __func__, fw_ddb_index, ddb_entry)); in qla4xxx_lookup_ddb_by_fw_index() 34 return ddb_entry; in qla4xxx_lookup_ddb_by_fw_index()
|
D | ql4_os.c | 838 struct ddb_entry *ddb_entry; in __qla4xxx_is_chap_active() local 845 ddb_entry = sess->dd_data; in __qla4xxx_is_chap_active() 850 if (ddb_entry->chap_tbl_idx == *chap_tbl_idx) in __qla4xxx_is_chap_active() 1815 struct ddb_entry *ddb_entry; in qla4xxx_conn_get_stats() local 1824 ddb_entry = sess->dd_data; in qla4xxx_conn_get_stats() 1825 ha = ddb_entry->ha; in qla4xxx_conn_get_stats() 1839 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats() 2851 struct ddb_entry *ddb_entry = sess->dd_data; in qla4xxx_session_get_param() local 2852 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_session_get_param() 2853 struct iscsi_cls_conn *cls_conn = ddb_entry->conn; in qla4xxx_session_get_param() [all …]
|
D | ql4_iocb.c | 85 struct ddb_entry *ddb_entry, uint64_t lun, uint16_t mrkr_mod) in qla4xxx_send_marker_iocb() argument 104 marker_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_marker_iocb() 275 struct ddb_entry *ddb_entry; in qla4xxx_send_command_to_isp() local 284 ddb_entry = srb->ddb; in qla4xxx_send_command_to_isp() 325 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp() 387 struct ddb_entry *ddb_entry = sess->dd_data; in qla4xxx_send_passthru0() local 388 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_send_passthru0() 407 passthru_iocb->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_passthru0()
|
D | ql4_isr.c | 120 struct ddb_entry *ddb_entry; in qla4xxx_status_entry() local 146 ddb_entry = srb->ddb; in qla4xxx_status_entry() 147 if (ddb_entry == NULL) { in qla4xxx_status_entry() 226 if (iscsi_is_session_online(ddb_entry->sess)) in qla4xxx_status_entry() 227 qla4xxx_mark_device_missing(ddb_entry->sess); in qla4xxx_status_entry() 324 if (iscsi_is_session_online(ddb_entry->sess)) in qla4xxx_status_entry() 325 qla4xxx_mark_device_missing(ddb_entry->sess); in qla4xxx_status_entry() 367 struct ddb_entry *ddb_entry; in qla4xxx_passthru_status_entry() local 377 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_passthru_status_entry() 379 if (ddb_entry == NULL) { in qla4xxx_passthru_status_entry() [all …]
|
D | ql4_mbx.c | 975 struct ddb_entry *ddb_entry, int options) in qla4xxx_session_logout_ddb() argument 985 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_session_logout_ddb() 997 set_bit(DDB_CONN_CLOSE_FAILURE, &ddb_entry->flags); in qla4xxx_session_logout_ddb() 1221 int qla4xxx_reset_lun(struct scsi_qla_host * ha, struct ddb_entry * ddb_entry, in qla4xxx_reset_lun() argument 1230 ddb_entry->fw_ddb_index, lun)); in qla4xxx_reset_lun() 1241 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_reset_lun() 1268 struct ddb_entry *ddb_entry) in qla4xxx_reset_target() argument 1275 ddb_entry->fw_ddb_index)); in qla4xxx_reset_target() 1285 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_reset_target() 1979 struct ddb_entry *ddb_entry, in qla4xxx_set_param_ddbentry() argument [all …]
|
D | ql4_def.h | 228 struct ddb_entry *ddb; 285 struct ddb_entry { struct 298 struct ddb_entry *ddb_entry, uint32_t state); argument 717 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];
|