/kernel/linux/linux-6.6/net/core/ |
H A D | fib_rules.c | 11 #include <linux/list.h> 76 /* The lock is not required here, the list in unreacheable in fib_default_rule_add() 78 list_add_tail(&r->list, &ops->rules_list); in fib_default_rule_add() 91 rule = list_entry(pos->next, struct fib_rule, list); in fib_default_rule_pref() 109 list_for_each_entry_rcu(ops, &net->rules_ops, list) { in lookup_rules_ops() 151 list_for_each_entry(o, &net->rules_ops, list) in __fib_rules_register() 155 list_add_tail_rcu(&ops->list, &net->rules_ops); in __fib_rules_register() 190 list_for_each_entry_safe(rule, tmp, &ops->rules_list, list) { in fib_rules_cleanup_ops() 191 list_del_rcu(&rule->list); in fib_rules_cleanup_ops() 203 list_del_rcu(&ops->list); in fib_rules_unregister() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ir_reader.cpp | 168 s_list *list = SX_AS_LIST(expr); in scan_for_prototypes() local 169 if (list == NULL) { in scan_for_prototypes() 174 foreach_in_list(s_list, sub, &list->subexpressions) { in scan_for_prototypes() 249 // Read the parameters list into a temporary place. in read_function_sig() 313 // Read in a list of instructions in read_instructions() 314 s_list *list = SX_AS_LIST(expr); in read_instructions() local 315 if (list == NULL) { in read_instructions() 320 foreach_in_list(s_expression, sub, &list->subexpressions) { in read_instructions() 348 s_list *list = SX_AS_LIST(expr); in read_instruction() local 349 if (list in read_instruction() 550 s_list *list = SX_AS_LIST(expr); read_rvalue() local [all...] |
/third_party/vulkan-loader/loader/ |
H A D | loader.c | 94 // A list of ICDs that gets initialized when the loader does its global initialization. This list should never be used by anything 95 // other than EnumerateInstanceExtensionProperties(), vkDestroyInstance, and loader_release(). This list does not change 228 if (layer_properties->device_extension_list.capacity > 0 && NULL != layer_properties->device_extension_list.list) { in loader_free_layer_properties() 230 free_string_list(inst, &layer_properties->device_extension_list.list[i].entrypoints); in loader_free_layer_properties() 272 string_list->list = loader_instance_heap_calloc(inst, sizeof(char *) * allocated_count, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); in create_string_list() 273 if (NULL == string_list->list) { in create_string_list() 285 string_list->list = in append_str_to_string_list() 287 if (NULL == string_list->list) { in append_str_to_string_list() 292 string_list->list in append_str_to_string_list() 717 loader_destroy_generic_list(const struct loader_instance *inst, struct loader_generic_list *list) loader_destroy_generic_list() argument 816 loader_init_pointer_layer_list(const struct loader_instance *inst, struct loader_pointer_layer_list *list) loader_init_pointer_layer_list() argument 843 loader_add_layer_properties_to_list(const struct loader_instance *inst, struct loader_pointer_layer_list *list, struct loader_layer_properties *props) loader_add_layer_properties_to_list() argument 1115 get_extension_property(const char *name, const struct loader_extension_list *list) get_extension_property() argument 1122 get_dev_extension_property(const char *name, const struct loader_device_extension_list *list) get_dev_extension_property() argument [all...] |
/third_party/python/Lib/test/ |
H A D | test_ipaddress.py | 1245 self.assertEqual(list(ipaddress._find_address_range([ip1])), 1247 self.assertEqual(list(ipaddress._find_address_range([ip1, ip3])), 1249 self.assertEqual(list(ipaddress._find_address_range([ip1, ip2, ip3])), 1435 hosts = list(self.ipv4_network.hosts()) 1441 hosts = list(ipv6_network.hosts()) 1447 hosts = list(ipv6_scoped_network.hosts()) 1457 self.assertEqual(addrs, list(ipaddress.ip_network(str_args).hosts())) 1458 self.assertEqual(addrs, list(ipaddress.ip_network(tpl_args).hosts())) 1459 self.assertEqual(list(ipaddress.ip_network(str_args).hosts()), 1460 list(ipaddres [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_core.c | 52 /* HCI device list */ 56 /* HCI callback list */ 447 * controllers list the max_page as 0 as long as SSP in hci_init2_req() 834 /* Read local codec list if the HCI command is supported */ in hci_init4_req() 1053 list_for_each_entry(d, &hci_dev_list, list) { in hci_dev_get() 1147 list_for_each_entry(e, &cache->unknown, list) { in hci_inquiry_cache_lookup_unknown() 1164 list_for_each_entry(e, &cache->resolve, list) { in hci_inquiry_cache_lookup_resolve() 1181 list_del(&ie->list); in hci_inquiry_cache_update_resolve() 1183 list_for_each_entry(p, &cache->resolve, list) { in hci_inquiry_cache_update_resolve() 1187 pos = &p->list; in hci_inquiry_cache_update_resolve() 3164 hci_bdaddr_list_add(struct list_head *list, bdaddr_t *bdaddr, u8 type) hci_bdaddr_list_add() argument 3186 hci_bdaddr_list_add_with_irk(struct list_head *list, bdaddr_t *bdaddr, u8 type, u8 *peer_irk, u8 *local_irk) hci_bdaddr_list_add_with_irk() argument 3215 hci_bdaddr_list_add_with_flags(struct list_head *list, bdaddr_t *bdaddr, u8 type, u32 flags) hci_bdaddr_list_add_with_flags() argument 3239 hci_bdaddr_list_del(struct list_head *list, bdaddr_t *bdaddr, u8 type) hci_bdaddr_list_del() argument 3258 hci_bdaddr_list_del_with_irk(struct list_head *list, bdaddr_t *bdaddr, u8 type) hci_bdaddr_list_del_with_irk() argument 3278 hci_bdaddr_list_del_with_flags(struct list_head *list, bdaddr_t *bdaddr, u8 type) hci_bdaddr_list_del_with_flags() argument 3315 hci_pend_le_action_lookup(struct list_head *list, bdaddr_t *addr, u8 addr_type) hci_pend_le_action_lookup() argument 4183 struct sk_buff *list; hci_queue_acl() local [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | node.c | 12 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer in the 97 * @list: links to adjacent nodes in sorted list of cluster's nodes 103 * @publ_list: list of publications 118 struct list_head list; member 185 struct list_head list; member 279 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list() 351 list_for_each_entry_rcu(n, &tn->node_list, list) { in tipc_node_find_by_id() 490 list_del_rcu(&n->list); in tipc_node_create() 1600 tipc_lxc_xmit(struct net *peer_net, struct sk_buff_head *list) tipc_lxc_xmit() argument 1660 tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, int selector) tipc_node_xmit() argument [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | node.c | 12 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer in the 99 * @list: links to adjacent nodes in sorted list of cluster's nodes 107 * @publ_list: list of publications 108 * @conn_sks: list of connections (FIXME) 127 struct list_head list; member 194 struct list_head list; member 289 return container_of(pos, struct tipc_node, list)->crypto_rx; in tipc_node_crypto_rx_by_list() 361 list_for_each_entry_rcu(n, &tn->node_list, list) { in tipc_node_find_by_id() 1629 tipc_lxc_xmit(struct net *peer_net, struct sk_buff_head *list) tipc_lxc_xmit() argument 1689 tipc_node_xmit(struct net *net, struct sk_buff_head *list, u32 dnode, int selector) tipc_node_xmit() argument [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_proc.c | 227 osal_proc_entry *osal_proc_find_node(const char *name, struct osal_list_head *list) in osal_proc_find_node() argument 231 osal_list_for_each_entry(node, list, node) { in osal_proc_find_node() 240 osal_proc_entry *osal_proc_create_dir(const char *name, osal_proc_entry *parent, struct osal_list_head *list) in osal_proc_create_dir() argument 246 if ((name == NULL) || (list == NULL)) { in osal_proc_create_dir() 252 dir_proc = osal_proc_find_node(name, list); in osal_proc_create_dir() 287 osal_list_add_tail(&(dir_proc->node), list); in osal_proc_create_dir() 295 osal_proc_entry *osal_proc_create_entry(const char *name, osal_proc_entry *parent, struct osal_list_head *list) in osal_proc_create_entry() argument 301 if ((name == NULL) || (list == NULL)) { in osal_proc_create_entry() 306 sentry = osal_proc_find_node(name, list); in osal_proc_create_entry() 346 osal_list_add_tail(&(sentry->node), list); in osal_proc_create_entry() 353 osal_proc_destory_node(const char *name, osal_proc_entry *parent, struct osal_list_head *list) osal_proc_destory_node() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_event_hub.h | 19 #include <list> 256 const Offset& offset, std::list<RefPtr<NGGestureRecognizer>>& innerRecognizers, int32_t touchId, 280 const RefPtr<UINode>& builderNode, int32_t depth, bool& hasImageNode, std::list<RefPtr<FrameNode>>& imageNodes); 281 static void CheckImageDecode(std::list<RefPtr<FrameNode>>& imageNodes); 297 std::list<RefPtr<NGGestureRecognizer>>& innerRecognizers, TouchTestResult& finalResult, int32_t touchId, 323 RefPtr<NGGestureRecognizer>& current, std::list<RefPtr<NGGestureRecognizer>>& recognizers, 328 RefPtr<NGGestureRecognizer>& current, std::list<RefPtr<NGGestureRecognizer>>& recognizers, 347 std::list<RefPtr<NG::Gesture>> gestures_; 349 std::list<RefPtr<NG::Gesture>> modifierGestures_; 350 std::list<RefPt [all...] |
/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/ |
H A D | expire_lru_cache_test.cpp | 128 std::list<vector<char>>& expectSequence) in ExpirelruCacheTestCheckSequence() 170 std::list<vector<char>> expectSequence1 = {g_Key4, g_Key3, g_Key2, g_Key1}; in HWTEST_F() 178 std::list<vector<char>> expectSequence2 = {g_Key1, g_Key2, g_Key3, g_Key4}; in HWTEST_F() 188 std::list<vector<char>> expectSequence3 = {g_Key2, g_Key1, g_Key3, g_Key4}; in HWTEST_F() 234 std::list<vector<char>> expectSequence = {g_Key4, g_Key3, g_Key2}; in HWTEST_F() 254 std::list<vector<char>> expectSequence = {g_Key5, g_Key2, g_Key4}; in HWTEST_F() 289 std::list<vector<char>> expectSequence = {g_Key1, g_Key3, g_Key2}; in HWTEST_F() 303 std::list<vector<char>> expectSequence = {g_Key4, g_Key3, g_Key2}; in HWTEST_F() 357 // Verify the cache sequence in the list in HWTEST_F() 359 std::list<vecto in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | pci_dn.c | 86 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn_by_devfn() 118 list_for_each_entry(pdn, &parent->child_list, list) { in pci_get_pdn() 167 INIT_LIST_HEAD(&pdn->list); in add_one_sriov_vf_pdn() 168 list_add_tail(&pdn->list, &parent->child_list); in add_one_sriov_vf_pdn() 246 &parent->child_list, list) { in remove_sriov_vf_pdns() 273 if (!list_empty(&pdn->list)) in remove_sriov_vf_pdns() 274 list_del(&pdn->list); in remove_sriov_vf_pdns() 330 INIT_LIST_HEAD(&pdn->list); in pci_add_device_node_info() 335 list_add_tail(&pdn->list, &pdn->parent->child_list); in pci_add_device_node_info() 357 list_del(&pdn->list); in pci_remove_device_node_info() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/ |
H A D | monitor.c | 26 struct list_head list; member 30 * @rmid_free_lru A least recently used list of free RMIDs 120 * RMID and move it to the free list when the counter reaches 0. in __check_limbo() 132 list_add_tail(&entry->list, &rmid_free_lru); in __check_limbo() 147 * are used to optimize the limbo list management. 159 struct rmid_entry, list); in alloc_rmid() 160 list_del(&entry->list); in alloc_rmid() 176 list_for_each_entry(d, &r->domains, list) { in add_rmid_to_limbo() 197 list_add_tail(&entry->list, &rmid_free_lru); in add_rmid_to_limbo() 214 list_add_tail(&entry->list, in free_rmid() [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | chan_kern.c | 117 chan = list_entry(ele, struct chan, list); in open_chan() 148 chan = list_entry(ele, struct chan, list); in enable_chan() 186 LIST_HEAD(list); in free_irqs() 191 list_splice_init(&irqs_to_free, &list); in free_irqs() 194 list_for_each(ele, &list) { in free_irqs() 239 list_for_each_entry_reverse(chan, &line->chan_list, list) { in close_chan() 315 list_del(&chan->list); in free_one_chan() 333 chan = list_entry(ele, struct chan, list); in free_chan() 473 *chan = ((struct chan) { .list = LIST_HEAD_INIT(chan->list), in parse_chan() [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | chan_kern.c | 117 chan = list_entry(ele, struct chan, list); in open_chan() 148 chan = list_entry(ele, struct chan, list); in enable_chan() 186 LIST_HEAD(list); in free_irqs() 191 list_splice_init(&irqs_to_free, &list); in free_irqs() 194 list_for_each(ele, &list) { in free_irqs() 239 list_for_each_entry_reverse(chan, &line->chan_list, list) { in close_chan() 315 list_del(&chan->list); in free_one_chan() 333 chan = list_entry(ele, struct chan, list); in free_chan() 473 *chan = ((struct chan) { .list = LIST_HEAD_INIT(chan->list), in parse_chan() [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | interrupt.c | 27 * @cmpl_list: list of completed cbs 34 list_for_each_entry_safe(cb, next, cmpl_list, list) { in mei_irq_compl_handler() 36 list_del_init(&cb->list); in mei_irq_compl_handler() 89 * @cmpl_list: completion list 112 cb = list_first_entry_or_null(&cl->rd_pending, struct mei_cl_cb, list); in mei_cl_irq_read_msg() 121 list_add_tail(&cb->list, &cl->rd_pending); in mei_cl_irq_read_msg() 197 list_move_tail(&cb->list, cmpl_list); in mei_cl_irq_read_msg() 207 list_move_tail(&cb->list, cmpl_list); in mei_cl_irq_read_msg() 217 * @cmpl_list: complete list. 238 list_move_tail(&cb->list, cmpl_lis in mei_cl_irq_disconnect_rsp() [all...] |
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_ism.c | 20 .list = LIST_HEAD_INIT(smcd_dev_list.list), 99 list_for_each_entry(vlan, &smcd->vlan, list) { in smc_ism_get_vlan() 115 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan() 136 list_for_each_entry(vlan, &smcd->vlan, list) { in smc_ism_put_vlan() 152 list_del(&vlan->list); in smc_ism_put_vlan() 337 if (list_empty(&smcd_dev_list.list)) { in smcd_register_dev() 344 /* sort list: devices without pnetid before devices with pnetid */ in smcd_register_dev() 346 list_add_tail(&smcd->list, &smcd_dev_list.list); in smcd_register_dev() [all...] |
/kernel/linux/linux-5.10/sound/xen/ |
H A D | xen_snd_front_cfg.c | 150 static void cfg_hw_rates(char *list, unsigned int len, in cfg_hw_rates() argument 164 while ((cur_rate = strsep(&list, XENSND_LIST_SEPARATOR))) { in cfg_hw_rates() 186 static void cfg_formats(char *list, unsigned int len, in cfg_formats() argument 194 while ((cur_format = strsep(&list, XENSND_LIST_SEPARATOR))) { in cfg_formats() 243 char *list; in cfg_read_pcm_hw() local 262 list = xenbus_read(XBT_NIL, path, XENSND_FIELD_SAMPLE_RATES, &len); in cfg_read_pcm_hw() 263 if (!IS_ERR(list)) { in cfg_read_pcm_hw() 264 cfg_hw_rates(list, len, path, pcm_hw); in cfg_read_pcm_hw() 265 kfree(list); in cfg_read_pcm_hw() 268 list in cfg_read_pcm_hw() [all...] |
/kernel/linux/linux-5.10/net/caif/ |
H A D | caif_dev.c | 35 struct list_head list; member 45 struct list_head list; member 46 /* Protects simulanous deletes in list */ 115 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get() 343 list_add_rcu(&caifd->list, &caifdevs->list); in caif_enroll_dev() 466 list_del_rcu(&caifd->list); in caif_device_notify() 485 list_add_rcu(&caifd->list, &caifdevs->list); in caif_device_notify() [all...] |
/kernel/linux/linux-5.10/drivers/pci/pcie/ |
H A D | aer_inject.c | 49 struct list_head list; member 66 struct list_head list; member 82 INIT_LIST_HEAD(&err->list); in aer_error_init() 95 list_for_each_entry(err, &einjected, list) { in __find_aer_error() 118 list_for_each_entry(bus_ops, &pci_bus_ops_list, list) { in __find_pci_bus_ops() 132 struct pci_bus_ops, list); in pci_bus_ops_pop() 134 list_del(&bus_ops->list); in pci_bus_ops_pop() 293 INIT_LIST_HEAD(&bus_ops->list); in pci_bus_ops_init() 319 list_add(&bus_ops->list, &pci_bus_ops_list); in pci_bus_set_aer_ops() 399 list_add(&err->list, in aer_inject() [all...] |
/kernel/linux/linux-6.6/drivers/misc/mei/ |
H A D | interrupt.c | 27 * @cmpl_list: list of completed cbs 34 list_for_each_entry_safe(cb, next, cmpl_list, list) { in mei_irq_compl_handler() 36 list_del_init(&cb->list); in mei_irq_compl_handler() 89 * @cmpl_list: completion list 115 cb = list_first_entry_or_null(&cl->rd_pending, struct mei_cl_cb, list); in mei_cl_irq_read_msg() 124 list_add_tail(&cb->list, &cl->rd_pending); in mei_cl_irq_read_msg() 230 list_move_tail(&cb->list, cmpl_list); in mei_cl_irq_read_msg() 240 list_move_tail(&cb->list, cmpl_list); in mei_cl_irq_read_msg() 250 * @cmpl_list: complete list. 271 list_move_tail(&cb->list, cmpl_lis in mei_cl_irq_disconnect_rsp() [all...] |
/kernel/linux/linux-6.6/drivers/pci/pcie/ |
H A D | aer_inject.c | 48 struct list_head list; member 65 struct list_head list; member 81 INIT_LIST_HEAD(&err->list); in aer_error_init() 94 list_for_each_entry(err, &einjected, list) { in __find_aer_error() 117 list_for_each_entry(bus_ops, &pci_bus_ops_list, list) { in __find_pci_bus_ops() 131 struct pci_bus_ops, list); in pci_bus_ops_pop() 133 list_del(&bus_ops->list); in pci_bus_ops_pop() 292 INIT_LIST_HEAD(&bus_ops->list); in pci_bus_ops_init() 311 list_add(&bus_ops->list, &pci_bus_ops_list); in pci_bus_set_aer_ops() 394 list_add(&err->list, in aer_inject() [all...] |
/kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 27 * @commit_list: list containing bcms to be committed to hardware 28 * @ws_list: list containing bcms that have different wake/sleep votes 29 * @voter_node: list of bcm voters 44 const struct qcom_icc_bcm *bcm_a = list_entry(a, struct qcom_icc_bcm, list); in cmp_vcd() 45 const struct qcom_icc_bcm *bcm_b = list_entry(b, struct qcom_icc_bcm, list); in cmp_vcd() 167 list_for_each_entry(bcm, bcm_list, list) { in tcs_list_gen() 170 if ((list_is_last(&bcm->list, bcm_list)) || in tcs_list_gen() 171 bcm->aux_data.vcd != list_next_entry(bcm, list)->aux_data.vcd) { in tcs_list_gen() 246 * @bcm: bcm to add to the commit and wake sleep list 254 if (list_empty(&bcm->list)) in qcom_icc_bcm_voter_add() [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | vmaster.c | 24 * link master - this contains a list of follower controls that are 48 struct list_head list; member 122 list_for_each_entry(follower, &master->followers, list) { in master_init() 236 list_del(&follower->list); in follower_free() 278 list_add_tail(&srec->list, &master_link->followers); in _snd_ctl_add_follower() 287 * @list: NULL-terminated list of name strings of followers to be added 293 const char * const *list) in snd_ctl_add_followers() 298 for (; *list; list in snd_ctl_add_followers() 292 snd_ctl_add_followers(struct snd_card *card, struct snd_kcontrol *master, const char * const *list) snd_ctl_add_followers() argument [all...] |
/kernel/liteos_a/kernel/base/sched/ |
H A D | los_deadline.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 43 STATIC UINT32 EDFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks); 56 STATIC VOID EDFPriorityRestore(LosTaskCB *owner, const LOS_DL_LIST *list, const SchedParam *param); 133 LOS_DL_LIST *list = root->pstNext; in DeadlineQueueInsert() local 135 LosTaskCB *readyTask = LOS_DL_LIST_ENTRY(list, LosTaskCB, pendList); in DeadlineQueueInsert() 137 LOS_ListHeadInsert(list, &taskCB->pendList); in DeadlineQueueInsert() 140 list = list->pstNext; in DeadlineQueueInsert() 141 } while (list ! in DeadlineQueueInsert() 254 EDFWait(LosTaskCB *runTask, LOS_DL_LIST *list, UINT32 ticks) EDFWait() argument 360 EDFPriorityRestore(LosTaskCB *owner, const LOS_DL_LIST *list, const SchedParam *param) EDFPriorityRestore() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | list_lru.c | 33 list_add(&lru->list, &memcg_list_lrus); in list_lru_register() 43 list_del(&lru->list); in list_lru_unregister() 129 list_add_tail(item, &l->list); in list_lru_add() 163 void list_lru_isolate(struct list_lru_one *list, struct list_head *item) in list_lru_isolate() argument 166 list->nr_items--; in list_lru_isolate() 170 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, in list_lru_isolate_move() argument 174 list->nr_items--; in list_lru_isolate_move() 220 list_for_each_safe(item, n, &l->list) { in __list_lru_walk_one() 240 * If the lru lock has been dropped, our list in __list_lru_walk_one() 248 list_move_tail(item, &l->list); in __list_lru_walk_one() [all...] |