Home
last modified time | relevance | path

Searched refs:num_fds (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/tools/perf/bench/
Dsched-messaging.c40 unsigned int num_fds; member
91 for (j = 0; j < ctx->num_fds; j++) { in sender()
193 unsigned int num_fds, in group() argument
199 + num_fds * sizeof(int)); in group()
204 for (i = 0; i < num_fds; i++) { in group()
215 ctx->num_packets = num_fds * nr_loops; in group()
229 for (i = 0; i < num_fds; i++) { in group()
232 snd_ctx->num_fds = num_fds; in group()
234 pth[num_fds+i] = create_worker(snd_ctx, (void *)sender); in group()
239 for (i = 0; i < num_fds; i++) in group()
[all …]
/Linux-v5.4/include/uapi/linux/android/
Dbinder.h166 binder_size_t num_fds; member
/Linux-v5.4/drivers/android/
Dbinder.c2390 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release()
2391 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release()
2393 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2400 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2413 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release()
2636 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array()
2637 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array()
2639 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
2646 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
2663 for (fdi = 0; fdi < fda->num_fds; fdi++) { in binder_translate_fd_array()
[all …]
/Linux-v5.4/arch/um/drivers/
Dvirtio_uml.c172 int *fds, size_t num_fds) in vhost_user_send() argument
193 rc = full_sendmsg_fds(vu_dev->sock, msg, size, fds, num_fds); in vhost_user_send()