/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_intr.c | 164 uint32_t pending, pending_gpu; in bcm2835_intc_active_intr() local 166 pending = intc_read_4(sc, INTC_PENDING_BASIC) & INTC_PENDING_BASIC_MASK; in bcm2835_intc_active_intr() 167 if (pending == 0) in bcm2835_intc_active_intr() 169 if (pending & INTC_PENDING_BASIC_ARM) in bcm2835_intc_active_intr() 170 return (ffs(pending) - 1); in bcm2835_intc_active_intr() 171 if (pending & INTC_PENDING_BASIC_GPU1_MASK) { in bcm2835_intc_active_intr() 172 if (pending & INTC_PENDING_BASIC_GPU1_7) in bcm2835_intc_active_intr() 174 if (pending & INTC_PENDING_BASIC_GPU1_9) in bcm2835_intc_active_intr() 176 if (pending & INTC_PENDING_BASIC_GPU1_10) in bcm2835_intc_active_intr() 178 if (pending & INTC_PENDING_BASIC_GPU1_18) in bcm2835_intc_active_intr() [all …]
|
/freebsd/tests/sys/aio/ |
H A D | aio_kqueue_test.c | 68 int failed = 0, fd, kq, pending, result, run; in main() local 112 pending = 0; in main() 114 pending++; in main() 143 pending--; in main() 149 cancel = max_queue_per_proc - pending; in main() 153 while (pending) { in main() 189 pending, max_queue_per_proc, cancel); in main() 199 j, result, pending); in main() 207 " (errno=%d) should be %zu\n", run, pending, in main() 212 pending - 1); in main() [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | cidrexpand | 106 my %pending; 156 if (%pending && m!^(.+?)${space_re}!) 158 delete $pending{$opts{f} ? $1 : lc($1)}; 163 print foreach values %pending; 177 $pending{"$fp$nl"} = $val; 205 $pending{"$fp$nl"} = $val;
|
/freebsd/contrib/unbound/services/ |
H A D | outside_network.h | 51 struct pending; 130 struct pending* udp_wait_first; 132 struct pending* udp_wait_last; 135 rbtree_type* pending; member 279 struct pending_tcp* pending; member 312 struct pending { struct 338 struct pending* next_waiting; argument 518 void* pending; member 597 struct pending* pending_udp_query(struct serviced_query* sq, 623 void pending_delete(struct outside_network* outnet, struct pending* p);
|
H A D | outside_network.c | 86 static int randomize_and_send_udp(struct pending* pend, sldns_buffer* packet, 106 struct pending *p1 = (struct pending*)key1; in pending_cmp() 107 struct pending *p2 = (struct pending*)key2; in pending_cmp() 362 if(!reuse || !reuse->pending || !reuse->pending->c) 367 reuse->pending->c->fd); 486 pend_tcp->reuse.pending = pend_tcp; 532 key_p.reuse.pending = &key_p; 551 log_assert(&key_p != ((struct reuse_tcp*)result)->pending); 757 pend->reuse.pending = pend; 965 pend_tcp = reuse->pending; [all …]
|
/freebsd/sys/dev/nvmf/host/ |
H A D | nvmf_aer.c | 27 int pending; member 89 nvmf_finish_aer_page_task(void *arg, int pending) in nvmf_finish_aer_page_task() argument 115 aer->pending--; in nvmf_io_complete_aer_page() 116 if (aer->pending == 0) { in nvmf_io_complete_aer_page() 131 aer->pending--; in nvmf_complete_aer_page() 132 if (aer->pending == 0) { in nvmf_complete_aer_page() 188 nvmf_complete_aer_task(void *arg, int pending) in nvmf_complete_aer_task() argument 196 aer->pending = 2; in nvmf_complete_aer_task()
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_clip.c | 83 bool pending; /* in clip_pending list */ member 207 ce->pending = true; in lookup_clip_entry() 264 if (++ce->refcount == 1 && ce->pending && ce->clip_idx != -1) { in t4_get_clip_entry() 270 ce->pending = false; in t4_get_clip_entry() 312 MPASS(ce->pending); in release_clip_entry_locked() 326 MPASS(!ce->pending); in release_clip_entry_locked() 328 ce->pending = true; in release_clip_entry_locked() 510 ce->pending = false; in update_sw_clip_table() 513 MPASS(ce->pending); in update_sw_clip_table() 525 ce->pending = true; in update_sw_clip_table() [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_hp.c | 126 ck_stack_init(&entry->pending); in ck_hp_unregister() 146 ck_stack_init(&entry->pending); in ck_hp_register() 239 CK_STACK_FOREACH_SAFE(&thread->pending, entry, next) { in ck_hp_reclaim() 260 CK_STACK_FIRST(&thread->pending) = CK_STACK_NEXT(entry); in ck_hp_reclaim() 279 ck_stack_push_spnc(&thread->pending, &hazard->pending_entry); in ck_hp_retire() 299 ck_stack_push_spnc(&thread->pending, &hazard->pending_entry); in ck_hp_free()
|
/freebsd/usr.sbin/bluetooth/btpand/ |
H A D | event.c | 54 TAILQ_INSERT_TAIL(&pending, ev, next); \ 66 static TAILQ_HEAD(, event) pending; 72 TAILQ_INIT(&pending); in event_init() 110 while (!TAILQ_EMPTY(&pending)) { in __event_dispatch() 111 ev = TAILQ_FIRST(&pending); in __event_dispatch() 245 TAILQ_REMOVE(&pending, ev, next); in __event_del()
|
/freebsd/sys/cam/ |
H A D | cam_iosched.c | 261 int pending; /* I/Os pending in the hardware */ member 438 if (ios->current <= 0 || ios->pending < ios->current) in cam_iosched_qd_iop() 448 if (ios->current <= 0 || ios->pending < ios->current) in cam_iosched_qd_caniop() 458 if (ios->current <= 0 || ios->pending != ios->current) in cam_iosched_qd_iodone() 610 int pending; in cam_iosched_ticker() local 648 pending = isc->read_stats.pending + isc->write_stats.pending /* + isc->trim_stats.pending */; in cam_iosched_ticker() 649 pending += !!(isc->read_stats.state_flags & IOP_RATE_LIMITED) * isc->read_stats.queued + in cam_iosched_ticker() 652 pending <<= 16; in cam_iosched_ticker() 653 pending /= isc->periph->path->device->ccbq.total_openings; in cam_iosched_ticker() 655 …isc->load = (pending + (isc->load << 13) - isc->load) >> 13; /* see above: 13 -> 16139 / 200/s = ~… in cam_iosched_ticker() [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | deflate.c | 647 s->pending = 0; in deflateResetKeep() 713 int ZEXPORT deflatePending(z_streamp strm, unsigned *pending, int *bits) { in deflatePending() argument 715 if (pending != Z_NULL) in deflatePending() 716 *pending = strm->state->pending; in deflatePending() 920 len = s->pending; in flush_pending() 929 s->pending -= len; in flush_pending() 930 if (s->pending == 0) { in flush_pending() 940 if (s->gzhead->hcrc && s->pending > (beg)) \ 942 s->pending - (beg)); \ 966 if (s->pending != 0) { in deflate() [all …]
|
/freebsd/sys/net/ |
H A D | mp_ring.c | 96 int n, pending, total; in drain_ring_locked() local 105 pending = 0; in drain_ring_locked() 125 pending += n; in drain_ring_locked() 133 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_locked() 158 pending = 0; in drain_ring_locked() 170 int n, pending, total; in drain_ring_lockless() local 179 pending = 0; in drain_ring_lockless() 204 pending += n; in drain_ring_lockless() 212 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_lockless() 241 pending = 0; in drain_ring_lockless()
|
/freebsd/usr.sbin/ypserv/ |
H A D | yp_dnslookup.c | 126 static int pending = 0; variable 328 pending--; in yp_prune_dnsq() 333 if (pending < 0) in yp_prune_dnsq() 334 pending = 0; in yp_prune_dnsq() 374 if (!pending || in yp_run_dnsq() 395 pending--; in yp_run_dnsq() 450 pending++; in yp_async_lookup_name() 538 pending++; in yp_async_lookup_addr()
|
/freebsd/sys/contrib/ncsw/Peripherals/FM/ |
H A D | fm_ncsw.c | 537 static void GuestErrorIsr(t_Fm *p_Fm, uint32_t pending) in GuestErrorIsr() argument 549 if (pending & ERR_INTR_EN_1G_MAC0) in GuestErrorIsr() 551 if (pending & ERR_INTR_EN_1G_MAC1) in GuestErrorIsr() 553 if (pending & ERR_INTR_EN_1G_MAC2) in GuestErrorIsr() 555 if (pending & ERR_INTR_EN_1G_MAC3) in GuestErrorIsr() 557 if (pending & ERR_INTR_EN_1G_MAC4) in GuestErrorIsr() 559 if (pending & ERR_INTR_EN_1G_MAC5) in GuestErrorIsr() 561 if (pending & ERR_INTR_EN_1G_MAC6) in GuestErrorIsr() 563 if (pending & ERR_INTR_EN_1G_MAC7) in GuestErrorIsr() 565 if (pending & ERR_INTR_EN_10G_MAC0) in GuestErrorIsr() [all …]
|
/freebsd/lib/libproc/ |
H A D | proc_util.c | 63 int pending; in proc_continue() local 69 pending = WSTOPSIG(phdl->wstat); in proc_continue() 71 pending = 0; in proc_continue() 73 pending) != 0) in proc_continue()
|
/freebsd/sys/dev/ena/ |
H A D | ena_datapath.h | 35 void ena_cleanup(void *arg, int pending); 38 void ena_deferred_mq_start(void *arg, int pending);
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | kthread.h | 144 u_int pending = 0; in kthread_cancel_work_sync() local 147 taskqueue_cancel(work->tq, &work->task, &pending) != 0) in kthread_cancel_work_sync() 150 return (pending != 0); in kthread_cancel_work_sync()
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 118 sigset_t pending; in linux_signal_pending() 122 pending = td->td_siglist; in linux_signal_pending() 123 SIGSETOR(pending, td->td_proc->p_siglist); in linux_signal_pending() 124 SIGSETNAND(pending, td->td_sigmask); in linux_signal_pending() 126 return (!SIGISEMPTY(pending)); in linux_signal_pending() 120 sigset_t pending; linux_signal_pending() local
|
/freebsd/sys/contrib/ck/include/ |
H A D | ck_epoch.h | 98 ck_stack_t pending[CK_EPOCH_LENGTH]; member 206 ck_stack_push_spnc(&record->pending[offset], &entry->stack_entry); in ck_epoch_call() 226 ck_stack_push_upmc(&record->pending[offset], &entry->stack_entry); in ck_epoch_call_strict()
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_store_subr.c | 86 path->pending = bhnd_nvram_plist_new(); in bhnd_nvstore_path_new() 87 if (path->pending == NULL) in bhnd_nvstore_path_new() 97 if (path->pending != NULL) in bhnd_nvstore_path_new() 98 bhnd_nvram_plist_release(path->pending); in bhnd_nvstore_path_new() 118 bhnd_nvram_plist_release(path->pending); in bhnd_nvstore_path_free() 305 return (bhnd_nvram_plist_get_prop(path->pending, name)); in bhnd_nvstore_path_get_update() 404 bhnd_nvram_plist_remove(path->pending, name); in bhnd_nvstore_path_register_update() 407 error = bhnd_nvram_plist_replace_val(path->pending, name, in bhnd_nvstore_path_register_update()
|
/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_main.c | 311 ep->con_handle, con->pending, in ng_l2cap_lower_rcvmsg() 314 con->pending -= ep->completed; in ng_l2cap_lower_rcvmsg() 315 if (con->pending < 0) { in ng_l2cap_lower_rcvmsg() 320 con->con_handle, con->pending, in ng_l2cap_lower_rcvmsg() 323 con->pending = 0; in ng_l2cap_lower_rcvmsg() 584 e2->pending = con->pending; in ng_l2cap_default_rcvmsg()
|
/freebsd/sys/dev/beri/virtio/network/ |
H A D | if_vtbe.c | 466 int pending; in vtbe_intr() local 478 pending = htobe32(reg); in vtbe_intr() 479 if (pending & Q_SEL) { in vtbe_intr() 484 if (pending & Q_PFN) { in vtbe_intr() 488 if (pending & Q_NOTIFY) { in vtbe_intr() 493 if (pending & Q_NOTIFY1) { in vtbe_intr()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_sim_db.c | 68 struct eap_sim_db_pending *pending; member 381 entry = data->pending; in eap_sim_db_get_pending() 387 data->pending = entry->next; in eap_sim_db_get_pending() 400 entry->next = data->pending; in eap_sim_db_add_pending() 401 data->pending = entry; in eap_sim_db_add_pending() 417 struct eap_sim_db_pending **pp = &data->pending; in eap_sim_db_del_pending() 827 struct eap_sim_db_pending *pending, *prev_pending; in eap_sim_db_deinit() local 853 pending = data->pending; in eap_sim_db_deinit() 854 while (pending) { in eap_sim_db_deinit() 855 prev_pending = pending; in eap_sim_db_deinit() [all …]
|
/freebsd/contrib/jemalloc/src/ |
H A D | tsd.c | 334 bool pending[MALLOC_TSD_CLEANUPS_MAX], again; in _malloc_thread_cleanup() local 338 pending[i] = true; in _malloc_thread_cleanup() 344 if (pending[i]) { in _malloc_thread_cleanup() 345 pending[i] = cleanups[i](); in _malloc_thread_cleanup() 346 if (pending[i]) { in _malloc_thread_cleanup()
|
/freebsd/bin/dd/ |
H A D | dd.c | 72 static off_t pending = 0; /* pending seek if sparse */ variable 517 if (out.dbcnt || pending) in dd_close() 579 pending += cnt; in dd_out() 582 if (pending != 0) { in dd_out() 589 out.seek_offset = lseek(out.fd, pending, SEEK_CUR); in dd_out() 593 pending = 0; in dd_out()
|