Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c329 int num_fds, err, max_retries; in dpaa2_eth_xdp_flush() local
336 num_fds = xdp_fds->num; in dpaa2_eth_xdp_flush()
337 max_retries = num_fds * DPAA2_ETH_ENQUEUE_RETRIES; in dpaa2_eth_xdp_flush()
338 while (total_enqueued < num_fds && retries < max_retries) { in dpaa2_eth_xdp_flush()
340 0, num_fds - total_enqueued, &enqueued); in dpaa2_eth_xdp_flush()
1214 int *num_fds, u32 *total_fds_len) in dpaa2_eth_build_gso_fd() argument
1326 *num_fds = index; in dpaa2_eth_build_gso_fd()
1360 int num_fds = 1, max_retries; in __dpaa2_eth_tx() local
1389 err = dpaa2_eth_build_gso_fd(priv, skb, fd, &num_fds, &fd_len); in __dpaa2_eth_tx()
1390 percpu_extras->tx_sg_frames += num_fds; in __dpaa2_eth_tx()
[all …]
/linux-6.1.9/include/uapi/linux/android/
Dbinder.h166 binder_size_t num_fds; member
/linux-6.1.9/drivers/android/
Dbinder.c2060 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release()
2061 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release()
2063 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2070 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release()
2083 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release()
2562 if (fda->num_fds == 0) in binder_translate_fd_array()
2565 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array()
2566 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array()
2568 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
2575 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array()
[all …]
/linux-6.1.9/arch/um/drivers/
Dvirtio_uml.c227 int *fds, size_t num_fds) in vhost_user_send() argument
250 rc = full_sendmsg_fds(vu_dev->sock, msg, size, fds, num_fds); in vhost_user_send()