Searched refs:num_fds (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/perf/bench/ |
| H A D | sched-messaging.c | 45 unsigned int num_fds; member 104 for (j = 0; j < ctx->num_fds; j++) { in sender() 211 unsigned int num_fds, in group() argument 217 num_fds * sizeof(int)); in group() 223 for (i = 0; i < num_fds; i++) { in group() 235 ctx->num_packets = num_fds * nr_loops; in group() 249 for (i = 0; i < num_fds; i++) { in group() 252 snd_ctx->num_fds = num_fds; in group() 254 create_worker(worker + num_fds + i, snd_ctx, (void *)sender); in group() 259 for (i = 0; i < num_fds; i++) in group() [all …]
|
| /linux/arch/um/kernel/skas/ |
| H A D | stub.c | 114 int num_fds; in stub_signal_interrupt() local 147 num_fds = 0; in stub_signal_interrupt() 151 num_fds = (fd_msg->cmsg_len - CMSG_LEN(0)) / sizeof(int); in stub_signal_interrupt() 156 while (num_fds) in stub_signal_interrupt() 157 stub_syscall2(__NR_close, fd_map[--num_fds], 0); in stub_signal_interrupt()
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 789 let num_fds = usize::try_from(obj.num_fds).map_err(|_| EINVAL)?; in translate_object() localVariable 790 let fds_len = num_fds.checked_mul(size_of::<u32>()).ok_or(EINVAL)?; in translate_object() 793 view.alloc.info_add_fd_reserve(num_fds)?; in translate_object() 857 obj_write.num_fds = obj.num_fds; in translate_object()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 340 int num_fds, err, max_retries; in dpaa2_eth_xdp_flush() local 347 num_fds = xdp_fds->num; in dpaa2_eth_xdp_flush() 348 max_retries = num_fds * DPAA2_ETH_ENQUEUE_RETRIES; in dpaa2_eth_xdp_flush() 349 while (total_enqueued < num_fds && retries < max_retries) { in dpaa2_eth_xdp_flush() 351 0, num_fds - total_enqueued, &enqueued); in dpaa2_eth_xdp_flush() 1256 int *num_fds, u32 *total_fds_len) in dpaa2_eth_build_gso_fd() argument 1368 *num_fds = index; in dpaa2_eth_build_gso_fd() 1402 int num_fds = 1, max_retries; in __dpaa2_eth_tx() local 1431 err = dpaa2_eth_build_gso_fd(priv, skb, fd, &num_fds, &fd_len); in __dpaa2_eth_tx() 1432 percpu_extras->tx_sg_frames += num_fds; in __dpaa2_eth_tx() [all …]
|
| /linux/drivers/android/ |
| H A D | binder.c | 2152 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release() 2153 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release() 2155 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2162 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2174 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release() 2668 if (fda->num_fds == 0) in binder_translate_fd_array() 2671 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array() 2672 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array() 2674 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() 2681 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() [all …]
|
| /linux/arch/um/drivers/ |
| H A D | virtio_uml.c | 228 int *fds, size_t num_fds) in vhost_user_send() argument 251 rc = full_sendmsg_fds(vu_dev->sock, msg, size, fds, num_fds); in vhost_user_send()
|