Home
last modified time | relevance | path

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

12

/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()
/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.c50 struct list_head list_node; member
873 list_del(&resource->list_node); in acpi_release_power_resource()
903 list_for_each_entry(r, &acpi_power_resource_list, list_node) in acpi_power_add_resource_to_list()
905 list_add_tail(&resource->list_node, &r->list_node); in acpi_power_add_resource_to_list()
909 list_add_tail(&resource->list_node, &acpi_power_resource_list); in acpi_power_add_resource_to_list()
935 INIT_LIST_HEAD(&resource->list_node); in acpi_add_power_resource()
976 list_for_each_entry(resource, &acpi_power_resource_list, list_node) { in acpi_resume_power_resources()
1011 list_for_each_entry_reverse(resource, &acpi_power_resource_list, list_node) { in acpi_turn_off_unused_power_resources()
/drivers/soc/qcom/
Dqmi_interface.c60 list_add(&svc->list_node, &qmi->lookup_results); in qmi_recv_new_server()
79 list_for_each_entry_safe(svc, tmp, &qmi->lookup_results, list_node) { in qmi_recv_del_server()
88 list_del(&svc->list_node); in qmi_recv_del_server()
219 list_add(&svc->list_node, &qmi->lookups); in qmi_add_lookup()
283 list_add(&svc->list_node, &qmi->services); in qmi_add_server()
464 list_for_each_entry(svc, &qmi->lookups, list_node) in qmi_handle_net_reset()
467 list_for_each_entry(svc, &qmi->services, list_node) in qmi_handle_net_reset()
706 list_for_each_entry_safe(svc, tmp, &qmi->lookups, list_node) { in qmi_handle_release()
707 list_del(&svc->list_node); in qmi_handle_release()
712 list_for_each_entry_safe(svc, tmp, &qmi->services, list_node) { in qmi_handle_release()
[all …]
/drivers/tee/optee/
Dcall.c21 struct list_head list_node; member
45 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_init()
58 list_del(&w->list_node); in optee_cq_wait_for_completion()
60 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_for_completion()
69 list_for_each_entry(w, &cq->waiters, list_node) { in optee_cq_complete_one()
88 list_del(&w->list_node); in optee_cq_wait_final()
111 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
269 list_add(&sess->list_node, &ctxdata->sess_list); in optee_open_session()
303 list_del(&sess->list_node); in optee_close_session()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_matcher.c712 list_for_each_entry(tmp_matcher, &tbl->matcher_list, list_node) { in dr_matcher_add_to_tbl()
722 prev_matcher = list_prev_entry(next_matcher, list_node); in dr_matcher_add_to_tbl()
726 list_node); in dr_matcher_add_to_tbl()
747 list_add(&matcher->list_node, &prev_matcher->list_node); in dr_matcher_add_to_tbl()
749 list_add_tail(&matcher->list_node, in dr_matcher_add_to_tbl()
750 &next_matcher->list_node); in dr_matcher_add_to_tbl()
752 list_add(&matcher->list_node, &tbl->matcher_list); in dr_matcher_add_to_tbl()
925 INIT_LIST_HEAD(&matcher->list_node); in mlx5dr_matcher_create()
988 if (list_is_last(&matcher->list_node, &tbl->matcher_list)) in dr_matcher_remove_from_tbl()
991 next_matcher = list_next_entry(matcher, list_node); in dr_matcher_remove_from_tbl()
[all …]
Ddr_buddy.c17 INIT_LIST_HEAD(&buddy->list_node); in mlx5dr_buddy_init()
65 list_del(&buddy->list_node); in mlx5dr_buddy_cleanup()
Ddr_icm_pool.c253 list_add(&buddy->list_node, &pool->buddy_mem_list); in dr_icm_buddy_create()
347 list_for_each_entry_safe(buddy, tmp_buddy, &pool->buddy_mem_list, list_node) { in dr_icm_pool_sync_all_buddy_pools()
375 list_for_each_entry(buddy_mem_pool, &pool->buddy_mem_list, list_node) { in dr_icm_handle_buddies_get_mem()
490 list_for_each_entry_safe(buddy, tmp_buddy, &pool->buddy_mem_list, list_node) in mlx5dr_icm_pool_destroy()
/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()
/drivers/acpi/x86/
Ds2idle.c471 list_for_each_entry(handler, &lps0_s2idle_devops_head, list_node) { in acpi_s2idle_prepare_late()
486 list_for_each_entry(handler, &lps0_s2idle_devops_head, list_node) in acpi_s2idle_restore_early()
538 list_add(&arg->list_node, &lps0_s2idle_devops_head); in acpi_register_lps0_dev()
551 list_del(&arg->list_node); in acpi_unregister_lps0_dev()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.c785 list_add_tail(&adap->list_node, &adapter_list); in cxgb4_uld_enable()
786 list_for_each_entry(uld_entry, &uld_list, list_node) in cxgb4_uld_enable()
814 list_for_each_entry(adap, &adapter_list, list_node) in cxgb4_register_uld()
818 list_add_tail(&uld_entry->list_node, &uld_list); in cxgb4_register_uld()
839 list_for_each_entry(adap, &adapter_list, list_node) { in cxgb4_unregister_uld()
849 list_for_each_entry_safe(uld_entry, tmp, &uld_list, list_node) { in cxgb4_unregister_uld()
851 list_del(&uld_entry->list_node); in cxgb4_unregister_uld()
/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()
/drivers/base/power/
Ddomain_governor.c140 list_for_each_entry(pdd, &genpd->dev_list, list_node) { in update_domain_next_wakeup()
216 list_for_each_entry(pdd, &genpd->dev_list, list_node) { in __default_power_down_ok()
/drivers/base/
Dnode.c81 struct list_head list_node; member
117 list_for_each_entry_safe(c, cnext, &node->access_list, list_node) { in node_remove_accesses()
118 list_del(&c->list_node); in node_remove_accesses()
134 list_for_each_entry(access_node, &node->access_list, list_node) in node_init_node_access()
154 list_add_tail(&access_node->list_node, &node->access_list); in node_init_node_access()
/drivers/crypto/caam/
Djr.c154 list_del(&jrpriv->list_node); in caam_jr_remove()
305 list_for_each_entry(jrpriv, &driver_data.jr_list, list_node) { in caam_jr_alloc()
592 list_add_tail(&jrpriv->list_node, &driver_data.jr_list); in caam_jr_probe()
Dintern.h52 struct list_head list_node; /* Job Ring device list */ member
/drivers/crypto/ux500/cryp/
Dcryp_core.c437 struct cryp_device_data, list_node); in cryp_get_device_data()
1365 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_cryp_probe()
1426 if (klist_node_attached(&device_data->list_node)) in ux500_cryp_remove()
1427 klist_remove(&device_data->list_node); in ux500_cryp_remove()
1473 if (klist_node_attached(&device_data->list_node)) in ux500_cryp_shutdown()
1474 klist_remove(&device_data->list_node); in ux500_cryp_shutdown()
Dcryp.h246 struct klist_node list_node; member
/drivers/crypto/ux500/hash/
Dhash_core.c384 struct hash_device_data, list_node); in hash_get_device_data()
1728 klist_add_tail(&device_data->list_node, &driver_data.device_list); in ux500_hash_probe()
1788 if (klist_node_attached(&device_data->list_node)) in ux500_hash_remove()
1789 klist_remove(&device_data->list_node); in ux500_hash_remove()
1837 if (klist_node_attached(&device_data->list_node)) in ux500_hash_shutdown()
1838 klist_remove(&device_data->list_node); in ux500_hash_shutdown()
/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c1043 list_node) { in nfp_ct_do_tc_merge()
1329 list_del(&entry->list_node); in nfp_fl_ct_clean_flow_entry()
1382 list_node) { in nfp_ct_merge_tc_entries()
1454 list_add(&ct_entry->list_node, &zt->pre_ct_list); in nfp_fl_ct_handle_pre_ct()
1500 list_add(&ct_entry->list_node, &zt->post_ct_list); in nfp_fl_ct_handle_post_ct()
1681 list_add(&ct_entry->list_node, &zt->nft_flows_list); in nfp_fl_ct_offload_nft_flow()
1731 list_node) { in nfp_fl_ct_clean_nft_entries()
Dmetadata.c612 list_node) { in nfp_zone_table_entry_destroy()
631 list_node) { in nfp_zone_table_entry_destroy()
657 list_node) { in nfp_zone_table_entry_destroy()
Dconntrack.h121 struct list_head list_node; member
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.h188 struct list_head list_node; member

12