/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/common/ |
H A D | audio_adapter_info.h | 19 #include <list> 192 std::list<StreamPropInfo> streamPropInfos_ {}; 193 std::list<uint32_t> sampleRates_ {}; 194 std::list<uint32_t> channelLayouts_ {}; 195 std::list<ConfigInfo> configInfos_ {}; 207 std::list<std::string> supportPipes_ {}; 225 std::list<ConfigInfo> configInfos_ {}; 226 std::list<ProfileInfo> profileInfos_ {}; 227 std::list<std::string> devices_ {}; 240 std::list<AudioPipeDeviceInf [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 87 list_del(&up->list); in up_rel_func() 169 if (!list_empty(&mdev->priv.bfregs.reg_head.list)) { in mlx5_get_uars_page() 170 ret = list_first_entry(&mdev->priv.bfregs.reg_head.list, in mlx5_get_uars_page() 171 struct mlx5_uars_page, list); in mlx5_get_uars_page() 178 list_add(&ret->list, &mdev->priv.bfregs.reg_head.list); in mlx5_get_uars_page() 217 head = &bfregs->wc_head.list; in alloc_bfreg() 220 head = &bfregs->reg_head.list; in alloc_bfreg() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.c | 26 * notice, this list of conditions and the following disclaimer. 28 * notice, this list of conditions and the following disclaimer in 48 #include <linux/list.h> 141 /* move from LRU list to delete list */ in hfi1_mmu_rb_unregister() 142 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 147 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_unregister() 148 list_del(&rbnode->list); in hfi1_mmu_rb_unregister() 177 list_add_tail(&mnode->list, &handler->lru_list); in hfi1_mmu_rb_insert() 193 list_move_tail(&node->list, in hfi1_mmu_rb_get_first() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | intr.c | 18 /* Wait list management */ 42 list_for_each_entry_reverse(pos, queue, list) in add_waiter_to_queue() 44 list_add(&waiter->list, &pos->list); in add_waiter_to_queue() 48 list_add(&waiter->list, queue); in add_waiter_to_queue() 62 list_for_each_entry_safe(waiter, next, head, list) { in remove_completed_waiters() 72 struct host1x_waitlist, list); in remove_completed_waiters() 81 list_del(&waiter->list); in remove_completed_waiters() 84 list_move_tail(&waiter->list, dest); in remove_completed_waiters() 93 list_first_entry(head, struct host1x_waitlist, list) in reset_threshold_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | uar.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 85 list_del(&up->list); in up_rel_func() 169 if (!list_empty(&mdev->priv.bfregs.reg_head.list)) { in mlx5_get_uars_page() 170 ret = list_first_entry(&mdev->priv.bfregs.reg_head.list, in mlx5_get_uars_page() 171 struct mlx5_uars_page, list); in mlx5_get_uars_page() 178 list_add(&ret->list, &mdev->priv.bfregs.reg_head.list); in mlx5_get_uars_page() 217 head = &bfregs->wc_head.list; in alloc_bfreg() 220 head = &bfregs->reg_head.list; in alloc_bfreg() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.c | 7 #include <linux/list.h> 103 /* move from LRU list to delete list */ in hfi1_mmu_rb_unregister() 104 list_move(&rbnode->list, &del_list); in hfi1_mmu_rb_unregister() 109 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list); in hfi1_mmu_rb_unregister() 110 list_del(&rbnode->list); in hfi1_mmu_rb_unregister() 139 list_add_tail(&mnode->list, &handler->lru_list); in hfi1_mmu_rb_insert() 155 list_move_tail(&node->list, &handler->lru_list); in hfi1_mmu_rb_get_first() 201 list_move(&mnode->list, &mnode->handler->del_list); in release_nolock() 221 list_move(&mnode->list, in hfi1_mmu_rb_release() [all...] |
/third_party/python/Tools/scripts/ |
H A D | fixdiv.py | 161 files = list(warnings.keys()) 199 list = warnings.get(filename) 200 if list is None: 201 warnings[filename] = list = [] 202 list.append((int(lineno), sys.intern(what))) 205 def process(filename, list): 207 assert list # if this fails, readwarnings() is broken 216 list.sort() 217 index = 0 # list[:index] has been processed, list[inde [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 45 /* topology_device_list - Master list of all topology devices */ 58 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain_no_lock() 88 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id() 117 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_pci_dev() 137 list_del(&dev->list); in kfd_release_topology_device() 141 struct kfd_mem_properties, list); in kfd_release_topology_device() 142 list_del(&mem->list); in kfd_release_topology_device() 148 struct kfd_cache_properties, list); in kfd_release_topology_device() 149 list_del(&cache->list); in kfd_release_topology_device() 155 struct kfd_iolink_properties, list); in kfd_release_topology_device() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | group_manager.cpp | 36 auto list = radioGroupNotify_[group]; in HasRadioId() local 37 auto it = find(list.begin(), list.end(), radioId); in HasRadioId() 38 return it != list.end(); in HasRadioId() 43 const auto& list = radioGroupNotify_[group]; in UpdateRadioGroupValue() local 44 for (auto&& item : list) { in UpdateRadioGroupValue() 101 std::list<RefPtr<FrameNode>> GroupManager::GetCheckboxList(const std::string& group) in GetCheckboxList() 104 std::list<RefPtr<FrameNode>> result; in GetCheckboxList() 105 for (std::list<WeakPtr<FrameNode>>::iterator iter = checkboxList.begin(); iter != checkboxList.end();) { in GetCheckboxList()
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | device.c | 40 INIT_LIST_HEAD(&dev->list); in snd_device_new() 47 /* insert the entry in an incrementally sorted list */ in snd_device_new() 49 struct snd_device *pdev = list_entry(p, struct snd_device, list); in snd_device_new() 54 list_add(&dev->list, p); in snd_device_new() 72 list_del(&dev->list); in __snd_device_free() 86 list_for_each_entry(dev, &card->devices, list) in look_for_dev() 126 * Removes the device from the list on the card and invokes the 196 list_for_each_entry(dev, &card->devices, list) { in snd_device_register_all() 214 list_for_each_entry_reverse(dev, &card->devices, list) in snd_device_disconnect_all() 228 list_for_each_entry_safe_reverse(dev, next, &card->devices, list) { in snd_device_free_all() [all...] |
H A D | misc.c | 99 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list 102 * @list: quirk list, terminated by a null entry 104 * Look through the given quirk list and finds a matching entry 112 const struct snd_pci_quirk *list) in snd_pci_quirk_lookup_id() 116 for (q = list; q->subvendor; q++) { in snd_pci_quirk_lookup_id() 128 * snd_pci_quirk_lookup - look up a PCI SSID quirk list 130 * @list: quirk list, terminated by a null entry 132 * Look through the given quirk list an 111 snd_pci_quirk_lookup_id(u16 vendor, u16 device, const struct snd_pci_quirk *list) snd_pci_quirk_lookup_id() argument 139 snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) snd_pci_quirk_lookup() argument 165 struct list_head list; global() member [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | memory.c | 100 struct list_head *list; in tomoyo_get_group() local 111 list = ¶m->ns->group_list[idx]; in tomoyo_get_group() 112 list_for_each_entry(group, list, head.list) { in tomoyo_get_group() 126 list_add_tail_rcu(&entry->head.list, list); in tomoyo_get_group() 166 list_for_each_entry(ptr, head, head.list) { in tomoyo_get_name() 179 list_add_tail(&ptr->head.list, head); in tomoyo_get_name() 206 list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); in tomoyo_mm_init()
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
H A D | passthrough.c | 9 #include <linux/list.h> 31 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_get_pci_dev() 60 list_add_tail(&dev_entry->list, &dev_data->dev_list); in __xen_pcibk_add_pci_dev() 81 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_pci_dev() 83 list_del(&dev_entry->list); in __xen_pcibk_release_pci_dev() 129 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 136 list_for_each_entry(e, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 164 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_devices() 166 list_del(&dev_entry->list); in __xen_pcibk_release_devices()
|
/kernel/linux/linux-5.10/lib/ |
H A D | error-inject.c | 9 #include <linux/list.h> 16 struct list_head list; member 29 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list() 43 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type() 54 * bpf_error_injection, so we need to populate the list of the symbols that have 83 INIT_LIST_HEAD(&ent->list); in populate_error_injection_list() 84 list_add_tail(&ent->list, &error_injection_list); in populate_error_injection_list() 118 list_for_each_entry_safe(ent, n, &error_injection_list, list) { in module_unload_ei_list() 120 list_del_init(&ent->list); in module_unload_ei_list() 190 struct ei_entry *ent = list_entry(v, struct ei_entry, list); in ei_seq_show() [all...] |
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
H A D | passthrough.c | 9 #include <linux/list.h> 31 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_get_pci_dev() 60 list_add_tail(&dev_entry->list, &dev_data->dev_list); in __xen_pcibk_add_pci_dev() 81 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_pci_dev() 83 list_del(&dev_entry->list); in __xen_pcibk_release_pci_dev() 129 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 136 list_for_each_entry(e, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 164 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_devices() 166 list_del(&dev_entry->list); in __xen_pcibk_release_devices()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | memory.c | 100 struct list_head *list; in tomoyo_get_group() local 111 list = ¶m->ns->group_list[idx]; in tomoyo_get_group() 112 list_for_each_entry(group, list, head.list) { in tomoyo_get_group() 126 list_add_tail_rcu(&entry->head.list, list); in tomoyo_get_group() 166 list_for_each_entry(ptr, head, head.list) { in tomoyo_get_name() 179 list_add_tail(&ptr->head.list, head); in tomoyo_get_name() 206 list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); in tomoyo_mm_init()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | misc.c | 99 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list 102 * @list: quirk list, terminated by a null entry 104 * Look through the given quirk list and finds a matching entry 112 const struct snd_pci_quirk *list) in snd_pci_quirk_lookup_id() 116 for (q = list; q->subvendor || q->subdevice; q++) { in snd_pci_quirk_lookup_id() 128 * snd_pci_quirk_lookup - look up a PCI SSID quirk list 130 * @list: quirk list, terminated by a null entry 132 * Look through the given quirk list an 111 snd_pci_quirk_lookup_id(u16 vendor, u16 device, const struct snd_pci_quirk *list) snd_pci_quirk_lookup_id() argument 139 snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) snd_pci_quirk_lookup() argument 165 struct list_head list; global() member [all...] |
H A D | device.c | 40 INIT_LIST_HEAD(&dev->list); in snd_device_new() 47 /* insert the entry in an incrementally sorted list */ in snd_device_new() 49 struct snd_device *pdev = list_entry(p, struct snd_device, list); in snd_device_new() 54 list_add(&dev->list, p); in snd_device_new() 72 list_del(&dev->list); in __snd_device_free() 86 list_for_each_entry(dev, &card->devices, list) in look_for_dev() 126 * Removes the device from the list on the card and invokes the 196 list_for_each_entry(dev, &card->devices, list) { in snd_device_register_all() 214 list_for_each_entry_reverse(dev, &card->devices, list) in snd_device_disconnect_all() 228 list_for_each_entry_safe_reverse(dev, next, &card->devices, list) { in snd_device_free_all() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | error-inject.c | 9 #include <linux/list.h> 17 struct list_head list; member 30 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list() 46 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type() 61 * bpf_error_injection, so we need to populate the list of the symbols that have 90 INIT_LIST_HEAD(&ent->list); in populate_error_injection_list() 91 list_add_tail(&ent->list, &error_injection_list); in populate_error_injection_list() 125 list_for_each_entry_safe(ent, n, &error_injection_list, list) { in module_unload_ei_list() 127 list_del_init(&ent->list); in module_unload_ei_list() 199 struct ei_entry *ent = list_entry(v, struct ei_entry, list); in ei_seq_show() [all...] |
/kernel/liteos_a/kernel/base/vm/ |
H A D | los_vm_phys.c | 8 * 1. Redistributions of source code must retain the above copyright notice, this list of 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 132 struct VmFreeList *list = NULL; in OsVmPhysFreeListInit() local 138 list = &seg->freeList[i]; in OsVmPhysFreeListInit() 139 LOS_ListInit(&list->node); in OsVmPhysFreeListInit() 140 list->listCnt = 0; in OsVmPhysFreeListInit() 163 struct VmFreeList *list = NULL; in OsVmPhysFreeListAddUnsafe() local 172 list = &seg->freeList[order]; in OsVmPhysFreeListAddUnsafe() 173 LOS_ListTailInsert(&list->node, &page->node); in OsVmPhysFreeListAddUnsafe() 174 list in OsVmPhysFreeListAddUnsafe() 180 struct VmFreeList *list = NULL; OsVmPhysFreeListDelUnsafe() local 272 struct VmFreeList *list = NULL; OsVmPhysLargeAlloc() local 308 struct VmFreeList *list = NULL; OsVmPhysPagesAlloc() local 519 LOS_PhysPagesAlloc(size_t nPages, LOS_DL_LIST *list) LOS_PhysPagesAlloc() argument 599 LOS_PhysPagesFree(LOS_DL_LIST *list) LOS_PhysPagesFree() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 432 * @virtchnl_ether_addr: pointer to requested list element 467 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_add_ether_addrs() 478 len = virtchnl_struct_size(veal, list, count); in iavf_add_ether_addrs() 482 len = virtchnl_struct_size(veal, list, --count); in iavf_add_ether_addrs() 494 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_add_ether_addrs() 496 ether_addr_copy(veal->list[i].addr, f->macaddr); in iavf_add_ether_addrs() 497 iavf_set_mac_addr_type(&veal->list[i], f); in iavf_add_ether_addrs() 536 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs() 547 len = virtchnl_struct_size(veal, list, count); in iavf_del_ether_addrs() 551 len = virtchnl_struct_size(veal, list, in iavf_del_ether_addrs() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | 42 /* topology_device_list - Master list of all topology devices */ 57 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_proximity_domain() 75 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_topology_device_by_id() 104 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_pci_dev() 122 list_for_each_entry(top_dev, &topology_device_list, list) in kfd_device_by_kgd() 141 list_del(&dev->list); in kfd_release_topology_device() 145 struct kfd_mem_properties, list); in kfd_release_topology_device() 146 list_del(&mem->list); in kfd_release_topology_device() 152 struct kfd_cache_properties, list); in kfd_release_topology_device() 153 list_del(&cache->list); in kfd_release_topology_device() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | nft_nat.sh | 86 ip netns exec $ns nft list counter inet filter $counter 1>&2 94 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84") 99 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84") 106 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect") 111 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect") 125 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in | grep -q "packets 0 bytes 0") 131 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0") 137 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out | grep -q "packets 0 bytes 0") 142 cnt=$(ip netns exec "$ns0" nft list counter inet filter ns0out6 | grep -q "packets 0 bytes 0") 150 cnt=$(ip netns exec "$ns0" nft list counte [all...] |
/third_party/toybox/lib/ |
H A D | lib.c | 217 // Split a path into linked list of components, tracking head and tail of list. 219 struct string_list **splitpath(char *path, struct string_list **list) in splitpath() argument 223 *list = 0; in splitpath() 230 *list = xmalloc(sizeof(struct string_list) + len + 1); in splitpath() 231 (*list)->next = 0; in splitpath() 232 memcpy((*list)->str, new, len); in splitpath() 233 (*list)->str[len] = 0; in splitpath() 234 list = &(*list) in splitpath() 1261 } *list = 0; bufgetpwuid() local 1294 } *list = 0; bufgetgrgid() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/parallel_render/ |
H A D | rs_sub_thread_manager_unit_test.cpp | 105 std::list<std::shared_ptr<RSSurfaceRenderNode>> list; in HWTEST_F() local 107 rsSubThreadManager->SubmitSubThreadTask(nullptr, list); in HWTEST_F() 110 rsSubThreadManager->SubmitSubThreadTask(node, list); in HWTEST_F() 111 EXPECT_TRUE(list.empty()); in HWTEST_F() 117 list.push_back(rsSurfaceRenderNode); in HWTEST_F() 118 list.push_back(surfaceRenderNode); in HWTEST_F() 119 list.push_back(renderNode); in HWTEST_F() 125 rsSubThreadManager->SubmitSubThreadTask(node, list); in HWTEST_F() 126 EXPECT_FALSE(list in HWTEST_F() [all...] |