Lines Matching refs:fcp_prio_cfg
141 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
149 ha->fcp_prio_cfg->attributes &= in qla24xx_proc_fcp_prio_cfg_cmd()
162 if (ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
164 ha->fcp_prio_cfg->attributes |= in qla24xx_proc_fcp_prio_cfg_cmd()
188 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
201 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
202 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
203 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
213 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
215 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
221 (struct qla_fcp_prio_cfg *) ha->fcp_prio_cfg, 1)) { in qla24xx_proc_fcp_prio_cfg_cmd()
227 vfree(ha->fcp_prio_cfg); in qla24xx_proc_fcp_prio_cfg_cmd()
228 ha->fcp_prio_cfg = NULL; in qla24xx_proc_fcp_prio_cfg_cmd()
233 if (ha->fcp_prio_cfg->attributes & FCP_PRIO_ATTR_ENABLE) in qla24xx_proc_fcp_prio_cfg_cmd()