Lines Matching refs:fcp_prio_cfg
161 if (!ha->fcp_prio_cfg && (oper != QLFC_FCP_PRIO_SET_CONFIG)) { in qla24xx_proc_fcp_prio_cfg_cmd()
169 ha->fcp_prio_cfg->attributes &= in qla24xx_proc_fcp_prio_cfg_cmd()
182 if (ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
184 ha->fcp_prio_cfg->attributes |= in qla24xx_proc_fcp_prio_cfg_cmd()
208 bsg_job->reply_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
221 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
222 ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
223 if (!ha->fcp_prio_cfg) { in qla24xx_proc_fcp_prio_cfg_cmd()
233 memset(ha->fcp_prio_cfg, 0, FCP_PRIO_CFG_SIZE); in qla24xx_proc_fcp_prio_cfg_cmd()
235 bsg_job->request_payload.sg_cnt, ha->fcp_prio_cfg, in qla24xx_proc_fcp_prio_cfg_cmd()
240 if (!qla24xx_fcp_prio_cfg_valid(vha, ha->fcp_prio_cfg, 1)) { in qla24xx_proc_fcp_prio_cfg_cmd()
246 vfree(ha->fcp_prio_cfg); in qla24xx_proc_fcp_prio_cfg_cmd()
247 ha->fcp_prio_cfg = NULL; in qla24xx_proc_fcp_prio_cfg_cmd()
252 if (ha->fcp_prio_cfg->attributes & FCP_PRIO_ATTR_ENABLE) in qla24xx_proc_fcp_prio_cfg_cmd()