| /src/sys/external/bsd/drm2/include/linux/ |
| kref.h | 1 /* $NetBSD: kref.h,v 1.14 2023/02/24 11:02:06 riastradh Exp $ */ 44 struct kref { struct 49 kref_init(struct kref *kref) 51 atomic_store_relaxed(&kref->kr_count, 1); 55 kref_get(struct kref *kref) 58 atomic_inc_uint_nv(&kref->kr_count); 60 KASSERTMSG((count > 1), "getting released kref"); 64 kref_get_unless_zero(struct kref *kref [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| intel_ring_types.h | 13 #include <linux/kref.h> 28 struct kref ref;
|
| intel_timeline_types.h | 13 #include <linux/kref.h> 89 struct kref kref; member in struct:intel_timeline
|
| intel_context_types.h | 12 #include <linux/kref.h> 39 void (*destroy)(struct kref *kref); 43 struct kref ref;
|
| intel_timeline.h | 47 kref_get(&timeline->kref); 51 void __intel_timeline_free(struct kref *kref); 54 kref_put(&timeline->kref, __intel_timeline_free);
|
| selftest_engine_heartbeat.c | 43 struct kref kref; member in struct:pulse 48 kref_get(&container_of(active, struct pulse, active)->kref); 52 static void pulse_free(struct kref *kref) 54 kfree(container_of(kref, struct pulse, kref)); 59 kref_put(&p->kref, pulse_free); 75 kref_init(&p->kref);
|
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_syncobj.h | 45 struct kref refcount; 68 void drm_syncobj_free(struct kref *kref); 127 void drm_syncobj_free(struct kref *kref);
|
| drm_mode_object.h | 28 #include <linux/kref.h> 61 struct kref refcount; 62 void (*free_cb)(struct kref *kref);
|
| drm_auth.h | 34 #include <linux/kref.h> 41 #include <linux/kref.h> 93 struct kref refcount;
|
| drm_gem.h | 44 #include <linux/kref.h> 210 struct kref refcount; 366 void drm_gem_object_free(struct kref *kref);
|
| drm_device.h | 7 #include <linux/kref.h> 69 struct kref ref;
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| dmabuf.h | 60 struct kref kref; member in struct:intel_vgpu_dmabuf_obj
|
| /src/sys/external/bsd/drm2/dist/drm/i915/ |
| i915_perf.h | 11 #include <linux/kref.h> 53 void i915_oa_config_release(struct kref *ref);
|
| intel_memory_region.c | 204 kref_init(&mem->kref); 224 static void __intel_memory_region_destroy(struct kref *kref) 227 container_of(kref, typeof(*mem), kref); 240 kref_get(&mem->kref); 246 kref_put(&mem->kref, __intel_memory_region_destroy);
|
| intel_memory_region.h | 11 #include <linux/kref.h> 87 struct kref kref; member in struct:intel_memory_region
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
| amdgpu_dc_sink.c | 80 static void dc_sink_free(struct kref *kref) 82 struct dc_sink *sink = container_of(kref, struct dc_sink, refcount);
|
| amdgpu_dc_surface.c | 190 static void dc_plane_state_free(struct kref *kref) 192 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount); 207 static void dc_gamma_free(struct kref *kref) 209 struct dc_gamma *gamma = container_of(kref, struct dc_gamma, refcount); 238 static void dc_transfer_func_free(struct kref *kref) 240 struct dc_transfer_func *tf = container_of(kref, struct dc_transfer_func, refcount); 264 static void dc_3dlut_func_free(struct kref *kref [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| nouveau_nvkm_core_memory.c | 109 kref_init(&memory->kref); 113 nvkm_memory_del(struct kref *kref) 115 struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref); 128 kref_put(&memory->kref, nvkm_memory_del); 137 kref_get(&memory->kref);
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| intel_frontbuffer.h | 30 #include <linux/kref.h> 46 struct kref ref;
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
| i915_gem_context_types.h | 15 #include <linux/kref.h> 118 struct kref ref;
|
| /src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| ttm_object.c | 81 struct kref refcount; 114 * @kref: Ref count. 132 struct kref kref; member in struct:ttm_ref_object 147 static void ttm_object_file_destroy(struct kref *kref) 150 container_of(kref, struct ttm_object_file, refcount); 205 static void ttm_release_base(struct kref *kref) 208 container_of(kref, struct ttm_base_object, refcount) [all...] |
| ttm_object.h | 43 #include <linux/kref.h> 131 struct kref refcount;
|
| /src/sys/external/bsd/drm2/dist/include/drm/ttm/ |
| ttm_bo_api.h | 49 #include <linux/kref.h> 152 * @kref: Reference count of this buffer object. When this refcount reaches 156 * Lru lists may keep one refcount, the delayed delete list, and kref != 0 205 struct kref kref; member in struct:ttm_buffer_object 206 struct kref list_kref; 316 kref_get(&bo->kref); 332 if (!kref_get_unless_zero(&bo->kref)) 478 * On successful return, the caller owns an object kref to @bo. The kref an [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| lib_sw_fence.c | 92 struct kref ref; 127 static void heap_fence_release(struct kref *ref)
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_bo_list.h | 46 struct kref refcount;
|