Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/cpufreq/
Dcpufreq_governor_attr_set.c43 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_init() argument
48 list_add(list_node, &attr_set->policy_list); in gov_attr_set_init()
52 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_get() argument
56 list_add(list_node, &attr_set->policy_list); in gov_attr_set_get()
61 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_put() argument
66 list_del(list_node); in gov_attr_set_put()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_arg.c79 list_add_tail(&arg_obj->list_node, &cur_list); in dr_arg_pool_alloc_objs()
90 list_for_each_entry_safe(arg_obj, tmp_arg, &cur_list, list_node) { in dr_arg_pool_alloc_objs()
91 list_del(&arg_obj->list_node); in dr_arg_pool_alloc_objs()
111 list_node); in dr_arg_pool_get_arg_obj()
115 list_del_init(&arg_obj->list_node); in dr_arg_pool_get_arg_obj()
126 list_add(&arg_obj->list_node, &pool->free_list); in dr_arg_pool_put_arg_obj()
160 list_for_each_entry_safe(arg_obj, tmp_arg, &pool->free_list, list_node) { in dr_arg_pool_destroy()
161 list_del(&arg_obj->list_node); in dr_arg_pool_destroy()
Ddr_matcher.c753 if (!list_empty(&nic_matcher->list_node)) in mlx5dr_matcher_add_to_tbl_nic()
757 list_for_each_entry(tmp_nic_matcher, &nic_tbl->nic_matcher_list, list_node) { in mlx5dr_matcher_add_to_tbl_nic()
767 prev_nic_matcher = list_prev_entry(next_nic_matcher, list_node); in mlx5dr_matcher_add_to_tbl_nic()
771 list_node); in mlx5dr_matcher_add_to_tbl_nic()
779 list_add(&nic_matcher->list_node, &prev_nic_matcher->list_node); in mlx5dr_matcher_add_to_tbl_nic()
781 list_add_tail(&nic_matcher->list_node, &next_nic_matcher->list_node); in mlx5dr_matcher_add_to_tbl_nic()
783 list_add(&nic_matcher->list_node, &nic_matcher->nic_tbl->nic_matcher_list); in mlx5dr_matcher_add_to_tbl_nic()
845 INIT_LIST_HEAD(&nic_matcher->list_node); in dr_matcher_init_nic()
977 list_add(&matcher->list_node, &matcher->tbl->matcher_list); in dr_matcher_add_to_dbg_list()
984 list_del(&matcher->list_node); in dr_matcher_remove_from_dbg_list()
[all …]
Ddr_buddy.c17 INIT_LIST_HEAD(&buddy->list_node); in mlx5dr_buddy_init()
63 list_del(&buddy->list_node); in mlx5dr_buddy_cleanup()
/linux-6.6.21/drivers/acpi/
Dwakeup.c16 struct list_head list_node; member
131 list_add(&handler->list_node, &acpi_wakeup_handler_head); in acpi_register_wakeup_handler()
149 list_for_each_entry(handler, &acpi_wakeup_handler_head, list_node) { in acpi_unregister_wakeup_handler()
151 list_del(&handler->list_node); in acpi_unregister_wakeup_handler()
165 list_for_each_entry(handler, &acpi_wakeup_handler_head, list_node) { in acpi_check_wakeup_handlers()
Dpower.c51 struct list_head list_node; member
888 list_del(&resource->list_node); in acpi_release_power_resource()
918 list_for_each_entry(r, &acpi_power_resource_list, list_node) in acpi_power_add_resource_to_list()
920 list_add_tail(&resource->list_node, &r->list_node); in acpi_power_add_resource_to_list()
924 list_add_tail(&resource->list_node, &acpi_power_resource_list); in acpi_power_add_resource_to_list()
951 INIT_LIST_HEAD(&resource->list_node); in acpi_add_power_resource()
1000 list_for_each_entry(resource, &acpi_power_resource_list, list_node) { in acpi_resume_power_resources()
1053 list_for_each_entry_reverse(resource, &acpi_power_resource_list, list_node) { in acpi_turn_off_unused_power_resources()
/linux-6.6.21/drivers/tee/optee/
Dcall.c37 struct list_head list_node; member
62 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_init()
75 list_del(&w->list_node); in optee_cq_wait_for_completion()
77 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_for_completion()
86 list_for_each_entry(w, &cq->waiters, list_node) { in optee_cq_complete_one()
105 list_del(&w->list_node); in optee_cq_wait_final()
128 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
150 list_node); in optee_shm_arg_cache_uninit()
151 list_del(&entry->list_node); in optee_shm_arg_cache_uninit()
205 list_for_each_entry(entry, &optee->shm_arg_cache.shm_args, list_node) { in optee_get_msg_arg()
[all …]
Dcore.c142 list_node) { in optee_release_helper()
143 list_del(&sess->list_node); in optee_release_helper()
/linux-6.6.21/lib/
Dtest_rhashtable.c69 struct rhlist_head list_node; member
102 .head_offset = offsetof(struct test_obj_rhl, list_node),
298 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, in test_rhltable()
327 rhl_for_each_entry_rcu(obj, pos, h, list_node) { in test_rhltable()
328 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable()
337 rhl_for_each_entry_rcu(obj, pos, h, list_node) { in test_rhltable()
338 if (pos == &rhl_test_objects[i].list_node) { in test_rhltable()
349 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
361 err = rhltable_insert(&rhlt, &rhl_test_objects[i].list_node, in test_rhltable()
376 err = rhltable_remove(&rhlt, &rhl_test_objects[i].list_node, test_rht_params); in test_rhltable()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_mru_cache.c215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert()
236 list_for_each_entry_safe(elem, next, &mru->reap_list, list_node) { in _xfs_mru_cache_clear_reap_list()
245 list_move(&elem->list_node, &tmp); in _xfs_mru_cache_clear_reap_list()
249 list_for_each_entry_safe(elem, next, &tmp, list_node) { in _xfs_mru_cache_clear_reap_list()
250 list_del_init(&elem->list_node); in _xfs_mru_cache_clear_reap_list()
433 INIT_LIST_HEAD(&elem->list_node); in xfs_mru_cache_insert()
466 list_del(&elem->list_node); in xfs_mru_cache_remove()
522 list_del(&elem->list_node); in xfs_mru_cache_lookup()
/linux-6.6.21/drivers/soc/qcom/
Dqmi_interface.c61 list_add(&svc->list_node, &qmi->lookup_results); in qmi_recv_new_server()
80 list_for_each_entry_safe(svc, tmp, &qmi->lookup_results, list_node) { in qmi_recv_del_server()
89 list_del(&svc->list_node); in qmi_recv_del_server()
220 list_add(&svc->list_node, &qmi->lookups); in qmi_add_lookup()
284 list_add(&svc->list_node, &qmi->services); in qmi_add_server()
465 list_for_each_entry(svc, &qmi->lookups, list_node) in qmi_handle_net_reset()
468 list_for_each_entry(svc, &qmi->services, list_node) in qmi_handle_net_reset()
709 list_for_each_entry_safe(svc, tmp, &qmi->lookups, list_node) { in qmi_handle_release()
710 list_del(&svc->list_node); in qmi_handle_release()
715 list_for_each_entry_safe(svc, tmp, &qmi->services, list_node) { in qmi_handle_release()
[all …]
/linux-6.6.21/net/caif/
Dchnl_net.c122 struct list_head *list_node; in close_work() local
126 list_for_each_safe(list_node, _tmp, &chnl_net_list) { in close_work()
127 dev = list_entry(list_node, struct chnl_net, list_field); in close_work()
518 struct list_head *list_node; in chnl_exit_module() local
522 list_for_each_safe(list_node, _tmp, &chnl_net_list) { in chnl_exit_module()
523 dev = list_entry(list_node, struct chnl_net, list_field); in chnl_exit_module()
524 list_del_init(list_node); in chnl_exit_module()
/linux-6.6.21/kernel/
Dwatch_queue.c210 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
449 INIT_HLIST_NODE(&watch->list_node); in init_watch()
459 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_one_watch()
477 hlist_add_head_rcu(&watch->list_node, &wlist->watchers); in add_one_watch()
535 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
545 hlist_del_init_rcu(&watch->list_node); in remove_watch_from_object()
626 release = !hlist_unhashed(&watch->list_node); in watch_queue_clear()
628 hlist_del_init_rcu(&watch->list_node); in watch_queue_clear()
/linux-6.6.21/drivers/tee/amdtee/
Dcore.c80 list_node); in amdtee_release()
85 list_del(&sess->list_node); in amdtee_release()
116 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in alloc_session()
128 list_add(&sess->list_node, &ctxdata->sess_list); in alloc_session()
145 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
226 list_del(&sess->list_node); in destroy_session()
Damdtee_private.h57 struct list_head list_node; member
104 struct list_head list_node; member
Dcall.c133 list_for_each_entry(ta_data, &ta_list, list_node) in get_ta_refcount()
142 list_add(&ta_data->list_node, &ta_list); in get_ta_refcount()
154 list_for_each_entry(ta_data, &ta_list, list_node) in put_ta_refcount()
158 list_del(&ta_data->list_node); in put_ta_refcount()
/linux-6.6.21/drivers/acpi/x86/
Ds2idle.c566 list_for_each_entry(handler, &lps0_s2idle_devops_head, list_node) { in acpi_s2idle_prepare_late()
581 list_for_each_entry(handler, &lps0_s2idle_devops_head, list_node) { in acpi_s2idle_check()
594 list_for_each_entry(handler, &lps0_s2idle_devops_head, list_node) in acpi_s2idle_restore_early()
649 list_add(&arg->list_node, &lps0_s2idle_devops_head); in acpi_register_lps0_dev()
664 list_del(&arg->list_node); in acpi_unregister_lps0_dev()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c96 struct list_head list_node; /* member of the pool */ member
252 list_for_each_entry_safe(obj, n, list, list_node) { in mlx5e_tls_priv_tx_list_cleanup()
297 list_add(&obj->list_node, &local_list); in create_work()
342 list_for_each_entry(obj, &pool->list, list_node) in destroy_work()
346 list_cut_position(&local_list, &pool->list, &obj->list_node); in destroy_work()
394 list_for_each_entry(obj, &pool->list, list_node) in mlx5e_tls_tx_pool_list_cleanup()
398 list_cut_position(&local_list, &pool->list, &obj->list_node); in mlx5e_tls_tx_pool_list_cleanup()
419 list_add(&obj->list_node, &pool->list); in pool_push()
444 list_node); in pool_pop()
445 list_del(&obj->list_node); in pool_pop()
/linux-6.6.21/kernel/debug/kdb/
Dkdb_main.c715 struct list_head list_node; /* Statement list node */ member
746 list_add_tail(&kms->list_node, &kdb_macro->statements); in kdb_defcmd2()
765 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_defcmd()
771 list_node) in kdb_defcmd()
843 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_exec_defcmd()
847 if (list_entry_is_head(kp, &kdb_cmds_head, list_node)) { in kdb_exec_defcmd()
853 list_for_each_entry(kms, &kmp->statements, list_node) { in kdb_exec_defcmd()
1065 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
1083 if (list_entry_is_head(tp, &kdb_cmds_head, list_node)) { in kdb_parse()
1084 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
[all …]
/linux-6.6.21/arch/powerpc/kernel/
Dpci_32.c132 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_make_OF_bus_map()
266 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_init()
314 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_bus_to_hose()
Dpci-common.c135 list_add_tail(&phb->list_node, &hose_list); in pcibios_alloc_controller()
162 list_del(&phb->list_node); in pcibios_free_controller()
299 list_for_each_entry(hose, &hose_list, list_node) { in pcibios_vaddr_is_ioport()
318 list_for_each_entry(hose, &hose_list, list_node) { in pci_address_to_pio()
356 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_find_hose_for_OF_device()
368 list_for_each_entry(hose, &hose_list, list_node) in pci_find_controller_for_domain()
378 struct list_head list_node; member
388 list_del(&vi->list_node); in ppc_pci_intx_release()
402 list_for_each_entry(vi, &intx_list, list_node) { in ppc_pci_unmap_irq_line()
479 list_for_each_entry(vitmp, &intx_list, list_node) { in pci_read_irq_line()
[all …]
/linux-6.6.21/drivers/staging/greybus/
Daudio_helper.c83 list_del(&path->list_node[SND_SOC_DAPM_DIR_IN]); in gbaudio_dapm_free_path()
84 list_del(&path->list_node[SND_SOC_DAPM_DIR_OUT]); in gbaudio_dapm_free_path()
/linux-6.6.21/arch/microblaze/include/asm/
Dpci-bridge.h28 struct list_head list_node; member
/linux-6.6.21/arch/powerpc/sysdev/
Dfsl_gtm.c74 struct list_head list_node; member
92 list_for_each_entry(gtm, &gtms, list_node) { in gtm_get_timer16()
422 list_add(&gtm->list_node, &gtms); in fsl_gtm_init()
/linux-6.6.21/drivers/crypto/caam/
Djr.c208 list_del(&jrpriv->list_node); in caam_jr_remove()
366 list_for_each_entry(jrpriv, &driver_data.jr_list, list_node) { in caam_jr_alloc()
675 list_add_tail(&jrpriv->list_node, &driver_data.jr_list); in caam_jr_probe()
708 list_del(&jrpriv->list_node); in caam_jr_suspend()
797 list_add_tail(&jrpriv->list_node, &driver_data.jr_list); in caam_jr_resume()

1234