| /OK3568_Linux_fs/kernel/tools/perf/bench/ |
| H A D | sched-messaging.c | 40 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 …]
|
| /OK3568_Linux_fs/external/xserver/dri3/ |
| H A D | dri3_screen.c | 54 CARD8 num_fds, const int *fds, in dri3_pixmap_from_fds() argument 67 pixmap = (*info->pixmap_from_fds) (screen, num_fds, fds, width, height, in dri3_pixmap_from_fds() 69 } else if (info->pixmap_from_fd != NULL && num_fds == 1) { in dri3_pixmap_from_fds() 125 int num_fds; in dri3_fd_from_pixmap() local 142 num_fds = info->fds_from_pixmap(screen, pixmap, fds, strides, offsets, in dri3_fd_from_pixmap() 144 if (num_fds != 1 || offsets[0] != 0) { in dri3_fd_from_pixmap() 146 for (i = 0; i < num_fds; i++) in dri3_fd_from_pixmap()
|
| H A D | dri3_request.c | 508 int num_fds; in proc_dri3_buffers_from_pixmap() local 522 num_fds = dri3_fds_from_pixmap(pixmap, fds, strides, offsets, &modifier); in proc_dri3_buffers_from_pixmap() 523 if (num_fds == 0) in proc_dri3_buffers_from_pixmap() 526 rep.nfd = num_fds; in proc_dri3_buffers_from_pixmap() 527 rep.length = bytes_to_int32(num_fds * 2 * sizeof(CARD32)); in proc_dri3_buffers_from_pixmap() 540 for (i = 0; i < num_fds; i++) { in proc_dri3_buffers_from_pixmap() 546 for (i = 0; i < num_fds; i++) { in proc_dri3_buffers_from_pixmap() 555 WriteToClient(client, num_fds * sizeof(CARD32), strides); in proc_dri3_buffers_from_pixmap() 556 WriteToClient(client, num_fds * sizeof(CARD32), offsets); in proc_dri3_buffers_from_pixmap()
|
| H A D | dri3_priv.h | 83 CARD8 num_fds, const int *fds,
|
| H A D | dri3.h | 51 CARD8 num_fds,
|
| /OK3568_Linux_fs/external/xserver/glamor/ |
| H A D | glamor_egl.c | 413 int num_fds; in glamor_egl_fds_from_pixmap() local 426 num_fds = gbm_bo_get_plane_count(bo); in glamor_egl_fds_from_pixmap() 427 for (i = 0; i < num_fds; i++) { in glamor_egl_fds_from_pixmap() 434 num_fds = 1; in glamor_egl_fds_from_pixmap() 441 return num_fds; in glamor_egl_fds_from_pixmap() 558 CARD8 num_fds, const int *fds, in glamor_pixmap_from_fds() argument 580 import_data.num_fds = num_fds; in glamor_pixmap_from_fds() 582 for (i = 0; i < num_fds; i++) { in glamor_pixmap_from_fds() 598 if (num_fds == 1) { in glamor_pixmap_from_fds()
|
| H A D | glamor.h | 271 CARD8 num_fds,
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-glamor-gbm.c | 479 glamor_pixmap_from_fds(ScreenPtr screen, CARD8 num_fds, const int *fds, in glamor_pixmap_from_fds() argument 490 if (width == 0 || height == 0 || num_fds == 0 || in glamor_pixmap_from_fds() 501 data.num_fds = num_fds; in glamor_pixmap_from_fds() 504 for (i = 0; i < num_fds; i++) { in glamor_pixmap_from_fds() 512 } else if (num_fds == 1) { in glamor_pixmap_from_fds() 548 uint32_t num_fds; in glamor_egl_fds_from_pixmap() local 561 num_fds = gbm_bo_get_plane_count(xwl_pixmap->bo); in glamor_egl_fds_from_pixmap() 564 for (i = 0; i < num_fds; i++) { in glamor_egl_fds_from_pixmap() 570 return num_fds; in glamor_egl_fds_from_pixmap()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | fake_v4l2_device.cpp | 162 int num_fds = stop_fd == -1 ? 1 : 2; in poll_event() local 163 struct pollfd poll_fds[num_fds]; in poll_event() 178 ret = poll (poll_fds, num_fds, timeout_msec); in poll_event()
|
| H A D | v4l2_device.cpp | 257 int num_fds = stop_fd == -1 ? 1 : 2; in poll_event() local 258 struct pollfd poll_fds[num_fds]; in poll_event() 273 ret = poll (poll_fds, num_fds, timeout_msec); in poll_event()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | dri3.c | 80 CARD8 num_fds, const int *fds, in ms_exa_pixmap_from_fds() argument 91 if (num_fds != 1 || offsets[0] || modifier != DRM_FORMAT_MOD_INVALID) in ms_exa_pixmap_from_fds()
|
| H A D | drmmode_display.c | 1197 int num_fds; in drmmode_bo_import() local 1199 num_fds = gbm_bo_get_plane_count(bo->gbm); in drmmode_bo_import() 1200 if (num_fds > 0) { in drmmode_bo_import() 1215 for (i = 0; i < num_fds; i++) { in drmmode_bo_import()
|
| /OK3568_Linux_fs/external/rockit/mpi/example/mod/ |
| H A D | test_mpi_ai.cpp | 92 RK_S32 num_fds = 1; in test_ai_poll_event() local 93 struct pollfd pollFds[num_fds]; in test_ai_poll_event() 101 ret = poll(pollFds, num_fds, timeoutMsec); in test_ai_poll_event()
|
| H A D | test_mpi_aenc.cpp | 94 RK_S32 num_fds = 1; in test_aenc_poll_event() local 95 struct pollfd pollFds[num_fds]; in test_aenc_poll_event() 103 ret = poll(pollFds, num_fds, timeoutMsec); in test_aenc_poll_event()
|
| H A D | test_mpi_vdec.cpp | 168 RK_S32 num_fds = 1; in mpi_vdec_poll_event() local 169 struct pollfd pollFds[num_fds]; in mpi_vdec_poll_event() 177 ret = poll(pollFds, num_fds, timeoutMsec); in mpi_vdec_poll_event()
|
| H A D | test_mpi_vi.cpp | 325 RK_S32 num_fds = 1; in test_vi_poll_event() local 326 struct pollfd pollFds[num_fds]; in test_vi_poll_event() 334 ret = poll(pollFds, num_fds, timeoutMsec); in test_vi_poll_event()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ipc_server/ |
| H A D | socket_server.cpp | 375 int num_fds = fds[1] == -1 ? 1 : 2; in poll_event() local 376 struct pollfd poll_fds[num_fds]; in poll_event() 389 ret = poll(poll_fds, num_fds, timeout_msec); in poll_event()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/android/ |
| H A D | binder.h | 158 binder_size_t num_fds; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/android/ |
| H A D | binder.h | 158 binder_size_t num_fds; member
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/android/ |
| H A D | binder.h | 214 binder_size_t num_fds; member
|
| /OK3568_Linux_fs/external/libmali/include/GBM/ |
| H A D | gbm.h | 304 uint32_t num_fds; member
|
| /OK3568_Linux_fs/kernel/drivers/android/ |
| H A D | binder.c | 2159 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_transaction_buffer_release() 2160 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_transaction_buffer_release() 2162 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2169 debug_id, (u64)fda->num_fds); in binder_transaction_buffer_release() 2182 for (fd_index = 0; fd_index < fda->num_fds; in binder_transaction_buffer_release() 2663 if (fda->num_fds == 0) in binder_translate_fd_array() 2666 fd_buf_size = sizeof(u32) * fda->num_fds; in binder_translate_fd_array() 2667 if (fda->num_fds >= SIZE_MAX / sizeof(u32)) { in binder_translate_fd_array() 2669 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() 2676 proc->pid, thread->pid, (u64)fda->num_fds); in binder_translate_fd_array() [all …]
|
| /OK3568_Linux_fs/kernel/arch/um/drivers/ |
| H A D | virtio_uml.c | 215 int *fds, size_t num_fds) in vhost_user_send() argument 238 rc = full_sendmsg_fds(vu_dev->sock, msg, size, fds, num_fds); in vhost_user_send()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 259 int num_fds, err, max_retries; in dpaa2_eth_xdp_flush() local 266 num_fds = xdp_fds->num; in dpaa2_eth_xdp_flush() 267 max_retries = num_fds * DPAA2_ETH_ENQUEUE_RETRIES; in dpaa2_eth_xdp_flush() 268 while (total_enqueued < num_fds && retries < max_retries) { in dpaa2_eth_xdp_flush() 270 0, num_fds - total_enqueued, &enqueued); in dpaa2_eth_xdp_flush()
|