Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 18 of 18) sorted by relevance

/freebsd/usr.sbin/mptutil/
H A Dmpt_evt.c96 int ch, error, fd, i, num_events, verbose; in show_events() local
139 num_events = 0; in show_events()
144 entries[num_events] = &log->LogEntry[i]; in show_events()
145 num_events++; in show_events()
148 qsort(entries, num_events, sizeof(MPI_LOG_0_ENTRY *), event_compare); in show_events()
150 if (num_events == 0) in show_events()
154 for (i = 0; i < num_events; i++) in show_events()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DMainLoopPosix.cpp59 int num_events = -1; member in MainLoopPosix::RunImpl
83 num_events = kevent(loop.m_kqueue, in_events.data(), in_events.size(), in Poll()
86 if (num_events < 0) { in Poll()
89 // we need to zero num_events to avoid assertions failing in Poll()
90 num_events = 0; in Poll()
98 assert(num_events >= 0); in ProcessEvents()
99 for (int i = 0; i < num_events; ++i) { in ProcessEvents()
/freebsd/usr.sbin/mfiutil/
H A Dmfi_evt.c53 mfi_get_events(int fd, struct mfi_evt_list *list, int num_events, in mfi_get_events() argument
62 (num_events - 1); in mfi_get_events()
545 int ch, error, fd, num_events, verbose; in show_events() local
563 num_events = 15; in show_events()
599 num_events = val; in show_events()
615 (num_events - 1); in show_events()
650 if (mfi_get_events(fd, list, num_events, filter, seq, in show_events()
/freebsd/contrib/libpcap/rpcapd/
H A Drpcapd.c860 DWORD num_events; in accept_connections() local
870 num_events = 1; // shutdown event in accept_connections()
874 if (num_events == WSA_MAXIMUM_WAIT_EVENTS) in accept_connections()
884 num_events++; in accept_connections()
890 events = (WSAEVENT *) malloc(num_events * sizeof (WSAEVENT)); in accept_connections()
935 ret = WSAWaitForMultipleEvents(num_events, events, FALSE, in accept_connections()
/freebsd/sys/contrib/xen/
H A Dxenoprof.h93 int32_t num_events; member
/freebsd/contrib/ntp/sntp/
H A Dnetworking.h54 u_char num_events; member
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_devx.c1838 static bool is_valid_events_legacy(int num_events, u16 *event_type_num_list, in is_valid_events_legacy() argument
1843 for (i = 0; i < num_events; i++) { in is_valid_events_legacy()
1858 int num_events, u16 *event_type_num_list, in is_valid_events() argument
1873 return is_valid_events_legacy(num_events, event_type_num_list, in is_valid_events()
1877 for (i = 0; i < num_events; i++) { in is_valid_events()
1923 int num_events; in UVERBS_HANDLER() local
1968 num_events = uverbs_attr_ptr_get_array_size( in UVERBS_HANDLER()
1972 if (num_events < 0) in UVERBS_HANDLER()
1973 return num_events; in UVERBS_HANDLER()
1975 if (num_events > MAX_NUM_EVENTS) in UVERBS_HANDLER()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dmhi.c116 .num_events = ARRAY_SIZE(ath11k_mhi_events_qca6390),
209 .num_events = ARRAY_SIZE(ath11k_mhi_events_qcn9074),
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmhi.h67 int buf_len, max_channels, num_channels, num_events, use_bounce_buf; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dmhi.c109 .num_events = ARRAY_SIZE(ath12k_mhi_events_qcn9274),
202 .num_events = ARRAY_SIZE(ath12k_mhi_events_wcn7850),
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkstat.h660 u_longlong_t num_events; /* number of events */ member
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkstat.h181 u_longlong_t num_events; /* number of events */ member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dkstat.h185 u_longlong_t num_events; /* number of events */ member
/freebsd/contrib/ntp/include/
H A Dntp.h280 u_char num_events; /* number of error events */
276 u_char num_events; /* number of error events */ global() member
/freebsd/contrib/ntp/ntpd/
H A Dntp_control.c1345 return CTL_PEER_STATUS(status, p->num_events, p->last_event); in ctlpeerstatus()
3253 peer->num_events = 0; in read_status()
3306 peer->num_events = 0; in read_peervars()
4993 peer->num_events = 0; in report_event()
4994 if (peer->num_events >= CTL_PEER_MAXEVENTS) in report_event()
4998 peer->num_events++; in report_event()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kstat.c216 ktp->name, ktp->num_events, ktp->elapsed_time, in kstat_seq_show_timer()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mcp_api.h1274 u64 *num_events);
H A Decore_mcp.c3996 u64 *num_events) in ecore_mcp_mem_ecc_events() argument
4002 mb_params.p_data_dst = (union drv_union_data *)num_events; in ecore_mcp_mem_ecc_events()