/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_client.c | 4 #include <linux/list.h> 333 * i40e_client_add_instance - add a client instance struct to the instance list 365 mac = list_first_entry(&cdev->lan_info.netdev->dev_addrs.list, in i40e_client_add_instance() 366 struct netdev_hw_addr, list); in i40e_client_add_instance() 370 dev_err(&pf->pdev->dev, "MAC address list is empty!\n"); in i40e_client_add_instance() 388 * i40e_client_del_instance - removes a client instance from the list 455 * i40e_lan_add_device - add a lan device struct to the list of lan devices 466 list_for_each_entry(ldev, &i40e_devices, list) { in i40e_lan_add_device() 478 INIT_LIST_HEAD(&ldev->list); in i40e_lan_add_device() 479 list_add(&ldev->list, in i40e_lan_add_device() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_rx_filter.c | 7 #include <linux/list.h> 72 /* remove from old id list, save new id in tmp list */ in ionic_rx_filter_replay() 554 struct list_head list; member 576 * into a separate local list that needs no locking. in ionic_rx_filter_sync() 592 list_add(&sync_item->list, &sync_add_list); in ionic_rx_filter_sync() 594 list_add(&sync_item->list, &sync_del_list); in ionic_rx_filter_sync() 606 list_for_each_entry_safe(sync_item, spos, &sync_del_list, list) { in ionic_rx_filter_sync() 609 list_del(&sync_item->list); in ionic_rx_filter_sync() 613 list_for_each_entry_safe(sync_item, spos, &sync_add_list, list) { in ionic_rx_filter_sync() [all...] |
/kernel/linux/linux-6.6/fs/notify/ |
H A D | mark.c | 34 * mark->connector->lock protects the list of marks anchored inside an 37 * A list of notification marks relating to inode / mnt is contained in 39 * marks in the list and is also protected by fsnotify_mark_srcu. A mark gets 166 hlist_for_each_entry(mark, &conn->list, obj_list) { in __fsnotify_recalc_mask() 180 * Calculate mask of events for a list of marks. The caller must make sure 183 * list. 315 if (hlist_empty(&conn->list)) { in fsnotify_put_mark() 350 * list. Mark can be already removed from the list by now and on its way to be 409 * lists, we can drop SRCU lock, and safely resume the list iteratio [all...] |
/kernel/linux/linux-6.6/fs/tracefs/ |
H A D | event_inode.c | 49 * its parent's list and will have is_freed set (under eventfs_mutex). 472 * list, if @dentry found go ahead and create the file/dir 495 list_for_each_entry(ei_child, &ei->children, list) { in eventfs_root_lookup() 596 list_for_each_entry_srcu(ei_child, &ei->children, list, in eventfs_iterate() 632 * @entries: A list of entries that represent the files under this directory 680 INIT_LIST_HEAD(&ei->list); in eventfs_create_dir() 684 list_add_tail(&ei->list, &parent->children); in eventfs_create_dir() 688 if (list_empty(&ei->list)) { in eventfs_create_dir() 699 * @entries: A list of entries that represent the files under this directory 756 INIT_LIST_HEAD(&ei->list); in eventfs_create_events_dir() [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | scm_blk.c | 19 #include <linux/list.h> 58 scmrq = list_entry(iter, struct scm_request, list); in scm_free_rqs() 59 list_del(&scmrq->list); in scm_free_rqs() 86 INIT_LIST_HEAD(&scmrq->list); in __scm_alloc_rq() 88 list_add(&scmrq->list, &inactive_requests); in __scm_alloc_rq() 118 scmrq = list_first_entry(&inactive_requests, struct scm_request, list); in scm_request_fetch() 119 list_del(&scmrq->list); in scm_request_fetch() 142 list_add(&scmrq->list, &inactive_requests); in scm_request_done()
|
/kernel/linux/linux-6.6/drivers/sh/maple/ |
H A D | maple.c | 17 #include <linux/list.h> 178 list_add_tail(&mdev->mq->list, &maple_waitq); in maple_add_packet() 193 INIT_LIST_HEAD(&mq->list); in maple_allocq() 292 list_for_each_entry_safe(mq, nmq, &maple_waitq, list) { in maple_send() 294 list_del_init(&mq->list); in maple_send() 295 list_add_tail(&mq->list, &maple_sentq); in maple_send() 641 list_for_each_entry_safe(mq, nmq, &maple_sentq, list) { in maple_dma_handler() 648 list_del_init(&mq->list); in maple_dma_handler()
|
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 14 #include <linux/list.h> 74 list); in regmap_debugfs_free_dump_cache() 75 list_del(&c->list); in regmap_debugfs_free_dump_cache() 123 list_add_tail(&c->list, in regmap_debugfs_get_dump_start() 151 list_add_tail(&c->list, in regmap_debugfs_get_dump_start() 164 list_for_each_entry(c, &map->debugfs_off_cache, list) { in regmap_debugfs_get_dump_start() 202 list_for_each_entry(c, &map->debugfs_off_cache, list) { in regmap_next_readable_reg() 401 list_for_each_entry(c, &map->debugfs_off_cache, list) { in regmap_reg_ranges_read_file()
|
/kernel/linux/linux-6.6/drivers/cdx/controller/ |
H A D | mcdi.c | 17 #include <linux/list.h> 90 list_del(&cmd->list); in cdx_mcdi_remove_cmd() 357 list_for_each_entry(cmd, &mcdi->cmd_list, list) in _cdx_mcdi_cancel_cmd() 521 INIT_LIST_HEAD(&cmd->list); in cdx_mcdi_rpc_async_internal() 554 list_for_each_entry_safe(cmd, tmp, &mcdi->cmd_list, list) in cdx_mcdi_start_or_queue() 607 list_add_tail(&cmd->list, &mcdi->cmd_list); in cdx_mcdi_cmd_work() 690 list_del(&cmd->list); in cdx_mcdi_complete_cmd() 832 list); in cdx_mcdi_mode_fail()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sched.c | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 139 list_for_each_entry(qe, &e->entry_list, list) { in t4_sched_entry_lookup() 150 list_for_each_entry(fe, &e->entry_list, list) { in t4_sched_entry_lookup() 207 list_del(&qe->list); in t4_sched_queue_unbind() 249 list_add_tail(&qe->list, &e->entry_list); in t4_sched_queue_bind() 278 list_del(&fe->list); in t4_sched_flowc_unbind() 314 list_add_tail(&fe->list, &e->entry_list); in t4_sched_flowc_bind() 335 list_for_each_entry(qe, &e->entry_list, list) in t4_sched_class_unbind_all() 342 list_for_each_entry(fe, &e->entry_list, list) in t4_sched_class_unbind_all() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 38 #include <linux/list.h> 167 struct list_head list; member 238 struct list_head list; member 248 struct list_head list; member 333 * This protects access to the child_intfs list. 401 struct list_head list; member 423 struct list_head list; member 442 struct list_head list; member 455 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | bpf_counter.c | 44 INIT_LIST_HEAD(&counter->list); in bpf_counter_alloc() 53 &evsel->bpf_counter_list, list) { in bpf_program_profiler__destroy() 54 list_del_init(&counter->list); in bpf_program_profiler__destroy() 157 list_add(&counter->list, &evsel->bpf_counter_list); in bpf_program_profiler_load_one() 203 list_for_each_entry(counter, &evsel->bpf_counter_list, list) { in bpf_program_profiler__enable() 218 list_for_each_entry(counter, &evsel->bpf_counter_list, list) { in bpf_program_profiler__disable() 247 list_for_each_entry(counter, &evsel->bpf_counter_list, list) { in bpf_program_profiler__read() 280 list_for_each_entry(counter, &evsel->bpf_counter_list, list) { in bpf_program_profiler__install_pe()
|
/kernel/linux/linux-6.6/tools/perf/ui/gtk/ |
H A D | hists.c | 116 list_for_each_entry(chain, &node->parent_val, list) { in perf_gtk__add_callchain_flat() 137 list_for_each_entry(chain, &node->val, list) { in perf_gtk__add_callchain_flat() 177 list_for_each_entry(chain, &node->parent_val, list) { in perf_gtk__add_callchain_folded() 193 list_for_each_entry(chain, &node->val, list) { in perf_gtk__add_callchain_folded() 238 list_for_each_entry(chain, &node->val, list) { in perf_gtk__add_callchain_graph() 439 struct perf_hpp_list_node, list); in perf_gtk__add_hierarchy_entries() 533 struct perf_hpp_list_node, list); in perf_gtk__show_hierarchy() 544 list_for_each_entry_continue(fmt_node, &hists->hpp_formats, list) { in perf_gtk__show_hierarchy()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | pmsr.c | 332 list_add_tail(&req->list, &wdev->pmsr_list); in nl80211_pmsr_start() 379 * to the free list, and will free it later. In this case, don't free in cfg80211_pmsr_complete() 382 list_for_each_entry_safe(tmp, prev, &wdev->pmsr_list, list) { in cfg80211_pmsr_complete() 384 list_del(&req->list); in cfg80211_pmsr_complete() 606 list_for_each_entry_safe(req, tmp, &wdev->pmsr_list, list) { in cfg80211_pmsr_process_abort() 609 list_move_tail(&req->list, &free_list); in cfg80211_pmsr_process_abort() 613 list_for_each_entry_safe(req, tmp, &free_list, list) { in cfg80211_pmsr_process_abort() 638 list_for_each_entry(req, &wdev->pmsr_list, list) { in cfg80211_pmsr_wdev_down() 655 list_for_each_entry(req, &wdev->pmsr_list, list) { in cfg80211_release_pmsr()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink_cthelper.c | 15 #include <linux/list.h> 34 struct list_head list; member 278 list_add_tail(&nfcth->list, &nfnl_cthelper_list); in nfnl_cthelper_create() 440 list_for_each_entry(nlcth, &nfnl_cthelper_list, list) { in nfnl_cthelper_new() 648 list_for_each_entry(nlcth, &nfnl_cthelper_list, list) { in nfnl_cthelper_get() 706 list_for_each_entry_safe(nlcth, n, &nfnl_cthelper_list, list) { in nfnl_cthelper_del() 724 list_del(&nlcth->list); in nfnl_cthelper_del() 794 list_for_each_entry_safe(nlcth, n, &nfnl_cthelper_list, list) { in nfnl_cthelper_exit()
|
/kernel/liteos_a/kernel/base/sched/ |
H A D | los_priority.c | 7 * 1. Redistributions of source code must retain the above copyright notice, this list of 10 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 51 STATIC UINT32 HPFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks); 65 STATIC VOID HPFPriorityRestore(LosTaskCB *owner, const LOS_DL_LIST *list, const SchedParam *param); 312 STATIC UINT32 HPFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks) in HPFWait() argument 315 LOS_ListTailInsert(list, &runTask->pendList); in HPFWait() 479 STATIC VOID HPFPriorityRestore(LosTaskCB *owner, const LOS_DL_LIST *list, const SchedParam *param) in HPFPriorityRestore() argument 500 if ((list != NULL) && !LOS_ListEmpty((LOS_DL_LIST *)list)) { in HPFPriorityRestore() 502 LOS_DL_LIST_FOR_EACH_ENTRY(pendedTask, list, LosTaskC in HPFPriorityRestore() [all...] |
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | send.c | 21 #include <linux/list.h> 529 INIT_HLIST_NODE(&forw_packet->list); in batadv_forw_packet_alloc() 583 hlist_del_init(&forw_packet->list); in batadv_forw_packet_steal() 593 * batadv_forw_packet_list_steal() - claim a list of forward packets for free() 614 forw_list, list) { in batadv_forw_packet_list_steal() 623 hlist_del(&forw_packet->list); in batadv_forw_packet_list_steal() 629 * batadv_forw_packet_list_free() - free a list of forward packets 630 * @head: a list of to be freed forw_packets 632 * This function cancels the scheduling of any packet in the provided list, 687 hlist_del_init(&forw_packet->list); in batadv_forw_packet_queue() [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | stdio_console.c | 15 #include <linux/list.h> 48 /* Const, except for .mc.list */ 61 .list = LIST_HEAD_INIT(driver.mc.list),
|
/kernel/linux/linux-5.10/virt/kvm/ |
H A D | coalesced_mmio.c | 100 list_del(&dev->list); in coalesced_mmio_destructor() 122 * The list doesn't need its own lock since device registration and in kvm_coalesced_mmio_init() 161 list_add_tail(&dev->list, &kvm->coalesced_zones); in kvm_vm_ioctl_register_coalesced_mmio() 184 list_for_each_entry_safe(dev, tmp, &kvm->coalesced_zones, list) { in kvm_vm_ioctl_unregister_coalesced_mmio()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | stdio_console.c | 15 #include <linux/list.h> 48 /* Const, except for .mc.list */ 59 .list = LIST_HEAD_INIT(driver.mc.list),
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-lgff.c | 61 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_play() 103 struct hid_report *report = list_entry(report_list->next, struct hid_report, list); in hid_lgff_set_autocenter() 128 hidinput = list_entry(hid->inputs.next, struct hid_input, list); in lgff_init()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-exception-store.c | 26 list_for_each_entry(type, &_exception_store_types, list) in __find_exception_store_type() 116 list_add(&type->list, &_exception_store_types); in dm_exception_store_type_register() 134 list_del(&type->list); in dm_exception_store_type_unregister()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | clock.c | 57 list_for_each_entry(iclock, &iclock_list, list) { in select_iclock() 104 list_add_tail(&iclock->list, &iclock_list); in mISDN_register_clock() 127 list_del(&iclock->list); in mISDN_unregister_clock()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 77 list_for_each_entry(tpriv, &ppriv->child_intfs, list) { in is_child_unique() 267 list_for_each_entry_safe(priv, tpriv, &ppriv->child_intfs, list) { in ipoib_vlan_delete() 279 list_del_init(&priv->list); in ipoib_vlan_delete()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.h | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 39 #include <linux/list.h> 283 * @list: Node in srpt_nexus.ch_list. 285 * list contains struct srpt_ioctx elements and is protected 323 struct list_head list; member 336 * @entry: srpt_port.nexus_list list node. 337 * @ch_list: struct srpt_rdma_ch list. Protected by srpt_port.mutex. 370 * (srpt_port_id). With each TPG an ACL list is associated. 413 * @nexus_list: Nexus list 465 struct list_head list; global() member [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 93 list_add_tail(&sub->list,&core->subs); in bttv_sub_add_device() 101 list_for_each_entry_safe(sub, save, &core->subs, list) { in bttv_sub_del_devices() 102 list_del(&sub->list); in bttv_sub_del_devices()
|