Lines Matching refs:bottom

413 			(unsigned long long)qtcb->bottom.support.req_handle);  in zfcp_fsf_protstatus_eval()
539 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local
544 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
548 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate()
550 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate()
551 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate()
559 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate()
561 switch (bottom->fc_topology) { in zfcp_fsf_exchange_config_evaluate()
563 adapter->peer_d_id = ntoh24(bottom->peer_d_id); in zfcp_fsf_exchange_config_evaluate()
587 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config; in zfcp_fsf_exchange_config_data_handler() local
592 adapter->fsf_lic_version = bottom->lic_version; in zfcp_fsf_exchange_config_data_handler()
593 adapter->adapter_features = bottom->adapter_features; in zfcp_fsf_exchange_config_data_handler()
594 adapter->connection_features = bottom->connection_features; in zfcp_fsf_exchange_config_data_handler()
605 zfcp_diag_update_xdata(diag_hdr, bottom, false); in zfcp_fsf_exchange_config_data_handler()
607 zfcp_scsi_shost_update_config_data(adapter, bottom, false); in zfcp_fsf_exchange_config_data_handler()
611 if (bottom->max_qtcb_size < sizeof(struct fsf_qtcb)) { in zfcp_fsf_exchange_config_data_handler()
615 bottom->max_qtcb_size); in zfcp_fsf_exchange_config_data_handler()
623 zfcp_diag_update_xdata(diag_hdr, bottom, true); in zfcp_fsf_exchange_config_data_handler()
633 zfcp_scsi_shost_update_config_data(adapter, bottom, true); in zfcp_fsf_exchange_config_data_handler()
643 adapter->hardware_version = bottom->hardware_version; in zfcp_fsf_exchange_config_data_handler()
645 if (FSF_QTCB_CURRENT_VERSION < bottom->low_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
652 if (FSF_QTCB_CURRENT_VERSION > bottom->high_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
756 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port; in zfcp_fsf_exchange_port_evaluate() local
759 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_port_evaluate()
763 bottom->fc_security_algorithms; in zfcp_fsf_exchange_port_evaluate()
774 struct fsf_qtcb_bottom_port *bottom = &qtcb->bottom.port; in zfcp_fsf_exchange_port_data_handler() local
785 zfcp_diag_update_xdata(diag_hdr, bottom, false); in zfcp_fsf_exchange_port_data_handler()
787 zfcp_scsi_shost_update_port_data(req->adapter, bottom); in zfcp_fsf_exchange_port_data_handler()
791 zfcp_diag_update_xdata(diag_hdr, bottom, true); in zfcp_fsf_exchange_port_data_handler()
797 zfcp_scsi_shost_update_port_data(req->adapter, bottom); in zfcp_fsf_exchange_port_data_handler()
1068 req->qtcb->bottom.support.req_handle = (u64) old_req_id; in zfcp_fsf_abort_fcp_cmnd()
1153 qtcb->bottom.support.req_buf_length = in zfcp_fsf_setup_ct_els_sbals()
1157 qtcb->bottom.support.resp_buf_length = in zfcp_fsf_setup_ct_els_sbals()
1179 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals()
1187 qtcb->bottom.support.resp_buf_length = zfcp_qdio_real_bytes(sg_resp); in zfcp_fsf_setup_ct_els_sbals()
1208 req->qtcb->bottom.support.service_class = FSF_CLASS_3; in zfcp_fsf_setup_ct_els()
1209 req->qtcb->bottom.support.timeout = timeout; in zfcp_fsf_setup_ct_els()
1348 hton24(req->qtcb->bottom.support.d_id, d_id); in zfcp_fsf_send_els()
1391 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data()
1446 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data_sync()
1697 struct fsf_qtcb_bottom_support *bottom = &req->qtcb->bottom.support; in zfcp_fsf_open_port_handler() local
1735 port->connection_info = bottom->connection_info; in zfcp_fsf_open_port_handler()
1758 plogi = (struct fc_els_flogi *) bottom->els; in zfcp_fsf_open_port_handler()
1759 if (bottom->els1_length >= FSF_PLOGI_MIN_LEN) in zfcp_fsf_open_port_handler()
1800 hton24(req->qtcb->bottom.support.d_id, port->d_id); in zfcp_fsf_open_port()
1942 hton24(req->qtcb->bottom.support.d_id, wka_port->d_id); in zfcp_fsf_open_wka_port()
2214 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
2221 req->qtcb->bottom.support.option = FSF_OPEN_LUN_SUPPRESS_BOXING; in zfcp_fsf_open_lun()
2355 switch (req->qtcb->bottom.io.data_direction) { in zfcp_fsf_req_trace()
2417 req->qtcb->bottom.io.data_direction, in zfcp_fsf_fcp_handler_common()
2426 req->qtcb->bottom.io.fcp_cmnd_length); in zfcp_fsf_fcp_handler_common()
2496 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_cmnd_handler()
2592 io = &req->qtcb->bottom.io; in zfcp_fsf_fcp_cmnd()
2610 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_cmnd()
2657 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_task_mgmt_handler()
2702 req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND; in zfcp_fsf_fcp_task_mgmt()
2703 req->qtcb->bottom.io.service_class = FSF_CLASS_3; in zfcp_fsf_fcp_task_mgmt()
2704 req->qtcb->bottom.io.fcp_cmnd_length = FCP_CMND_LEN; in zfcp_fsf_fcp_task_mgmt()
2708 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_task_mgmt()