Home
last modified time | relevance | path

Searched refs:list (Results 3501 - 3525 of 14420) sorted by relevance

1...<<141142143144145146147148149150>>...577

/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dalloc.c16 * the code is named as if it's the priorities) are written in an arbitrary list
25 * batch this up: We fill up the free_inc list with freshly invalidated buckets,
27 * free_inc list and optionally discard them.
31 * smaller freelist, and buckets on that list are always ready to be used.
34 * free_inc list to the free list.
40 * them (because they were overwritten). That's the unused list - buckets on the
41 * unused list move to the free list, optionally being discarded in the process.
60 * invalidated, and then invalidate them and stick them on the free_inc list
535 struct list_head list; global() member
[all...]
/kernel/linux/linux-5.10/drivers/nvme/target/
H A Dloop.c34 struct list_head list; member
276 if (list_empty(&ctrl->list)) in nvme_loop_free_ctrl()
280 list_del(&ctrl->list); in nvme_loop_free_ctrl()
451 list_for_each_entry(ctrl, &nvme_loop_ctrl_list, list) { in nvme_loop_delete_ctrl()
592 INIT_LIST_HEAD(&ctrl->list); in nvme_loop_create_ctrl()
644 list_add_tail(&ctrl->list, &nvme_loop_ctrl_list); in nvme_loop_create_ctrl()
726 list_for_each_entry_safe(ctrl, next, &nvme_loop_ctrl_list, list) in nvme_loop_cleanup_module()
/kernel/linux/linux-5.10/sound/drivers/
H A Dmtpav.c624 struct list_head *list; in snd_mtpav_get_RAWMIDI() local
640 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
641 substream = list_entry(list, struct snd_rawmidi_substream, list); in snd_mtpav_get_RAWMIDI()
645 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
646 substream = list_entry(list, struct snd_rawmidi_substream, list); in snd_mtpav_get_RAWMIDI()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_loongson.c160 /* card list (for power_save trigger) */
161 struct list_head list; member
225 list_for_each_entry(s, &bus->stream_list, list) { in azx_irq_pending_work()
256 list_for_each_entry(s, &bus->stream_list, list) { in azx_clear_irq_pending()
293 list_add(&hda->list, &card_list); in azx_add_card_list()
301 list_del_init(&hda->list); in azx_del_card_list()
317 list_for_each_entry(hda, &card_list, list) { in param_set_xint()
544 INIT_LIST_HEAD(&hda->list); in azx_create()
/kernel/linux/linux-5.10/security/selinux/ss/
H A Dsidtab.c12 #include <linux/list.h>
64 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) { in context_to_sid()
107 hash_add(s->context_to_sid, &isid->entry.list, hash); in sidtab_set_initial()
124 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats()
338 &dst_convert->list, dst_convert->hash); in sidtab_context_to_sid()
349 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash); in sidtab_context_to_sid()
367 hash_add_rcu(s->context_to_sid, &entry->list, entry->hash); in sidtab_convert_hashtable()
568 /* entry in cache - just bump to the head of LRU list */ in sidtab_sid2str_put()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dextent_map.c61 INIT_LIST_HEAD(&em->list); in alloc_extent_map()
79 WARN_ON(!list_empty(&em->list)); in free_extent_map()
211 if (!list_empty(&prev->list) || !list_empty(&next->list)) in mergable_maps()
351 list_move(&em->list, &tree->modified_extents); in setup_extent_mapping()
493 list_del_init(&em->list); in remove_extent_mapping()
507 list_del_init(&cur->list); in replace_extent_mapping()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_iter.c10 struct list_head list; member
281 INIT_LIST_HEAD(&tinfo->list); in bpf_iter_reg_target()
284 list_add(&tinfo->list, &targets); in bpf_iter_reg_target()
296 list_for_each_entry(tinfo, &targets, list) { in bpf_iter_unreg_target()
298 list_del(&tinfo->list); in bpf_iter_unreg_target()
328 list_for_each_entry(tinfo, &targets, list) { in bpf_iter_prog_supported()
495 list_for_each_entry(tinfo, &targets, list) { in bpf_iter_link_attach()
/kernel/linux/linux-5.10/kernel/locking/
H A Dlocktorture.c367 LIST_HEAD(list); in __acquires()
375 list_add(&locks[0].link, &list); in __acquires()
378 list_add(&locks[1].link, &list); in __acquires()
381 list_add(&locks[2].link, &list); in __acquires()
385 list_for_each_entry(ll, &list, link) { in __acquires()
393 list_for_each_entry_continue_reverse(ln, &list, link) in __acquires()
400 list_move(&ll->link, &list); in __acquires()
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/
H A Dxen_drm_front.c37 struct list_head list; member
48 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
56 list_for_each_entry_safe(buf, q, dbuf_list, list) in dbuf_get()
67 list_for_each_entry_safe(buf, q, dbuf_list, list) in dbuf_free()
69 list_del(&buf->list); in dbuf_free()
81 list_for_each_entry_safe(buf, q, dbuf_list, list) { in dbuf_free_all()
82 list_del(&buf->list); in dbuf_free_all()
/kernel/linux/linux-5.10/drivers/pnp/
H A Dresource.c47 list_add_tail(&option->list, &dev->options); in pnp_build_option()
147 list_for_each_entry_safe(option, tmp, &dev->options, list) { in pnp_free_options()
148 list_del(&option->list); in pnp_free_options()
488 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource()
505 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource()
653 list_for_each_entry(option, &dev->options, list) { in pnp_possible_config()
693 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_range_reserved()
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
H A Daic94xx_task.c63 * the SG list */ in asd_map_scatterlist()
551 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task()
552 list_for_each_entry(a, &alist, list) { in asd_execute_task()
557 list_for_each_entry(a, &alist, list) { in asd_execute_task()
591 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task()
599 list_for_each_entry(a, &alist, list) { in asd_execute_task()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
H A Dion.c17 #include <linux/list.h>
178 struct list_head list; member
200 INIT_LIST_HEAD(&a->list); in ion_dma_buf_attach()
205 list_add(&a->list, &buffer->attachments); in ion_dma_buf_attach()
218 list_del(&a->list); in ion_dma_buf_detach()
303 list_for_each_entry(a, &buffer->attachments, list) in ion_dma_buf_begin_cpu_access()
324 list_for_each_entry(a, &buffer->attachments, list) in ion_dma_buf_end_cpu_access()
354 * traverse the list of heaps available in this system in priority in ion_alloc()
616 * the list later attempt higher id numbers first in ion_device_add_heap()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c62 struct list_head list; member
413 list) { in mlx5_chains_update_prio_prevs()
432 list) { in mlx5_chains_update_prio_prevs()
485 /* Chain's prio list is sorted by prio and level. in mlx5_chains_create_prio()
487 * Example list (prio, level): in mlx5_chains_create_prio()
501 struct prio *p = list_entry(pos, struct prio, list); in mlx5_chains_create_prio()
549 list_add(&prio_s->list, pos->prev); in mlx5_chains_create_prio()
560 list_del(&prio_s->list); in mlx5_chains_create_prio()
586 list_del(&prio->list); in mlx5_chains_destroy_prio()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dutils.c336 struct acpi_handle_list *list) in acpi_evaluate_reference()
345 if (!list) { in acpi_evaluate_reference()
377 list->count = package->package.count; in acpi_evaluate_reference()
381 for (i = 0; i < list->count; i++) { in acpi_evaluate_reference()
398 list->handles[i] = element->reference.handle; in acpi_evaluate_reference()
399 acpi_handle_debug(list->handles[i], "Found in reference list\n"); in acpi_evaluate_reference()
404 list->count = 0; in acpi_evaluate_reference()
405 //kfree(list->handles); in acpi_evaluate_reference()
995 * acpi_match_platform_list - Check if the system matches with a given list
333 acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list) acpi_evaluate_reference() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_mem.c294 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { in lpfc_mem_free_all()
300 list_del(&mbox->list); in lpfc_mem_free_all()
303 /* Free memory used in mailbox cmpl list back to mailbox memory pool */ in lpfc_mem_free_all()
304 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq_cmpl, list) { in lpfc_mem_free_all()
310 list_del(&mbox->list); in lpfc_mem_free_all()
689 list_del(&hbq_entry->dbuf.list); in lpfc_in_buf_free()
733 list_del(&rqb_entry->hbuf.list); in lpfc_rq_buf_free()
751 list_add_tail(&rqb_entry->hbuf.list, &rqbp->rqb_buffer_list); in lpfc_rq_buf_free()
/kernel/linux/linux-6.6/drivers/pnp/
H A Dresource.c48 list_add_tail(&option->list, &dev->options); in pnp_build_option()
148 list_for_each_entry_safe(option, tmp, &dev->options, list) { in pnp_free_options()
149 list_del(&option->list); in pnp_free_options()
489 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource()
506 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource()
654 list_for_each_entry(option, &dev->options, list) { in pnp_possible_config()
694 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_range_reserved()
/kernel/linux/linux-6.6/drivers/edac/
H A Dskx_common.c158 list_for_each_entry(d, &dev_edac_list, list) { in skx_adxl_decode()
239 * and build the full list of all the skx_dev structures that we need here.
241 int skx_get_all_bus_mappings(struct res_config *cfg, struct list_head **list) in skx_get_all_bus_mappings() argument
279 list_add_tail(&d->list, &dev_edac_list); in skx_get_all_bus_mappings()
283 if (list) in skx_get_all_bus_mappings()
284 *list = &dev_edac_list; in skx_get_all_bus_mappings()
499 /* Add this new MC control structure to EDAC's list of MCs */ in skx_register_mci()
695 list_for_each_entry_safe(d, tmp, &dev_edac_list, list) { in skx_remove()
696 list_del(&d->list); in skx_remove()
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dvirtio.c59 /* lock to protect access to the free list. */
62 /* lock to protect access to the pending list. */
90 * @list: List which scmi_vio_msg may be part of
102 struct list_head list; member
187 msg = list_first_entry(&vioch->free_list, typeof(*msg), list); in scmi_virtio_get_free_msg()
188 list_del_init(&msg->list); in scmi_virtio_get_free_msg()
214 list_add_tail(&msg->list, &vioch->free_list); in scmi_vio_msg_release()
333 /* Scan the list of possibly pre-fetched messages during polling. */ in scmi_vio_deferred_tx_worker()
334 list_for_each_entry_safe(msg, tmp, &vioch->pending_cmds_list, list) { in scmi_vio_deferred_tx_worker()
335 list_del(&msg->list); in scmi_vio_deferred_tx_worker()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dpeer.c18 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_list_by_id()
35 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find()
86 list_for_each_entry(peer, &ab->peers, list) { in ath11k_peer_find_by_vdev_id()
112 list_del(&peer->list); in ath11k_peer_unmap_event()
137 list_add(&peer->list, &ab->peers); in ath11k_peer_map_event()
249 list_for_each_entry_safe(peer, tmp, &ab->peers, list) { in ath11k_peer_cleanup()
257 list_del(&peer->list); in ath11k_peer_cleanup()
313 /* Fallback to peer list search if the correct peer can't be found. in __ath11k_peer_delete()
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dloop.c34 struct list_head list; member
276 if (list_empty(&ctrl->list)) in nvme_loop_free_ctrl()
280 list_del(&ctrl->list); in nvme_loop_free_ctrl()
420 list_for_each_entry(ctrl, &nvme_loop_ctrl_list, list) { in nvme_loop_delete_ctrl()
543 INIT_LIST_HEAD(&ctrl->list); in nvme_loop_create_ctrl()
595 list_add_tail(&ctrl->list, &nvme_loop_ctrl_list); in nvme_loop_create_ctrl()
677 list_for_each_entry_safe(ctrl, next, &nvme_loop_ctrl_list, list) in nvme_loop_cleanup_module()
/kernel/linux/linux-6.6/drivers/gpu/drm/xen/
H A Dxen_drm_front.c36 struct list_head list; member
47 list_add(&dbuf->list, &front_info->dbuf_list); in dbuf_add_to_list()
55 list_for_each_entry_safe(buf, q, dbuf_list, list) in dbuf_get()
66 list_for_each_entry_safe(buf, q, dbuf_list, list) in dbuf_free()
68 list_del(&buf->list); in dbuf_free()
80 list_for_each_entry_safe(buf, q, dbuf_list, list) { in dbuf_free_all()
81 list_del(&buf->list); in dbuf_free_all()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dalloc.c16 * the code is named as if it's the priorities) are written in an arbitrary list
25 * batch this up: We fill up the free_inc list with freshly invalidated buckets,
27 * free_inc list and optionally discard them.
31 * smaller freelist, and buckets on that list are always ready to be used.
34 * free_inc list to the free list.
40 * them (because they were overwritten). That's the unused list - buckets on the
41 * unused list move to the free list, optionally being discarded in the process.
60 * invalidated, and then invalidate them and stick them on the free_inc list
534 struct list_head list; global() member
[all...]
/kernel/linux/linux-6.6/sound/drivers/
H A Dmtpav.c626 struct list_head *list; in snd_mtpav_get_RAWMIDI() local
643 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) { in snd_mtpav_get_RAWMIDI()
644 substream = list_entry(list, struct snd_rawmidi_substream, list); in snd_mtpav_get_RAWMIDI()
648 list_for_each(list, &rawmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT].substreams) { in snd_mtpav_get_RAWMIDI()
649 substream = list_entry(list, struct snd_rawmidi_substream, list); in snd_mtpav_get_RAWMIDI()
/kernel/linux/linux-6.6/security/selinux/ss/
H A Dsidtab.c12 #include <linux/list.h>
65 hash_for_each_possible_rcu(s->context_to_sid, entry, list, hash) { in context_to_sid()
108 hash_add(s->context_to_sid, &isid->entry.list, hash); in sidtab_set_initial()
125 hash_for_each_rcu(sidtab->context_to_sid, i, entry, list) { in sidtab_hash_stats()
342 &dst_convert->list, dst_convert->hash); in sidtab_context_to_sid()
353 hash_add_rcu(s->context_to_sid, &dst->list, dst->hash); in sidtab_context_to_sid()
371 hash_add_rcu(s->context_to_sid, &entry->list, entry->hash); in sidtab_convert_hashtable()
573 /* entry in cache - just bump to the head of LRU list */ in sidtab_sid2str_put()
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/
H A Daic94xx_task.c63 * the SG list */ in asd_map_scatterlist()
541 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task()
542 list_for_each_entry(a, &alist, list) { in asd_execute_task()
547 list_for_each_entry(a, &alist, list) { in asd_execute_task()
577 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task()
585 list_for_each_entry(a, &alist, list) { in asd_execute_task()

Completed in 27 milliseconds

1...<<141142143144145146147148149150>>...577