Searched refs:num_fds (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | sched-messaging.c | 43 unsigned int num_fds; member 94 for (j = 0; j < ctx->num_fds; j++) { in sender() 196 unsigned int num_fds, in group() argument 202 + num_fds * sizeof(int)); in group() 207 for (i = 0; i < num_fds; i++) { in group() 218 ctx->num_packets = num_fds * nr_loops; in group() 232 for (i = 0; i < num_fds; i++) { in group() 235 snd_ctx->num_fds = num_fds; in group() 237 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender); in group() 242 for (i = 0; i < num_fds; i++) in group() [all …]
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | trace_helpers.c | 173 int num_fds, perf_event_print_fn output_fn) in perf_event_poller_multi() argument 181 pfds = calloc(num_fds, sizeof(*pfds)); in perf_event_poller_multi() 185 for (i = 0; i < num_fds; i++) { in perf_event_poller_multi() 191 poll(pfds, num_fds, 1000); in perf_event_poller_multi() 192 for (i = 0; i < num_fds; i++) { in perf_event_poller_multi()
|
D | trace_helpers.h | 24 int num_fds, perf_event_print_fn output_fn);
|
/Linux-v4.19/include/uapi/linux/android/ |
D | binder.h | 158 binder_size_t num_fds; member
|
/Linux-v4.19/drivers/android/ |
D | binder.c | 2303 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release() 2304 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release() 2306 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2313 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2317 for (fd_index = 0; fd_index < fda->num_fds; fd_index++) in binder_transaction_buffer_release() 2521 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array() 2522 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array() 2524 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() 2531 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() 2546 for (fdi = 0; fdi < fda->num_fds; fdi++) { in binder_translate_fd_array() [all …]
|