Home
last modified time | relevance | path

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

/linux/tools/perf/bench/
H A Dsched-messaging.c45 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()
259 for (i = 0; i < num_fds; i++) in group()
263 return num_fds * 2; in group()
[all …]
/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 …]
/linux/include/uapi/linux/android/
H A Dbinder.h166 binder_size_t num_fds; member
/linux/drivers/android/
H A Dbinder.c2151 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release()
2152 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release()
2154 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2161 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2173 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release()
2667 if (fda->num_fds == 0) in binder_translate_fd_array()
2670 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array()
2671 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array()
2673 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
2680 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
[all …]
/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()