/external/chromium/third_party/libevent/ |
devpoll.c | 66 int nevents; member in struct:devpollop 109 if (devpollop->nchanges >= devpollop->nevents) { 160 devpollop->nevents = nfiles; 228 dvp.dp_nfds = devpollop->nevents;
|
epoll.c | 68 int nevents; member in struct:epollop 139 epollop->nevents = INITIAL_NEVENTS; 198 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout); 245 if (res == epollop->nevents && epollop->nevents < MAX_NEVENTS) { 248 int new_nevents = epollop->nevents * 2; 255 epollop->nevents = new_nevents;
|
kqueue.c | 76 int nevents; member in struct:kqop 135 kqueueop->nevents = NEVENT; 169 int nevents = kqop->nevents; local 171 if (kqop->nchanges == nevents) { 175 nevents *= 2; 178 nevents * sizeof(struct kevent)); 186 nevents * sizeof(struct kevent)); 198 kqop->nevents = nevents; [all...] |
evport.c | 81 * can handle. If an event comes in for a file descriptor F > nevents, we will 293 * port_getn will block until it has at least nevents events. It will 296 * nevents. 298 int nevents = 1; local 333 (unsigned int *) &nevents, ts_p)) == -1) { 338 if (nevents == 0) 348 event_debug(("%s: port_getn reports %d events", __func__, nevents)); 350 for (i = 0; i < nevents; ++i) {
|
/external/linux-tools-perf/ |
builtin-probe.c | 60 int nevents; member in struct:__anon11120 72 struct perf_probe_event *pev = ¶ms.events[params.nevents]; 75 pr_debug("probe-definition(%d): %s\n", params.nevents, str); 76 if (++params.nevents == MAX_PROBES) { 148 struct perf_probe_event *pev = ¶ms.events[params.nevents]; 281 if ((!params.nevents && !params.dellist && !params.list_events && 314 if (params.nevents != 0 || params.dellist) { 366 ret = show_available_vars(params.events, params.nevents, 387 if (params.nevents) { 388 ret = add_perf_probe_events(params.events, params.nevents, [all...] |
/external/oprofile/opcontrol/ |
opcontrol.cpp | 106 unsigned int nevents; member in struct:cpuevents 128 #define NEVENTS cpuevent->nevents 331 for (i = 0; i < NEVENTS; i++) { 341 for (i = 0; i < NEVENTS; i++) { 353 for (i = 0; i < NEVENTS; i++) {
|
/device/generic/goldfish/gps/ |
gps_qemu.c | 698 int ne, nevents; local 700 nevents = epoll_wait( epoll_fd, events, 2, -1 ); 701 if (nevents < 0) { 706 D("gps thread received %d events", nevents); 707 for (ne = 0; ne < nevents; ne++) {
|
/external/linux-tools-perf/util/ |
header.c | 43 struct perf_trace_event_type *nevents; local 45 nevents = realloc(events, (event_count + 1) * sizeof(*events)); 46 if (nevents == NULL) 48 events = nevents;
|
/external/blktrace/ |
blktrace.c | 81 * Generic stats collected: nevents can be _roughly_ estimated by data_read 88 unsigned long long nevents; member in struct:pdc_stats 489 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) 491 dpp->stats[cpu].nevents += nevents; 1325 int off, t_len, nevents; local 1349 nevents = 0; 1357 nevents++; 1359 if (nevents) 1360 pdc_nev_update(tbp->dpp, tbp->cpu, nevents); 1948 unsigned long long nevents, data_read; local [all...] |