/third_party/pulseaudio/src/modules/ |
H A D | module-equalizer-sink.c | 1744 pa_strlist *head=NULL, *iter; in get_profiles() local 1759 head = pa_strlist_prepend(head, name); in get_profiles() 1765 iter=head; in get_profiles() 1770 pa_strlist_free(head); in get_profiles()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | l2cap_core.c | 322 static struct sk_buff *l2cap_ertm_seq_in_queue(struct sk_buff_head *head, in l2cap_ertm_seq_in_queue() argument 327 skb_queue_walk(head, skb) { in l2cap_ertm_seq_in_queue() 342 * and removed from the head in constant time, without further memory 361 seq_list->head = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_init() 383 u16 seq = seq_list->head; in l2cap_seq_list_pop() 386 seq_list->head = seq_list->list[seq & mask]; in l2cap_seq_list_pop() 389 if (seq_list->head == L2CAP_SEQ_LIST_TAIL) { in l2cap_seq_list_pop() 390 seq_list->head = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_pop() 401 if (seq_list->head == L2CAP_SEQ_LIST_CLEAR) in l2cap_seq_list_clear() 407 seq_list->head in l2cap_seq_list_clear() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 661 /* initialize head and tail */ in igc_configure_rx_ring() 1584 * + 2 desc gap to keep tail from touching head, in igc_xmit_frame_ring() 2356 struct igc_tx_buffer *head = &ring->tx_buffer_info[index]; in igc_xdp_init_tx_descriptor() local 2357 struct igc_tx_buffer *buffer = head; in igc_xdp_init_tx_descriptor() 2373 head->bytecount = xdp_get_frame_len(xdpf); in igc_xdp_init_tx_descriptor() 2374 head->type = IGC_TX_BUFFER_TYPE_XDP; in igc_xdp_init_tx_descriptor() 2375 head->gso_segs = 1; in igc_xdp_init_tx_descriptor() 2376 head->xdpf = xdpf; in igc_xdp_init_tx_descriptor() 2378 olinfo_status = head->bytecount << IGC_ADVTXD_PAYLEN_SHIFT; in igc_xdp_init_tx_descriptor() 2418 netdev_tx_sent_queue(txring_txq(ring), head in igc_xdp_init_tx_descriptor() 4530 igc_add_ring(struct igc_ring *ring, struct igc_ring_container *head) igc_add_ring() argument [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | l2cap_core.c | 302 static struct sk_buff *l2cap_ertm_seq_in_queue(struct sk_buff_head *head, in l2cap_ertm_seq_in_queue() argument 307 skb_queue_walk(head, skb) { in l2cap_ertm_seq_in_queue() 322 * and removed from the head in constant time, without further memory 341 seq_list->head = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_init() 363 u16 seq = seq_list->head; in l2cap_seq_list_pop() 366 seq_list->head = seq_list->list[seq & mask]; in l2cap_seq_list_pop() 369 if (seq_list->head == L2CAP_SEQ_LIST_TAIL) { in l2cap_seq_list_pop() 370 seq_list->head = L2CAP_SEQ_LIST_CLEAR; in l2cap_seq_list_pop() 381 if (seq_list->head == L2CAP_SEQ_LIST_CLEAR) in l2cap_seq_list_clear() 387 seq_list->head in l2cap_seq_list_clear() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_pno.c | 922 _dhd_pno_clear_all_batch_results(dhd_pub_t *dhd, struct list_head *head, bool only_last) in _dhd_pno_clear_all_batch_results() argument 930 NULL_CHECK(head, "head is NULL", err); in _dhd_pno_clear_all_batch_results() 931 NULL_CHECK(head->next, "head->next is NULL", err); in _dhd_pno_clear_all_batch_results() 936 head, list) { in _dhd_pno_clear_all_batch_results() 939 if (!list_is_last(&siter->list, head)) { in _dhd_pno_clear_all_batch_results() 3238 /* initialize the head of linked list */ in _dhd_pno_get_for_batch() 3245 dhd_pno_best_header_t *head = in _dhd_pno_get_for_batch() local 3248 pbestnetheader->next = head; in _dhd_pno_get_for_batch() 3353 dhd_pno_best_header_t *head = _dhd_pno_get_for_batch() local [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_nl.c | 3704 /* Make peer_device point to the list head (not the first entry). */ in drbd_adm_dump_peer_devices() 4975 LIST_HEAD(head); in drbd_adm_get_initial_state() 4984 /* connect list to head */ in drbd_adm_get_initial_state() 4985 list_add(&head, &state_change->list); in drbd_adm_get_initial_state() 4986 free_state_changes(&head); in drbd_adm_get_initial_state() 4998 if (!list_empty(&head)) in drbd_adm_get_initial_state() 4999 free_state_changes(&head); in drbd_adm_get_initial_state() 5004 list_add_tail(&state_change->list, &head); in drbd_adm_get_initial_state() 5009 if (!list_empty(&head)) { in drbd_adm_get_initial_state() 5011 list_entry(head in drbd_adm_get_initial_state() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 2550 qp->rq.head = 0; in __mlx4_ib_modify_qp() 2552 qp->sq.head = 0; in __mlx4_ib_modify_qp() 3250 cur = wq->head - wq->tail; in mlx4_wq_overflow() 3256 cur = wq->head - wq->tail; in mlx4_wq_overflow() 3556 qp->sq.wrid[(qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1)] = wr->wr_id; in _mlx4_ib_post_send() 3783 qp->sq.head += nreq; in _mlx4_ib_post_send() 3834 ind = qp->rq.head & (qp->rq.wqe_cnt - 1); in _mlx4_ib_post_recv() 3882 qp->rq.head += nreq; in _mlx4_ib_post_recv() 3890 *qp->db.db = cpu_to_be32(qp->rq.head & 0xffff); in _mlx4_ib_post_recv()
|
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_nl.c | 3648 /* Make peer_device point to the list head (not the first entry). */ in drbd_adm_dump_peer_devices() 4919 LIST_HEAD(head); in drbd_adm_get_initial_state() 4928 /* connect list to head */ in drbd_adm_get_initial_state() 4929 list_add(&head, &state_change->list); in drbd_adm_get_initial_state() 4930 free_state_changes(&head); in drbd_adm_get_initial_state() 4942 if (!list_empty(&head)) in drbd_adm_get_initial_state() 4943 free_state_changes(&head); in drbd_adm_get_initial_state() 4948 list_add_tail(&state_change->list, &head); in drbd_adm_get_initial_state() 4953 if (!list_empty(&head)) { in drbd_adm_get_initial_state() 4955 list_entry(head in drbd_adm_get_initial_state() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 2583 qp->rq.head = 0; in __mlx4_ib_modify_qp() 2585 qp->sq.head = 0; in __mlx4_ib_modify_qp() 3283 cur = wq->head - wq->tail; in mlx4_wq_overflow() 3289 cur = wq->head - wq->tail; in mlx4_wq_overflow() 3589 qp->sq.wrid[(qp->sq.head + nreq) & (qp->sq.wqe_cnt - 1)] = wr->wr_id; in _mlx4_ib_post_send() 3816 qp->sq.head += nreq; in _mlx4_ib_post_send() 3867 ind = qp->rq.head & (qp->rq.wqe_cnt - 1); in _mlx4_ib_post_recv() 3915 qp->rq.head += nreq; in _mlx4_ib_post_recv() 3923 *qp->db.db = cpu_to_be32(qp->rq.head & 0xffff); in _mlx4_ib_post_recv()
|
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb.c | 577 struct list_head *head = &resv->regions; in add_reservation_in_range() local 589 list_for_each_entry_safe(iter, trg, head, link) { in add_reservation_in_range() 624 rg = head->prev; in add_reservation_in_range() 833 struct list_head *head = &resv->regions; in region_del() local 840 list_for_each_entry_safe(rg, trg, head, link) { in region_del() 960 struct list_head *head = &resv->regions; in region_count() local 966 list_for_each_entry(rg, head, link) { in region_count() 1124 struct list_head *head = &resv_map->region_cache; in resv_map_release() local 1131 list_for_each_entry_safe(rg, trg, head, link) { in resv_map_release() 1775 * Move PageHWPoison flag from head pag in __update_and_free_hugetlb_folio() [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_resolve_ast.c | 566 a1_node = a1->datum.nodes->head->data; in cil_resolve_alias_to_actual() 574 a1_node = a1->datum.nodes->head->data; in cil_resolve_alias_to_actual() 1215 item = (*ordered_lists)->head; in __cil_ordered_lists_destroy() 1295 struct cil_list_item *ofirst = old->head; in __cil_ordered_lists_merge() 1299 struct cil_list_item *nfirst = new->head; in __cil_ordered_lists_merge() 2378 if (current != block->datum.nodes->head->data) { in cil_resolve_blockinherit_copy() 2459 if (block_datum->nodes && block_datum->nodes->head != block_datum->nodes->tail) { in cil_resolve_in() 3369 return __cil_evaluate_tunable_expr(l->head); in __cil_evaluate_tunable_expr_helper() 3427 result = __cil_evaluate_tunable_expr(tif->datum_expr->head); in cil_resolve_tunif()
|
/kernel/linux/linux-5.10/drivers/crypto/ |
H A D | talitos.c | 277 int head; in talitos_submit() local 288 head = priv->chan[ch].head; in talitos_submit() 289 request = &priv->chan[ch].fifo[head]; in talitos_submit() 305 /* increment fifo head */ in talitos_submit() 306 priv->chan[ch].head = (priv->chan[ch].head + 1) & (priv->fifo_len - 1); in talitos_submit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 135 * This structure lives at skb->head and must be allocated by callers. 1590 dui = (struct deferred_unmap_info *)skb->head; in deferred_unmap_destructor() 1609 dui = (struct deferred_unmap_info *)skb->head; in setup_deferred_unmapping() 1717 map_skb(adap->pdev, skb, (dma_addr_t *)skb->head)) { in ofld_xmit() 1732 write_ofld_wr(adap, skb, q, pidx, gen, ndesc, (dma_addr_t *)skb->head); in ofld_xmit() 1771 map_skb(adap->pdev, skb, (dma_addr_t *)skb->head)) in restart_offloadq() 1787 (dma_addr_t *)skb->head); in restart_offloadq()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 954 struct hlist_head *head; in bnxt_grxclsrlall() local 957 head = &bp->ntp_fltr_hash_tbl[i]; in bnxt_grxclsrlall() 959 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrlall() 984 struct hlist_head *head; in bnxt_grxclsrule() local 986 head = &bp->ntp_fltr_hash_tbl[i]; in bnxt_grxclsrule() 988 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrule()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sh-sci.c | 1412 int head, tail; in sci_dma_tx_work_fn() local 1422 head = xmit->head; in sci_dma_tx_work_fn() 1426 CIRC_CNT(head, tail, UART_XMIT_SIZE), in sci_dma_tx_work_fn() 1427 CIRC_CNT_TO_END(head, tail, UART_XMIT_SIZE)); in sci_dma_tx_work_fn() 1457 __func__, xmit->buf, tail, head, s->cookie_tx); in sci_dma_tx_work_fn() 3346 * If we've come here via earlyprintk initialization, head off to in sci_probe()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | u132-hcd.c | 337 struct list_head *head = &endp->endp_ring; in u132_endp_delete() local 340 if (list_empty(head)) { in u132_endp_delete() 342 list_del(head); in u132_endp_delete() 344 struct u132_endp *next_endp = list_entry(head->next, in u132_endp_delete() 347 list_del(head); in u132_endp_delete() 350 list_del(head); in u132_endp_delete()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | annotate.c | 1255 static void annotation_line__add(struct annotation_line *al, struct list_head *head) in annotation_line__add() argument 1257 list_add_tail(&al->node, head); in annotation_line__add() 1261 annotation_line__next(struct annotation_line *pos, struct list_head *head) in annotation_line__next() argument 1263 list_for_each_entry_continue(pos, head, node) in annotation_line__next() 2612 size_t disasm__fprintf(struct list_head *head, FILE *fp) in disasm__fprintf() argument 2617 list_for_each_entry(pos, head, al.node) in disasm__fprintf()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | data.c | 807 struct list_head *head = &io->bio_list; in add_ipu_page() local 811 list_for_each_entry(be, head, list) { in add_ipu_page() 856 struct list_head *head = &io->bio_list; in f2fs_submit_merged_ipu_write() local 859 if (list_empty(head)) in f2fs_submit_merged_ipu_write() 863 list_for_each_entry(be, head, list) { in f2fs_submit_merged_ipu_write() 880 list_for_each_entry(be, head, list) { in f2fs_submit_merged_ipu_write()
|
/kernel/linux/linux-5.10/mm/ |
H A D | shmem.c | 880 * head, and then succeeded to trylock on tail. 2548 struct page *head = compound_head(page); in shmem_write_end() local 2553 if (head + i == page) in shmem_write_end() 2555 clear_highpage(head + i); in shmem_write_end() 2556 flush_dcache_page(head + i); in shmem_write_end() 2564 SetPageUptodate(head); in shmem_write_end() 2812 WARN_ON_ONCE(!list_empty(&shmem_falloc_waitq.head)); in shmem_fallocate()
|
/kernel/linux/linux-5.10/net/ceph/ |
H A D | messenger.c | 626 static void ceph_msg_remove_list(struct list_head *head) in ceph_msg_remove_list() argument 628 while (!list_empty(head)) { in ceph_msg_remove_list() 629 struct ceph_msg *msg = list_first_entry(head, struct ceph_msg, in ceph_msg_remove_list() 1013 BUG_ON(list_empty(&pagelist->head)); in ceph_msg_data_pagelist_cursor_init() 1014 page = list_first_entry(&pagelist->head, struct page, lru); in ceph_msg_data_pagelist_cursor_init() 1074 BUG_ON(list_is_last(&cursor->page->lru, &pagelist->head)); in ceph_msg_data_pagelist_advance()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 1001 struct hlist_head *head; in bnxt_grxclsrlall() local 1004 head = &bp->ntp_fltr_hash_tbl[i]; in bnxt_grxclsrlall() 1006 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrlall() 1031 struct hlist_head *head; in bnxt_grxclsrule() local 1033 head = &bp->ntp_fltr_hash_tbl[i]; in bnxt_grxclsrule() 1035 hlist_for_each_entry_rcu(fltr, head, hash) { in bnxt_grxclsrule()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | data.c | 846 struct list_head *head = &io->bio_list; in add_ipu_page() local 850 list_for_each_entry(be, head, list) { in add_ipu_page() 895 struct list_head *head = &io->bio_list; in f2fs_submit_merged_ipu_write() local 898 if (list_empty(head)) in f2fs_submit_merged_ipu_write() 902 list_for_each_entry(be, head, list) { in f2fs_submit_merged_ipu_write() 919 list_for_each_entry(be, head, list) { in f2fs_submit_merged_ipu_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | netdevice.h | 1362 * appropriate rx headroom value allows avoiding skb head copy on 2719 struct sk_buff *(*gro_receive)(struct list_head *head, 3091 void dev_close_many(struct list_head *head, bool unlink); 3124 void unregister_netdevice_queue(struct net_device *dev, struct list_head *head); 3125 void unregister_netdevice_many(struct list_head *head); 3900 void netif_receive_skb_list_internal(struct list_head *head); 3901 void netif_receive_skb_list(struct list_head *head);
|
/kernel/linux/linux-6.6/drivers/crypto/ |
H A D | talitos.c | 278 int head; in talitos_submit() local 289 head = priv->chan[ch].head; in talitos_submit() 290 request = &priv->chan[ch].fifo[head]; in talitos_submit() 306 /* increment fifo head */ in talitos_submit() 307 priv->chan[ch].head = (priv->chan[ch].head + 1) & (priv->fifo_len - 1); in talitos_submit()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 137 * This structure lives at skb->head and must be allocated by callers. 1586 dui = (struct deferred_unmap_info *)skb->head; in deferred_unmap_destructor() 1606 dui = (struct deferred_unmap_info *)skb->head; in setup_deferred_unmapping() 1714 map_skb(adap->pdev, skb, (dma_addr_t *)skb->head)) { in ofld_xmit() 1729 write_ofld_wr(adap, skb, q, pidx, gen, ndesc, (dma_addr_t *)skb->head); in ofld_xmit() 1769 map_skb(adap->pdev, skb, (dma_addr_t *)skb->head)) in restart_offloadq() 1785 (dma_addr_t *)skb->head); in restart_offloadq()
|