• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/scsi/

Lines Matching defs:qtcb

79 	struct fsf_qtcb_header *header = &req->qtcb->header;
92 struct fsf_qtcb_header *header = &req->qtcb->header;
118 if (likely(req->qtcb))
119 mempool_free(req->qtcb, req->adapter->pool.qtcb_pool);
124 if (likely(req->qtcb))
125 kmem_cache_free(zfcp_data.qtcb_cache, req->qtcb);
318 switch (req->qtcb->header.fsf_status_qual.word[0]) {
343 switch (req->qtcb->header.fsf_status) {
347 req->qtcb->header.fsf_command);
360 struct fsf_qtcb *qtcb = req->qtcb;
361 union fsf_prot_status_qual *psq = &qtcb->prefix.prot_status_qual;
370 switch (qtcb->prefix.prot_status) {
398 (unsigned long long)qtcb->bottom.support.req_handle);
420 qtcb->prefix.prot_status);
483 struct fsf_qtcb_bottom_config *bottom = &req->qtcb->bottom.config;
540 struct fsf_qtcb *qtcb = req->qtcb;
541 struct fsf_qtcb_bottom_config *bottom = &qtcb->bottom.config;
554 switch (qtcb->header.fsf_status) {
582 &qtcb->header.fsf_status_qual.link_down_info);
615 struct fsf_qtcb_bottom_port *bottom = &req->qtcb->bottom.port;
636 struct fsf_qtcb *qtcb = req->qtcb;
641 switch (qtcb->header.fsf_status) {
648 &qtcb->header.fsf_status_qual.link_down_info);
672 struct fsf_qtcb *qtcb;
675 qtcb = mempool_alloc(pool, GFP_ATOMIC);
677 qtcb = kmem_cache_alloc(zfcp_data.qtcb_cache, GFP_ATOMIC);
679 if (unlikely(!qtcb))
682 memset(qtcb, 0, sizeof(*qtcb));
683 return qtcb;
709 req->qtcb = zfcp_qtcb_alloc(adapter->pool.qtcb_pool);
711 req->qtcb = zfcp_qtcb_alloc(NULL);
713 if (unlikely(!req->qtcb)) {
719 req->qtcb->prefix.req_seq_no = adapter->fsf_req_seq_no;
720 req->qtcb->prefix.req_id = req->req_id;
721 req->qtcb->prefix.ulp_info = 26;
722 req->qtcb->prefix.qtcb_type = fsf_qtcb_type[req->fsf_command];
723 req->qtcb->prefix.qtcb_version = FSF_QTCB_CURRENT_VERSION;
724 req->qtcb->header.req_handle = req->req_id;
725 req->qtcb->header.fsf_command = req->fsf_command;
729 req->qtcb, sizeof(struct fsf_qtcb));
738 int with_qtcb = (req->qtcb != NULL);
815 union fsf_status_qual *fsq = &req->qtcb->header.fsf_status_qual;
820 switch (req->qtcb->header.fsf_status) {
893 req->qtcb->header.lun_handle = unit->handle;
894 req->qtcb->header.port_handle = unit->port->handle;
895 req->qtcb->bottom.support.req_handle = (u64) old_req_id;
913 struct fsf_qtcb_header *header = &req->qtcb->header;
997 req->qtcb->bottom.support.req_buf_length = bytes;
1002 req->qtcb->bottom.support.resp_buf_length = bytes;
1024 req->qtcb->bottom.support.service_class = FSF_CLASS_3;
1025 req->qtcb->bottom.support.timeout = timeout;
1062 req->qtcb->header.port_handle = wka_port->handle;
1084 struct fsf_qtcb_header *header = &req->qtcb->header;
1161 hton24(req->qtcb->bottom.support.d_id, d_id);
1202 req->qtcb->bottom.config.feature_selection =
1243 req->qtcb->bottom.config.feature_selection =
1363 struct fsf_qtcb_header *header = &req->qtcb->header;
1400 plogi = (struct fc_els_flogi *) req->qtcb->bottom.support.els;
1401 if (req->qtcb->bottom.support.els1_length >=
1443 hton24(req->qtcb->bottom.support.d_id, port->d_id);
1468 switch (req->qtcb->header.fsf_status) {
1513 req->qtcb->header.port_handle = erp_action->port->handle;
1530 struct fsf_qtcb_header *header = &req->qtcb->header;
1586 hton24(req->qtcb->bottom.support.d_id, wka_port->d_id);
1602 if (req->qtcb->header.fsf_status == FSF_PORT_HANDLE_NOT_VALID) {
1640 req->qtcb->header.port_handle = wka_port->handle;
1654 struct fsf_qtcb_header *header = &req->qtcb->header;
1731 req->qtcb->header.port_handle = erp_action->port->handle;
1751 struct fsf_qtcb_header *header = &req->qtcb->header;
1752 struct fsf_qtcb_bottom_support *bottom = &req->qtcb->bottom.support;
1901 req->qtcb->header.port_handle = erp_action->port->handle;
1902 req->qtcb->bottom.support.fcp_lun = erp_action->unit->fcp_lun;
1909 req->qtcb->bottom.support.option = FSF_OPEN_LUN_SUPPRESS_BOXING;
1929 switch (req->qtcb->header.fsf_status) {
1943 switch (req->qtcb->header.fsf_status_qual.word[0]) {
1985 req->qtcb->header.port_handle = erp_action->port->handle;
1986 req->qtcb->header.lun_handle = erp_action->unit->handle;
2018 lat_in = &req->qtcb->prefix.prot_status_qual.latency_info;
2033 switch (req->qtcb->bottom.io.data_direction) {
2081 switch (req->qtcb->header.fsf_status) {
2096 fcp_rsp = (struct fcp_resp_with_ext *) &req->qtcb->bottom.io.fcp_rsp;
2119 fcp_rsp = (struct fcp_resp_with_ext *) &req->qtcb->bottom.io.fcp_rsp;
2131 struct fsf_qtcb_header *header = &req->qtcb->header;
2162 req->qtcb->bottom.io.data_direction,
2173 req->qtcb->bottom.io.fcp_cmnd_length,
2282 io = &req->qtcb->bottom.io;
2287 req->qtcb->header.lun_handle = unit->handle;
2288 req->qtcb->header.port_handle = unit->port->handle;
2301 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd;
2367 req->qtcb->header.lun_handle = unit->handle;
2368 req->qtcb->header.port_handle = unit->port->handle;
2369 req->qtcb->bottom.io.data_direction = FSF_DATADIR_CMND;
2370 req->qtcb->bottom.io.service_class = FSF_CLASS_3;
2371 req->qtcb->bottom.io.fcp_cmnd_length = FCP_CMND_LEN;
2375 fcp_cmnd = (struct fcp_cmnd *) &req->qtcb->bottom.io.fcp_cmnd;
2433 bottom = &req->qtcb->bottom.support;