Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/bench/
H A Dsched-messaging.c44 unsigned int num_fds; member
96 for (j = 0; j < ctx->num_fds; j++) { in sender()
199 unsigned int num_fds, in group() argument
205 + num_fds * sizeof(int)); in group()
211 for (i = 0; i < num_fds; i++) { in group()
223 ctx->num_packets = num_fds * nr_loops; in group()
237 for (i = 0; i < num_fds; i++) { in group()
240 snd_ctx->num_fds = num_fds; in group()
247 for (i = 0; i < num_fds; i++) in group()
251 return num_fds * 2; in group()
[all …]
/openbmc/qemu/hw/remote/
H A Dmpqemu-link.c49 if (msg->num_fds) { in mpqemu_msg_send()
50 nfds = msg->num_fds; in mpqemu_msg_send()
157 msg->num_fds = nfds; in mpqemu_msg_recv()
222 if (msg->num_fds >= REMOTE_MAX_FDS) { in mpqemu_msg_valid()
226 if (msg->num_fds > 0) { in mpqemu_msg_valid()
227 for (int i = 0; i < msg->num_fds; i++) { in mpqemu_msg_valid()
237 if (msg->num_fds == 0 || msg->size != sizeof(SyncSysmemMsg)) { in mpqemu_msg_valid()
249 if ((msg->size != sizeof(BarAccessMsg)) || (msg->num_fds != 0)) { in mpqemu_msg_valid()
254 if (msg->size || (msg->num_fds != 2)) { in mpqemu_msg_valid()
H A Dproxy-memory-listener.c179 msg.num_fds = proxy_listener->n_mr_sections; in proxy_memory_listener_commit()
181 if (msg.num_fds > REMOTE_MAX_FDS) { in proxy_memory_listener_commit()
H A Dmemory.c43 for (region = 0; region < msg->num_fds; region++, suffix++) { in remote_sysmem_reconfig()
H A Dproxy.c61 msg.num_fds = 2; in setup_irqfd()
/openbmc/qemu/include/hw/remote/
H A Dmpqemu-link.h89 int num_fds; member
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c340 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()
351 0, num_fds - total_enqueued, &enqueued); in dpaa2_eth_xdp_flush()
1257 int *num_fds, u32 *total_fds_len) in dpaa2_eth_build_gso_fd() argument
1369 *num_fds = index; in dpaa2_eth_build_gso_fd()
1403 int num_fds = 1, max_retries; in __dpaa2_eth_tx() local
1433 percpu_extras->tx_sg_frames += num_fds; in __dpaa2_eth_tx()
1435 percpu_extras->tx_tso_frames += num_fds; in __dpaa2_eth_tx()
1463 for (i = 0; i < num_fds; i++) in __dpaa2_eth_tx()
[all …]
/openbmc/linux/include/uapi/linux/android/
H A Dbinder.h166 binder_size_t num_fds; member
/openbmc/linux/drivers/android/
H A Dbinder.c2070 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release()
2071 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release()
2073 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2080 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2093 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release()
2587 if (fda->num_fds == 0) in binder_translate_fd_array()
2590 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array()
2591 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array()
2593 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
2600 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dvirtio_uml.c228 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()
/openbmc/qemu/tests/qtest/
H A Dmigration-test.c2177 int num_fds, bool direct_io) in fdset_add_fds() argument
2179 for (int i = 0; i < num_fds; i++) { in fdset_add_fds()