Lines Matching refs:fcp_prio_cfg
137 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
145 ha->fcp_prio_cfg->attributes &= in qla24xx_proc_fcp_prio_cfg_cmd()
158 if (ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
160 ha->fcp_prio_cfg->attributes |= in qla24xx_proc_fcp_prio_cfg_cmd()
184 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
197 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
198 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
199 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
209 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
211 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
217 (struct qla_fcp_prio_cfg *) ha->fcp_prio_cfg, 1)) { in qla24xx_proc_fcp_prio_cfg_cmd()
223 vfree(ha->fcp_prio_cfg); in qla24xx_proc_fcp_prio_cfg_cmd()
224 ha->fcp_prio_cfg = NULL; in qla24xx_proc_fcp_prio_cfg_cmd()
229 if (ha->fcp_prio_cfg->attributes & FCP_PRIO_ATTR_ENABLE) in qla24xx_proc_fcp_prio_cfg_cmd()