Lines Matching defs:flag

287 	/* set consumption flag every once in a while */
1010 * been reached, if it has and the send_rrq flag is set then
1011 * it will call lpfc_send_rrq. If the send_rrq flag is not set
2250 pring->flag |= LPFC_CALL_RING_AVAILABLE;
3812 /* Set cmdiocb flag for the
4156 if ((mask & HA_R0CE_RSP) && (pring->flag & LPFC_CALL_RING_AVAILABLE)) {
4157 pring->flag &= ~LPFC_CALL_RING_AVAILABLE;
4488 if ((mask & HA_R0CE_RSP) && (pring->flag & LPFC_CALL_RING_AVAILABLE)) {
4489 pring->flag &= ~LPFC_CALL_RING_AVAILABLE;
5123 pring->flag = 0;
9005 phba->fcf.current_rec.flag = 0;
9313 * @flag: Flag indicating how the mailbox need to be processed.
9337 uint32_t flag)
9404 pmbox->u.mb.mbxCommand, psli->sli_flag, flag);
9408 if (mbx->mbxCommand != MBX_KILL_BOARD && flag & MBX_NOWAIT) {
9416 pmbox->u.mb.mbxCommand, psli->sli_flag, flag);
9427 if (flag & MBX_POLL) {
9436 psli->sli_flag, flag);
9448 psli->sli_flag, flag);
9464 psli->sli_flag, flag);
9490 if (flag != MBX_POLL) {
9501 psli->sli_flag, flag);
9517 psli->sli_flag, flag);
9594 switch (flag) {
10033 * @flag: Flag indicating how the mailbox need to be processed.
10043 uint32_t flag)
10061 psli->sli_flag, flag);
10067 if (flag == MBX_POLL)
10087 psli->sli_flag, flag);
10089 } else if (flag == MBX_POLL) {
10098 psli->sli_flag, flag);
10121 psli->sli_flag, flag);
10138 psli->sli_flag, flag);
10292 * @flag: Flag indicating how the mailbox need to be processed.
10301 lpfc_sli_issue_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmbox, uint32_t flag)
10303 return phba->lpfc_sli_issue_mbox(phba, pmbox, flag);
10407 * @flag: Flag indicating if this command can be put into txq.
10412 * flag is turned on, the function returns IOCB_ERROR. When the link is down,
10417 * flag & SLI_IOCB_RET_IOCB is set, the new iocb is added to the txq, otherwise
10426 struct lpfc_iocbq *piocb, uint32_t flag)
10463 if (unlikely(pring->flag & LPFC_STOP_IOCB_EVENT))
10517 if (!(flag & SLI_IOCB_RET_IOCB)) {
10530 * @flag: Flag indicating if this command can be put into txq.
10541 struct lpfc_iocbq *piocb, uint32_t flag)
10547 rc = __lpfc_sli_issue_iocb_s3(phba, ring_number, piocb, flag);
10558 * @flag: Flag indicating if this command can be put into txq.
10569 struct lpfc_iocbq *piocb, uint32_t flag)
10637 * @flag: Flag indicating if this command can be put into txq.
10648 struct lpfc_iocbq *piocb, uint32_t flag)
10679 if (!(flag & SLI_IOCB_RET_IOCB)) {
10745 struct lpfc_iocbq *piocb, uint32_t flag)
10747 return phba->__lpfc_sli_issue_fcp_io(phba, ring_number, piocb, flag);
10763 struct lpfc_iocbq *piocb, uint32_t flag)
10765 return phba->__lpfc_sli_issue_iocb(phba, ring_number, piocb, flag);
11258 * value for flag.
11279 * @flag: Flag indicating if this command can be put into txq.
11289 struct lpfc_iocbq *piocb, uint32_t flag)
11310 rc = __lpfc_sli_issue_iocb(phba, ring_number, piocb, flag);
11317 rc = __lpfc_sli_issue_iocb(phba, ring_number, piocb, flag);
11754 pring->flag = 0;
11763 pring->flag = 0;
11773 pring->flag = 0;
11817 pring->flag = 0;
11920 prev_pring_flag = pring->flag;
11923 pring->flag |= LPFC_DEFERRED_RING_EVENT;
11924 /* Set the lpfc data pending flag */
11940 pring->flag = prev_pring_flag;
11948 pring->flag |= LPFC_DEFERRED_RING_EVENT;
11949 /* Set the lpfc data pending flag */
11952 prev_pring_flag = pring->flag;
11968 pring->flag = prev_pring_flag;
12029 pring->flag |= LPFC_DEFERRED_RING_EVENT;
12030 /* Set the lpfc data pending flag */
12044 pring->flag |= LPFC_DEFERRED_RING_EVENT;
12045 /* Set the lpfc data pending flag */
12949 * the caller's flag into the aborted IO.
13025 /* Set the exchange busy flag for task management commands */
13044 * lpfc_chk_iocb_flg - Test IOCB flag with lock held.
13047 * @flag: Flag to test.
13050 * see if the passed in flag is set.
13052 * 1 if flag is set.
13053 * 0 if flag is not set.
13057 struct lpfc_iocbq *piocbq, uint32_t flag)
13063 ret = piocbq->cmd_flag & flag;
13099 * flag and wakes this thread when the iocb completes.
13259 unsigned long flag;
13274 spin_lock_irqsave(&phba->hbalock, flag);
13277 * if LPFC_MBX_WAKE flag is set the mailbox is completed
13286 spin_unlock_irqrestore(&phba->hbalock, flag);
14254 /* Set the async event flag */
14395 /* Setting active mailbox pointer need to be in sync to flag clear */
14569 /* Set the els xri abort event flag */
15070 /* For FCP the flag is cleared in cmd_cmpl */
15890 * @pci_barset: PCI BAR set flag.
20105 /* FCF scan failed, clear FCF_TS_INPROG flag */
20250 if (fcf_pri->fcf_rec.flag & LPFC_FCF_FLOGI_FAILED)
20274 fcf_pri->fcf_rec.flag &= ~LPFC_FCF_FLOGI_FAILED;
20352 phba->fcf.fcf_pri[next_fcf_index].fcf_rec.flag &