Lines Matching refs:bottom

394 			(unsigned long long)qtcb->bottom.support.req_handle);  in zfcp_fsf_protstatus_eval()
520 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config; in zfcp_fsf_exchange_config_evaluate() local
525 plogi = (struct fc_els_flogi *) ((u8 *)&bottom->plogi_payload in zfcp_fsf_exchange_config_evaluate()
529 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_config_evaluate()
531 adapter->timer_ticks = bottom->timer_interval & ZFCP_FSF_TIMER_INT_MASK; in zfcp_fsf_exchange_config_evaluate()
532 adapter->stat_read_buf_num = max(bottom->status_read_buf_num, in zfcp_fsf_exchange_config_evaluate()
540 adapter->hydra_version = bottom->adapter_type; in zfcp_fsf_exchange_config_evaluate()
542 switch (bottom->fc_topology) { in zfcp_fsf_exchange_config_evaluate()
544 adapter->peer_d_id = ntoh24(bottom->peer_d_id); in zfcp_fsf_exchange_config_evaluate()
568 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config; in zfcp_fsf_exchange_config_data_handler() local
573 adapter->fsf_lic_version = bottom->lic_version; in zfcp_fsf_exchange_config_data_handler()
574 adapter->adapter_features = bottom->adapter_features; in zfcp_fsf_exchange_config_data_handler()
575 adapter->connection_features = bottom->connection_features; in zfcp_fsf_exchange_config_data_handler()
586 zfcp_diag_update_xdata(diag_hdr, bottom, false); in zfcp_fsf_exchange_config_data_handler()
588 zfcp_scsi_shost_update_config_data(adapter, bottom, false); in zfcp_fsf_exchange_config_data_handler()
592 if (bottom->max_qtcb_size < sizeof(struct fsf_qtcb)) { in zfcp_fsf_exchange_config_data_handler()
596 bottom->max_qtcb_size); in zfcp_fsf_exchange_config_data_handler()
604 zfcp_diag_update_xdata(diag_hdr, bottom, true); in zfcp_fsf_exchange_config_data_handler()
614 zfcp_scsi_shost_update_config_data(adapter, bottom, true); in zfcp_fsf_exchange_config_data_handler()
624 adapter->hardware_version = bottom->hardware_version; in zfcp_fsf_exchange_config_data_handler()
626 if (FSF_QTCB_CURRENT_VERSION < bottom->low_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
633 if (FSF_QTCB_CURRENT_VERSION > bottom->high_qtcb_version) { in zfcp_fsf_exchange_config_data_handler()
737 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port; in zfcp_fsf_exchange_port_evaluate() local
740 memcpy(req->data, bottom, sizeof(*bottom)); in zfcp_fsf_exchange_port_evaluate()
744 bottom->fc_security_algorithms; in zfcp_fsf_exchange_port_evaluate()
755 struct fsf_qtcb_bottom_port *bottom = &qtcb->bottom.port; in zfcp_fsf_exchange_port_data_handler() local
766 zfcp_diag_update_xdata(diag_hdr, bottom, false); in zfcp_fsf_exchange_port_data_handler()
768 zfcp_scsi_shost_update_port_data(req->adapter, bottom); in zfcp_fsf_exchange_port_data_handler()
772 zfcp_diag_update_xdata(diag_hdr, bottom, true); in zfcp_fsf_exchange_port_data_handler()
778 zfcp_scsi_shost_update_port_data(req->adapter, bottom); in zfcp_fsf_exchange_port_data_handler()
1050 req->qtcb->bottom.support.req_handle = (u64) old_req_id; in zfcp_fsf_abort_fcp_cmnd()
1135 qtcb->bottom.support.req_buf_length = in zfcp_fsf_setup_ct_els_sbals()
1139 qtcb->bottom.support.resp_buf_length = in zfcp_fsf_setup_ct_els_sbals()
1161 qtcb->bottom.support.req_buf_length = zfcp_qdio_real_bytes(sg_req); in zfcp_fsf_setup_ct_els_sbals()
1169 qtcb->bottom.support.resp_buf_length = zfcp_qdio_real_bytes(sg_resp); in zfcp_fsf_setup_ct_els_sbals()
1190 req->qtcb->bottom.support.service_class = FSF_CLASS_3; in zfcp_fsf_setup_ct_els()
1191 req->qtcb->bottom.support.timeout = timeout; in zfcp_fsf_setup_ct_els()
1330 hton24(req->qtcb->bottom.support.d_id, d_id); in zfcp_fsf_send_els()
1373 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data()
1428 req->qtcb->bottom.config.feature_selection = in zfcp_fsf_exchange_config_data_sync()
1679 struct fsf_qtcb_bottom_support *bottom = &req->qtcb->bottom.support; in zfcp_fsf_open_port_handler() local
1717 port->connection_info = bottom->connection_info; in zfcp_fsf_open_port_handler()
1740 plogi = (struct fc_els_flogi *) bottom->els; in zfcp_fsf_open_port_handler()
1741 if (bottom->els1_length >= FSF_PLOGI_MIN_LEN) in zfcp_fsf_open_port_handler()
1782 hton24(req->qtcb->bottom.support.d_id, port->d_id); in zfcp_fsf_open_port()
1924 hton24(req->qtcb->bottom.support.d_id, wka_port->d_id); in zfcp_fsf_open_wka_port()
2196 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
2203 req->qtcb->bottom.support.option = FSF_OPEN_LUN_SUPPRESS_BOXING; in zfcp_fsf_open_lun()
2337 switch (req->qtcb->bottom.io.data_direction) { in zfcp_fsf_req_trace()
2400 req->qtcb->bottom.io.data_direction, in zfcp_fsf_fcp_handler_common()
2409 req->qtcb->bottom.io.fcp_cmnd_length); in zfcp_fsf_fcp_handler_common()
2479 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_cmnd_handler()
2575 io = &req->qtcb->bottom.io; in zfcp_fsf_fcp_cmnd()
2593 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_cmnd()
2640 fcp_rsp = &req->qtcb->bottom.io.fcp_rsp.iu; in zfcp_fsf_fcp_task_mgmt_handler()
2685 req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND; in zfcp_fsf_fcp_task_mgmt()
2686 req->qtcb->bottom.io.service_class = FSF_CLASS_3; in zfcp_fsf_fcp_task_mgmt()
2687 req->qtcb->bottom.io.fcp_cmnd_length = FCP_CMND_LEN; in zfcp_fsf_fcp_task_mgmt()
2691 fcp_cmnd = &req->qtcb->bottom.io.fcp_cmnd.iu; in zfcp_fsf_fcp_task_mgmt()