Searched defs:event (Results 1 - 25 of 582) sorted by relevance

1234567891011>>

/freebsd-head/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_txrx.c47 mlx5e_cq_error_event(struct mlx5_core_cq *mcq, int event) argument
51 mlx5_en_err(cq->priv->ifp, "cqn=0x%.6x event=0x%.2x\n",
52 mcq->cqn, event);
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DStoppointCallbackContext.h30 StoppointCallbackContext(Event *event, const ExecutionContext &exe_ctx,
35 /// Sets the event, process and thread to NULL, and the frame index to an
40 Event *event; // This is the event, the callback can modify this to indicate member in class:lldb_private::StoppointCallbackContext
46 // or asynchronously as the event is retrieved?
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/read/
H A Dt_fifo.c37 #include <sys/event.h>
61 struct kevent event[1]; local
69 EV_SET(&event[0], fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
70 RL(kevent(kq, event, 1, NULL, 0, NULL));
76 (void)memset(event, 0, sizeof(event));
78 RL(n = kevent(kq, NULL, 0, event, 1, NULL));
82 "data: %" PRIdPTR "\n", n, event[0].filter, event[0].flags,
84 "data: %" PRId64 "\n", n, event[
[all...]
H A Dt_file2.c37 #include <sys/event.h>
57 struct kevent event[1]; local
68 EV_SET(&event[0], fd1, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
69 RL(kevent(kq, event, 1, NULL, 0, NULL));
H A Dt_pipe.c37 #include <sys/event.h>
53 struct kevent event[1]; local
61 EV_SET(&event[0], fds[0], EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
62 RL(kevent(kq, event, 1, NULL, 0, NULL));
68 RL(n = kevent(kq, NULL, 0, event, 1, NULL));
71 "%" PRIdPTR "\n", n, event[0].flags, event[0].fflags, event[0].data);
73 "%" PRId64 "\n", n, event[0].flags, event[
[all...]
H A Dt_file.c38 #include <sys/event.h>
88 struct kevent event[1]; local
106 EV_SET(&event[0], fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
107 RL(kevent(kq, event, 1, NULL, 0, NULL));
110 RL(n = kevent(kq, NULL, 0, event, 1, NULL));
115 "%" PRIdPTR "\n", n, event[0].flags, event[0].fflags,
117 "%" PRId64 "\n", n, event[0].flags, event[0].fflags,
119 event[
[all...]
/freebsd-head/sbin/hastd/
H A Devent.c42 #include "event.h"
45 event_send(const struct hast_resource *res, int event) argument
51 PJDLOG_ASSERT(event >= EVENT_MIN && event <= EVENT_MAX);
56 * Prepare and send event to parent process.
59 nv_add_uint8(nvout, (uint8_t)event, "event");
63 "Unable to prepare event header");
67 pjdlog_errno(LOG_ERR, "Unable to send event header");
71 pjdlog_errno(LOG_ERR, "Unable to receive event heade
90 uint8_t event; local
[all...]
/freebsd-head/sys/contrib/openzfs/module/icp/api/
H A Dkcf_miscapi.c33 * All event subscribers are put on a list. kcf_notify_list_lock
74 kcf_walk_ntfylist(uint32_t event, void *event_arg) argument
94 * event.
96 if (!(nep->kn_event_mask & event))
112 (*nep->kn_func)(event, event_arg);
/freebsd-head/contrib/ntp/sntp/libevent/
H A Depoll_sub.c52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) argument
55 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
/freebsd-head/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c27 #include "event2/event-config.h"
48 #include <event.h>
58 closed_cb(evutil_socket_t fd, short event, void *arg) argument
60 if (EV_TIMEOUT & event) {
65 if (EV_CLOSED & event) {
83 struct event *ev;
H A Dtest-weof.c27 #include "event2/event-config.h"
49 #include "event2/event.h"
63 write_cb(evutil_socket_t fd, short event, void *arg) argument
86 struct event ev;
105 /* Initalize the event library */
108 /* Initalize one event */
/freebsd-head/contrib/ntp/lib/isc/
H A Devent.c18 /* $Id: event.c,v 1.21 2007/06/19 23:47:17 tbox Exp $ */
27 #include <isc/event.h>
36 destroy(isc_event_t *event) { argument
37 isc_mem_put(event->ev_destroy_arg, event, event->ev_size);
44 isc_event_t *event; local
50 event = isc_mem_get(mctx, size);
51 if (event == NULL)
56 * evils here. If the event
76 isc_event_t *event; local
[all...]
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_fifo.c37 #include <sys/event.h>
61 struct kevent event[1]; local
78 EV_SET(&event[0], fd, EVFILT_WRITE, EV_ADD|EV_ENABLE, 0, 0, 0);
79 RL(kevent(kq, event, 1, NULL, 0, NULL));
81 (void)memset(event, 0, sizeof(event));
82 RL(n = kevent(kq, NULL, 0, event, 1, NULL));
85 "data: %" PRId64 "\n", n, event[0].filter, event[0].flags,
86 event[
[all...]
H A Dt_pipe.c37 #include <sys/event.h>
58 struct kevent event[1]; local
66 EV_SET(&event[0], fds[1], EVFILT_WRITE, EV_ADD|EV_ENABLE, 0, 0, 0);
67 ATF_REQUIRE_EQ_MSG((n = kevent(kq, event, 1, NULL, 0, NULL)),
81 struct kevent event[1]; local
91 EV_SET(&event[0], fds[1], EVFILT_WRITE, EV_ADD|EV_ENABLE, 0, 0, 0);
92 RL(kevent(kq, event, 1, NULL, 0, NULL));
103 RL(n = kevent(kq, NULL, 0, event, 1, NULL));
106 "%" PRId64 "\n", n, event[0].flags, event[
123 struct kevent event[1]; local
[all...]
/freebsd-head/contrib/netbsd-tests/kernel/kqueue/
H A Dt_proc1.c43 #include <sys/event.h>
100 struct kevent event[1]; local
116 event[0].ident = (uintptr_t)pid;
117 event[0].filter = EVFILT_PROC;
118 event[0].flags = EV_ADD | EV_ENABLE;
119 event[0].fflags = NOTE_EXIT | NOTE_FORK | NOTE_EXEC; /* | NOTE_TRACK;*/
122 RL(kevent(kq, event, 1, NULL, 0, NULL));
126 RL(kevent(kq, NULL, 0, event, 1, NULL));
127 printf("%ld:", (long)event[0].ident);
129 if (event[
[all...]
/freebsd-head/stand/efi/libefi/
H A Dtime_event.c40 time_update(EFI_EVENT event, void *context) argument
50 /* Create a timer event */
/freebsd-head/contrib/ofed/libibverbs/
H A Denum_strs.c69 const char *ibv_event_type_str(enum ibv_event_type event) argument
93 if (event < IBV_EVENT_CQ_ERR || event > IBV_EVENT_GID_CHANGE)
96 return event_type_str[event];
/freebsd-head/contrib/ofed/libibverbs/examples/
H A Dasyncwatch.c92 struct ibv_async_event event; local
148 printf("%s: async event FD %d\n",
152 if (ibv_get_async_event(context, &event))
156 event_name_str(event.event_type),
157 event.event_type, event.element.port_num);
159 ibv_ack_async_event(&event);
/freebsd-head/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c49 struct ib_event event; local
73 event.event = ib_event;
74 event.device = chp->ibcq.device;
76 event.element.cq = &chp->ibcq;
78 event.element.qp = &qhp->ibqp;
80 (*qhp->ibqp.event_handler)(&event, qhp->ibqp.qp_context);
/freebsd-head/sys/dev/hwpmc/
H A Dhwpmc_octeon.c163 mips_get_perfctl(int cpu, int ri, uint32_t event, uint32_t caps) argument
172 control.s.event = event;
/freebsd-head/contrib/wpa/src/fst/
H A Dfst_ctrl_aux.c53 const char * fst_session_event_type_name(enum fst_event_type event) argument
55 return fst_get_str_name(event, session_event_names,
/freebsd-head/contrib/libevent/
H A Depoll_sub.c52 epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) argument
55 return (syscall(__NR_epoll_ctl, epfd, op, fd, event));
/freebsd-head/contrib/libevent/sample/
H A Devent-read-fifo.c8 * cc -I/usr/local/include -o event-read-fifo event-read-fifo.c \
12 #include <event2/event-config.h>
31 #include <event2/event.h>
34 fifo_read(evutil_socket_t fd, short event, void *arg) argument
38 struct event *ev = arg;
43 fprintf(stderr, "fifo_read called with fd: %d, event: %d, arg: %p\n",
44 (int)fd, event, arg);
74 /* On Unix, cleanup event.fifo if SIGINT is received. */
77 signal_cb(evutil_socket_t fd, short event, voi argument
[all...]
H A Dsignal-test.c9 #include <event2/event-config.h>
27 #include <event2/event.h>
32 signal_cb(evutil_socket_t fd, short event, void *arg) argument
34 struct event *signal = arg;
47 struct event *signal_int;
58 /* Initalize the event library */
61 /* Initalize one event */
/freebsd-head/contrib/libevent/test/
H A Dtest-closed.c28 #include "event2/event-config.h"
49 #include <event.h>
55 closed_cb(evutil_socket_t fd, short event, void *arg) argument
57 if (EV_TIMEOUT & event) {
62 if (EV_CLOSED & event) {
76 struct event *ev;

Completed in 101 milliseconds

1234567891011>>