/kernel/linux/linux-6.6/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 60 hlist_for_each_entry(hnode, &head[tgid % count], list) { in hashlist_find() 74 hlist_for_each_entry_safe(hnode, n, &head[i], list) { in hashlist_clear() 75 hlist_del(&hnode->list); in hashlist_clear() 93 INIT_HLIST_NODE(&hnode->list); in hashlist_insert() 95 hlist_add_head(&hnode->list, &head[tgid % count]); in hashlist_insert() 923 pr_err("wrong list type is set\n"); in htbase_monitorlist_store()
|
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 692 const __be32 *list; in rzn1_pinctrl_parse_groups() local 706 list = of_get_property(np, RZN1_PINS_PROP, &size); in rzn1_pinctrl_parse_groups() 707 if (!list) { in rzn1_pinctrl_parse_groups() 721 grp->npins = size / sizeof(list[0]); in rzn1_pinctrl_parse_groups() 732 u32 pin_id = be32_to_cpu(*list++); in rzn1_pinctrl_parse_groups()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_recv.c | 69 INIT_LIST_HEAD(&(precvframe->u.list)); in _r8712_init_recv_priv() 70 list_add_tail(&(precvframe->u.list), in _r8712_init_recv_priv() 99 union recv_frame, u.hdr.list); in r8712_alloc_recvframe() 101 list_del_init(&precvframe->u.hdr.list); in r8712_alloc_recvframe() 128 precvframe = container_of(plist, union recv_frame, u.list); in r8712_free_recvframe_queue()
|
/kernel/linux/linux-6.6/drivers/usb/mtu3/ |
H A D | mtu3_gadget.c | 21 list_del(&mreq->list); 54 struct mtu3_request, list); in nuke() 244 INIT_LIST_HEAD(&mreq->list); in mtu3_alloc_request() 310 list_add_tail(&mreq->list, &mep->req_list); in mtu3_gadget_queue() 338 list_for_each_entry(r, &mep->req_list, list) { in mtu3_gadget_dequeue() 693 /* initialize endpoint list just once */ in mtu3_gadget_init_eps()
|
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-srv.c | 186 list_del(&dev->list); in destroy_device() 256 list_del(&srv_sess->list); in destroy_sess() 283 list_add(&srv_sess->list, &sess_list); in create_sess() 447 list_for_each_entry(dev, &dev_list, list) { in rnbd_srv_find_or_add_srv_dev() 459 list_add(&new_dev->list, &dev_list); in rnbd_srv_find_or_add_srv_dev()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | poll.c | 126 hlist_add_head(&req->hash_node, &hb->list); in io_poll_req_insert() 148 hlist_add_head(&req->hash_node, &table->hbs[index].list); in io_poll_req_insert_locked() 763 hlist_for_each_entry_safe(req, tmp, &hb->list, hash_node) { in io_poll_remove_all_table() 801 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_find() 833 hlist_for_each_entry(req, &hb->list, hash_node) { in io_poll_file_find()
|
/kernel/linux/linux-6.6/kernel/livepatch/ |
H A D | core.c | 15 #include <linux/list.h> 698 if (!list_empty(&patch->list)) in klp_free_patch_start() 699 list_del(&patch->list); in klp_free_patch_start() 923 INIT_LIST_HEAD(&patch->list); in klp_init_patch_early() 961 list_add_tail(&patch->list, &klp_patches); in klp_init_patch() 1184 * Remove parts of patches that touch a given kernel module. The list of
|
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | core.c | 16 #include <linux/list.h> 222 list_for_each_entry(scoped_access, &ctx->scoped_accesses, list) { in kcsan_check_scoped_accesses() 914 ctx->disable_count++; /* Disable KCSAN, in case list debugging is on. */ in kcsan_begin_scoped_access() 916 INIT_LIST_HEAD(&sa->list); in kcsan_begin_scoped_access() 922 if (!ctx->scoped_accesses.prev) /* Lazy initialize list head. */ in kcsan_begin_scoped_access() 924 list_add(&sa->list, &ctx->scoped_accesses); in kcsan_begin_scoped_access() 938 ctx->disable_count++; /* Disable KCSAN, in case list debugging is on. */ in kcsan_end_scoped_access() 940 list_del(&sa->list); in kcsan_end_scoped_access()
|
/kernel/linux/linux-6.6/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-hcu-core.c | 60 * @dma_list: OCS DMA linked list. 68 * @sg_data_total: Total data in the SG list at any time. 98 * @dev_list: The list of HCU devices. 113 * request buffer + the data in the sg list. 120 /* Move remaining content of scatter-gather list to context buffer. */ 151 /* Copy from scatter-list entry to context buffer. */ in flush_sg_to_ocs_buffer() 180 list); in kmb_ocs_hcu_find_dev() 186 /* Free OCS DMA linked list and DMA-able context buffer. */ 216 * - DMA-map SG list (only the entries to be processed, see note below) 217 * - Allocate OCS HCU DMA linked list (numbe [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 38 #include <linux/list.h> 192 struct list_head list; member 294 struct list_head list; member 579 struct list_head list; member 591 struct list_head list; member 598 struct mutex mutex; /* mutex for accessing counters list */
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-video.c | 99 struct list_head list; member 103 (&container_of(vb2_buffer, struct rzg2l_cru_buffer, vb)->list) 135 list_for_each_entry_safe(buf, node, &cru->buf_list, list) { in return_unused_buffers() 137 list_del(&buf->list); in return_unused_buffers() 266 struct rzg2l_cru_buffer, list); in rzg2l_cru_fill_hw_slot()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k.h | 189 struct list_head list; member 221 struct list_head list; member 234 struct list_head list; member 271 struct list_head list; member 625 struct list_head list; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | pio.c | 150 INIT_LIST_HEAD(&p->list); in b43_setup_pioqueue_tx() 153 list_add(&p->list, &q->packets_list); in b43_setup_pioqueue_tx() 454 struct b43_pio_txpacket, list); in pio_tx_frame() 478 /* Remove it from the list of available packet slots. in pio_tx_frame() 480 list_del(&pack->list); in pio_tx_frame() 587 list_add(&pack->list, &q->packets_list); in b43_pio_handle_txstatus()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | tx.c | 656 list_for_each_entry_safe(rtwtxq, tmp, &rtwdev->txqs, list) { in __rtw_tx_work() 664 list_del_init(&rtwtxq->list); in __rtw_tx_work() 687 INIT_LIST_HEAD(&rtwtxq->list); in rtw_txq_init() 699 if (!list_empty(&rtwtxq->list)) in rtw_txq_cleanup() 700 list_del_init(&rtwtxq->list); in rtw_txq_cleanup()
|
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | thunderx2_pmu.c | 780 /* Add to list */ in tx2_uncore_pmu_add_dev() 795 struct list_head list; in tx2_uncore_pmu_init_dev() local 798 INIT_LIST_HEAD(&list); in tx2_uncore_pmu_init_dev() 799 ret = acpi_dev_get_resources(adev, &list, NULL, NULL); in tx2_uncore_pmu_init_dev() 805 list_for_each_entry(rentry, &list, node) { in tx2_uncore_pmu_init_dev() 812 acpi_dev_free_resource_list(&list); in tx2_uncore_pmu_init_dev()
|
/kernel/linux/linux-6.6/block/ |
H A D | kyber-iosched.c | 664 struct list_head *list; member 674 flush_data->list); in flush_busy_kcq() 683 struct list_head *list) in kyber_flush_busy_kcqs() 688 .list = list, in kyber_flush_busy_kcqs() 681 kyber_flush_busy_kcqs(struct kyber_hctx_data *khd, unsigned int sched_domain, struct list_head *list) kyber_flush_busy_kcqs() argument
|
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/ |
H A D | pseudo_lock.c | 68 * Capture the list of platforms that have been validated to support 180 * struct pseudo_lock_pm_req - A power management QoS request list entry 181 * @list: Entry within the @pm_reqs list for a pseudo-locked region 185 struct list_head list; member 193 list_for_each_entry_safe(pm_req, next, &plr->pm_reqs, list) { in pseudo_lock_cstates_relax() 195 list_del(&pm_req->list); in pseudo_lock_cstates_relax() 242 list_add(&pm_req->list, &plr->pm_reqs); in pseudo_lock_cstates_constrain() 855 list_for_each_entry(d_i, &r->domains, list) { in rdtgroup_pseudo_locked_in_hierarchy()
|
H A D | core.c | 353 list_for_each_entry(d, &r->domains, list) { in get_domain_from_cpu() 387 * Search resource r's domain list to find the resource id. If the resource 390 * The domain list is sorted by id in ascending order. 402 d = list_entry(l, struct rdt_domain, list); in rdt_find_domain() 406 /* Stop searching when finding id's position in sorted list. */ in rdt_find_domain() 489 * domain_add_cpu - Add a cpu to a resource's domain list. 491 * If an existing domain in the resource r's domain list matches the cpu's 495 * in the domain list sorted by id in ascending order. 497 * The order in the domain list is visible to users when we print entries 499 * as this list [all...] |
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_recv.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 77 * The entire 'from' list, including the from element itself, is put on 78 * to the tail of the 'to' list. 162 LIST_HEAD(list); in rds_ib_recv_free_caches() 165 rds_ib_cache_splice_all_lists(&ic->i_cache_incs, &list); in rds_ib_recv_free_caches() 168 list_for_each_entry_safe(inc, inc_tmp, &list, ii_cache_entry) { in rds_ib_recv_free_caches() 176 rds_ib_cache_splice_all_lists(&ic->i_cache_frags, &list); in rds_ib_recv_free_caches() 179 list_for_each_entry_safe(frag, frag_tmp, &list, f_cache_entry) { in rds_ib_recv_free_caches() 471 * First, we put the memory on a percpu list [all...] |
H A D | connection.c | 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 34 #include <linux/list.h> 540 struct list_head *list; in rds_conn_message_info_cmn() local 570 list = &cp->cp_send_queue; in rds_conn_message_info_cmn() 572 list = &cp->cp_retrans; in rds_conn_message_info_cmn() 577 list_for_each_entry(rm, list, m_conn_item) { in rds_conn_message_info_cmn()
|
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | kbl_da7219_max98927.c | 456 .list = rates, 466 .list = channels, 476 .list = channels_quad, 548 .list = rates_16000, 556 .list = ch_mono,
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | init.c | 29 struct list_head list; /* link of monitor files */ member 512 list_for_each_entry(mfile, &card->files_list, list) { in snd_card_disconnect() 1027 * This function adds the component id string to the supported list. 1055 * snd_card_file_add - add the file to the file list of the card 1059 * This function adds the file to the file linked-list of the card. 1060 * This linked-list is used to keep tracking the connection state, 1081 list_add(&mfile->list, &card->files_list); in snd_card_file_add() 1089 * snd_card_file_remove - remove the file from the file list 1106 list_for_each_entry(mfile, &card->files_list, list) { in snd_card_file_remove() 1108 list_del(&mfile->list); in snd_card_file_remove() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xsk.c | 25 #include <linux/list.h> 75 struct list_head list; member 464 list_for_each_entry(ctx, &umem->ctx_list, list) { in xsk_get_ctx() 496 list_del(&ctx->list); in xsk_put_ctx() 532 list_add(&ctx->list, &umem->ctx_list); in xsk_create_ctx()
|
/kernel/liteos_a/kernel/base/core/ |
H A D | los_swtmr.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 51 LITE_OS_SEC_BSS LOS_DL_LIST g_swtmrFreeList; /* Free list of Software Timer */ 362 /* The linked list of all cores must be initialized at core 0 startup for load balancing */ in SwtmrBaseInit() 524 /* insert to free list */ in SwtmrDelete() 567 LOS_DL_LIST *list = listObject->pstNext; in SwtmrRunqueueFind() local 570 while (list != listObject) { in SwtmrRunqueueFind() 571 SortLinkList *listSorted = LOS_DL_LIST_ENTRY(list, SortLinkList, sortLinkNode); in SwtmrRunqueueFind() 576 list = list in SwtmrRunqueueFind() [all...] |
/kernel/linux/linux-6.6/net/caif/ |
H A D | caif_socket.c | 16 #include <linux/list.h> 123 struct sk_buff_head *list = &sk->sk_receive_queue; in caif_queue_rcv_skb() local 147 spin_lock_irqsave(&list->lock, flags); in caif_queue_rcv_skb() 150 __skb_queue_tail(list, skb); in caif_queue_rcv_skb() 151 spin_unlock_irqrestore(&list->lock, flags); in caif_queue_rcv_skb()
|