/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | cpts.c | 70 event = list_entry(this, struct cpts_event, list); in cpts_purge_events() 72 list_del_init(&event->list); in cpts_purge_events() 73 list_add(&event->list, &cpts->pool); in cpts_purge_events() 125 event = list_first_entry(&cpts->pool, struct cpts_event, list); in cpts_fifo_read() 149 list_del_init(&event->list); in cpts_fifo_read() 150 list_add_tail(&event->list, &cpts->events); in cpts_fifo_read() 378 event = list_entry(this, struct cpts_event, list); in cpts_process_events() 381 list_del_init(&event->list); in cpts_process_events() 382 list_add(&event->list, &events_free); in cpts_process_events() 469 event = list_entry(this, struct cpts_event, list); in cpts_find_ts() [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 468 const __be32 *list = *list_p; in imx_pinctrl_parse_pin_mmio() local 472 mux_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 480 conf_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 490 pin_mmio->input_reg = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 491 pin_mmio->mux_mode = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 492 pin_mmio->input_val = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 494 config = be32_to_cpu(*list++); in imx_pinctrl_parse_pin_mmio() 501 *list_p = list; in imx_pinctrl_parse_pin_mmio() 515 const __be32 *list; in imx_pinctrl_parse_groups() local 540 list in imx_pinctrl_parse_groups() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_recent.c | 22 #include <linux/list.h> 53 MODULE_PARM_DESC(ip_list_tot, "number of IPs to remember per list"); 67 struct list_head list; member 78 struct list_head list; member 136 list_for_each_entry(e, &table->iphash[h], list) in recent_entry_lookup() 146 list_del(&e->list); in recent_entry_remove() 161 * The head of the LRU list is always the oldest entry. in recent_entry_reap() 201 list_add_tail(&e->list, &t->iphash[recent_entry_hash4(addr)]); in recent_entry_init() 203 list_add_tail(&e->list, &t->iphash[recent_entry_hash6(addr)]); in recent_entry_init() 223 list_for_each_entry(t, &recent_net->tables, list) in recent_table_lookup() [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | udp_media.c | 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in the 43 #include <linux/list.h> 87 struct list_head list; member 259 list_for_each_entry_rcu(rcast, &ub->rcast.list, list) { in tipc_udp_send_msg() 291 list_for_each_entry_safe(rcast, tmp, &ub->rcast.list, list) { in tipc_udp_is_known_peer() 327 list_add_rcu(&rcast->list, &ub->rcast.list); in tipc_udp_rcast_add() [all...] |
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | menu.c | 45 last_entry_ptr = &rootmenu.list; in _menu_init() 68 last_entry_ptr = ¤t_entry->list; in menu_add_menu() 143 /* append property to the prop list of symbol */ in menu_add_prop() 293 if (parent->list) { in menu_finalize() 303 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 311 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 330 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 344 * too in the symbol's own property list in menu_finalize() 410 for (menu = parent->list; menu; menu = menu->next) in menu_finalize() 478 parent->list in menu_finalize() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 8 #include <linux/list.h> 104 struct mutex lock; /* guards region list updates */ 146 struct list_head list; /* Member of a TCAM group */ member 172 struct list_head list; /* Member of a TCAM vregion */ member 190 struct list_head list; /* Member of a TCAM vchunk */ member 210 list_for_each_entry(region, &group->region_list, list) { in mlxsw_sp_acl_tcam_group_update() 213 /* Check if the next entry in the list has the same vregion. */ in mlxsw_sp_acl_tcam_group_update() 214 if (region->list.next != &group->region_list && in mlxsw_sp_acl_tcam_group_update() 215 list_next_entry(region, list)->vregion == region->vregion) in mlxsw_sp_acl_tcam_group_update() 346 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | cache.c | 18 #include <linux/list.h> 345 * For this we maintain a list of cache_detail and 346 * a current pointer into that list and into the table 350 * in the current table and walks the list in that entry 422 * -1 if it fell off the end of the list. 772 * Implemented by linked list of requests. Each open file has 773 * a ->private that also exists in this list. New requests are added 776 * CACHE_UPCALLING clear, we free it from the list. 784 struct list_head list; member 827 while (rp->q.list in cache_read() [all...] |
/kernel/linux/linux-5.10/drivers/vme/bridges/ |
H A D | vme_ca91cx42.c | 1018 static int ca91cx42_dma_list_add(struct vme_dma_list *list, in ca91cx42_dma_list_add() argument 1028 dev = list->parent->parent->parent; in ca91cx42_dma_list_add() 1139 /* Add to list */ in ca91cx42_dma_list_add() 1140 list_add_tail(&entry->list, &list->entries); in ca91cx42_dma_list_add() 1143 if (entry->list.prev != &list->entries) { in ca91cx42_dma_list_add() 1144 prev = list_entry(entry->list.prev, struct ca91cx42_dma_entry, in ca91cx42_dma_list_add() 1145 list); in ca91cx42_dma_list_add() 1177 static int ca91cx42_dma_list_exec(struct vme_dma_list *list) in ca91cx42_dma_list_exec() argument 1271 ca91cx42_dma_list_empty(struct vme_dma_list *list) ca91cx42_dma_list_empty() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 8 #include <linux/list.h> 105 struct mutex lock; /* guards region list updates */ 147 struct list_head list; /* Member of a TCAM group */ member 173 struct list_head list; /* Member of a TCAM vregion */ member 191 struct list_head list; /* Member of a TCAM vchunk */ member 211 list_for_each_entry(region, &group->region_list, list) { in mlxsw_sp_acl_tcam_group_update() 214 /* Check if the next entry in the list has the same vregion. */ in mlxsw_sp_acl_tcam_group_update() 215 if (region->list.next != &group->region_list && in mlxsw_sp_acl_tcam_group_update() 216 list_next_entry(region, list)->vregion == region->vregion) in mlxsw_sp_acl_tcam_group_update() 347 typeof(*vchunk), list); in mlxsw_sp_acl_tcam_vregion_prio() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | cache.c | 18 #include <linux/list.h> 347 * For this we maintain a list of cache_detail and 348 * a current pointer into that list and into the table 352 * in the current table and walks the list in that entry 424 * -1 if it fell off the end of the list. 788 * Implemented by linked list of requests. Each open file has 789 * a ->private that also exists in this list. New requests are added 792 * CACHE_UPCALLING clear, we free it from the list. 799 struct list_head list; member 842 while (rp->q.list in cache_read() [all...] |
H A D | sched.c | 101 if (list_empty(&queue->timer_list.list)) in __rpc_disable_timer() 125 if (list_empty(&queue->timer_list.list) || time_before(timeout, queue->timer_list.expires)) in __rpc_add_timer() 127 list_add(&task->u.tk_wait.timer_list, &queue->timer_list.list); in __rpc_add_timer() 144 * Add a request to a queue list 151 list_for_each_entry(t, q, u.tk_wait.list) { in __rpc_list_enqueue_task() 155 /* Cache the queue head in task->u.tk_wait.list */ in __rpc_list_enqueue_task() 156 task->u.tk_wait.list.next = q; in __rpc_list_enqueue_task() 157 task->u.tk_wait.list.prev = NULL; in __rpc_list_enqueue_task() 162 list_add_tail(&task->u.tk_wait.list, q); in __rpc_list_enqueue_task() 166 * Remove request from a queue list [all...] |
/third_party/vk-gl-cts/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 510 void flatshadeVertices (const Program& program, ContainerType& list) in flatshadeVertices() argument 517 for (typename ContainerType::iterator it = list.begin(); it != list.end(); ++it) in flatshadeVertices() 524 void clipPrimitives (std::vector<pa::Triangle>& list, in clipPrimitives() argument 544 for (int inputTriangleNdx = 0; inputTriangleNdx < (int)list.size(); ++inputTriangleNdx) in clipPrimitives() 556 const bool v0InsidePlane = plane->pointInClipVolume(vec4ToClipVec4(list[inputTriangleNdx].v0->position)); in clipPrimitives() 557 const bool v1InsidePlane = plane->pointInClipVolume(vec4ToClipVec4(list[inputTriangleNdx].v1->position)); in clipPrimitives() 558 const bool v2InsidePlane = plane->pointInClipVolume(vec4ToClipVec4(list[inputTriangleNdx].v2->position)); in clipPrimitives() 582 outputTriangles.push_back(list[inputTriangleNdx]); in clipPrimitives() 592 initialTri.vertices[0].position = vec4ToClipVec4(list[inputTriangleNd in clipPrimitives() 714 clipPrimitives(std::vector<pa::Line>& list, const Program& program, bool clipWithZPlanes, VertexPacketAllocator& vpalloc) clipPrimitives() argument 785 clipPrimitives(std::vector<pa::Point>& list, const Program& program, bool clipWithZPlanes, VertexPacketAllocator& vpalloc) clipPrimitives() argument 858 transformClipCoordsToWindowCoords(const RenderState& state, ContainerType& list) transformClipCoordsToWindowCoords() argument 907 makeSharedVerticesDistinct(ContainerType& list, VertexPacketAllocator& vpalloc) makeSharedVerticesDistinct() argument 934 generatePrimitiveIDs(ContainerType& list, DrawContext& drawContext) generatePrimitiveIDs() argument 1291 rasterize(const RenderState& state, const RenderTarget& renderTarget, const Program& program, const ContainerType& list) rasterize() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_process.c | 93 struct list_head list; member 131 * 1. Create a temporary list of SDMA queue nodes from the qpd->queues_list, in kfd_sdma_activity_worker() 133 * 2. Call get_user() for each node in temporary list without dqm_lock. in kfd_sdma_activity_worker() 143 INIT_LIST_HEAD(&sdma_q_list.list); in kfd_sdma_activity_worker() 146 * Create the temp list of all SDMA queues in kfd_sdma_activity_worker() 150 list_for_each_entry(q, &qpd->queues_list, list) { in kfd_sdma_activity_worker() 161 INIT_LIST_HEAD(&sdma_q->list); in kfd_sdma_activity_worker() 164 list_add_tail(&sdma_q->list, &sdma_q_list.list); in kfd_sdma_activity_worker() 168 * If the temp list i in kfd_sdma_activity_worker() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1227 list_for_each_entry(j, &priv->rx_list.list, list) { in gfar_process_filer_changes() 1282 if (list_empty(&priv->rx_list.list)) { in gfar_add_cls() 1286 list_add(&temp->list, &priv->rx_list.list); in gfar_add_cls() 1289 list_for_each_entry(comp, &priv->rx_list.list, list) { in gfar_add_cls() 1291 list_add_tail(&temp->list, &comp->list); in gfar_add_cls() 1302 list_add_tail(&temp->list, in gfar_add_cls() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | mad_rmpp.c | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 48 struct list_head list; member 93 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 102 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 103 list_del(&rmpp_recv->list); in ib_cancel_rmpp_recvs() 254 list_del(&rmpp_recv->list); in recv_timeout_handler() 270 list_del(&rmpp_recv->list); in recv_cleanup_handler() 329 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in find_rmpp_recv() 364 list_add_tail(&rmpp_recv->list, in insert_rmpp_recv() 629 struct list_head *list; adjust_last_ack() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 318 asd_printk("couldn't allocate list of escbs\n"); in asd_alloc_escbs() 324 for (i = 0; i < seq->num_escbs; i++, escb = list_entry(escb->list.next, in asd_alloc_escbs() 326 list)) { in asd_alloc_escbs() 674 asd_printk("couldn't initialize the done list:%d\n", in asd_init_hw() 740 list_del_init(&ascb->list); in asd_dl_tasklet_handler() 756 * asd_process_donelist_isr -- schedule processing of done list entries 1001 * The ISR processes done list entries and level 3 error handling. 1070 * asd_ascb_alloc_list -- allocate a list of aSCBs 1077 * a linked list in two ways: by their list fiel 1155 asd_start_scb_timers(struct list_head *list) asd_start_scb_timers() argument [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | protocol.c | 85 /* Add the address to the local list. */ in sctp_v4_copy_addrlist() 91 INIT_LIST_HEAD(&addr->list); in sctp_v4_copy_addrlist() 92 list_add_tail(&addr->list, addrlist); in sctp_v4_copy_addrlist() 111 af = list_entry(pos, struct sctp_af, list); in sctp_get_local_addr_list() 125 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_free_local_addr_list() 140 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list() 379 * For INIT and INIT-ACK address list, let L be the level of 412 * source address that matches an address in the bind address list. 464 /* Walk through the bind address list and look for a bind in sctp_v4_get_dst() 469 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v4_get_dst() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1237 list_for_each_entry(j, &priv->rx_list.list, list) { in gfar_process_filer_changes() 1292 if (list_empty(&priv->rx_list.list)) { in gfar_add_cls() 1296 list_add(&temp->list, &priv->rx_list.list); in gfar_add_cls() 1299 list_for_each_entry(comp, &priv->rx_list.list, list) { in gfar_add_cls() 1301 list_add_tail(&temp->list, &comp->list); in gfar_add_cls() 1312 list_add_tail(&temp->list, in gfar_add_cls() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | dsa.h | 12 #include <linux/list.h> 121 struct list_head list; member 173 list_for_each_entry((_dp), &(_dst)->ports, list) \ 177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \ 222 struct list_head list; member 303 struct list_head list; member 333 * so keep it stupid at the moment and list them all. 338 struct list_head list; member 361 struct list_head list; member 368 struct list_head list; member 1300 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | mad_rmpp.c | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 48 struct list_head list; member 93 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 102 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 103 list_del(&rmpp_recv->list); in ib_cancel_rmpp_recvs() 254 list_del(&rmpp_recv->list); in recv_timeout_handler() 270 list_del(&rmpp_recv->list); in recv_cleanup_handler() 329 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in find_rmpp_recv() 364 list_add_tail(&rmpp_recv->list, in insert_rmpp_recv() 629 struct list_head *list; adjust_last_ack() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 316 asd_printk("couldn't allocate list of escbs\n"); in asd_alloc_escbs() 322 for (i = 0; i < seq->num_escbs; i++, escb = list_entry(escb->list.next, in asd_alloc_escbs() 324 list)) { in asd_alloc_escbs() 672 asd_printk("couldn't initialize the done list:%d\n", in asd_init_hw() 738 list_del_init(&ascb->list); in asd_dl_tasklet_handler() 754 * asd_process_donelist_isr -- schedule processing of done list entries 999 * The ISR processes done list entries and level 3 error handling. 1068 * asd_ascb_alloc_list -- allocate a list of aSCBs 1075 * a linked list in two ways: by their list fiel 1153 asd_start_scb_timers(struct list_head *list) asd_start_scb_timers() argument [all...] |
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_network.c | 581 static int32_t SplitBySymbol(const char* src, size_t srcLen, const char* separator, List* list) in SplitBySymbol() argument 583 if (src == NULL || srcLen == 0 || list == NULL || separator == NULL || strlen(separator) == 0) { in SplitBySymbol() 622 AddListNode(list, tempStr); in SplitBySymbol() 627 ReleaseList(list); in SplitBySymbol() 652 ATTEST_LOG_ERROR("[BuildOption] Add list node failed."); in BuildOption() 996 static int32_t SplitNetworkInfoSymbol(char *inputData, List *list) in SplitNetworkInfoSymbol() argument 998 if (inputData == NULL || list == NULL) { in SplitNetworkInfoSymbol() 1019 ret = AddListNode(list, (char *)networkServerInfo); in SplitNetworkInfoSymbol() 1024 static int32_t ParseNetworkInfosConfig(char *inputData, List *list) in ParseNetworkInfosConfig() argument 1026 if (inputData == NULL || list in ParseNetworkInfosConfig() 1048 ParseNetworkInfosConfig(char *inputData, List *list) ParseNetworkInfosConfig() argument 1098 NetworkInfoConfig(List* list) NetworkInfoConfig() argument [all...] |
/drivers/peripheral/usb/ddk/host/src/ |
H A D | usb_io_manage.c | 201 DListInsertTail((struct DListHead *)&request->list, (struct DListHead *)&msgQueue->entry); in UsbIoSendRequest() 236 reqEntry = DLIST_FIRST_ENTRY(&msgQueue->entry, struct UsbHostRequest, list); in UsbIoGetRequest() 237 if (reqEntry == NULL || reqEntry->list.prev == NULL || reqEntry->list.next == NULL || in UsbIoGetRequest() 238 reqEntry->list.prev->next != &reqEntry->list || reqEntry->list.next->prev != &reqEntry->list) { in UsbIoGetRequest() 240 HDF_LOGE("%{public}s:%{public}d list node is invalid", __func__, __LINE__); in UsbIoGetRequest() 244 DListRemove(&reqEntry->list); in UsbIoGetRequest() [all...] |
/kernel/linux/linux-6.6/arch/um/kernel/ |
H A D | time.c | 265 list); in time_travel_first_event() 282 list_for_each_entry(tmp, &time_travel_events, list) { in __time_travel_add_event() 292 list_add_tail(&e->list, &tmp->list); in __time_travel_add_event() 299 list_add_tail(&e->list, &time_travel_events); in __time_travel_add_event() 346 list))) { in deliver_time_travel_irqs() 347 list_del(&e->list); in deliver_time_travel_irqs() 364 list_add_tail(&e->list, &time_travel_irqs); in time_travel_deliver_event() 367 * event was deleted from the original list, but in time_travel_deliver_event() 389 list_del(&e->list); in time_travel_del_event() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | base.c | 51 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_put() 74 ptp = list_first_entry_or_null(&mmu->ptp.list, typeof(*ptp), head); in nvkm_mmu_ptp_get() 93 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_get() 124 list_for_each_entry(ptc, &mmu->ptc.list, head) { in nvkm_mmu_ptc_find() 134 list_add(&ptc->head, &mmu->ptc.list); in nvkm_mmu_ptc_find() 223 list_for_each_entry(ptc, &mmu->ptc.list, head) { in nvkm_mmu_ptc_dump() 238 list_for_each_entry_safe(ptc, ptct, &mmu->ptc.list, head) { in nvkm_mmu_ptc_fini() 249 INIT_LIST_HEAD(&mmu->ptc.list); in nvkm_mmu_ptc_init() 251 INIT_LIST_HEAD(&mmu->ptp.list); in nvkm_mmu_ptc_init()
|