/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_report.cpp | 374 auto *ev = reinterpret_cast<EventTime *>(evp); local 375 ev_sid = static_cast<Sid>(ev->sid); 376 ev_epoch = static_cast<Epoch>(ev->epoch); 501 auto *ev = reinterpret_cast<EventAccess *>(evp); 502 uptr ev_addr = RestoreAddr(ev->addr); 503 uptr ev_size = 1 << ev->size_log; 505 prev_pc + ev->pc_delta - (1 << (EventAccess::kPCBits - 1)); 508 ev_addr, ev_size, ev->is_read, ev->is_atomic); 511 is_read == ev [all...] |
/freebsd-current/contrib/unbound/util/ |
H A D | netevent.c | 140 struct ub_event* ev; member in struct:internal_event 172 struct ub_event* ev; member in struct:internal_timer 182 struct ub_event* ev; member in struct:internal_signal 445 struct comm_base* b = c->ev->base; 754 struct comm_base* b = c->ev->base; 984 ub_comm_base_now(rep.c->ev->base); 1103 ub_comm_base_now(rep.c->ev->base); 1249 if(c->ev->base->stop_accept) { 1250 struct comm_base* b = c->ev->base; 1296 ub_winsock_tcp_wouldblock(c->ev [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | pmc5.sh | 96 struct kevent ev[3]; 115 EV_SET(&ev[n], fd1[1], EVFILT_WRITE, 119 if (kevent(kq, ev, n, NULL, 0, NULL) < 0) 122 EV_SET(&ev[n], fd1[1], EVFILT_WRITE, 125 if (kevent(kq, ev, n, NULL, 0, NULL) < 0)
|
H A D | kevent11.sh | 98 struct kevent ev[2]; 109 EV_SET(&ev[n], fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_CLEAR, 113 if (kevent(kq, ev, n, NULL, 0, NULL) < 0) 122 memset(&ev, 0, sizeof(ev)); 123 n = kevent(kq, NULL, 0, ev, 1, &ts);
|
/freebsd-current/lib/libpmc/ |
H A D | libpmc.c | 1032 const struct pmc_event_descr *ev; local 1034 ev = pcd->pm_evc_event_table; 1035 for (n = 0; n < pcd->pm_evc_event_table_size; n++, ev++) 1036 if (pmc_match_event_name(name, ev->pm_ev_name)) 1037 return (ev); 1055 const struct pmc_event_descr *ev; local 1108 ev = NULL; 1113 if ((ev = pmc_match_event_class(ctrname + 1126 for (n = 0; ev == NULL && n < PMC_CLASS_TABLE_SIZE; n++) { 1129 ev 1255 const struct pmc_event_descr *ev; local 1673 const struct pmc_event_descr *ev, *evfence; local [all...] |
/freebsd-current/contrib/libedit/ |
H A D | hist.h | 52 HistEventW ev; /* Event cookie */ member in struct:el_history_t 56 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \ 57 fn, arg)) == -1) ? NULL : (el)->el_history.ev.str)
|
/freebsd-current/contrib/ntp/sntp/libevent/sample/ |
H A D | event-read-fifo.c | 38 struct event *ev = arg; local 51 event_del(ev); 64 event_del(ev); 65 event_base_loopbreak(event_get_base(ev));
|
/freebsd-current/contrib/libevent/sample/ |
H A D | event-read-fifo.c | 38 struct event *ev = arg; local 51 event_del(ev); 64 event_del(ev); 65 event_base_loopbreak(event_get_base(ev));
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.c | 445 const struct wmi_service_ready_ext_event *ev = ptr; local 448 if (!ev) 453 le32_to_cpu(ev->default_conc_scan_config_bits); 454 arg->default_fw_config_bits = le32_to_cpu(ev->default_fw_config_bits); 455 arg->he_cap_info = le32_to_cpu(ev->he_cap_info); 456 arg->mpdu_density = le32_to_cpu(ev->mpdu_density); 457 arg->max_bssid_rx_filters = le32_to_cpu(ev->max_bssid_rx_filters); 458 arg->ppet.numss_m1 = le32_to_cpu(ev->ppet.numss_m1); 459 arg->ppet.ru_bit_mask = le32_to_cpu(ev->ppet.ru_info); 463 le32_to_cpu(ev 644 const struct wmi_service_ready_event *ev = evt_buf; local 4326 const struct wmi_service_ready_ext2_event *ev = ptr; local 4542 const struct wmi_vdev_start_resp_event *ev; local 4617 const struct wmi_reg_chan_list_cc_ext_event *ev; local 4917 const struct wmi_peer_delete_resp_event *ev; local 4949 const struct wmi_vdev_delete_resp_event *ev; local 4977 const struct wmi_bcn_tx_status_event *ev; local 5005 const struct wmi_vdev_stopped_event *ev; local 5053 const struct ath12k_wmi_mgmt_rx_params *ev; local 5149 const struct wmi_mgmt_tx_compl_event *ev; local 5320 const struct wmi_scan_event *ev; local 5353 const struct wmi_peer_sta_kickout_event *ev; local 5380 const struct wmi_roam_event *ev; local 5431 const struct wmi_chan_info_event *ev; local 5470 const struct wmi_pdev_bss_chan_info_event *ev; local 5510 const struct wmi_vdev_install_key_compl_event *ev; local 5541 const struct wmi_peer_assoc_conf_event *ev; local 5566 ath12k_pull_pdev_temp_ev(struct ath12k_base *ab, u8 *evt_buf, u32 len, const struct wmi_pdev_temperature_event *ev) argument 6479 const struct wmi_service_available_event *ev; local 6593 const struct wmi_pdev_ctl_failsafe_chk_event *ev; local 6625 ath12k_wmi_process_csa_switch_count_event(struct ath12k_base *ab, const struct ath12k_wmi_pdev_csa_event *ev, const u32 *vdev_ids) argument 6657 const struct ath12k_wmi_pdev_csa_event *ev; local 6691 const struct ath12k_wmi_pdev_radar_event *ev; local 6741 struct wmi_pdev_temperature_event ev = {0}; local 6762 const struct wmi_fils_discovery_event *ev; local 6792 const struct wmi_probe_resp_tx_status_event *ev; local [all...] |
/freebsd-current/sys/contrib/dev/athk/ath11k/ |
H A D | wmi.c | 99 const struct wmi_stats_event *ev; member in struct:wmi_tlv_fw_stats_parse 373 const struct wmi_service_ready_ext_event *ev = ptr; local 375 if (!ev) 379 param->default_conc_scan_config_bits = ev->default_conc_scan_config_bits; 380 param->default_fw_config_bits = ev->default_fw_config_bits; 381 param->he_cap_info = ev->he_cap_info; 382 param->mpdu_density = ev->mpdu_density; 383 param->max_bssid_rx_filters = ev->max_bssid_rx_filters; 384 memcpy(¶m->ppet, &ev->ppet, sizeof(param->ppet)); 567 const struct wmi_service_ready_event *ev local 4132 const struct wmi_obss_color_collision_event *ev; local 5273 const struct wmi_vdev_start_resp_event *ev; local 5557 const struct wmi_reg_chan_list_cc_ext_event *ev; local 5927 const struct wmi_peer_delete_resp_event *ev; local 5959 const struct wmi_vdev_delete_resp_event *ev; local 5987 const struct wmi_bcn_tx_status_event *ev; local 6015 const struct wmi_vdev_stopped_event *ev; local 6063 const struct wmi_mgmt_rx_hdr *ev; local 6169 const struct wmi_mgmt_tx_compl_event *ev; local 6345 const struct wmi_scan_event *ev; local 6378 const struct wmi_peer_sta_kickout_event *ev; local 6405 const struct wmi_roam_event *ev; local 6453 const struct wmi_chan_info_event *ev; local 6492 const struct wmi_pdev_bss_chan_info_event *ev; local 6532 const struct wmi_vdev_install_key_compl_event *ev; local 6563 const struct wmi_peer_assoc_conf_event *ev; local 6706 const struct wmi_stats_event *ev = parse->ev; local 6775 const struct wmi_stats_event *ev = parse->ev; local 7309 const struct wmi_11d_new_cc_ev *ev; local 7741 const struct wmi_peer_sta_ps_state_chg_event *ev; local 8403 const struct wmi_service_available_event *ev; local 8566 const struct wmi_pdev_ctl_failsafe_chk_event *ev; local 8598 ath11k_wmi_process_csa_switch_count_event(struct ath11k_base *ab, const struct wmi_pdev_csa_switch_ev *ev, const u32 *vdev_ids) argument 8630 const struct wmi_pdev_csa_switch_ev *ev; local 8664 const struct wmi_pdev_radar_ev *ev; local 8715 const struct wmi_pdev_temperature_event *ev; local 8751 const struct wmi_fils_discovery_event *ev; local 8783 const struct wmi_probe_resp_tx_status_event *ev; local 8817 struct wmi_wow_ev_arg *ev = data; local 8856 struct wmi_wow_ev_arg ev = { }; local 8913 const struct wmi_twt_add_dialog_event *ev; local 8947 const struct wmi_gtk_offload_status_event *ev; local [all...] |
H A D | dbring.c | 266 struct ath11k_dbring_buf_release_event *ev) 283 pdev_idx = ev->fixed.pdev_id; 284 module_id = ev->fixed.module_id; 291 if (ev->fixed.num_buf_release_entry != 292 ev->fixed.num_meta_data_entry) { 294 ev->fixed.num_buf_release_entry, 295 ev->fixed.num_meta_data_entry); 307 switch (ev->fixed.module_id) { 313 ath11k_warn(ab, "Recv dma buffer release ev on unsupp module %d\n", 314 ev 265 ath11k_dbring_buffer_release_event(struct ath11k_base *ab, struct ath11k_dbring_buf_release_event *ev) argument [all...] |
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_timer_create.c | 179 struct sigevent ev; local 181 (void)memset(&ev, 0, sizeof(struct sigevent)); 184 ev.sigev_signo = -1; 185 ev.sigev_notify = SIGEV_SIGNAL; 187 ATF_REQUIRE_ERRNO(EINVAL, timer_create(CLOCK_REALTIME, &ev, &t) == -1); 190 ev.sigev_signo = SIGUSR1; 191 ev.sigev_notify = SIGEV_THREAD + 100; 193 ATF_REQUIRE_ERRNO(EINVAL, timer_create(CLOCK_REALTIME, &ev, &t) == -1);
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_et.c | 84 struct event *ev = NULL; local 106 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); 107 tt_assert(ev != NULL); 108 tt_int_op(event_add(ev, NULL), ==, 0); 129 if (ev) { 130 event_del(ev); 131 event_free(ev);
|
H A D | test-changelist.c | 164 struct event* ev; local 192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); 199 event_add(ev, NULL); 205 event_free(ev);
|
/freebsd-current/contrib/libevent/test/ |
H A D | regress_et.c | 84 struct event *ev = NULL; local 106 ev = event_new(base, pair[1], EV_READ|EV_ET|EV_PERSIST, read_cb, &ev); 107 tt_assert(ev != NULL); 108 tt_int_op(event_add(ev, NULL), ==, 0); 129 if (ev) { 130 event_del(ev); 131 event_free(ev);
|
H A D | test-changelist.c | 164 struct event* ev; local 192 ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev); 199 event_add(ev, NULL); 205 event_free(ev);
|
/freebsd-current/stand/common/ |
H A D | console.c | 36 static int cons_set(struct env_var *ev, int flags, const void *value); 40 static int twiddle_set(struct env_var *ev, int flags, const void *value); 48 module_verbose_set(struct env_var *ev, int flags, const void *value) argument 63 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 201 cons_set(struct env_var *ev, int flags, const void *value) argument 218 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 335 twiddle_set(struct env_var *ev, int flags, const void *value) argument 346 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-tlv.c | 184 const struct wmi_tlv_bcn_tx_status_ev *ev; local 196 ev = tb[WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT]; 197 if (!ev) { 202 tx_status = __le32_to_cpu(ev->tx_status); 203 vdev_id = __le32_to_cpu(ev->vdev_id); 277 const struct wmi_tlv_peer_stats_info_ev *ev; local 289 ev = tb[WMI_TLV_TAG_STRUCT_PEER_STATS_INFO_EVENT]; 292 if (!ev || !data) { 297 num_peer_stats = __le32_to_cpu(ev->num_peers); 301 __le32_to_cpu(ev 326 const struct wmi_tlv_diag_data_ev *ev; local 425 const struct wmi_tlv_p2p_noa_ev *ev; local 459 const struct wmi_tlv_tx_pause_ev *ev; local 523 const struct wmi_tlv_rfkill_state_change_ev *ev; local 566 const struct wmi_tlv_pdev_temperature_event *ev; local 579 const struct wmi_tlv_tdls_peer_event *ev; local 831 const struct wmi_scan_event *ev; local 863 const struct wmi_tlv_mgmt_tx_compl_ev *ev; local 965 const struct wmi_tlv_mgmt_rx_ev *ev; local 1017 const struct wmi_tlv_chan_info_event *ev; local 1052 const struct wmi_vdev_start_response_event *ev; local 1083 const struct wmi_peer_sta_kickout_event *ev; local 1106 const struct wmi_host_swba_event *ev; member in struct:wmi_tlv_swba_parse 1230 const struct wmi_tlv_phyerr_ev *ev; local 1292 const struct wmi_tlv_svc_rdy_ev *ev; member in struct:wmi_tlv_svc_rdy_parse 1333 const struct wmi_tlv_svc_rdy_ev *ev; local 1412 const struct wmi_tlv_rdy_ev *ev; local 1518 const struct wmi_tlv_stats_ev *ev; local 1678 const struct wmi_tlv_roam_ev *ev; local 1707 const struct wmi_tlv_wow_event_info *ev; local 1737 const struct wmi_echo_event *ev; local [all...] |
H A D | wmi.c | 2179 struct wmi_scan_event *ev = (void *)skb->data; local 2181 if (skb->len < sizeof(*ev)) 2184 skb_pull(skb, sizeof(*ev)); 2185 arg->event_type = ev->event_type; 2186 arg->reason = ev->reason; 2187 arg->channel_freq = ev->channel_freq; 2188 arg->scan_req_id = ev->scan_req_id; 2189 arg->scan_id = ev->scan_id; 2190 arg->vdev_id = ev->vdev_id; 2345 struct wmi_10_4_mgmt_rx_event *ev; local 2661 struct wmi_chan_info_event *ev = (void *)skb->data; local 2681 struct wmi_10_4_chan_info_event *ev = (void *)skb->data; local 3012 const struct wmi_stats_event *ev = (void *)skb->data; local 3066 const struct wmi_stats_event *ev = (void *)skb->data; local 3124 const struct wmi_10_2_stats_event *ev = (void *)skb->data; local 3201 const struct wmi_10_2_stats_event *ev = (void *)skb->data; local 3287 const struct wmi_10_2_stats_event *ev = (void *)skb->data; local 3434 struct wmi_vdev_start_response_event *ev = (void *)skb->data; local 3490 struct wmi_peer_sta_kickout_event *ev = (void *)skb->data; local 3694 struct wmi_host_swba_event *ev = (void *)skb->data; local 3740 struct wmi_10_2_4_host_swba_event *ev = (void *)skb->data; local 3784 struct wmi_10_4_host_swba_event *ev = (void *)skb->data; local 4362 struct wmi_phyerr_event *ev = (void *)skb->data; local 4380 struct wmi_10_4_phyerr_event *ev = (void *)skb->data; local 4561 struct wmi_dfs_status_ev_arg *ev = (void *)skb->data; local 4706 struct wmi_wow_ev_arg ev = {}; local 4726 ath10k_tpc_config_get_rate(struct ath10k *ar, struct wmi_pdev_tpc_config_event *ev, u32 rate_idx, u32 num_chains, u32 rate_code, u8 type) argument 4772 ath10k_tpc_config_disp_tables(struct ath10k *ar, struct wmi_pdev_tpc_config_event *ev, struct ath10k_tpc_stats *tpc_stats, u8 *rate_code, u16 *pream_table, u8 type) argument 4935 struct wmi_pdev_tpc_config_event *ev; local 5001 ath10k_wmi_tpc_final_get_rate(struct ath10k *ar, struct wmi_pdev_tpc_final_table_event *ev, u32 rate_idx, u32 num_chains, u32 rate_code, u8 type, u32 pream_idx) argument 5126 ath10k_wmi_tpc_stats_final_disp_tables(struct ath10k *ar, struct wmi_pdev_tpc_final_table_event *ev, struct ath10k_tpc_stats_final *tpc_stats, u8 *rate_code, u16 *pream_table, u8 type) argument 5192 struct wmi_pdev_tpc_final_table_event *ev; local 5259 struct wmi_tdls_peer_event *ev; local 5327 struct wmi_peer_sta_ps_state_chg_event *ev; local 5490 struct wmi_service_ready_event *ev; local 5532 struct wmi_10x_service_ready_event *ev; local 5752 struct wmi_ready_event *ev = (void *)skb->data; local 5769 struct wmi_roam_ev *ev = (void *)skb->data; local 5785 struct wmi_echo_event *ev = (void *)skb->data; local 5838 const struct wmi_pdev_temperature_event *ev; local 5851 struct wmi_pdev_bss_chan_info_event *ev; local [all...] |
/freebsd-current/sys/kern/ |
H A D | subr_boot.c | 63 const char *ev; member in struct:__anon37 99 for (howto = 0, i = 0; howto_names[i].ev != NULL; i++) { 100 val = GETENV(howto_names[i].ev); 117 for (i = 0; howto_names[i].ev != NULL; i++) 119 SETENV(howto_names[i].ev, "YES");
|
/freebsd-current/usr.sbin/nvmfd/ |
H A D | nvmfd.c | 111 struct kevent ev; local 120 if (kevent(kqfd, NULL, 0, &ev, 1, NULL) == -1) { 126 assert(ev.filter == EVFILT_READ); 128 s = accept(ev.ident, NULL, NULL); 134 switch ((uintptr_t)ev.udata) {
|
/freebsd-current/usr.bin/tail/ |
H A D | forward.c | 68 static struct kevent *ev; variable in typeref:struct:kevent 285 EV_SET(&ev[n], fileno(file->fp), EVFILT_VNODE, 290 EV_SET(&ev[n], fileno(file->fp), EVFILT_READ, 295 if (kevent(kq, ev, n, NULL, 0, &ts) < 0) { 336 ev = malloc(no_files * 2 * sizeof(struct kevent)); 337 if (ev == NULL) 411 n = kevent(kq, NULL, 0, ev, 1, Fflag ? &ts : NULL); 418 } else if (ev->filter == EVFILT_READ && ev->data < 0) { 420 if (lseek(ev [all...] |
/freebsd-current/contrib/ofed/libibverbs/ |
H A D | device.c | 328 struct ibv_kern_async_event ev; local 330 if (read(context->async_fd, &ev, sizeof ev) != sizeof ev) 333 event->event_type = ev.event_type; 337 event->element.cq = (void *) (uintptr_t) ev.element; 348 event->element.qp = (void *) (uintptr_t) ev.element; 353 event->element.srq = (void *) (uintptr_t) ev.element; 357 event->element.wq = (void *) (uintptr_t) ev.element; 360 event->element.port_num = ev [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | eapol_test.py | 62 ev = self.mon.recv() 63 logger.debug(self.ifname + ": " + ev) 65 if event in ev: 66 return ev 103 ev = et.wait_event(["CTRL-EVENT-CONNECTED", "CTRL-EVENT-EAP-FAILURE"]) 104 if ev is None or "CTRL-EVENT-CONNECTED" not in ev:
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | event-internal.h | 202 struct event ev; member in struct:event_once 408 int event_add_nolock_(struct event *ev, 424 int event_del_nolock_(struct event *ev, int blocking); 425 int event_remove_timer_nolock_(struct event *ev); 427 void event_active_nolock_(struct event *ev, int res, short count); 441 void event_active_later_(struct event *ev, int res); 442 void event_active_later_nolock_(struct event *ev, int res);
|