Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 639) sorted by relevance

12345678910>>...26

/netbsd-src/sys/dev/acpi/
H A Dapei_hest.c90 ACPI_HEST_GENERIC *ghes = container_of(src->as_header, in apei_hest_ghes_handle()
150 ACPI_HEST_GENERIC_V2 *ghes_v2 = container_of(src->as_header, in apei_hest_ghes_v2_handle()
215 ACPI_HEST_GENERIC *ghes = container_of(src->as_header, in apei_hest_ghes_poll()
245 ACPI_HEST_GENERIC_V2 *ghes_v2 = container_of(src->as_header, in apei_hest_ghes_v2_poll()
696 ACPI_HEST_IA_MACHINE_CHECK *const imc = container_of(header, in apei_hest_attach_source()
711 ACPI_HEST_IA_CORRECTED *const imcc = container_of(header, in apei_hest_attach_source()
726 ACPI_HEST_IA_NMI *const ianmi = container_of(header, in apei_hest_attach_source()
737 ACPI_HEST_AER_ROOT *const aerroot = container_of(header, in apei_hest_attach_source()
748 ACPI_HEST_AER *const aer = container_of(header, in apei_hest_attach_source()
759 ACPI_HEST_AER_BRIDGE *const aerbridge = container_of(heade in apei_hest_attach_source()
[all...]
/netbsd-src/external/mit/libuv/dist/test/
H A Dbenchmark-multi-accept.c115 sc = container_of(ipc_pipe, struct ipc_server_ctx, ipc_pipe); in ipc_connection_cb()
141 ctx = container_of(req, struct ipc_peer_ctx, write_req); in ipc_write_cb()
148 ctx = container_of(handle, struct ipc_peer_ctx, peer_handle); in ipc_close_cb()
155 ctx = container_of(req, struct ipc_client_ctx, connect_req); in ipc_connect_cb()
167 ctx = container_of(handle, struct ipc_client_ctx, ipc_pipe); in ipc_alloc_cb()
182 ctx = container_of(ipc_pipe, struct ipc_client_ctx, ipc_pipe); in ipc_read_cb()
284 ctx = container_of(handle, struct server_ctx, async_handle); in sv_async_cb()
294 ctx = container_of(server_handle, struct server_ctx, server_handle); in sv_connection_cb()
331 struct client_ctx* ctx = container_of(req, struct client_ctx, connect_req); in cl_connect_cb()
338 struct client_ctx* ctx = container_of(handle, struct client_ctx, idle_handle); in cl_idle_cb()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_stdu.c44 container_of(x, struct vmw_screen_target_display_unit, base.crtc)
46 container_of(x, struct vmw_screen_target_display_unit, base.encoder)
48 container_of(x, struct vmw_screen_target_display_unit, base.connector)
462 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_bo_clip()
497 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_bo_fifo_commit()
499 container_of(dirty->unit, typeof(*stdu), base); in vmw_stdu_bo_fifo_commit()
548 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_bo_cpu_clip()
579 container_of(dirty, struct vmw_stdu_dirty, base); in vmw_stdu_bo_cpu_commit()
581 container_of(dirty->unit, typeof(*stdu), base); in vmw_stdu_bo_cpu_commit()
689 container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; in vmw_kms_stdu_dma()
[all …]
H A Dvmwgfx_kms.h207 container_of(x, struct vmw_framebuffer, base)
209 container_of(x, struct vmw_framebuffer_surface, base.base)
211 container_of(x, struct vmw_framebuffer_bo, base.base)
263 #define vmw_crtc_state_to_vcs(x) container_of(x, struct vmw_crtc_state, base)
264 #define vmw_plane_state_to_vps(x) container_of(x, struct vmw_plane_state, base)
266 container_of(x, struct vmw_connector_state, base)
383 container_of(x, struct vmw_display_unit, crtc)
385 container_of(x, struct vmw_display_unit, connector)
H A Dvmwgfx_context.c143 container_of(res, struct vmw_user_context, res); in vmw_hw_context_destroy()
187 container_of(res, struct vmw_user_context, res); in vmw_gb_context_init()
374 container_of(res, struct vmw_user_context, res); in vmw_gb_context_unbind()
552 container_of(ctx, struct vmw_user_context, res); in vmw_dx_context_scrub_cotables()
581 container_of(res, struct vmw_user_context, res); in vmw_dx_context_unbind()
680 return &(container_of(base, struct vmw_user_context, base)->res); in vmw_user_context_base_to_res()
686 container_of(res, struct vmw_user_context, res); in vmw_user_context_free()
708 container_of(base, struct vmw_user_context, base); in vmw_user_context_base_release()
834 container_of(ctx, struct vmw_user_context, res); in vmw_context_binding_list()
841 return container_of(ctx, struct vmw_user_context, res)->man; in vmw_context_res_man()
[all …]
H A Dvmwgfx_execbuf.c842 container_of(header, typeof(*cmd), header); in vmw_cmd_cid_check()
886 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_set_render_target_check()
931 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_surface_copy_check()
951 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_buffer_copy_check()
970 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_pred_copy_check()
989 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_stretch_blt_check()
1006 container_of(header, typeof(*cmd), header); in vmw_cmd_blt_surf_screen_check()
1018 container_of(header, typeof(*cmd), header); in vmw_cmd_present_check()
1273 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_dx_define_query()
1304 cmd = container_of(header, typeof(*cmd), header); in vmw_cmd_dx_bind_query()
[all …]
H A Dvmwgfx_ttm_buffer.c541 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_map_dma()
558 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_unmap_dma()
578 container_of(bo->ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_bo_sg_table()
587 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_bind()
621 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_unbind()
644 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_destroy()
662 container_of(ttm, struct vmw_ttm_tt, dma_ttm.ttm); in vmw_ttm_populate()
689 struct vmw_ttm_tt *vmw_tt = container_of(ttm, struct vmw_ttm_tt, in vmw_ttm_unpopulate()
728 vmw_be->dev_priv = container_of(bo->bdev, struct vmw_private, bdev); in vmw_ttm_tt_create()
805 struct vmw_private *dev_priv = container_of(bdev, struct vmw_private, bdev); in vmw_ttm_io_mem_reserve()
H A Dvmwgfx_fence.c94 return container_of(fence->base.lock, struct vmw_fence_manager, lock); in fman_from_fence()
122 container_of(f, struct vmw_fence_obj, base); in vmw_fence_obj_destroy()
146 container_of(f, struct vmw_fence_obj, base); in vmw_fence_enable_signaling()
174 container_of(cb, struct vmwgfx_wait_cb, base); in vmwgfx_wait_cb()
188 container_of(f, struct vmw_fence_obj, base); in vmw_fence_wait()
301 container_of(work, struct vmw_fence_manager, work); in vmw_fence_work_func()
616 container_of(fence, struct vmw_user_fence, fence); in vmw_user_fence_destroy()
631 container_of(base, struct vmw_user_fence, base); in vmw_user_fence_base_release()
867 fence = &(container_of(base, struct vmw_user_fence, base)->fence); in vmw_fence_obj_wait_ioctl()
908 fence = &(container_of(base, struct vmw_user_fence, base)->fence); in vmw_fence_obj_signaled_ioctl()
[all …]
H A Dvmwgfx_bo.c63 return container_of(bo, struct vmw_buffer_object, base); in vmw_buffer_object()
80 return container_of(vmw_bo, struct vmw_user_buffer_object, vbo); in vmw_user_buffer_object()
560 vmw_user_bo = container_of(base, struct vmw_user_buffer_object, in vmw_user_bo_release()
581 user_bo = container_of(base, struct vmw_user_buffer_object, prime.base); in vmw_user_bo_ref_obj_release()
797 user_bo = container_of(vbo, struct vmw_user_buffer_object, in vmw_user_bo_synccpu_ioctl()
933 vmw_user_bo = container_of(base, struct vmw_user_buffer_object, in vmw_user_bo_lookup()
982 vmw_user_bo = container_of(base, struct vmw_user_buffer_object, in vmw_user_bo_noref_lookup()
1004 user_bo = container_of(vbo, struct vmw_user_buffer_object, vbo); in vmw_user_bo_reference()
1030 container_of(bdev, struct vmw_private, bdev); in vmw_bo_fence_single()
1169 vbo = container_of(bo, struct vmw_buffer_object, base); in vmw_bo_move_notify()
/netbsd-src/sys/external/bsd/drm2/ttm/
H A Dttm_agp_backend.c84 return ttm_bus_dma_populate(container_of(ttm, struct ttm_dma_tt, ttm)); in ttm_agp_tt_populate()
94 ttm_bus_dma_unpopulate(container_of(ttm, struct ttm_dma_tt, ttm)); in ttm_agp_tt_unpopulate()
100 struct ttm_agp *const ttm_agp = container_of(ttm, struct ttm_agp, in ttm_agp_bind()
136 struct ttm_agp *const ttm_agp = container_of(ttm, struct ttm_agp, in ttm_agp_unbind()
157 struct ttm_agp *const ttm_agp = container_of(ttm, struct ttm_agp, in ttm_agp_destroy()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_dsb.c46 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in is_dsb_busy()
55 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_enable_engine()
75 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_disable_engine()
169 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_put()
202 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_indexed_reg_write()
277 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_reg_write()
307 struct intel_crtc *crtc = container_of(dsb, typeof(*crtc), dsb); in intel_dsb_commit()
H A Dintel_display_types.h445 #define to_intel_digital_connector_state(x) container_of(x, struct intel_digital_connector_state, b…
1163 #define to_intel_atomic_state(x) container_of(x, struct intel_atomic_state, base)
1164 #define to_intel_crtc(x) container_of(x, struct intel_crtc, base)
1165 #define to_intel_crtc_state(x) container_of(x, struct intel_crtc_state, uapi)
1166 #define to_intel_connector(x) container_of(x, struct intel_connector, base)
1167 #define to_intel_encoder(x) container_of(x, struct intel_encoder, base)
1168 #define to_intel_framebuffer(x) container_of(x, struct intel_framebuffer, base)
1169 #define to_intel_plane(x) container_of(x, struct intel_plane, base)
1170 #define to_intel_plane_state(x) container_of(x, struct intel_plane_state, uapi)
1468 return container_of(&encoder->base, struct intel_digital_port, in enc_to_dig_port()
[all …]
/netbsd-src/sys/arch/arm/nvidia/
H A Dtegra_drm.h160 #define to_tegra_crtc(x) container_of(x, struct tegra_crtc, base)
161 #define to_tegra_encoder(x) container_of(x, struct tegra_encoder, base)
162 #define to_tegra_connector(x) container_of(x, struct tegra_connector, base)
163 #define to_tegra_framebuffer(x) container_of(x, struct tegra_framebuffer, base)
164 #define to_tegra_fbdev(x) container_of(x, struct tegra_fbdev, helper)
/netbsd-src/sys/external/bsd/drm2/i915drm/
H A Dintelfb.c130 struct intelfb_softc *const sc = container_of(task, in intelfb_attach_task()
170 struct intelfb_softc *const sc = container_of(drmfb, in intelfb_drmfb_mmapfb()
173 struct intel_fbdev *const fbdev = container_of(helper, in intelfb_drmfb_mmapfb()
177 container_of(dev, struct drm_i915_private, drm); in intelfb_drmfb_mmapfb()
192 container_of(dev, struct drm_i915_private, drm); in intelfb_disable_vga()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_sw_fence_work.c23 struct dma_fence_work *f = container_of(work, typeof(*f), work); in fence_work()
37 struct dma_fence_work *f = container_of(fence, typeof(*f), chain); in fence_notify()
67 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); in get_timeline_name()
74 struct dma_fence_work *f = container_of(fence, typeof(*f), dma); in fence_release()
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrmfb.c189 struct drmfb_softc *const sc = container_of(genfb, struct drmfb_softc, in drmfb_genfb_ioctl()
236 struct drmfb_softc *const sc = container_of(genfb, struct drmfb_softc, in drmfb_genfb_mmap()
260 struct drmfb_softc *const sc = container_of(genfb, struct drmfb_softc, in drmfb_genfb_enable_polling()
270 struct drmfb_softc *const sc = container_of(genfb, struct drmfb_softc, in drmfb_genfb_disable_polling()
279 struct drmfb_softc *sc = container_of(genfb, struct drmfb_softc, in drmfb_genfb_setmode()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_pmu.c69 struct amdgpu_pmu_entry *pe = container_of(event->pmu, in amdgpu_perf_start()
98 struct amdgpu_pmu_entry *pe = container_of(event->pmu, in amdgpu_perf_read()
125 struct amdgpu_pmu_entry *pe = container_of(event->pmu, in amdgpu_perf_stop()
156 struct amdgpu_pmu_entry *pe = container_of(event->pmu, in amdgpu_perf_add()
185 struct amdgpu_pmu_entry *pe = container_of(event->pmu, in amdgpu_perf_del()
/netbsd-src/external/mit/libuv/dist/src/
H A Dtimer.c43 a = container_of(ha, uv_timer_t, heap_node); in timer_less_than()
44 b = container_of(hb, uv_timer_t, heap_node); in timer_less_than()
151 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__next_timeout()
172 handle = container_of(heap_node, uv_timer_t, heap_node); in uv__run_timers()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_gt.h25 return container_of(uc, struct intel_gt, uc); in uc_to_gt()
30 return container_of(guc, struct intel_gt, uc.guc); in guc_to_gt()
35 return container_of(huc, struct intel_gt, uc.huc); in huc_to_gt()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_fence.c24 struct stub_fence *stub = container_of(fence, typeof(*stub), chain); in stub_notify()
51 struct stub_fence *stub = container_of(fence, typeof(*stub), dma); in stub_release()
100 struct stub_fence *stub = container_of(fence, typeof(*stub), dma); in i915_gem_object_unlock_fence()
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
H A Dlist.h255 #ifndef container_of
256 #define container_of(ptr, type, member) \ macro
264 container_of(ptr, type, member)
297 (void *)container_of((ptr), typeof(*(sample)), member)
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.h358 #define to_amdgpu_dm_connector(x) container_of(x, struct amdgpu_dm_connector, base)
397 #define to_dm_crtc_state(x) container_of(x, struct dm_crtc_state, base)
405 #define to_dm_atomic_state(x) container_of(x, struct dm_atomic_state, base)
421 container_of((x), struct dm_connector_state, base)
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/pm/
H A Dpriv.h6 #define nvkm_pm(p) container_of((p), struct nvkm_pm, engine)
72 #define nvkm_perfdom(p) container_of((p), struct nvkm_perfdom, object)
101 #define nvkm_perfmon(p) container_of((p), struct nvkm_perfmon, object)
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Dlib_sw_fence.c100 struct heap_fence *h = container_of(fence, typeof(*h), fence); in heap_fence_notify()
129 struct heap_fence *h = container_of(ref, typeof(*h), ref); in heap_fence_release()
138 struct heap_fence *h = container_of(fence, typeof(*h), fence); in heap_fence_put()
/netbsd-src/sys/dev/pci/
H A Dvirtio_pci.c621 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_kick_09()
652 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_read_queue_size_09()
664 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_setup_queue_09()
684 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_set_status_09()
700 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_negotiate_features_09()
722 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_kick_10()
733 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_read_queue_size_10()
765 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_bus_space_write_8()
806 struct virtio_pci_softc * const psc = container_of(sc, in virtio_pci_setup_queue_10()
822 struct virtio_pci_softc * const psc = container_of(s in virtio_pci_set_status_10()
[all...]

12345678910>>...26