Lines Matching refs:cnt
1880 * @cnt: the number of IOCBs to be posted to the IOCB ring.
1883 * descriptors specified by the cnt argument to the given IOCB ring.
1889 lpfc_post_buffer(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, int cnt)
1895 cnt += pring->missbufcnt;
1898 while (cnt > 0) {
1902 pring->missbufcnt = cnt;
1903 return cnt;
1915 pring->missbufcnt = cnt;
1916 return cnt;
1921 if (cnt > 1) {
1931 pring->missbufcnt = cnt;
1932 return cnt;
1944 cnt--;
1949 cnt--;
1960 cnt++;
1964 cnt++;
1967 pring->missbufcnt = cnt;
1968 return cnt;
6527 * @cnt: number of nop mailbox commands to send.
6529 * This routine is invoked to send a number @cnt of NOP mailbox command and
6535 lpfc_sli4_send_nop_mbox_cmds(struct lpfc_hba *phba, uint32_t cnt)
6544 if (cnt == 0) {
6547 return cnt;
6565 for (cmdsent = 0; cmdsent < cnt; cmdsent++) {