| /freebsd-14.2/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_intr.c | 164 uint32_t pending, pending_gpu; in bcm2835_intc_active_intr() local 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() 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() 180 if (pending & INTC_PENDING_BASIC_GPU1_19) in bcm2835_intc_active_intr() 184 if (pending & INTC_PENDING_BASIC_GPU2_21) in bcm2835_intc_active_intr() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/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 | 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) 980 reuse->pending->c->fd, reuse->pending, 1493 p = (struct pending*)rbtree_search(outnet->pending, &key); 1575 struct pending* p = (struct pending*)arg; 1586 struct pending* p = (struct pending*)arg; 1814 struct pending* pend = (struct pending*)node; 2258 struct pending* 2744 struct pending* p = (struct pending*)sq->pending; [all …]
|
| /freebsd-14.2/sys/dev/cxgbe/ |
| H A D | t4_clip.c | 207 ce->pending = true; in lookup_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() 513 MPASS(ce->pending); in update_sw_clip_table() 525 ce->pending = true; in update_sw_clip_table() 529 MPASS(ce->pending); in update_sw_clip_table() 559 ce->pending = true; in update_sw_clip_table() 583 MPASS(ce->pending); in update_hw_clip_table() [all …]
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_iosched.c | 606 int pending; in cam_iosched_ticker() local 644 pending = isc->read_stats.pending + isc->write_stats.pending /* + isc->trim_stats.pending */; in cam_iosched_ticker() 648 pending <<= 16; in cam_iosched_ticker() 857 ios->pending = 0; in cam_iosched_iop_stats_init() 1030 &ios->pending, 0, in cam_iosched_iop_stats_sysctl_init() 1385 isc->write_stats.pending++; in cam_iosched_get_write() 1407 isc->trim_stats.pending--; in cam_iosched_put_back_trim() 1432 isc->trim_stats.pending++; in cam_iosched_next_trim() 1611 isc->read_stats.pending++; in cam_iosched_next_bio() 1772 isc->read_stats.pending--; in cam_iosched_bio_complete() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/sys/contrib/zlib/ |
| H A D | deflate.c | 647 s->pending = 0; in deflateResetKeep() 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() 966 if (s->pending != 0) { in deflate() 1025 if (s->pending != 0) { in deflate() 1051 if (s->pending != 0) { in deflate() 1103 s->pending += left; in deflate() [all …]
|
| /freebsd-14.2/sys/net/ |
| H A D | mp_ring.c | 97 int n, pending, total; in drain_ring_locked() local 106 pending = 0; in drain_ring_locked() 126 pending += n; in drain_ring_locked() 134 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_locked() 159 pending = 0; in drain_ring_locked() 171 int n, pending, total; in drain_ring_lockless() local 180 pending = 0; in drain_ring_lockless() 205 pending += n; in drain_ring_lockless() 213 if (cidx != pidx && pending < 64 && total < budget) in drain_ring_lockless() 242 pending = 0; in drain_ring_lockless()
|
| /freebsd-14.2/usr.sbin/ypserv/ |
| H A D | yp_dnslookup.c | 126 static int pending = 0; variable 330 pending--; in yp_prune_dnsq() 335 if (pending < 0) in yp_prune_dnsq() 336 pending = 0; in yp_prune_dnsq() 378 if (!pending || in yp_run_dnsq() 399 pending--; in yp_run_dnsq() 456 pending++; in yp_async_lookup_name() 544 pending++; in yp_async_lookup_addr()
|
| /freebsd-14.2/lib/libproc/ |
| H A D | proc_util.c | 64 int pending; in proc_continue() local 70 pending = WSTOPSIG(phdl->wstat); in proc_continue() 72 pending = 0; in proc_continue() 74 pending) != 0) in proc_continue()
|
| /freebsd-14.2/sys/contrib/ncsw/Peripherals/FM/ |
| H A D | fm_ncsw.c | 602 if (pending & INTR_EN_TMR) in GuestEventIsr() 4302 if (!pending) in FM_EventIsr() 4312 if (pending & INTR_EN_QMI) in FM_EventIsr() 4314 if (pending & INTR_EN_PRS) in FM_EventIsr() 4316 if (pending & INTR_EN_PLCR) in FM_EventIsr() 4318 if (pending & INTR_EN_TMR) in FM_EventIsr() 4344 if (pending & INTR_EN_REV0) in FM_EventIsr() 4355 if (pending & INTR_EN_REV1) in FM_EventIsr() 4365 if (pending & INTR_EN_REV2) in FM_EventIsr() 4375 if (pending & INTR_EN_REV3) in FM_EventIsr() [all …]
|
| /freebsd-14.2/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-14.2/contrib/xz/src/liblzma/lz/ |
| H A D | lz_encoder.c | 138 if (coder->mf.pending > 0 in fill_window() 142 const uint32_t pending = coder->mf.pending; in fill_window() local 143 coder->mf.pending = 0; in fill_window() 147 assert(coder->mf.read_pos >= pending); in fill_window() 148 coder->mf.read_pos -= pending; in fill_window() 152 coder->mf.skip(&coder->mf, pending); in fill_window() 401 mf->pending = 0; in lz_encoder_init()
|
| /freebsd-14.2/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-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_schedule.c | 121 sigset_t pending; in linux_signal_pending() local 125 pending = td->td_siglist; in linux_signal_pending() 126 SIGSETOR(pending, td->td_proc->p_siglist); in linux_signal_pending() 127 SIGSETNAND(pending, td->td_sigmask); in linux_signal_pending() 129 return (!SIGISEMPTY(pending)); in linux_signal_pending()
|
| /freebsd-14.2/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-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_store_subr.c | 87 path->pending = bhnd_nvram_plist_new(); in bhnd_nvstore_path_new() 88 if (path->pending == NULL) in bhnd_nvstore_path_new() 98 if (path->pending != NULL) in bhnd_nvstore_path_new() 99 bhnd_nvram_plist_release(path->pending); in bhnd_nvstore_path_new() 119 bhnd_nvram_plist_release(path->pending); in bhnd_nvstore_path_free() 306 return (bhnd_nvram_plist_get_prop(path->pending, name)); in bhnd_nvstore_path_get_update() 405 bhnd_nvram_plist_remove(path->pending, name); in bhnd_nvstore_path_register_update() 408 error = bhnd_nvram_plist_replace_val(path->pending, name, in bhnd_nvstore_path_register_update()
|
| /freebsd-14.2/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-14.2/sys/dev/beri/virtio/network/ |
| H A D | if_vtbe.c | 467 int pending; in vtbe_intr() local 479 pending = htobe32(reg); in vtbe_intr() 480 if (pending & Q_SEL) { in vtbe_intr() 485 if (pending & Q_PFN) { in vtbe_intr() 489 if (pending & Q_NOTIFY) { in vtbe_intr() 494 if (pending & Q_NOTIFY1) { in vtbe_intr()
|
| /freebsd-14.2/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-14.2/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-14.2/bin/dd/ |
| H A D | dd.c | 84 static off_t pending = 0; /* pending seek if sparse */ variable 529 if (out.dbcnt || pending) in dd_close() 591 pending += cnt; in dd_out() 594 if (pending != 0) { in dd_out() 601 out.seek_offset = lseek(out.fd, pending, SEEK_CUR); in dd_out() 605 pending = 0; in dd_out()
|