Home
last modified time | relevance | path

Searched refs:countdown (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/e1000/
H A De1000_mbx.c188 int countdown = mbx->timeout; in e1000_poll_for_msg() local
192 if (!countdown || !mbx->ops.check_for_msg) in e1000_poll_for_msg()
195 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) { in e1000_poll_for_msg()
196 countdown--; in e1000_poll_for_msg()
197 if (!countdown) in e1000_poll_for_msg()
203 if (!countdown) in e1000_poll_for_msg()
206 return countdown ? E1000_SUCCESS : -E1000_ERR_MBX; in e1000_poll_for_msg()
219 int countdown = mbx->timeout; in e1000_poll_for_ack() local
223 if (!countdown || !mbx->ops.check_for_ack) in e1000_poll_for_ack()
226 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) { in e1000_poll_for_ack()
[all …]
/freebsd/sys/dev/ixgbe/
H A Dixgbe_mbx.c232 int countdown = mbx->timeout; in ixgbe_poll_for_msg() local
236 if (!countdown || !mbx->ops[mbx_id].check_for_msg) in ixgbe_poll_for_msg()
239 while (countdown && mbx->ops[mbx_id].check_for_msg(hw, mbx_id)) { in ixgbe_poll_for_msg()
240 countdown--; in ixgbe_poll_for_msg()
241 if (!countdown) in ixgbe_poll_for_msg()
246 if (countdown == 0) { in ixgbe_poll_for_msg()
265 int countdown = mbx->timeout; in ixgbe_poll_for_ack() local
269 if (!countdown || !mbx->ops[mbx_id].check_for_ack) in ixgbe_poll_for_ack()
272 while (countdown && mbx->ops[mbx_id].check_for_ack(hw, mbx_id)) { in ixgbe_poll_for_ack()
273 countdown--; in ixgbe_poll_for_ack()
[all …]
/freebsd/cddl/usr.sbin/zfsd/
H A Dcase_file.cc638 timeval now, countdown, elapsed, timestamp, zero, remaining; in RegisterCallout() local
662 timersub(&removeGracePeriod, &elapsed, &countdown); in RegisterCallout()
668 if (timercmp(&countdown, &zero, <=)) { in RegisterCallout()
669 timerclear(&countdown); in RegisterCallout()
670 countdown.tv_usec = 1; in RegisterCallout()
676 || timercmp(&countdown, &remaining, <)) in RegisterCallout()
677 m_tentativeTimer.Reset(countdown, OnGracePeriodEnded, this); in RegisterCallout()
/freebsd/contrib/ntp/sntp/libevent/m4/
H A Dax_prog_doxygen.m4467 countdown=5; \\
470 && test \$\$countdown -gt 0; do \\
472 countdown=\`expr \$\$countdown - 1\`; \\
498 countdown=5; \\
501 && test \$\$countdown -gt 0; do \\
503 countdown=\`expr \$\$countdown - 1\`; \\
/freebsd/contrib/libevent/m4/
H A Dax_prog_doxygen.m4467 countdown=5; \\
470 && test \$\$countdown -gt 0; do \\
472 countdown=\`expr \$\$countdown - 1\`; \\
498 countdown=5; \\
501 && test \$\$countdown -gt 0; do \\
503 countdown=\`expr \$\$countdown - 1\`; \\
/freebsd/cddl/usr.sbin/dtrace/tests/common/docsExamples/
H A DMakefile9 countdown.d \
/freebsd/contrib/ntp/sntp/unity/
H A Dunity_fixture.c148 void UnityMalloc_MakeMallocFailAfterCount(int countdown) in UnityMalloc_MakeMallocFailAfterCount() argument
150 malloc_fail_countdown = countdown; in UnityMalloc_MakeMallocFailAfterCount()
/freebsd/stand/forth/
H A Dcheck-password.4th167 \ the user aborts/escapes the countdown sequence leading to boot).
H A Dmenusets.4th290 begin ( using u2 in c-addr2/u2 pair as countdown to zero )
409 begin ( using u2 in c-addr2/u2 pair as countdown to zero )
/freebsd/sys/contrib/dev/rtw89/
H A Dpci.c441 int countdown = rtwdev->napi_budget_countdown; in rtw89_pci_release_busy_txwd()
454 /* In case of flushing pending SKBs, the countdown may exceed. */ in rtw89_pci_release_txwd_skb()
458 return budget - countdown; in rtw89_pci_release_txwd_skb()
348 int countdown = rtwdev->napi_budget_countdown; rtw89_pci_poll_rxq_dma() local