Searched refs:page_info (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_utils.c84 struct gve_rx_slot_page_info *page_info, u16 len)
86 void *va = page_info->page_address + page_info->page_offset +
87 page_info->pad;
92 void gve_dec_pagecnt_bias(struct gve_rx_slot_page_info *page_info) argument
94 page_info->pagecnt_bias--;
95 if (page_info->pagecnt_bias == 0) {
96 int pagecount = page_count(page_info->page);
101 page_info->pagecnt_bias = INT_MAX - pagecount;
104 page_ref_add(page_info
83 gve_rx_copy(struct net_device *dev, struct napi_struct *napi, struct gve_rx_slot_page_info *page_info, u16 len) argument
[all...]
H A Dgve_rx.c16 struct gve_rx_slot_page_info *page_info,
22 page_ref_sub(page_info->page, page_info->pagecnt_bias - 1);
23 gve_free_page(dev, page_info->page, dma, DMA_FROM_DEVICE);
35 gve_rx_free_buffer(&priv->pdev->dev, &rx->data.page_info[i],
39 page_ref_sub(rx->data.page_info[i].page,
40 rx->data.page_info[i].pagecnt_bias - 1);
50 kvfree(rx->data.page_info);
51 rx->data.page_info = NULL;
94 static void gve_setup_rx_buffer(struct gve_rx_slot_page_info *page_info, argument
15 gve_rx_free_buffer(struct device *dev, struct gve_rx_slot_page_info *page_info, union gve_rx_data_slot *data_slot) argument
106 gve_rx_alloc_buffer(struct gve_priv *priv, struct device *dev, struct gve_rx_slot_page_info *page_info, union gve_rx_data_slot *data_slot, struct gve_rx_ring *rx) argument
403 gve_rx_add_frags(struct napi_struct *napi, struct gve_rx_slot_page_info *page_info, unsigned int truesize, u16 len, struct gve_rx_ctx *ctx) argument
446 gve_rx_flip_buff(struct gve_rx_slot_page_info *page_info, __be64 *slot_addr) argument
455 gve_rx_can_recycle_buffer(struct gve_rx_slot_page_info *page_info) argument
471 gve_rx_raw_addressing(struct device *dev, struct net_device *netdev, struct gve_rx_slot_page_info *page_info, u16 len, struct napi_struct *napi, union gve_rx_data_slot *data_slot, u16 packet_buffer_size, struct gve_rx_ctx *ctx) argument
491 gve_rx_copy_to_pool(struct gve_rx_ring *rx, struct gve_rx_slot_page_info *page_info, u16 len, struct napi_struct *napi) argument
577 gve_rx_qpl(struct device *dev, struct net_device *netdev, struct gve_rx_ring *rx, struct gve_rx_slot_page_info *page_info, u16 len, struct napi_struct *napi, union gve_rx_data_slot *data_slot) argument
604 gve_rx_skb(struct gve_priv *priv, struct gve_rx_ring *rx, struct gve_rx_slot_page_info *page_info, struct napi_struct *napi, u16 len, union gve_rx_data_slot *data_slot, bool is_only_frag) argument
757 struct gve_rx_slot_page_info *page_info; local
909 struct gve_rx_slot_page_info *page_info; local
[all...]
H A Dgve_utils.h26 struct gve_rx_slot_page_info *page_info, u16 len);
29 void gve_dec_pagecnt_bias(struct gve_rx_slot_page_info *page_info);
H A Dgve_rx_dqo.c21 return page_count(bs->page_info.page) - bs->page_info.pagecnt_bias;
28 page_ref_sub(bs->page_info.page, bs->page_info.pagecnt_bias - 1);
30 gve_free_page(&priv->pdev->dev, bs->page_info.page, bs->addr,
32 bs->page_info.page = NULL;
174 &buf_state->page_info.page,
186 buf_state->page_info.page = rx->dqo.qpl->pages[idx];
190 buf_state->page_info.page_offset = 0;
191 buf_state->page_info
[all...]
H A Dgve.h116 struct gve_rx_slot_page_info *page_info; /* page info of the buffers */ member in struct:gve_rx_data_queue
166 struct gve_rx_slot_page_info page_info; member in struct:gve_rx_buf_state_dqo
168 /* The DMA address corresponding to `page_info`. */
/linux-master/drivers/md/dm-vdo/
H A Dblock-map.h60 struct page_info *infos;
64 struct page_info *last_found;
133 struct page_info { struct
154 * associated with this page_info. A reference (lock) is held on that block to prevent it
179 struct page_info *info;
H A Dblock-map.c126 static inline bool is_dirty(const struct page_info *info)
131 static inline bool is_present(const struct page_info *info)
136 static inline bool is_in_flight(const struct page_info *info)
141 static inline bool is_incoming(const struct page_info *info)
146 static inline bool is_outgoing(const struct page_info *info)
151 static inline bool is_valid(const struct page_info *info)
156 static char *get_page_buffer(struct page_info *info)
182 struct page_info *info;
224 result = vdo_allocate(cache->page_count, struct page_info, "page infos",
303 static void update_counter(struct page_info *inf
521 complete_waiter_with_page(struct vdo_waiter *waiter, void *page_info) argument
[all...]
/linux-master/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_rx.c398 struct dpmaif_bat_page *page_info; local
402 page_info = rxq->bat_frag->bat_skb;
403 page_info += t7xx_normal_pit_bid(pkt_info);
404 dma_unmap_page(dev, page_info->data_bus_addr, page_info->data_len, DMA_FROM_DEVICE);
406 if (!page_info->page)
411 data_base_addr = page_info->data_bus_addr;
413 data_offset += page_info->offset;
415 skb_add_rx_frag(skb, skb_shinfo(skb)->nr_frags, page_info->page,
416 data_offset, data_len, page_info
[all...]
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c2307 struct be_rx_page_info *page_info; local
2311 page_info = get_rx_page_info(rxo);
2312 put_page(page_info->page);
2313 memset(page_info, 0, sizeof(*page_info));
2324 struct be_rx_page_info *page_info; local
2329 page_info = get_rx_page_info(rxo);
2330 start = page_address(page_info->page) + page_info->page_offset;
2340 put_page(page_info
2434 struct be_rx_page_info *page_info; local
2593 struct be_rx_page_info *page_info = NULL, *prev_page_info = NULL; local
2816 struct be_rx_page_info *page_info; local
[all...]

Completed in 235 milliseconds