/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | dell-wmi-descriptor.c | 11 #include <linux/list.h> 19 struct list_head list; member 45 list); in dell_wmi_get_interface_version() 63 list); in dell_wmi_get_size() 81 list); in dell_wmi_get_hotfix() 164 list_add_tail(&priv->list, &wmi_list); in dell_wmi_descriptor_probe() 182 list_del(&priv->list); in dell_wmi_descriptor_remove()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | decompressor_multi.c | 48 struct list_head list; member 56 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream() 94 list_add(&decomp_strm->list, &stream->strm_list); in squashfs_decompressor_create() 113 struct decomp_stream, list); in squashfs_decompressor_destroy() 114 list_del(&decomp_strm->list); in squashfs_decompressor_destroy() 137 struct decomp_stream, list); in get_decomp_stream() 138 list_del(&decomp_strm->list); in get_decomp_stream()
|
/kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
H A D | dell-wmi-descriptor.c | 11 #include <linux/list.h> 19 struct list_head list; member 45 list); in dell_wmi_get_interface_version() 63 list); in dell_wmi_get_size() 81 list); in dell_wmi_get_hotfix() 164 list_add_tail(&priv->list, &wmi_list); in dell_wmi_descriptor_probe() 182 list_del(&priv->list); in dell_wmi_descriptor_remove()
|
/kernel/linux/linux-6.6/drivers/crypto/virtio/ |
H A D | virtio_crypto_mgr.c | 8 #include <linux/list.h> 17 /* The table_lock protects the above global list and num_devices */ 28 * Function adds virtio crypto device to the global list. 47 list_entry(itr, struct virtio_crypto, list); in virtcrypto_devmgr_add_dev() 55 list_add_tail(&vcrypto_dev->list, &virtio_crypto_table); in virtcrypto_devmgr_add_dev() 79 list_del(&vcrypto_dev->list); in virtcrypto_devmgr_rm_dev() 102 list); in virtcrypto_devmgr_get_first() 192 list_for_each_entry(tmp_dev, virtcrypto_devmgr_get_head(), list) { in virtcrypto_get_dev_node() 211 virtcrypto_devmgr_get_head(), list) { in virtcrypto_get_dev_node()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | base.c | 86 /* Move to completed list. We'll drop the lock before in nvkm_timer_alarm_trigger() 108 struct nvkm_alarm *list; in nvkm_timer_alarm() local 111 /* Remove alarm from pending list. in nvkm_timer_alarm() 113 * This both protects against the corruption of the list, in nvkm_timer_alarm() 120 /* Insert into pending list, ordered earliest to latest. */ in nvkm_timer_alarm() 122 list_for_each_entry(list, &tmr->alarms, head) { in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 127 list_add_tail(&alarm->head, &list->head); in nvkm_timer_alarm() 130 list = list_first_entry(&tmr->alarms, typeof(*list), hea in nvkm_timer_alarm() [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | closure.c | 58 * closure_wake_up - wake up all closures on a wait list, without memory barrier 62 struct llist_node *list; in __closure_wake_up() local 66 list = llist_del_all(&wait_list->list); in __closure_wake_up() 68 /* We first reverse the list to preserve FIFO ordering and fairness */ in __closure_wake_up() 69 reverse = llist_reverse_order(list); in __closure_wake_up() 72 llist_for_each_entry_safe(cl, t, reverse, list) { in __closure_wake_up() 92 llist_add(&cl->list, &waitlist->list); in closure_wait()
|
/kernel/linux/linux-6.6/kernel/rcu/ |
H A D | tiny.c | 109 struct rcu_head *next, *list; in rcu_process_callbacks() local 112 /* Move the ready-to-invoke callbacks to a local list. */ in rcu_process_callbacks() 119 list = rcu_ctrlblk.rcucblist; in rcu_process_callbacks() 127 /* Invoke the callbacks on the local list. */ in rcu_process_callbacks() 128 while (list) { in rcu_process_callbacks() 129 next = list->next; in rcu_process_callbacks() 131 debug_rcu_head_unqueue(list); in rcu_process_callbacks() 133 rcu_reclaim_tiny(list); in rcu_process_callbacks() 135 list = next; in rcu_process_callbacks()
|
/kernel/linux/linux-6.6/samples/trace_events/ |
H A D | trace-events-sample.h | 145 * dynamic length, it takes a variable list va_list 'va' variable. 254 static inline int __length_of(const int *list) in __length_of() argument 258 if (!list) in __length_of() 261 for (i = 0; list[i]; i++) in __length_of() 300 __dynamic_array(int, list, __length_of(lst)) 310 memcpy(__get_dynamic_array(list), lst, 359 __print_array(__get_dynamic_array(list), 360 __get_dynamic_array_len(list) / sizeof(int),
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
H A D | hci_core.h | 55 struct list_head list; /* unknown or resolve */ member 121 struct list_head list; member 130 struct list_head list; member 136 struct list_head list; member 144 struct list_head list; member 161 struct list_head list; 168 struct list_head list; 183 struct list_head list; 197 struct list_head list; 207 struct list_head list; [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | callchain.c | 629 list_add_tail(&call->list, &node->val); in fill_node() 651 list_for_each_entry_safe(call, tmp, &new->val, list) { in add_child() 652 list_del_init(&call->list); in add_child() 814 list_del_range(&to_split->list, old_tail); in split_add_child() 815 new->val.next = &to_split->list; in split_add_child() 817 to_split->list.prev = &new->val; in split_add_child() 854 list); in split_add_child() 939 list_for_each_entry(cnode, &root->val, list) { in append_chain() 1013 struct callchain_list *list, *next_list; in merge_chain_branch() local 1018 list_for_each_entry_safe(list, next_lis in merge_chain_branch() 1471 struct callchain_list *list, *tmp; free_callchain_node() local [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | property.c | 90 INIT_LIST_HEAD(&property->list); in tb_property_alloc() 201 list_add_tail(&property->list, &dir->properties); in __tb_property_parse_dir() 300 list_for_each_entry_safe(property, tmp, &dir->properties, list) { in tb_property_free_dir() 301 list_del(&property->list); in tb_property_free_dir() 320 list_for_each_entry(property, &dir->properties, list) { in tb_property_dir_length() 427 list_for_each_entry(property, &dir->properties, list) { in __tb_property_format_dir() 525 list_add_tail(&property->list, &parent->properties); in tb_property_add_immediate() 562 list_add_tail(&property->list, &parent->properties); in tb_property_add_data() 598 list_add_tail(&property->list, &parent->properties); in tb_property_add_text() 623 list_add_tail(&property->list, in tb_property_add_dir() [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | sof-audio.c | 25 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_dsp_only_d0i3_compatible_stream_active() 51 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_stream_suspend_ignored() 73 list_for_each_entry(spcm, &sdev->pcm_list, list) { in sof_set_hw_params_upon_resume() 104 list_for_each_entry(scontrol, &sdev->kcontrol_list, list) { in sof_restore_kcontrols() 150 list_for_each_entry(swidget, &sdev->widget_list, list) in snd_sof_pipeline_find() 174 list_for_each_entry_reverse(swidget, &sdev->widget_list, list) { in sof_restore_pipelines() 240 list_for_each_entry_reverse(sroute, &sdev->route_list, list) { in sof_restore_pipelines() 268 list_for_each_entry_reverse(dai, &sdev->dai_list, list) { in sof_restore_pipelines() 302 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_restore_pipelines() 332 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_name() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | list_lru.c | 24 list_add(&lru->list, &list_lrus); in list_lru_register() 31 list_del(&lru->list); in list_lru_unregister() 125 list_add_tail(item, &l->list); in list_lru_add() 159 void list_lru_isolate(struct list_lru_one *list, struct list_head *item) in list_lru_isolate() argument 162 list->nr_items--; in list_lru_isolate() 166 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, in list_lru_isolate_move() argument 170 list->nr_items--; in list_lru_isolate_move() 211 list_for_each_safe(item, n, &l->list) { in __list_lru_walk_one() 231 * If the lru lock has been dropped, our list in __list_lru_walk_one() 239 list_move_tail(item, &l->list); in __list_lru_walk_one() [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | refcount.c | 50 * 2. Pull the first $target_nr fragments from the list; all of them 56 * c. Pull the same number of fragments from the list. All of these 60 * 4. Check that there are $target_nr fragments remaining in the list, 67 struct list_head list; member 133 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check() 166 * fragment list and figure out where the smallest rmap ends in xchk_refcountbt_process_rmap_fragments() 176 list_for_each_entry(frag, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments() 187 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments() 193 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments() 208 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments() [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | refcount.c | 55 * 2. Pull the first $target_nr fragments from the list; all of them 61 * c. Pull the same number of fragments from the list. All of these 65 * 4. Check that there are $target_nr fragments remaining in the list, 72 struct list_head list; member 138 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check() 171 * fragment list and figure out where the smallest rmap ends in xchk_refcountbt_process_rmap_fragments() 181 list_for_each_entry(frag, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments() 192 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments() 198 list_move_tail(&frag->list, &worklist); in xchk_refcountbt_process_rmap_fragments() 213 list_for_each_entry_safe(frag, n, &worklist, list) { in xchk_refcountbt_process_rmap_fragments() [all...] |
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | sclp_vt220.c | 13 #include <linux/list.h> 44 struct list_head list; member 122 /* Put buffer back to list of empty buffers */ in sclp_vt220_process_queue() 126 list_del(&request->list); in sclp_vt220_process_queue() 132 struct sclp_vt220_request, list); in sclp_vt220_process_queue() 231 list_add_tail(&sclp_vt220_current_request->list, in sclp_vt220_emit_current() 243 struct sclp_vt220_request, list); in sclp_vt220_emit_current() 367 struct list_head *list; in sclp_vt220_drop_buffer() local 373 list = sclp_vt220_outqueue.next; in sclp_vt220_drop_buffer() 376 list in sclp_vt220_drop_buffer() [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/ |
H A D | wwan_hwsim.c | 15 #include <linux/list.h> 39 struct list_head list; member 51 struct list_head list; member 248 if (list_empty(&port->list)) { in wwan_hwsim_port_del_work() 253 list_del_init(&port->list); in wwan_hwsim_port_del_work() 328 list); in wwan_hwsim_dev_del() 329 list_del_init(&port->list); in wwan_hwsim_dev_del() 354 if (list_empty(&dev->list)) { in wwan_hwsim_dev_del_work() 359 list_del_init(&dev->list); in wwan_hwsim_dev_del_work() 398 list_add_tail(&port->list, in wwan_hwsim_debugfs_portcreate_write() [all...] |
/kernel/liteos_a/shell/full/src/base/ |
H A D | shmsg.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 56 if ((cmdkey == NULL) || LOS_ListEmpty(&cmdkey->list)) { in ShellGetInputBuf() 61 cmdNode = LOS_DL_LIST_ENTRY(cmdkey->list.pstNext, CmdKeyLink, list); in ShellGetInputBuf() 62 LOS_ListDelete(&(cmdNode->list)); /* 'cmdNode' freed in history save process */ in ShellGetInputBuf() 80 cmdNxt = LOS_DL_LIST_ENTRY(cmdHistory->list.pstPrev, CmdKeyLink, list); in ShellSaveHistoryCmd() 89 cmdNxt = LOS_DL_LIST_ENTRY(cmdHistory->list.pstNext, CmdKeyLink, list); in ShellSaveHistoryCmd() [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new() 34 array->list = nlist; in snd_array_new() 47 kfree(array->list); in snd_array_free() 50 array->list = NULL; in snd_array_free()
|
/kernel/linux/linux-6.6/sound/hda/ |
H A D | array.c | 30 nlist = krealloc(array->list, size, GFP_KERNEL); in snd_array_new() 34 array->list = nlist; in snd_array_new() 47 kfree(array->list); in snd_array_free() 50 array->list = NULL; in snd_array_free()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | pci_slot.c | 23 #include <linux/list.h> 35 struct list_head list; /* node in the list of slots */ member 101 list_for_each_entry(slot, &slot_list, list) { in register_slot() 120 list_add(&slot->list, &slot_list); in register_slot() 147 list_for_each_entry_safe(slot, tmp, &slot_list, list) { in acpi_pci_slot_remove() 149 list_del(&slot->list); in acpi_pci_slot_remove()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/usb/usbip/ |
H A D | usbip_test.sh | 75 src/usbip list -l; 85 src/usbip list -r localhost; 101 src/usbip list -r localhost; 117 src/usbip list -r localhost; 133 src/usbip list -r localhost; 175 src/usbip list -l;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.h | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 37 #include <linux/list.h> 57 struct list_head list; member 102 struct mlx4_icm_chunk, list); in mlx4_icm_first() 114 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mlx4_icm_next() 119 iter->chunk = list_entry(iter->chunk->list.next, in mlx4_icm_next() 120 struct mlx4_icm_chunk, list); in mlx4_icm_next()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | eeprom.c | 18 const __be32 *list; in mt76_get_of_eeprom() local 29 list = of_get_property(np, "mediatek,mtd-eeprom", &size); in mt76_get_of_eeprom() 30 if (!list) in mt76_get_of_eeprom() 33 phandle = be32_to_cpup(list++); in mt76_get_of_eeprom() 51 if (size <= sizeof(*list)) { in mt76_get_of_eeprom() 56 offset = be32_to_cpup(list); in mt76_get_of_eeprom()
|
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
H A D | zfcp_reqlist.h | 18 * struct zfcp_reqlist - Container for request list (reqlist) 19 * @lock: Spinlock for protecting the hash list 20 * @buckets: Array of hashbuckets, each is a list of requests in this bucket 56 * zfcp_reqlist_isempty - Check whether the request list empty 59 * Returns: 1 if list is empty, 0 if not 90 list_for_each_entry(req, &rl->buckets[i], list) in _zfcp_reqlist_find() 138 list_del(&req->list); in zfcp_reqlist_find_rm() 163 list_add_tail(&req->list, &rl->buckets[i]); in zfcp_reqlist_add() 168 * zfcp_reqlist_move - Move all entries from reqlist to simple list 170 * @list 172 zfcp_reqlist_move(struct zfcp_reqlist *rl, struct list_head *list) zfcp_reqlist_move() argument [all...] |