/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_ports.c | 24 NOTE: the current implementation of the port structure as a linked list is 27 structure, which means we have to traverse the list. A direct access table 35 2) replace the linked list of ports by a array of pointers which is 52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() 76 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_query_nearest() 145 list_for_each_entry(p, &client->ports_list_head, list) { in snd_seq_create_port() 152 list_add_tail(&new_port->list, &p->list); in snd_seq_create_port() 204 * remove all subscribers on the list 205 * this is called from port_delete, for each src and dest list 524 struct list_head *list; __delete_and_unsubscribe_port() local [all...] |
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 90 * watch_events_waitq for work to do (queued on watch_events list). When it 91 * wakes up it acquires the xenwatch_mutex before reading the list and 241 list_add_tail(&req->list, &xb_write_list); in xs_send() 690 list_for_each_entry(i, &watches, list) in find_watch() 713 list_add_tail(&event->list, &watch_events); in xs_watch_msg() 778 list_add(&watch->list, &watches); in register_xenbus_watch() 785 list_del(&watch->list); in register_xenbus_watch() 807 list_del(&watch->list); in unregister_xenbus_watch() 824 list_for_each_entry_safe(event, tmp, &watch_events, list) { in unregister_xenbus_watch() 827 list_del(&event->list); in unregister_xenbus_watch() [all...] |
/kernel/linux/linux-6.6/drivers/misc/ti-st/ |
H A D | st_core.c | 32 /* list now has the channel id as index itself */ in add_channel_to_table() 33 st_gdata->list[new_proto->chnl_id] = new_proto; in add_channel_to_table() 41 /* st_gdata->list[proto->chnl_id] = NULL; */ in remove_channel_from_table() 109 if (likely(st_gdata->list[chnl_id]->recv != NULL)) { in st_send_frame() 111 (st_gdata->list[chnl_id]->recv in st_send_frame() 112 (st_gdata->list[chnl_id]->priv_data, st_gdata->rx_skb) in st_send_frame() 138 st_gdata->list[i]->reg_complete_cb != NULL)) { in st_reg_complete() 139 st_gdata->list[i]->reg_complete_cb in st_reg_complete() 140 (st_gdata->list[i]->priv_data, err); in st_reg_complete() 275 proto = st_gdata->list[st_gdat in st_int_recv() [all...] |
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_xs.c | 90 * watch_events_waitq for work to do (queued on watch_events list). When it 91 * wakes up it acquires the xenwatch_mutex before reading the list and 241 list_add_tail(&req->list, &xb_write_list); in xs_send() 690 list_for_each_entry(i, &watches, list) in find_watch() 713 list_add_tail(&event->list, &watch_events); in xs_watch_msg() 778 list_add(&watch->list, &watches); in register_xenbus_watch() 785 list_del(&watch->list); in register_xenbus_watch() 807 list_del(&watch->list); in unregister_xenbus_watch() 824 list_for_each_entry_safe(event, tmp, &watch_events, list) { in unregister_xenbus_watch() 827 list_del(&event->list); in unregister_xenbus_watch() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 30 struct list_head list; member 34 * @rmid_free_lru - A least recently used list of free RMIDs 281 * RMID and move it to the free list when the counter reaches 0. in __check_limbo() 301 list_add_tail(&entry->list, &rmid_free_lru); in __check_limbo() 316 * are used to optimize the limbo list management. 328 struct rmid_entry, list); in alloc_rmid() 329 list_del(&entry->list); in alloc_rmid() 343 list_for_each_entry(d, &r->domains, list) { in add_rmid_to_limbo() 366 list_add_tail(&entry->list, &rmid_free_lru); in add_rmid_to_limbo() 383 list_add_tail(&entry->list, in free_rmid() [all...] |
/kernel/linux/linux-6.6/drivers/iommu/amd/ |
H A D | amd_iommu_types.h | 14 #include <linux/list.h> 490 list_for_each_entry((pci_seg), &amd_iommu_pci_seg_list, list) 492 list_for_each_entry_safe((pci_seg), (next), &amd_iommu_pci_seg_list, list) 497 list_for_each_entry((iommu), &amd_iommu_list, list) 499 list_for_each_entry_safe((iommu), (next), &amd_iommu_list, list) 575 struct list_head list; member 632 * A list of required unity mappings we find in ACPI. It is not locked 644 struct list_head list; member 786 struct list_head list; member 796 struct list_head list; member 809 struct list_head list; /* For domain->dev_list */ global() member 861 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_ports.c | 24 NOTE: the current implementation of the port structure as a linked list is 27 structure, which means we have to traverse the list. A direct access table 35 2) replace the linked list of ports by a array of pointers which is 52 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() 77 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_query_nearest() 150 list_for_each_entry(p, &client->ports_list_head, list) { in snd_seq_create_port() 162 list_add_tail(&new_port->list, &p->list); in snd_seq_create_port() 216 * remove all subscribers on the list 217 * this is called from port_delete, for each src and dest list 554 struct list_head *list; __delete_and_unsubscribe_port() local [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_if.c | 155 list_for_each_entry(p, &br->port_list, list) { in br_manage_promisc() 219 list_for_each_entry(cur_p, &p->br->port_list, list) { in nbp_backup_clear() 236 list_for_each_entry(p, &br->port_list, list) { in nbp_update_port_count() 304 list_for_each_entry(p, &br->port_list, list) { in get_max_headroom() 318 list_for_each_entry(p, &br->port_list, list) in update_headroom() 351 list_del_rcu(&p->list); in del_nbp() 385 list_for_each_entry_safe(p, n, &br->port_list, list) { in br_dev_delete() 411 list_for_each_entry(p, &br->port_list, list) in find_portno() 506 list_for_each_entry(p, &br->port_list, list) in br_mtu_min() 534 list_for_each_entry(p, &br->port_list, list) { in br_set_gso_limits() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_tables_offload.c | 204 list_for_each_entry(block_cb, cb_list, list) { in nft_setup_cb_call() 229 list_for_each_entry(hook, &basechain->hook_list, list) { in nft_chain_offload_support() 331 list_for_each_entry(rule, &chain->rules, list) { in nft_flow_offload_unbind() 338 list_for_each_entry_safe(block_cb, next, &bo->cb_list, list) { in nft_flow_offload_unbind() 339 list_del(&block_cb->list); in nft_flow_offload_unbind() 414 list_move(&block_cb->list, &bo.cb_list); in nft_indr_block_cleanup() 462 list_for_each_entry(hook, &basechain->hook_list, list) { in nft_flow_block_chain() 480 list_for_each_entry(hook, &basechain->hook_list, list) { in nft_flow_block_chain() 515 list_for_each_entry_continue_reverse(trans, &nft_net->commit_list, list) { in nft_flow_rule_offload_abort() 566 list_for_each_entry(trans, &nft_net->commit_list, list) { in nft_flow_rule_offload_commit() [all...] |
/kernel/linux/linux-6.6/net/devlink/ |
H A D | rate.c | 39 list_for_each_entry(devlink_rate, &devlink->rate_list, list) { in devlink_rate_node_get_by_name() 170 list_for_each_entry(rate_node, &devlink->rate_list, list) in devlink_rates_notify_register() 178 list_for_each_entry_reverse(rate_node, &devlink->rate_list, list) in devlink_rates_notify_unregister() 191 list_for_each_entry(devlink_rate, &devlink->rate_list, list) { in devlink_nl_rate_get_dump_one() 526 list_add(&rate_node->list, &devlink->rate_list); in devlink_nl_cmd_rate_new_doit() 559 list_del(&rate_node->list); in devlink_nl_cmd_rate_del_doit() 570 list_for_each_entry(devlink_rate, &devlink->rate_list, list) in devlink_rate_nodes_check() 617 list_add(&rate_node->list, &devlink->rate_list); in devl_rate_node_create() 655 list_add_tail(&devlink_rate->list, &devlink->rate_list); in devl_rate_leaf_create() 681 list_del(&devlink_rate->list); in devl_rate_leaf_destroy() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_amix.c | 64 * Linked list used to store timestamps and frame sizes of all frames in the 74 FrameInfo *list; member 81 while (frame_list->list) { in frame_list_clear() 82 FrameInfo *info = frame_list->list; in frame_list_clear() 83 frame_list->list = info->next; in frame_list_clear() 94 if (!frame_list->list) in frame_list_next_frame_size() 96 return frame_list->list->nb_samples; in frame_list_next_frame_size() 101 if (!frame_list->list) in frame_list_next_pts() 103 return frame_list->list->pts; in frame_list_next_pts() 113 FrameInfo *info = frame_list->list; in frame_list_remove_samples() [all...] |
/third_party/tzdata/ |
H A D | Makefile | 52 # to get a list of the values you can use for LOCALTIME. 71 # to get a list of the values you can use for POSIXRULES. 443 # Where to fetch leap-seconds.list from. 445 https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list 482 # and to fetch leap-seconds.list from upstream. 593 LEAP_DEPS= leapseconds.awk leap-seconds.list 597 DATA= $(TDATA_TO_CHECK) backzone iso3166.tab leap-seconds.list \ 614 # This list is not the same as the output of 'git ls-files', since 623 leap-seconds.list leapseconds.awk localtime.c \ 726 -f leapseconds.awk leap-seconds.list > [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | control.c | 26 struct list_head list; /* list of all ioctls */ member 75 list_add_tail(&ctl->list, &card->ctl_files); in snd_ctl_open() 98 list_del(&cread->list); in snd_ctl_empty_read_queue() 116 list_del(&ctl->list); in snd_ctl_release() 119 list_for_each_entry(control, &card->controls, list) in snd_ctl_release() 140 * to the list and wakes up the user-space for notification. This can be 158 list_for_each_entry(ctl, &card->ctl_files, list) { in snd_ctl_notify() 162 list_for_each_entry(ev, &ctl->events, list) { in snd_ctl_notify() 172 list_add_tail(&ev->list, in snd_ctl_notify() 720 snd_ctl_elem_list(struct snd_card *card, struct snd_ctl_elem_list *list) snd_ctl_elem_list() argument 762 struct snd_ctl_elem_list list; snd_ctl_elem_list_user() local [all...] |
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | check.c | 25 struct list_head list; member 52 struct instruction *next = list_next_entry(insn, list); in next_insn_same_sec() 54 if (!next || &next->list == &file->insn_list || next->sec != insn->sec) in next_insn_same_sec() 63 struct instruction *next = list_next_entry(insn, list); in next_insn_same_func() 69 if (&next->list != &file->insn_list && next->func == func) in next_insn_same_func() 83 struct instruction *prev = list_prev_entry(insn, list); in prev_insn_same_sym() 85 if (&prev->list != &file->insn_list && prev->func == insn->func) in prev_insn_same_sym() 98 insn && &insn->list != &file->insn_list && \ 101 insn = list_next_entry(insn, list)) 104 for (insn = list_prev_entry(insn, list); \ [all...] |
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | pm_netlink.c | 27 struct list_head list; member 115 static bool lookup_subflow_by_saddr(const struct list_head *list, in lookup_subflow_by_saddr() argument 122 list_for_each_entry(subflow, list, node) { in lookup_subflow_by_saddr() 133 static bool lookup_subflow_by_daddr(const struct list_head *list, in lookup_subflow_by_daddr() argument 140 list_for_each_entry(subflow, list, node) { in lookup_subflow_by_daddr() 160 list_for_each_entry_rcu(entry, &pernet->local_addr_list, list) { in select_local_address() 181 * the address list in order. in select_signal_address() 182 * Note: removal from the local address list during the msk life-cycle in select_signal_address() 185 list_for_each_entry_rcu(entry, &pernet->local_addr_list, list) { in select_signal_address() 252 list_for_each_entry(entry, &msk->pm.anno_list, list) { in mptcp_lookup_anno_list_by_saddr() 1420 struct mptcp_rm_list list = { .nr = 0 }; mptcp_pm_remove_anno_addr() local 1438 struct mptcp_rm_list list = { .nr = 0 }; mptcp_nl_remove_subflow_and_signal_addr() local 1477 struct mptcp_rm_list list = { .nr = 0 }; mptcp_nl_remove_id_zero_address() local 1625 __flush_addrs(struct list_head *list) __flush_addrs() argument 1871 struct mptcp_rm_list list = { .nr = 0 }; mptcp_pm_nl_fullmesh() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/nfit/ |
H A D | core.c | 13 #include <linux/list.h> 698 list_for_each_entry(nfit_spa, &prev->spas, list) { in add_spa() 700 list_move_tail(&nfit_spa->list, &acpi_desc->spas); in add_spa() 709 INIT_LIST_HEAD(&nfit_spa->list); in add_spa() 711 list_add_tail(&nfit_spa->list, &acpi_desc->spas); in add_spa() 728 list_for_each_entry(nfit_memdev, &prev->memdevs, list) in add_memdev() 730 list_move_tail(&nfit_memdev->list, &acpi_desc->memdevs); in add_memdev() 738 INIT_LIST_HEAD(&nfit_memdev->list); in add_memdev() 740 list_add_tail(&nfit_memdev->list, &acpi_desc->memdevs); in add_memdev() 755 list_for_each_entry(acpi_desc, &acpi_descs, list) { in nfit_get_smbios_id() [all...] |
/kernel/linux/linux-5.10/drivers/most/ |
H A D | core.c | 13 #include <linux/list.h> 56 struct list_head list; member 86 * list_pop_mbo - retrieves the first MBO of the list and removes it 87 * @ptr: the list head to grab the MBO from. 91 struct mbo *_mbo = list_first_entry(ptr, struct mbo, list); \ 92 list_del(&_mbo->list); \ 127 list_for_each_entry_safe(mbo, tmp, &c->fifo, list) { in flush_channel_fifos() 128 list_del(&mbo->list); in flush_channel_fifos() 136 list_for_each_entry_safe(mbo, tmp, &c->halt_fifo, list) { in flush_channel_fifos() 137 list_del(&mbo->list); in flush_channel_fifos() [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | tb.c | 81 list_add_tail(&port->list, &tcm->dp_resources); in tb_add_dp_resources() 97 list_for_each_entry_safe(port, tmp, &tcm->dp_resources, list) { in tb_remove_dp_resources() 100 list_del_init(&port->list); in tb_remove_dp_resources() 147 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_discover_tunnels() 263 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_find_tunnel() 352 list_for_each_entry(tunnel, &tcm->tunnel_list, list) { in tb_available_bandwidth() 496 list_add_tail(&tunnel->list, &tcm->tunnel_list); in tb_tunnel_usb3() 676 list_del(&tunnel->list); in tb_deactivate_and_free_tunnel() 720 list_for_each_entry_safe(tunnel, n, &tcm->tunnel_list, list) { in tb_free_invalid_tunnels() 809 list_for_each_entry(port, &tcm->dp_resources, list) { in tb_find_dp_out() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | u_ether.c | 75 struct sk_buff_head *list); 249 list_add(&req->list, &dev->rx_reqs); in rx_submit() 339 list_add(&req->list, &dev->rx_reqs); in rx_complete() 347 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() argument 357 list_for_each_entry(req, list, list) { in prealloc() 364 return list_empty(list) ? -ENOMEM : 0; in prealloc() 365 list_add(&req->list, list); in prealloc() 374 next = req->list in prealloc() [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | core.c | 16 #include <linux/list.h> 63 list_for_each_entry(rdev, &cfg80211_rdev_list, list) { in cfg80211_rdev_by_wiphy_idx() 119 list_for_each_entry(rdev2, &cfg80211_rdev_list, list) in cfg80211_dev_check_name() 164 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_switch_netns() 180 list) { in cfg80211_switch_netns() 193 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_switch_netns() 206 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_switch_netns() 271 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) { in cfg80211_shutdown_all_interfaces() 332 list_for_each_entry_safe(wdev, tmp, &rdev->wiphy.wdev_list, list) { in cfg80211_destroy_ifaces() 359 list_for_each_entry_safe(req, tmp, &rdev->sched_scan_req_list, list) { in cfg80211_sched_scan_stop_wk() [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | name_table.c | 12 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer in the 56 * @local_publ: list of identical publications made from this node 76 * @subscriptions: list of subscriptions for this service type 86 spinlock_t lock; /* Covers service range list */ 242 INIT_LIST_HEAD(&publ->list); in tipc_publ_create() 389 pa = container_of(a, struct publication, list); in tipc_publ_sort() 390 pb = container_of(b, struct publication, list); in tipc_publ_sort() 425 list_add_tail(&p->list, &publ_list); in tipc_service_subscribe() 431 list_add_tail(&first->list, in tipc_service_subscribe() 552 struct list_head *list; tipc_nametbl_translate() local [all...] |
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | virtio_fs.c | 27 /* List of virtio-fs device instances and a lock for the list. Also provides 58 struct list_head list; /* on virtio_fs_instances */ member 78 struct list_head list; member 237 /* Add a new instance to the list or return -EEXIST if tag name exists*/ 245 list_for_each_entry(fs2, &virtio_fs_instances, list) { in virtio_fs_add_instance() 251 list_add_tail(&fs->list, &virtio_fs_instances); in virtio_fs_add_instance() 267 list_for_each_entry(fs, &virtio_fs_instances, list) { in virtio_fs_find_instance() 355 list); in virtio_fs_request_dispatch_work() 361 list_del_init(&req->list); in virtio_fs_request_dispatch_work() 370 struct fuse_req, list); in virtio_fs_request_dispatch_work() [all...] |
/kernel/linux/linux-5.10/net/mac802154/ |
H A D | llsec.c | 47 list_for_each_entry_safe(sl, sn, &sec->table.security_levels, list) { in mac802154_llsec_destroy() 51 list_del(&sl->list); in mac802154_llsec_destroy() 55 list_for_each_entry_safe(dev, dn, &sec->table.devices, list) { in mac802154_llsec_destroy() 59 list_del(&dev->list); in mac802154_llsec_destroy() 63 list_for_each_entry_safe(key, kn, &sec->table.keys, list) { in mac802154_llsec_destroy() 67 list_del(&key->list); in mac802154_llsec_destroy() 223 list_for_each_entry(pos, &sec->table.keys, list) { in mac802154_llsec_key_add() 259 list_add_rcu(&new->list, &sec->table.keys); in mac802154_llsec_key_add() 273 list_for_each_entry(pos, &sec->table.keys, list) { in mac802154_llsec_key_del() 279 list_del_rcu(&pos->list); in mac802154_llsec_key_del() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_g2d.c | 204 struct list_head list; member 215 struct list_head list; member 224 struct list_head list; member 305 list_add_tail(&node[nr].list, &g2d->free_cmdlist); in g2d_init_cmdlist() 342 list); in g2d_get_cmdlist() 343 list_del_init(&node->list); in g2d_get_cmdlist() 352 list_move_tail(&node->list, &g2d->free_cmdlist); in g2d_put_cmdlist() 366 struct g2d_cmdlist_node, list); in g2d_add_cmdlist_to_inuse() 370 list_add_tail(&node->list, &file_priv->inuse_cmdlist); in g2d_add_cmdlist_to_inuse() 412 list_del_init(&g2d_userptr->list); in g2d_userptr_put_dma_addr() [all...] |
/kernel/linux/linux-6.6/drivers/most/ |
H A D | core.c | 13 #include <linux/list.h> 56 struct list_head list; member 86 * list_pop_mbo - retrieves the first MBO of the list and removes it 87 * @ptr: the list head to grab the MBO from. 91 struct mbo *_mbo = list_first_entry(ptr, struct mbo, list); \ 92 list_del(&_mbo->list); \ 127 list_for_each_entry_safe(mbo, tmp, &c->fifo, list) { in flush_channel_fifos() 128 list_del(&mbo->list); in flush_channel_fifos() 136 list_for_each_entry_safe(mbo, tmp, &c->halt_fifo, list) { in flush_channel_fifos() 137 list_del(&mbo->list); in flush_channel_fifos() [all...] |