Home
last modified time | relevance | path

Searched refs:list (Results 1076 - 1100 of 16570) sorted by relevance

1...<<41424344454647484950>>...663

/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/
H A Drs_misc_draw_test.cpp153 std::list<std::shared_ptr<RSRenderModifier>> list { std::make_shared<RSDrawCmdListRenderModifier>(property) }; in HWTEST_F()
157 list.emplace_back(std::make_shared<RSDrawCmdListRenderModifier>(propertyTwo)); in HWTEST_F()
159 node.renderContent_->drawCmdModifiers_.emplace(RSModifierType::BOUNDS, list); in HWTEST_F()
172 nodeTwo.renderContent_->drawCmdModifiers_.emplace(RSModifierType::BOUNDS, list); in HWTEST_F()
262 std::list<std::shared_ptr<RSRenderModifier>> list { std::make_shared<RSDrawCmdListRenderModifier>(property) }; in HWTEST_F()
263 node.renderContent_->drawCmdModifiers_.emplace(RSModifierType::ENV_FOREGROUND_COLOR, list); in HWTEST_F()
305 std::list<std::shared_ptr<RSRenderModifier>> list { st in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c65 SoftBusList *list = (SoftBusList *)SoftBusMalloc(sizeof(SoftBusList)); in CreateSoftBusList() local
66 if (list == NULL) { in CreateSoftBusList()
70 (void)memset_s(list, sizeof(SoftBusList), 0, sizeof(SoftBusList)); in CreateSoftBusList()
74 if (SoftBusMutexInit(&list->lock, &mutexAttr) != SOFTBUS_OK) { in CreateSoftBusList()
76 SoftBusFree(list); in CreateSoftBusList()
79 ListInit(&list->list); in CreateSoftBusList()
80 return list; in CreateSoftBusList()
83 void DestroySoftBusList(SoftBusList *list) in DestroySoftBusList() argument
85 if (list in DestroySoftBusList()
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-resv.c56 * dma_resv_list_alloc - allocate fence list
64 struct dma_resv_list *list; in dma_resv_list_alloc() local
66 list = kmalloc(offsetof(typeof(*list), shared[shared_max]), GFP_KERNEL); in dma_resv_list_alloc()
67 if (!list) in dma_resv_list_alloc()
70 list->shared_max = (ksize(list) - offsetof(typeof(*list), shared)) / in dma_resv_list_alloc()
71 sizeof(*list->shared); in dma_resv_list_alloc()
73 return list; in dma_resv_list_alloc()
82 dma_resv_list_free(struct dma_resv_list *list) dma_resv_list_free() argument
[all...]
/kernel/linux/linux-5.10/net/phonet/
H A Dpn_dev.c58 list_add_rcu(&pnd->list, &pndevs->list); in __phonet_device_alloc()
68 list_for_each_entry(pnd, &pndevs->list, list) { in __phonet_get()
80 list_for_each_entry_rcu(pnd, &pndevs->list, list) { in __phonet_get_rcu()
97 list_del_rcu(&pnd->list); in phonet_device_destroy()
116 list_for_each_entry_rcu(pnd, &pndevs->list, list) { in phonet_device_get()
162 list_del_rcu(&pnd->list); in phonet_address_del()
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dqos.c44 * or pm_qos_object list and pm_qos_objects need to happen with pm_qos_lock
60 if (plist_head_empty(&c->list)) in pm_qos_get_value()
65 return plist_first(&c->list)->prio; in pm_qos_get_value()
68 return plist_last(&c->list)->prio; in pm_qos_get_value()
82 * pm_qos_update_target - Update a list of PM QoS constraint requests.
84 * @node: Target list entry.
86 * @value: New request value for the target list entry.
88 * Update the given list of PM QoS constraint requests, @c, by carrying an
89 * @action involving the @node list entry and @value on it.
92 * and add it to the list), PM_QOS_UPDATE_RE
[all...]
/kernel/linux/linux-5.10/drivers/pnp/
H A Dquirks.c42 list_add(&new_option->list, &option->list); in quirk_awe32_add_ports()
59 list_for_each_entry(option, &dev->options, list) { in quirk_awe32_resources()
75 list_for_each_entry(option, &dev->options, list) { in quirk_cmi8330_resources()
114 list_for_each_entry(option, &dev->options, list) { in quirk_sb16audio_resources()
145 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
155 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
171 list_add(&new_option->list, &tail->list); in pnp_clone_dependent_set()
199 new_option = list_entry(new_option->list in quirk_add_irq_optional_dependent_sets()
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_acc.c79 list_for_each_entry(acc_fw, &asd->acc.fw, list) in acc_get_fw()
91 list_for_each_entry(atomisp_map, &asd->acc.memory_maps, list) { in acc_get_map()
127 list_for_each_entry_safe(acc_fw, ta, &asd->acc.fw, list) { in atomisp_acc_release()
128 list_del(&acc_fw->list); in atomisp_acc_release()
134 list_for_each_entry_safe(atomisp_map, tm, &asd->acc.memory_maps, list) { in atomisp_acc_release()
135 list_del(&atomisp_map->list); in atomisp_acc_release()
207 list_add_tail(&acc_fw->list, &asd->acc.fw); in atomisp_acc_load_to_pipe()
237 list_del(&acc_fw->list); in atomisp_acc_unload()
262 list_for_each_entry(acc_fw, &asd->acc.fw, list) { in atomisp_acc_start()
386 list_add(&atomisp_map->list, in atomisp_acc_map()
[all...]
/kernel/linux/linux-6.6/drivers/soc/xilinx/
H A Dxlnx_event_manager.c50 * @list: member to create list.
55 struct list_head list; member
66 * @cb_list_head: Head of call back data list which contain the information
126 /* Add into callback list */ in xlnx_add_cb_for_notify_event()
127 list_add(&cb_data->list, &eve_data->cb_list_head); in xlnx_add_cb_for_notify_event()
132 /* Search for callback function and private data in list */ in xlnx_add_cb_for_notify_event()
133 list_for_each_entry_safe(cb_pos, cb_next, &eve_data->cb_list_head, list) { in xlnx_add_cb_for_notify_event()
140 /* Add multiple handler and private data in list */ in xlnx_add_cb_for_notify_event()
147 list_add(&cb_data->list, in xlnx_add_cb_for_notify_event()
[all...]
/kernel/linux/linux-6.6/drivers/pnp/
H A Dquirks.c42 list_add(&new_option->list, &option->list); in quirk_awe32_add_ports()
59 list_for_each_entry(option, &dev->options, list) { in quirk_awe32_resources()
75 list_for_each_entry(option, &dev->options, list) { in quirk_cmi8330_resources()
114 list_for_each_entry(option, &dev->options, list) { in quirk_sb16audio_resources()
145 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
155 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
171 list_add(&new_option->list, &tail->list); in pnp_clone_dependent_set()
199 new_option = list_entry(new_option->list in quirk_add_irq_optional_dependent_sets()
[all...]
/kernel/linux/linux-6.6/net/phonet/
H A Dpn_dev.c58 list_add_rcu(&pnd->list, &pndevs->list); in __phonet_device_alloc()
68 list_for_each_entry(pnd, &pndevs->list, list) { in __phonet_get()
80 list_for_each_entry_rcu(pnd, &pndevs->list, list) { in __phonet_get_rcu()
97 list_del_rcu(&pnd->list); in phonet_device_destroy()
116 list_for_each_entry_rcu(pnd, &pndevs->list, list) { in phonet_device_get()
161 list_del_rcu(&pnd->list); in phonet_address_del()
[all...]
/kernel/linux/linux-6.6/net/smc/
H A Dsmc_ism.c23 .list = LIST_HEAD_INIT(smcd_dev_list.list),
117 list_for_each_entry(vlan, &smcd->vlan, list) { in smc_ism_get_vlan()
133 list_add_tail(&new_vlan->list, &smcd->vlan); in smc_ism_get_vlan()
154 list_for_each_entry(vlan, &smcd->vlan, list) { in smc_ism_put_vlan()
170 list_del(&vlan->list); in smc_ism_put_vlan()
300 list_for_each_entry(smcd, &dev_list->list, list) { in smc_nl_prep_smcd_dev()
428 if (list_empty(&smcd_dev_list.list)) { in smcd_register_dev()
438 /* sort list in smcd_register_dev()
[all...]
H A Dsmc_core.c19 #include <linux/list.h>
45 .list = LIST_HEAD_INIT(smc_lgr_list.list),
58 /* return head of link group list and its lock for a given link group */
68 return &smc_lgr_list.list; in smc_lgr_list_head()
490 list_for_each_entry(lgr, &smc_lgr->list, list) { in smc_nl_fill_lgr_list()
572 list_for_each_entry(lgr, &dev->lgr_list, list) { in smc_nl_handle_smcd_lgr()
599 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev()
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dclockevents.c349 struct clock_event_device, list); in clockevents_notify_released()
350 list_move(&dev->list, &clockevent_devices); in clockevents_notify_released()
362 list_for_each_entry(dev, &clockevent_devices, list) { in clockevents_replace()
378 list_del_init(&ced->list); in clockevents_replace()
390 list_del_init(&ced->list); in __clockevents_try_unbind()
463 list_add(&dev->list, &clockevent_devices); in clockevents_register_device()
573 * released list and do a notify add later. in clockevents_exchange_device()
578 list_move(&old->list, &clockevents_released); in clockevents_exchange_device()
594 list_for_each_entry_reverse(dev, &clockevent_devices, list) in clockevents_suspend()
606 list_for_each_entry(dev, &clockevent_devices, list) in clockevents_resume()
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dqos.c44 * or pm_qos_object list and pm_qos_objects need to happen with pm_qos_lock
60 if (plist_head_empty(&c->list)) in pm_qos_get_value()
65 return plist_first(&c->list)->prio; in pm_qos_get_value()
68 return plist_last(&c->list)->prio; in pm_qos_get_value()
82 * pm_qos_update_target - Update a list of PM QoS constraint requests.
84 * @node: Target list entry.
86 * @value: New request value for the target list entry.
88 * Update the given list of PM QoS constraint requests, @c, by carrying an
89 * @action involving the @node list entry and @value on it.
92 * and add it to the list), PM_QOS_UPDATE_RE
[all...]
/kernel/linux/linux-6.6/net/mptcp/
H A Dpm_userspace.c23 list_for_each_entry_safe(entry, tmp, &free_list, list) { in mptcp_free_local_addr_list()
43 list_for_each_entry(e, &msk->pm.userspace_pm_local_addr_list, list) { in mptcp_userspace_pm_append_new_local_addr()
72 list_add_tail_rcu(&e->list, &msk->pm.userspace_pm_local_addr_list); in mptcp_userspace_pm_append_new_local_addr()
94 list_for_each_entry_safe(entry, tmp, &msk->pm.userspace_pm_local_addr_list, list) { in mptcp_userspace_pm_delete_local_addr()
99 list_del_rcu(&entry->list); in mptcp_userspace_pm_delete_local_addr()
116 list_for_each_entry(entry, &msk->pm.userspace_pm_local_addr_list, list) { in mptcp_userspace_pm_get_flags_and_ifindex_by_id()
139 list_for_each_entry(e, &msk->pm.userspace_pm_local_addr_list, list) { in mptcp_userspace_pm_get_local_id()
226 struct mptcp_rm_list list = { .nr = 0 }; in mptcp_userspace_pm_remove_id_zero_address() local
244 list.ids[list in mptcp_userspace_pm_remove_id_zero_address()
[all...]
/third_party/elfutils/libelf/
H A Delf32_updatenull.c175 Elf_ScnList *list; in __elfw2() local
191 list = &elf->state.ELFW(elf,LIBELFBITS).scns; in __elfw2()
194 if (list->cnt > 1) in __elfw2()
195 scn1 = &list->data[1]; in __elfw2()
196 else if (list->next != NULL) in __elfw2()
197 scn1 = &list->next->data[0]; in __elfw2()
206 for (size_t cnt = first == true; cnt < list->cnt; ++cnt) in __elfw2()
208 Elf_Scn *scn = &list->data[cnt]; in __elfw2()
286 if (list->data[cnt].data_list_rear != NULL) in __elfw2()
376 changed. Create the section data list in __elfw2()
[all...]
/third_party/alsa-utils/alsaucm/
H A Ddump.c448 const char *list, in render_devlist()
458 snprintf(buf, sizeof(buf), "%s/%s/%s", list, device, verb); in render_devlist()
462 context->command, list, verb, device); in render_devlist()
487 const char **list, *value; in render_values() local
492 num = snd_use_case_get_list(uc_mgr, buf, &list); in render_values()
506 snprintf(buf, sizeof(buf), "%s/%s/%s", list[j], device, verb); in render_values()
510 context->command, list[j], verb, device, snd_strerror(err)); in render_values()
513 err = render->value(render, list[j], value); in render_values()
521 snd_use_case_free_list(list, num); in render_values()
553 const char **list, **dev_lis in render() local
444 render_devlist(struct context *context, struct renderer *render, const char *verb, const char *device, const char *list, int (*begin)(struct renderer *), int (*value)(struct renderer *, const char *value, int last), int (*end)(struct renderer *)) render_devlist() argument
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dlower_jumps.cpp188 exec_list& list = this->loop ? this->loop->body_instructions : signature->body; in get_execute_flag() local
190 list.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(execute_flag), new(this->signature) ir_constant(true))); in get_execute_flag()
191 list.push_head(this->execute_flag); in get_execute_flag()
435 block_record visit_block(exec_list* list) in visit_block()
448 foreach_in_list(ir_instruction, node, list) { in visit_block()
481 exec_list& list = i ? ir->else_instructions : ir->then_instructions; in visit() local
483 if(!list.is_empty() && get_jump_strength((ir_instruction*)list.get_tail())) in visit()
484 jumps[i] = (ir_jump*)list.get_tail(); in visit()
692 exec_list* list in visit() local
704 exec_list list; visit() local
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_dns_name.c46 static ares_status_t ares__nameoffset_create(ares__llist_t **list, in ares__nameoffset_create() argument
52 if (list == NULL || name == NULL || ares_strlen(name) == 0 || in ares__nameoffset_create()
57 if (*list == NULL) { in ares__nameoffset_create()
58 *list = ares__llist_create(ares__nameoffset_free); in ares__nameoffset_create()
60 if (*list == NULL) { in ares__nameoffset_create()
74 if (ares__llist_insert_last(*list, off) == NULL) { in ares__nameoffset_create()
86 static const ares_nameoffset_t *ares__nameoffset_find(ares__llist_t *list, in ares__nameoffset_find() argument
93 if (list == NULL || name == NULL || name_len == 0) { in ares__nameoffset_find()
97 for (node = ares__llist_node_first(list); node != NULL; in ares__nameoffset_find()
359 ares_status_t ares__dns_name_write(ares__buf_t *buf, ares__llist_t **list, in ares__dns_name_write() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dgas_server.c12 #include "utils/list.h"
23 struct dl_list list; member
34 struct dl_list list; member
45 struct dl_list handlers; /* struct gas_server_handler::list */
46 struct dl_list responses; /* struct gas_server_response::list */
68 dl_list_del(&response->list); in gas_server_response_timeout()
150 dl_list_add(&gas->responses, &response->list); in gas_server_send_resp()
214 list) { in gas_server_rx_initial_req()
263 dl_list_del(&response->list); in gas_server_handle_rx_comeback_req()
295 list) { in gas_server_rx_comeback_req()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c64 list_for_each_entry(cur_ep_dist, ep_list, list) { in ath6kl_credit_init()
104 * it use list_for_each_entry_reverse to walk around the whole ep list. in ath6kl_credit_init()
107 cred_info->lowestpri_ep_dist = cur_ep_dist->list; in ath6kl_credit_init()
111 list_for_each_entry(cur_ep_dist, ep_list, list) { in ath6kl_credit_init()
159 /* set priority list */ in ath6kl_htc_mbox_credit_setup()
190 list_for_each_entry(cur_list, epdist_list, list) { in ath6kl_credit_update()
259 list) { in ath6kl_credit_seek()
301 list_for_each_entry(curdist_list, ep_dist_list, list) { in ath6kl_credit_redistribute()
325 * function shall NOT block. The ep_dist_list is a list of distribution
379 list_add_tail(&pkt->list, in htc_reclaim_txctrl_buf()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c64 list_for_each_entry(cur_ep_dist, ep_list, list) { in ath6kl_credit_init()
104 * it use list_for_each_entry_reverse to walk around the whole ep list. in ath6kl_credit_init()
107 cred_info->lowestpri_ep_dist = cur_ep_dist->list; in ath6kl_credit_init()
111 list_for_each_entry(cur_ep_dist, ep_list, list) { in ath6kl_credit_init()
159 /* set priority list */ in ath6kl_htc_mbox_credit_setup()
190 list_for_each_entry(cur_list, epdist_list, list) { in ath6kl_credit_update()
259 list) { in ath6kl_credit_seek()
301 list_for_each_entry(curdist_list, ep_dist_list, list) { in ath6kl_credit_redistribute()
325 * function shall NOT block. The ep_dist_list is a list of distribution
379 list_add_tail(&pkt->list, in htc_reclaim_txctrl_buf()
[all...]
/kernel/linux/linux-5.10/tools/power/pm-graph/
H A Dsleepgraph.py523 list = []
528 list.append(i)
530 return list
549 def setFtraceFilterFunctions(self, list):
552 for i in list:
658 # remove all failed ones from the list
922 # get a list of target devices from the ftrace file
999 def commonPrefix(self, list):
1000 if len(list) < 2:
1002 prefix = list[
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dcallchain.c621 list_add_tail(&call->list, &node->val); in fill_node()
643 list_for_each_entry_safe(call, tmp, &new->val, list) { in add_child()
644 list_del_init(&call->list); in add_child()
805 list_del_range(&to_split->list, old_tail); in split_add_child()
806 new->val.next = &to_split->list; in split_add_child()
808 to_split->list.prev = &new->val; in split_add_child()
845 list); in split_add_child()
930 list_for_each_entry(cnode, &root->val, list) { in append_chain()
1001 struct callchain_list *list, *next_list; in merge_chain_branch() local
1006 list_for_each_entry_safe(list, next_lis in merge_chain_branch()
1456 struct callchain_list *list, *tmp; free_callchain_node() local
[all...]
/kernel/linux/linux-6.6/drivers/accel/qaic/
H A Dqaic_control.c12 #include <linux/list.h>
73 /* Each message sent from driver to device are organized in a list of wrapper_msg */
75 struct list_head list; member
86 struct list_head list; member
87 spinlock_t lock; /* Protects the list state during additions and removals */
178 * Node in list of ongoing transfer request on control channel.
181 struct list_head list; member
191 /* Node in list of DMA transfers which is used for cleanup */
192 struct list_head list; member
256 list_for_each_entry(w, &wrappers->list, lis in gen_crc()
[all...]

Completed in 25 milliseconds

1...<<41424344454647484950>>...663