Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/
Dprocessor_pdc.c70 struct acpi_object_list *obj_list; in acpi_processor_alloc_pdc() local
75 obj_list = kmalloc(sizeof(struct acpi_object_list), GFP_KERNEL); in acpi_processor_alloc_pdc()
76 if (!obj_list) in acpi_processor_alloc_pdc()
81 kfree(obj_list); in acpi_processor_alloc_pdc()
88 kfree(obj_list); in acpi_processor_alloc_pdc()
97 obj_list->count = 1; in acpi_processor_alloc_pdc()
98 obj_list->pointer = obj; in acpi_processor_alloc_pdc()
100 return obj_list; in acpi_processor_alloc_pdc()
140 struct acpi_object_list *obj_list; in acpi_processor_set_pdc() local
145 obj_list = acpi_processor_alloc_pdc(); in acpi_processor_set_pdc()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gem_ww.c12 INIT_LIST_HEAD(&ww->obj_list); in i915_gem_ww_ctx_init()
21 while ((obj = list_first_entry_or_null(&ww->obj_list, struct drm_i915_gem_object, obj_link))) { in i915_gem_ww_ctx_unlock_all()
56 list_add_tail(&ww->contended->obj_link, &ww->obj_list); in i915_gem_ww_ctx_backoff()
Di915_gem_ww.h12 struct list_head obj_list; member
/linux-6.1.9/fs/notify/
Dmark.c166 hlist_for_each_entry(mark, &conn->list, obj_list) { in __fsnotify_recalc_mask()
314 hlist_del_init_rcu(&mark->obj_list); in fsnotify_put_mark()
661 hlist_add_head_rcu(&mark->obj_list, &conn->list); in fsnotify_add_mark_list()
666 hlist_for_each_entry(lmark, &conn->list, obj_list) { in fsnotify_add_mark_list()
678 hlist_add_before_rcu(&mark->obj_list, &lmark->obj_list); in fsnotify_add_mark_list()
685 hlist_add_behind_rcu(&mark->obj_list, &last->obj_list); in fsnotify_add_mark_list()
772 hlist_for_each_entry(mark, &conn->list, obj_list) { in fsnotify_find_mark()
848 hlist_for_each_entry(mark, &conn->list, obj_list) { in fsnotify_destroy_marks()
Dfsnotify.c377 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_first_mark()
385 node = srcu_dereference(mark->obj_list.next, in fsnotify_next_mark()
388 return hlist_entry_safe(node, struct fsnotify_mark, obj_list); in fsnotify_next_mark()
/linux-6.1.9/include/linux/
Dlivepatch.h167 struct list_head obj_list; member
178 list_for_each_entry_safe(obj, tmp_obj, &patch->obj_list, node)
181 list_for_each_entry(obj, &patch->obj_list, node)
Dfsnotify_backend.h518 struct hlist_node obj_list; member
/linux-6.1.9/drivers/platform/x86/
Dsystem76_acpi.c86 struct acpi_object_list obj_list; in system76_get_index() local
93 obj_list.count = 1; in system76_get_index()
94 obj_list.pointer = &obj; in system76_get_index()
97 status = acpi_evaluate_integer(handle, method, &obj_list, &ret); in system76_get_index()
135 struct acpi_object_list obj_list; in system76_set() local
141 obj_list.count = 1; in system76_set()
142 obj_list.pointer = &obj; in system76_set()
144 status = acpi_evaluate_object(handle, method, &obj_list, NULL); in system76_set()
/linux-6.1.9/lib/
Dobjagg.c48 struct list_head obj_list; member
194 list_for_each_entry(objagg_obj_cur, &objagg->obj_list, list) { in objagg_obj_parent_lookup_assign()
384 list_add(&objagg_obj->list, &objagg->obj_list); in objagg_obj_create()
534 INIT_LIST_HEAD(&objagg->obj_list); in objagg_create()
565 WARN_ON(!list_empty(&objagg->obj_list)); in objagg_destroy()
616 list_for_each_entry(objagg_obj, &objagg->obj_list, list) { in objagg_stats_get()
800 list_for_each_entry(objagg_obj, &objagg->obj_list, list) { in objagg_tmp_graph_create()
/linux-6.1.9/drivers/gpu/drm/sis/
Dsis_mm.c139 list_add(&item->owner_list, &file_priv->obj_list); in sis_drm_alloc()
326 if (list_empty(&file_priv->obj_list)) { in sis_reclaim_buffers_locked()
336 list_for_each_entry_safe(entry, next, &file_priv->obj_list, in sis_reclaim_buffers_locked()
Dsis_drv.h69 struct list_head obj_list; member
Dsis_drv.c91 INIT_LIST_HEAD(&file_priv->obj_list); in sis_driver_open()
/linux-6.1.9/drivers/acpi/acpica/
Dutdelete.c333 void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list) in acpi_ut_delete_internal_object_list() argument
341 for (internal_obj = obj_list; *internal_obj; internal_obj++) { in acpi_ut_delete_internal_object_list()
347 ACPI_FREE(obj_list); in acpi_ut_delete_internal_object_list()
Dacutils.h360 void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list);
/linux-6.1.9/drivers/infiniband/core/
Duverbs.h171 struct list_head obj_list; member
234 struct list_head *obj_list, u32 *counter);
Duverbs_main.c138 list_for_each_entry_safe(evt, tmp, &uobj->comp_list, obj_list) { in ib_uverbs_release_ucq()
159 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent()
253 list_del(&event->obj_list); in ib_uverbs_event_read()
387 list_add_tail(&entry->obj_list, &uobj->comp_list); in ib_uverbs_comp_handler()
396 struct list_head *obj_list, u32 *counter) in ib_uverbs_async_handler() argument
422 if (obj_list) in ib_uverbs_async_handler()
423 list_add_tail(&entry->obj_list, obj_list); in ib_uverbs_async_handler()
Duverbs_std_types.c150 list_del(&entry->obj_list); in ib_uverbs_free_event_queue()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_drv.h88 struct list_head obj_list; member
Domap_debugfs.c28 omap_gem_describe_objects(&priv->obj_list, m); in gem_show()
Domap_gem.c1116 list_for_each_entry(omap_obj, &priv->obj_list, mm_list) { in omap_gem_resume()
1380 list_add(&omap_obj->mm_list, &priv->obj_list); in omap_gem_new()
Domap_drv.c752 INIT_LIST_HEAD(&priv->obj_list); in omapdrm_init()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c66 struct list_head obj_list; /* headed in devx_object */ member
1355 if (list_empty(&sub->obj_list)) in devx_cleanup_subscription()
1358 list_del_rcu(&sub->obj_list); in devx_cleanup_subscription()
1407 list_for_each_entry_safe(sub_entry, tmp, &obj->event_sub, obj_list) in devx_obj_cleanup()
2103 INIT_LIST_HEAD(&event_sub->obj_list); in UVERBS_HANDLER()
2135 list_add_tail_rcu(&event_sub->obj_list, in UVERBS_HANDLER()
/linux-6.1.9/kernel/livepatch/
Dcore.c880 list_add_tail(&obj->node, &patch->obj_list); in klp_init_object_early()
889 INIT_LIST_HEAD(&patch->obj_list); in klp_init_patch_early()
/linux-6.1.9/drivers/gpu/drm/via/
Dvia_dri1.c196 struct list_head obj_list; member
2690 list_add(&item->owner_list, &file_priv->obj_list); in via_mem_alloc()
2751 if (list_empty(&file_priv->obj_list)) { in via_reclaim_buffers_locked()
2760 list_for_each_entry_safe(entry, next, &file_priv->obj_list, in via_reclaim_buffers_locked()
3553 INIT_LIST_HEAD(&file_priv->obj_list); in via_driver_open()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.h187 list_add_tail(&obj->obj_link, &ww->obj_list); in __i915_gem_object_lock()