Lines Matching refs:page_info
21 return page_count(bs->page_info.page) - bs->page_info.pagecnt_bias; in gve_buf_ref_cnt()
27 page_ref_sub(bs->page_info.page, bs->page_info.pagecnt_bias - 1); in gve_free_page_dqo()
28 gve_free_page(&priv->pdev->dev, bs->page_info.page, bs->addr, in gve_free_page_dqo()
30 bs->page_info.page = NULL; in gve_free_page_dqo()
159 err = gve_alloc_page(priv, &priv->pdev->dev, &buf_state->page_info.page, in gve_alloc_page_dqo()
164 buf_state->page_info.page_offset = 0; in gve_alloc_page_dqo()
165 buf_state->page_info.page_address = in gve_alloc_page_dqo()
166 page_address(buf_state->page_info.page); in gve_alloc_page_dqo()
170 page_ref_add(buf_state->page_info.page, INT_MAX - 1); in gve_alloc_page_dqo()
171 buf_state->page_info.pagecnt_bias = INT_MAX; in gve_alloc_page_dqo()
199 if (bs->page_info.page) in gve_rx_free_ring_dqo()
366 buf_state->page_info.page_offset); in gve_rx_post_buffers_dqo()
398 buf_state->page_info.page_offset; in gve_try_recycle_buf()
402 buf_state->page_info.page_offset += data_buffer_size; in gve_try_recycle_buf()
403 buf_state->page_info.page_offset &= (PAGE_SIZE - 1); in gve_try_recycle_buf()
408 if (buf_state->page_info.page_offset == in gve_try_recycle_buf()
506 buf_state->page_info.page, in gve_rx_append_frags()
507 buf_state->page_info.page_offset, in gve_rx_append_frags()
509 gve_dec_pagecnt_bias(&buf_state->page_info); in gve_rx_append_frags()
551 prefetch(buf_state->page_info.page); in gve_rx_dqo()
555 buf_state->page_info.page_offset, in gve_rx_dqo()
571 &buf_state->page_info, buf_len, 0, NULL); in gve_rx_dqo()
591 skb_add_rx_frag(rx->ctx.skb_head, 0, buf_state->page_info.page, in gve_rx_dqo()
592 buf_state->page_info.page_offset, buf_len, in gve_rx_dqo()
594 gve_dec_pagecnt_bias(&buf_state->page_info); in gve_rx_dqo()