Home
last modified time | relevance | path

Searched refs:ddb_entry (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_init.c51 struct ddb_entry *ddb_entry) in qla4xxx_free_ddb() argument
54 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = in qla4xxx_free_ddb()
55 (struct ddb_entry *) INVALID_ENTRY; in qla4xxx_free_ddb()
869 struct ddb_entry *ddb_entry, uint32_t state) in qla4xxx_ddb_change() argument
874 old_fw_ddb_device_state = ddb_entry->fw_ddb_device_state; in qla4xxx_ddb_change()
878 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_ddb_change()
880 ddb_entry->fw_ddb_device_state = state; in qla4xxx_ddb_change()
887 ddb_entry->unblock_sess(ddb_entry->sess); in qla4xxx_ddb_change()
888 qla4xxx_update_session_conn_param(ha, ddb_entry); in qla4xxx_ddb_change()
893 iscsi_conn_login_event(ddb_entry->conn, in qla4xxx_ddb_change()
[all …]
Dql4_glbl.h20 void qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry);
25 int qla4xxx_reset_lun(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry,
28 struct ddb_entry *ddb_entry);
79 struct ddb_entry *ddb_entry, int 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 …]
Dql4_os.c426 struct ddb_entry *ddb_entry; in __qla4xxx_is_chap_active() local
433 ddb_entry = sess->dd_data; in __qla4xxx_is_chap_active()
438 if (ddb_entry->chap_tbl_idx == *chap_tbl_idx) in __qla4xxx_is_chap_active()
753 struct ddb_entry *ddb_entry; in qla4xxx_conn_get_stats() local
764 ddb_entry = sess->dd_data; in qla4xxx_conn_get_stats()
765 ha = ddb_entry->ha; in qla4xxx_conn_get_stats()
777 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
1303 struct ddb_entry *ddb_entry = sess->dd_data; in qla4xxx_session_get_param() local
1304 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_session_get_param()
1399 struct ddb_entry *ddb_entry, in qla4xxx_match_ipaddress() argument
[all …]
Dql4_inline.h21 static inline struct ddb_entry *
24 struct ddb_entry *ddb_entry = NULL; in qla4xxx_lookup_ddb_by_fw_index() local
28 (struct ddb_entry *) INVALID_ENTRY)) { in qla4xxx_lookup_ddb_by_fw_index()
29 ddb_entry = ha->fw_ddb_index_map[fw_ddb_index]; in qla4xxx_lookup_ddb_by_fw_index()
33 ha->host_no, __func__, fw_ddb_index, ddb_entry)); in qla4xxx_lookup_ddb_by_fw_index()
35 return ddb_entry; in qla4xxx_lookup_ddb_by_fw_index()
Dql4_iocb.c86 struct ddb_entry *ddb_entry, int lun, uint16_t mrkr_mod) in qla4xxx_send_marker_iocb() argument
105 marker_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_marker_iocb()
264 struct ddb_entry *ddb_entry; in qla4xxx_send_command_to_isp() local
274 ddb_entry = srb->ddb; in qla4xxx_send_command_to_isp()
315 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp()
386 struct ddb_entry *ddb_entry = sess->dd_data; in qla4xxx_send_passthru0() local
387 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_send_passthru0()
406 passthru_iocb->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_passthru0()
Dql4_isr.c121 struct ddb_entry *ddb_entry; in qla4xxx_status_entry() local
147 ddb_entry = srb->ddb; in qla4xxx_status_entry()
148 if (ddb_entry == NULL) { in qla4xxx_status_entry()
227 if (iscsi_is_session_online(ddb_entry->sess)) in qla4xxx_status_entry()
228 qla4xxx_mark_device_missing(ddb_entry->sess); in qla4xxx_status_entry()
309 if (iscsi_is_session_online(ddb_entry->sess)) in qla4xxx_status_entry()
310 qla4xxx_mark_device_missing(ddb_entry->sess); in qla4xxx_status_entry()
352 struct ddb_entry *ddb_entry; in qla4xxx_passthru_status_entry() local
362 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_passthru_status_entry()
364 if (ddb_entry == NULL) { in qla4xxx_passthru_status_entry()
[all …]
Dql4_mbx.c794 struct ddb_entry *ddb_entry, int options) in qla4xxx_session_logout_ddb() argument
804 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_session_logout_ddb()
1036 int qla4xxx_reset_lun(struct scsi_qla_host * ha, struct ddb_entry * ddb_entry, in qla4xxx_reset_lun() argument
1044 ddb_entry->fw_ddb_index, lun)); in qla4xxx_reset_lun()
1054 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_reset_lun()
1077 struct ddb_entry *ddb_entry) in qla4xxx_reset_target() argument
1084 ddb_entry->fw_ddb_index)); in qla4xxx_reset_target()
1094 mbox_cmd[1] = ddb_entry->fw_ddb_index; in qla4xxx_reset_target()
1593 struct ddb_entry *ddb_entry, in qla4xxx_set_param_ddbentry() argument
1637 *ptid = cpu_to_le16((uint16_t)ddb_entry->sess->target_id); in qla4xxx_set_param_ddbentry()
[all …]
Dql4_def.h191 struct ddb_entry *ddb;
248 struct ddb_entry { struct
261 struct ddb_entry *ddb_entry, uint32_t state); argument
627 struct ddb_entry *fw_ddb_index_map[MAX_DDB_ENTRIES];