/freebsd-current/usr.sbin/bluetooth/btpand/ |
H A D | channel.c | 172 channel_start(int fd, short ev, void *arg) argument 201 channel_read(int fd, short ev, void *arg) argument 299 static struct event ev; local 307 evtimer_set(&ev, channel_watchdog, &ev); 308 channel_watchdog(0, 0, &ev); 313 channel_watchdog(int fd, short ev, void *arg) argument
|
/freebsd-current/contrib/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);
|
/freebsd-current/stand/i386/libi386/ |
H A D | comconsole.c | 53 static int comc_pcidev_set(struct env_var *ev, int flags, 56 static int comc_port_set(struct env_var *ev, int flags, 59 static int comc_speed_set(struct env_var *ev, int flags, 172 comc_speed_set(struct env_var *ev, int flags, const void *value) argument 184 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 190 comc_port_set(struct env_var *ev, int flags, const void *value) argument 202 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL); 298 comc_pcidev_set(struct env_var *ev, int flags, const void *value) argument 313 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/freebsd-current/sys/contrib/dev/athk/ath12k/ |
H A D | dbring.c | 231 struct ath12k_dbring_buf_release_event *ev) 248 pdev_idx = le32_to_cpu(ev->fixed.pdev_id); 255 if (ev->fixed.num_buf_release_entry != 256 ev->fixed.num_meta_data_entry) { 258 ev->fixed.num_buf_release_entry, 259 ev->fixed.num_meta_data_entry); 271 switch (ev->fixed.module_id) { 276 ath12k_warn(ab, "Recv dma buffer release ev on unsupp module %d\n", 277 ev->fixed.module_id); 287 num_entry = le32_to_cpu(ev 230 ath12k_dbring_buffer_release_event(struct ath12k_base *ab, struct ath12k_dbring_buf_release_event *ev) argument [all...] |
/freebsd-current/contrib/nvi/vi/ |
H A D | vs_msg.c | 513 EVENT ev; local 611 ev.e_event = E_REPAINT; 612 ev.e_flno = vip->totalcount >= 614 ev.e_tlno = sp->rows; 620 (void)vs_repaint(sp, &ev); 637 EVENT ev; local 715 ev.e_event = E_REPAINT; 716 ev.e_flno = vip->totalcount >= 718 ev.e_tlno = sp->rows; 729 (void)vs_repaint(sp, &ev); 777 EVENT ev; local [all...] |
/freebsd-current/contrib/wpa/src/tls/ |
H A D | tlsv1_client_read.c | 282 union tls_event_data ev; local 292 os_memset(&ev, 0, sizeof(ev)); 296 ev.peer_cert.cert = cert_buf; 305 ev.peer_cert.hash = hash; 306 ev.peer_cert.hash_len = sizeof(hash); 311 ev.peer_cert.depth = depth; 313 ev.peer_cert.subject = subject; 317 ev.peer_cert.tod = 1; 320 ev 334 union tls_event_data ev; local 526 union tls_event_data ev; local 545 union tls_event_data ev; local [all...] |
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | tls_gnutls.c | 36 void (*event_cb)(void *ctx, enum tls_event ev, 933 union tls_event_data ev; local 940 os_memset(&ev, 0, sizeof(ev)); 941 ev.cert_fail.depth = depth; 942 ev.cert_fail.subject = subject ? subject : ""; 943 ev.cert_fail.reason = reason; 944 ev.cert_fail.reason_txt = err_str; 947 ev.cert_fail.cert = cert_buf; 949 global->event_cb(global->cb_ctx, TLS_CERT_CHAIN_FAILURE, &ev); 1300 union tls_event_data ev; local 1475 union tls_event_data ev; local [all...] |
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_event_queue.c | 195 struct pt_event *ev; local 197 ev = &evq->queue[evb][begin]; 198 if (ev->type == evt) 199 return ev;
|
/freebsd-current/stand/uboot/ |
H A D | libuboot.h | 51 int uboot_setcurrdev(struct env_var *ev, int flags, const void *value);
|
H A D | devicename.c | 169 uboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument 178 return (mount_currdev(ev, flags, value));
|
/freebsd-current/sys/modules/cxgbe/iw_cxgbe/ |
H A D | Makefile | 9 SRCS+= ev.c
|
/freebsd-current/crypto/heimdal/kadmin/ |
H A D | load.c | 238 parse_event(Event *ev, char *s) argument 245 memset(ev, 0, sizeof(*ev)); 247 if(parse_time_string(&ev->time, p) != 1) 250 ret = krb5_parse_name(context, p, &ev->principal); 257 parse_event_alloc (Event **ev, char *s) argument 262 *ev = NULL; 265 *ev = malloc (sizeof (**ev)); 266 if (*ev [all...] |
/freebsd-current/crypto/openssh/ |
H A D | audit.c | 83 audit_event_lookup(ssh_audit_event_t ev) argument 107 if (event_lookup[i].event == ev)
|
/freebsd-current/contrib/libedit/ |
H A D | hist.c | 171 HistEventW ev; local 212 return history_w(el->el_history.ref, &ev, H_SETSIZE, num); 215 return history_w(el->el_history.ref, &ev, H_SETUNIQUE, num); 247 HistEventW ev; local 248 if ((*(el)->el_history.fun)((el)->el_history.ref, &ev, fn, arg) == -1) 250 return ct_decode_string((const char *)(const void *)ev.str,
|
/freebsd-current/sys/kern/ |
H A D | kern_pmc.c | 305 pmc_soft_ev_acquire(enum pmc_event ev) argument 309 if (ev == 0 || (ev - PMC_EV_SOFT_FIRST) >= pmc_softevents) 312 KASSERT((int)ev >= PMC_EV_SOFT_FIRST && 313 (int)ev <= PMC_EV_SOFT_LAST, 318 ps = pmc_softs[ev - PMC_EV_SOFT_FIRST];
|
/freebsd-current/sys/dev/hwpmc/ |
H A D | hwpmc_cmn600.c | 236 cmn600_map_ev2event(int ev, int rev, int *node_type, uint8_t *event) argument 238 if (ev < PMC_EV_CMN600_PMU_dn_rxreq_dvmop || 239 ev > PMC_EV_CMN600_PMU_rni_rdb_ord) 241 if (ev <= PMC_EV_CMN600_PMU_dn_rxreq_trk_full) { 244 switch (ev) { 252 switch (ev) { 268 } else if (ev <= PMC_EV_CMN600_PMU_hnf_snp_fwded) { 270 *event = ev - PMC_EV_CMN600_PMU_hnf_cache_miss; 272 } else if (ev <= PMC_EV_CMN600_PMU_hni_pcie_serialization) { 274 *event = ev [all...] |
H A D | hwpmc_soft.c | 98 enum pmc_event ev; local 117 ev = pm->pm_event; 118 if ((int)ev < PMC_EV_SOFT_FIRST || (int)ev > PMC_EV_SOFT_LAST) 122 ps = pmc_soft_ev_acquire(ev); 291 enum pmc_event ev; local 306 ev = pmc->pm_event; 309 ps = pmc_soft_ev_acquire(ev); 311 ("[soft,%d] unregistered event %d", __LINE__, ev));
|
/freebsd-current/tests/sys/file/ |
H A D | path_test.c | 492 struct kevent ev; local 517 EV_SET(&ev, pathfd, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 0); 518 ATF_REQUIRE_MSG(kevent(kq, &ev, 1, NULL, 0, NULL) == 0, 520 ATF_REQUIRE_MSG(kevent(kq, NULL, 0, &ev, 1, NULL) == 1, 522 ATF_REQUIRE_MSG((ev.flags & EV_ERROR) == 0, "EV_ERROR is set"); 523 ATF_REQUIRE_MSG(ev.data == sizeof(buf), 524 "data is %jd", (intmax_t)ev.data); 525 EV_SET(&ev, pathfd, EVFILT_READ, EV_DELETE, 0, 0, 0); 526 ATF_REQUIRE_MSG(kevent(kq, &ev, 1, NULL, 0, NULL) == 0, 530 EV_SET(&ev, pathf 635 struct kevent ev; local 932 struct kevent ev; local [all...] |
/freebsd-current/stand/common/ |
H A D | commands.c | 262 struct env_var *ev; local 270 for (ev = environ; ev != NULL; ev = ev->ev_next) { 271 pager_output(ev->ev_name); 272 cp = getenv(ev->ev_name);
|
/freebsd-current/contrib/netbsd-tests/net/mcast/ |
H A D | mcast.c | 61 #define ERRX(ev, msg, ...) ATF_REQUIRE_MSG(0, msg, __VA_ARGS__) 62 #define ERRX0(ev, msg) ATF_REQUIRE_MSG(0, msg) 64 #define SKIPX(ev, msg, ...) do { \ 70 #define ERRX(ev, msg, ...) errx(ev, msg, __VA_ARGS__) 71 #define ERRX0(ev, msg) errx(ev, msg) 72 #define SKIPX(ev, msg, ...) errx(ev, msg, __VA_ARGS__)
|
/freebsd-current/sys/nfs/ |
H A D | nfs_diskless.c | 60 static int inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa); 61 static int hwaddr_to_sockaddr(char *ev, struct sockaddr_dl *sa); 62 static int decode_nfshandle(char *ev, u_char *fh, int maxfh); 346 inaddr_to_sockaddr(char *ev, struct sockaddr_in *sa) argument 356 if ((cp = kern_getenv(ev)) == NULL) 368 hwaddr_to_sockaddr(char *ev, struct sockaddr_dl *sa) argument 379 if ((cp = kern_getenv(ev)) == NULL) 396 decode_nfshandle(char *ev, u_char *fh, int maxfh) argument 401 ep = cp = kern_getenv(ev);
|
/freebsd-current/contrib/ntp/include/ |
H A D | timepps-Solaris.h | 100 #define PPS_OFFSETASSERT 0x10 /* apply compensation for assert ev. */ 101 #define PPS_OFFSETCLEAR 0x20 /* apply compensation for clear ev. */ 462 } ev; local 498 if (ioctl(punit->filedes, TIOCGPPSEV, (caddr_t) &ev) < 0) { 504 infobuf.assert_sequence = ev.serial; 505 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec; 506 infobuf.assert_timestamp.tv_nsec = ev.tv.tv_usec * 1000;
|
H A D | timepps-SunOS.h | 100 #define PPS_OFFSETASSERT 0x10 /* apply compensation for assert ev. */ 101 #define PPS_OFFSETCLEAR 0x20 /* apply compensation for clear ev. */ 396 } ev; local 435 if (ioctl(handle->filedes, CIOGETEV, (caddr_t) &ev) < 0) { 446 infobuf.assert_sequence = ev.serial; 447 infobuf.assert_timestamp.tv_sec = ev.tv.tv_sec; 448 infobuf.assert_timestamp.tv_nsec = ev.tv.tv_usec * 1000;
|
/freebsd-current/crypto/heimdal/lib/hdb/ |
H A D | print.c | 109 append_event(krb5_context context, krb5_storage *sp, Event *ev) argument 113 if(ev == NULL) 115 if (ev->principal != NULL) { 116 ret = krb5_unparse_name(context, ev->principal, &pr); 121 time2str(ev->time), pr ? pr : "UNKNOWN");
|
/freebsd-current/lib/libpmcstat/ |
H A D | libpmcstat_process.c | 339 struct pmcstat_ev *ev; local 345 STAILQ_FOREACH(ev, &args->pa_events, ev_next) { 346 if (PMC_IS_SYSTEM_MODE(ev->ev_mode)) 349 if (pmc_attach(ev->ev_pmcid, pt->pt_pid) == 0) 354 ev->ev_name, (int)pt->pt_pid);
|