| /f-stack/dpdk/lib/librte_eal/unix/ |
| H A D | eal_unix_timer.c | 12 struct timespec wait[2]; in rte_delay_us_sleep() local 15 wait[0].tv_sec = 0; in rte_delay_us_sleep() 17 wait[0].tv_sec = us / US_PER_S; in rte_delay_us_sleep() 18 us -= wait[0].tv_sec * US_PER_S; in rte_delay_us_sleep() 20 wait[0].tv_nsec = 1000 * us; in rte_delay_us_sleep() 22 while (nanosleep(&wait[ind], &wait[1 - ind]) && errno == EINTR) { in rte_delay_us_sleep()
|
| /f-stack/dpdk/drivers/net/enic/base/ |
| H A D | vnic_dev.c | 307 int wait) in _vnic_dev_cmd() argument 540 int wait = 1000; in vnic_dev_fw_info() local 573 int wait = 1000; in vnic_dev_capable_adv_filters() local 584 int wait = 1000; in vnic_dev_flowman_cmd() local 710 int wait = 1000; in vnic_dev_capable_udp_rss_weak() local 725 int wait = 1000; in vnic_dev_capable() local 737 int wait = 1000; in vnic_dev_spec() local 769 int wait = 1000; in vnic_dev_stats_clear() local 777 int wait = 1000; in vnic_dev_stats_dump() local 792 int wait = 1000; in vnic_dev_close() local [all …]
|
| H A D | vnic_rq.c | 105 unsigned int wait; in vnic_rq_disable() local 110 for (wait = 0; wait < 1000; wait++) { in vnic_rq_disable()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_shmtx.c | 31 mtx->wait = &addr->wait; in ngx_shmtx_create() 101 (void) ngx_atomic_fetch_add(mtx->wait, 1); in ngx_shmtx_lock() 104 (void) ngx_atomic_fetch_add(mtx->wait, -1); in ngx_shmtx_lock() 109 "shmtx wait %uA", *mtx->wait); in ngx_shmtx_lock() 168 ngx_atomic_uint_t wait; in ngx_shmtx_wakeup() local 176 wait = *mtx->wait; in ngx_shmtx_wakeup() 178 if ((ngx_atomic_int_t) wait <= 0) { in ngx_shmtx_wakeup() 182 if (ngx_atomic_cmp_set(mtx->wait, wait, wait - 1)) { in ngx_shmtx_wakeup() 188 "shmtx wake %uA", wait); in ngx_shmtx_wakeup()
|
| /f-stack/freebsd/contrib/ck/include/spinlock/ |
| H A D | clh.h | 40 unsigned int wait; member 50 unowned->wait = false; in ck_spinlock_clh_init() 63 r = ck_pr_load_uint(&head->wait); in ck_spinlock_clh_locked() 74 thread->wait = true; in ck_spinlock_clh_lock() 86 while (ck_pr_load_uint(&previous->wait) == true) in ck_spinlock_clh_lock() 111 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_clh_unlock()
|
| H A D | hclh.h | 39 unsigned int wait; member 53 unowned->wait = false; in ck_spinlock_hclh_init() 68 r = ck_pr_load_uint(&head->wait); in ck_spinlock_hclh_locked() 81 thread->wait = true; in ck_spinlock_hclh_lock() 97 while (ck_pr_load_uint(&previous->wait) == true && in ck_spinlock_hclh_lock() 115 while (ck_pr_load_uint(&previous->wait) == true) in ck_spinlock_hclh_lock() 138 ck_pr_store_uint(&(*thread)->wait, false); in ck_spinlock_hclh_unlock()
|
| /f-stack/freebsd/mips/mips/ |
| H A D | uma_machdep.c | 44 int wait) in uma_small_alloc() argument 52 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED; in uma_small_alloc() 68 if ((wait & M_NOWAIT) != 0) in uma_small_alloc() 74 if ((wait & M_NODUMP) == 0) in uma_small_alloc() 77 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
|
| /f-stack/dpdk/lib/librte_rcu/ |
| H A D | rte_rcu_qsbr.h | 544 __func__, t, wait, bmap, id + j); in __rte_rcu_qsbr_check_selective() 550 __func__, t, wait, c, id+j); in __rte_rcu_qsbr_check_selective() 558 if (!wait) in __rte_rcu_qsbr_check_selective() 597 __rte_rcu_qsbr_check_all(struct rte_rcu_qsbr *v, uint64_t t, bool wait) in __rte_rcu_qsbr_check_all() argument 607 __func__, t, wait, i); in __rte_rcu_qsbr_check_all() 612 __func__, t, wait, c, i); in __rte_rcu_qsbr_check_all() 621 if (!wait) in __rte_rcu_qsbr_check_all() 677 rte_rcu_qsbr_check(struct rte_rcu_qsbr *v, uint64_t t, bool wait) in rte_rcu_qsbr_check() argument 685 __func__, t, wait); in rte_rcu_qsbr_check() 693 return __rte_rcu_qsbr_check_all(v, t, wait); in rte_rcu_qsbr_check() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | uma_machdep.c | 42 int wait) in uma_small_alloc() argument 50 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED); in uma_small_alloc() 54 if ((wait & M_NODUMP) == 0) in uma_small_alloc() 57 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | uma_machdep.c | 44 int wait) in uma_small_alloc() argument 52 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED); in uma_small_alloc() 56 if ((wait & M_NODUMP) == 0) in uma_small_alloc() 59 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0) in uma_small_alloc()
|
| /f-stack/freebsd/contrib/device-tree/src/arm/ |
| H A D | omap3430es1-clocks.dtsi | 10 compatible = "ti,wait-gate-clock"; 35 compatible = "ti,wait-gate-clock"; 43 compatible = "ti,wait-gate-clock"; 51 compatible = "ti,wait-gate-clock"; 59 compatible = "ti,wait-gate-clock"; 67 compatible = "ti,composite-no-wait-gate-clock"; 98 compatible = "ti,omap3-no-wait-interface-clock"; 122 compatible = "ti,omap3-no-wait-interface-clock"; 163 compatible = "ti,omap3-no-wait-interface-clock";
|
| H A D | omap2420-clocks.dtsi | 11 compatible = "ti,composite-no-wait-gate-clock"; 98 compatible = "ti,wait-gate-clock"; 114 compatible = "ti,wait-gate-clock"; 130 compatible = "ti,wait-gate-clock"; 146 compatible = "ti,wait-gate-clock"; 154 compatible = "ti,wait-gate-clock"; 162 compatible = "ti,wait-gate-clock";
|
| /f-stack/freebsd/kern/ |
| H A D | subr_smr.c | 370 smr_poll_cpu(smr_t c, smr_seq_t s_rd_seq, smr_seq_t goal, bool wait) in smr_poll_cpu() argument 405 if (!wait) in smr_poll_cpu() 422 smr_seq_t s_wr_seq, smr_seq_t goal, bool wait) in smr_poll_scan() argument 443 wait); in smr_poll_scan() 478 smr_poll(smr_t smr, smr_seq_t goal, bool wait) in smr_poll() argument 490 KASSERT(!wait || !SMR_ENTERED(smr), in smr_poll() 492 KASSERT(!wait || (zpcpu_get(smr)->c_flags & SMR_LAZY) == 0, in smr_poll() 548 if (!wait) { in smr_poll() 569 s_rd_seq = smr_poll_scan(smr, s, s_rd_seq, s_wr_seq, goal, wait); in smr_poll()
|
| H A D | uipc_mbuf2.c | 270 m_dup1(struct mbuf *m, int off, int len, int wait) in m_dup1() argument 283 n = m_getcl(wait, m->m_type, M_PKTHDR); in m_dup1() 285 n = m_getcl(wait, m->m_type, 0); in m_dup1() 288 n = m_gethdr(wait, m->m_type); in m_dup1() 290 n = m_get(wait, m->m_type); in m_dup1() 295 if (copyhdr && !m_dup_pkthdr(n, m, wait)) { in m_dup1() 317 m_tag_alloc(uint32_t cookie, int type, int len, int wait) in m_tag_alloc() argument 321 MBUF_CHECKSLEEP(wait); in m_tag_alloc() 324 t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait); in m_tag_alloc()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | syncio.c | 55 long long wait = (remaining > SYNCIO__RESOLUTION) ? in syncWrite() local 71 aeWait(fd,AE_WRITABLE,wait); in syncWrite() 92 long long wait = (remaining > SYNCIO__RESOLUTION) ? in syncRead() local 110 aeWait(fd,AE_READABLE,wait); in syncRead()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/power/reset/ |
| H A D | gpio-restart.txt | 17 is driven active again. After a delay specified by wait-delay, the 40 - active-delay: Delay (default 100) to wait after driving gpio active [ms] 41 - inactive-delay: Delay (default 100) to wait after driving gpio inactive [ms] 42 - wait-delay: Delay (default 3000) to wait after completing restart 53 wait-delay = <3000>;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/i2c/ |
| H A D | i2c-arb-gpio-challenge.txt | 37 4. Otherwise, wait for a few milliseconds and see if THEIR_CLAIMS are released. 38 5. If not, back off, release the claim and wait for a few more milliseconds. 50 - slew-delay-us: microseconds to wait for a GPIO to go high. Default is 10 us. 51 - wait-retry-us: we'll attempt another claim after this many microseconds. 53 - wait-free-us: we'll give up after this many microseconds. Default is 50000 us. 71 wait-retry-us = <3000>; 72 wait-free-us = <50000>;
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | wait.tcl | 24 assert {[$master wait 1 5000] == 1} 30 assert {[$master wait 2 1000] <= 1} 40 assert {[$master wait 1 3000] == 0}
|
| /f-stack/dpdk/drivers/raw/ifpga/base/ |
| H A D | ifpga_compat.h | 40 int wait = 0; \ 43 for (; wait <= _timeout; wait += _invl) { \
|
| /f-stack/dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_nsp.c | 165 struct timespec wait; in nfp_nsp_wait_reg() local 169 wait.tv_sec = 0; in nfp_nsp_wait_reg() 170 wait.tv_nsec = 25000000; in nfp_nsp_wait_reg() 181 nanosleep(&wait, 0); in nfp_nsp_wait_reg() 354 struct timespec wait; in nfp_nsp_wait() local 358 wait.tv_sec = 0; in nfp_nsp_wait() 359 wait.tv_nsec = 25000000; in nfp_nsp_wait() 367 nanosleep(&wait, 0); in nfp_nsp_wait()
|
| H A D | nfp_hwinfo.c | 133 struct timespec wait; in nfp_hwinfo_fetch() local 137 wait.tv_sec = 0; in nfp_hwinfo_fetch() 138 wait.tv_nsec = 10000000; in nfp_hwinfo_fetch() 146 nanosleep(&wait, NULL); in nfp_hwinfo_fetch()
|
| /f-stack/freebsd/contrib/dev/ath/ath_hal/ar9300/ |
| H A D | ar9300_xmit.c | 628 u_int wait; in ar9300_stop_tx_dma() 640 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { in ar9300_stop_tx_dma() 648 if (wait == 0) { in ar9300_stop_tx_dma() 702 wait = timeout / AH_TIME_QUANTUM; in ar9300_stop_tx_dma() 704 if ((--wait) == 0) { in ar9300_stop_tx_dma() 718 return (wait != 0); in ar9300_stop_tx_dma() 733 u_int wait; in ar9300_stop_tx_dma_indv_que() local 745 for (wait = timeout / AH_TIME_QUANTUM; wait != 0; wait--) { in ar9300_stop_tx_dma_indv_que() 753 if (wait == 0) { in ar9300_stop_tx_dma_indv_que() 809 if ((--wait) == 0) { in ar9300_stop_tx_dma_indv_que() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-condvar.c | 119 DEFINE_WAIT(wait); in cv_wait_common() 134 prepare_to_wait_exclusive(&cvp->cv_event, &wait, state); in cv_wait_common() 158 finish_wait(&cvp->cv_event, &wait); in cv_wait_common() 262 DEFINE_WAIT(wait); in __cv_timedwait_common() 283 prepare_to_wait_exclusive(&cvp->cv_event, &wait, state); in __cv_timedwait_common() 307 finish_wait(&cvp->cv_event, &wait); in __cv_timedwait_common() 367 DEFINE_WAIT(wait); in __cv_timedwait_hires() 390 prepare_to_wait_exclusive(&cvp->cv_event, &wait, state); in __cv_timedwait_hires() 415 finish_wait(&cvp->cv_event, &wait); in __cv_timedwait_hires()
|
| /f-stack/freebsd/contrib/openzfs/etc/systemd/system/ |
| H A D | zfs-volumes.target.in | 3 After=zfs-volume-wait.service 4 Requires=zfs-volume-wait.service
|
| /f-stack/freebsd/contrib/device-tree/Bindings/mips/cavium/ |
| H A D | bootbus.txt | 46 - cavium,t-wait: A cell specifying the WAIT timing (in nS). 55 - cavium,wait-mode: Optional. If present, wait mode (WAITM) is selected. 95 cavium,t-wait = <0>; 115 cavium,t-wait = <0>; 120 cavium,wait-mode;
|