Searched refs:head_page (Results 1 – 8 of 8) sorted by relevance
/linux/kernel/trace/ |
H A D | ring_buffer.c | 485 struct buffer_page *head_page; /* read from head */ member 563 struct buffer_page *head_page; member 1262 head = cpu_buffer->head_page; in rb_head_page_activate() 1364 if (RB_WARN_ON(cpu_buffer, !cpu_buffer->head_page)) in rb_set_head_page() 1372 page = head = cpu_buffer->head_page; in rb_set_head_page() 1382 cpu_buffer->head_page = page; in rb_set_head_page() 1753 struct buffer_page *head_page; in rb_meta_validate_events() local 1772 head_page = cpu_buffer->head_page; in rb_meta_validate_events() 1775 if (head_page == cpu_buffer->reader_page && in rb_meta_validate_events() 1776 head_page == cpu_buffer->commit_page) in rb_meta_validate_events() [all …]
|
H A D | trace.h | 820 extern void *head_page(struct trace_array_cpu *data);
|
/linux/drivers/infiniband/core/ |
H A D | umem_odp.c | 498 struct page *head_page = compound_head(page); in ib_umem_odp_unmap_dma_pages() local 508 set_page_dirty(head_page); in ib_umem_odp_unmap_dma_pages()
|
/linux/Documentation/trace/ |
H A D | ring-buffer-design.rst | 43 head_page 113 The head_page, tail_page and commit_page are all initialized to point 123 it will swap its page with the head_page. The old reader page will 124 become part of the ring buffer and the head_page will be removed. 421 of the head_page pointer with the swapping of pages with the reader.
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 1988 struct mlx5e_frag_page *head_page = frag_page; in mlx5e_skb_from_cqe_mpwrq_nonlinear() local 2063 for (pfp = head_page; pfp < frag_page; pfp++) in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2089 xdp_update_skb_shared_info(skb, frag_page - head_page, in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2093 pagep = head_page; in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2115 addr = page_pool_get_dma_addr(head_page->page); in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2116 mlx5e_copy_skb_header(rq, skb, head_page->page, addr, in mlx5e_skb_from_cqe_mpwrq_nonlinear()
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 1804 struct page *page, *head_page; in sg_fd_to_skb() local 1861 head_page = virt_to_head_page(sg_vaddr); in sg_fd_to_skb() 1866 (page_address(page) - page_address(head_page)); in sg_fd_to_skb() 1876 skb_add_rx_frag(skb, i - 1, head_page, frag_off, in sg_fd_to_skb()
|
/linux/mm/ |
H A D | page_alloc.c | 932 static int free_tail_page_prepare(struct page *head_page, struct page *page) in free_tail_page_prepare() argument 934 struct folio *folio = (struct folio *)head_page; in free_tail_page_prepare() 947 switch (page - head_page) { in free_tail_page_prepare() 985 if (unlikely(compound_head(page) != head_page)) { in free_tail_page_prepare()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 208 struct page *page, *head_page; in dpaa2_eth_build_frag_skb() local 251 head_page = virt_to_head_page(sg_vaddr); in dpaa2_eth_build_frag_skb() 260 (page_address(page) - page_address(head_page)); in dpaa2_eth_build_frag_skb() 262 skb_add_rx_frag(skb, i - 1, head_page, page_offset, in dpaa2_eth_build_frag_skb()
|