Home
last modified time | relevance | path

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

1234

/linux/drivers/cpufreq/
A Dcpufreq_governor_attr_set.c48 void gov_attr_set_init(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_init() argument
53 list_add(list_node, &attr_set->policy_list); in gov_attr_set_init()
57 void gov_attr_set_get(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_get() argument
61 list_add(list_node, &attr_set->policy_list); in gov_attr_set_get()
66 unsigned int gov_attr_set_put(struct gov_attr_set *attr_set, struct list_head *list_node) in gov_attr_set_put() argument
71 list_del(list_node); in gov_attr_set_put()
/linux/lib/
A 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()
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()
554 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()
559 &rhl_test_objects[i].list_node.rhead)); in test_insert_dup()
[all …]
/linux/drivers/acpi/
A 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()
A Dpower.c50 struct list_head list_node; member
875 list_del(&resource->list_node); in acpi_release_power_resource()
905 list_for_each_entry(r, &acpi_power_resource_list, list_node) in acpi_power_add_resource_to_list()
907 list_add_tail(&resource->list_node, &r->list_node); in acpi_power_add_resource_to_list()
911 list_add_tail(&resource->list_node, &acpi_power_resource_list); in acpi_power_add_resource_to_list()
938 INIT_LIST_HEAD(&resource->list_node); in acpi_add_power_resource()
983 list_for_each_entry(resource, &acpi_power_resource_list, list_node) { in acpi_resume_power_resources()
1018 list_for_each_entry_reverse(resource, &acpi_power_resource_list, list_node) { in acpi_turn_off_unused_power_resources()
/linux/fs/xfs/
A 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()
A Dxfs_mru_cache.h12 struct list_head list_node; member
/linux/drivers/tee/optee/
A Dcall.c34 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_init()
47 list_del(&w->list_node); in optee_cq_wait_for_completion()
49 list_add_tail(&w->list_node, &cq->waiters); in optee_cq_wait_for_completion()
58 list_for_each_entry(w, &cq->waiters, list_node) { in optee_cq_complete_one()
77 list_del(&w->list_node); in optee_cq_wait_final()
100 list_for_each_entry(sess, &ctxdata->sess_list, list_node) in find_session()
197 list_add(&sess->list_node, &ctxdata->sess_list); in optee_open_session()
248 list_del(&sess->list_node); in optee_close_session()
A Dcore.c129 list_node) { in optee_release_helper()
130 list_del(&sess->list_node); in optee_release_helper()
A Doptee_private.h37 struct list_head list_node; member
160 struct list_head list_node; member
/linux/drivers/soc/qcom/
A 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 …]
/linux/net/caif/
A 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()
521 struct list_head *list_node; in chnl_exit_module() local
525 list_for_each_safe(list_node, _tmp, &chnl_net_list) { in chnl_exit_module()
526 dev = list_entry(list_node, struct chnl_net, list_field); in chnl_exit_module()
527 list_del_init(list_node); in chnl_exit_module()
/linux/kernel/
A Dwatch_queue.c191 hlist_for_each_entry_rcu(watch, &wlist->watchers, list_node) { in __post_watch_notification()
425 INIT_HLIST_NODE(&watch->list_node); in init_watch()
447 hlist_for_each_entry(w, &wlist->watchers, list_node) { in add_watch_to_object()
469 hlist_add_head(&watch->list_node, &wlist->watchers); in add_watch_to_object()
496 hlist_for_each_entry(watch, &wlist->watchers, list_node) { in remove_watch_from_object()
506 hlist_del_init_rcu(&watch->list_node); in remove_watch_from_object()
589 release = !hlist_unhashed(&watch->list_node); in watch_queue_clear()
591 hlist_del_init_rcu(&watch->list_node); in watch_queue_clear()
/linux/drivers/tee/amdtee/
A 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()
A Damdtee_private.h57 struct list_head list_node; member
104 struct list_head list_node; member
A 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/kernel/debug/kdb/
A Dkdb_main.c663 struct list_head list_node; /* Statement list node */ member
713 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_defcmd()
719 list_node) in kdb_defcmd()
791 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_exec_defcmd()
1013 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
1032 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
2417 list_for_each_entry(kt, &kdb_cmds_head, list_node) { in kdb_help()
2634 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_register()
2642 list_add_tail(&cmd->list_node, &kdb_cmds_head); in kdb_register()
2656 list_add_tail(&kp->list_node, &kdb_cmds_head); in kdb_register_table()
[all …]
/linux/arch/powerpc/kernel/
A Dpci_32.c133 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_make_OF_bus_map()
245 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_init()
284 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_bus_to_hose()
A Dpci-common.c118 list_add_tail(&phb->list_node, &hose_list); in pcibios_alloc_controller()
144 list_del(&phb->list_node); in pcibios_free_controller()
281 list_for_each_entry(hose, &hose_list, list_node) { in pcibios_vaddr_is_ioport()
300 list_for_each_entry(hose, &hose_list, list_node) { in pci_address_to_pio()
338 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_find_hose_for_OF_device()
350 list_for_each_entry(hose, &hose_list, list_node) in pci_find_controller_for_domain()
360 struct list_head list_node; member
370 list_del(&vi->list_node); in ppc_pci_intx_release()
384 list_for_each_entry(vi, &intx_list, list_node) { in ppc_pci_unmap_irq_line()
461 list_for_each_entry(vitmp, &intx_list, list_node) { in pci_read_irq_line()
[all …]
A Dpci_64.c57 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pcibios_init()
64 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pcibios_init()
/linux/arch/microblaze/pci/
A Dpci-common.c61 list_add_tail(&phb->list_node, &hose_list); in pcibios_alloc_controller()
71 list_del(&phb->list_node); in pcibios_free_controller()
90 list_for_each_entry(hose, &hose_list, list_node) { in pcibios_vaddr_is_ioport()
109 list_for_each_entry(hose, &hose_list, list_node) { in pci_address_to_pio()
136 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_find_hose_for_OF_device()
988 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_init()
998 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { in pcibios_init()
1012 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) in pci_bus_to_hose()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_buddy.c17 INIT_LIST_HEAD(&buddy->list_node); in mlx5dr_buddy_init()
65 list_del(&buddy->list_node); in mlx5dr_buddy_cleanup()
A Ddr_icm_pool.c212 list_add(&buddy->list_node, &pool->buddy_mem_list); in dr_icm_buddy_create()
305 list_for_each_entry_safe(buddy, tmp_buddy, &pool->buddy_mem_list, list_node) { in dr_icm_pool_sync_all_buddy_pools()
333 list_for_each_entry(buddy_mem_pool, &pool->buddy_mem_list, list_node) { in dr_icm_handle_buddies_get_mem()
448 list_for_each_entry_safe(buddy, tmp_buddy, &pool->buddy_mem_list, list_node) in mlx5dr_icm_pool_destroy()
/linux/arch/powerpc/sysdev/
A 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/drivers/net/ethernet/chelsio/cxgb4/
A 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()
/linux/drivers/staging/greybus/
A Daudio_helper.c84 list_del(&path->list_node[SND_SOC_DAPM_DIR_IN]); in gbaudio_dapm_free_path()
85 list_del(&path->list_node[SND_SOC_DAPM_DIR_OUT]); in gbaudio_dapm_free_path()

Completed in 45 milliseconds

1234