Home
last modified time | relevance | path

Searched refs:buffer_info (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_dump.c136 struct igc_tx_buffer *buffer_info; in igc_rings_dump() local
139 buffer_info = &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; in igc_rings_dump()
143 (u64)dma_unmap_addr(buffer_info, dma), in igc_rings_dump()
144 dma_unmap_len(buffer_info, len), in igc_rings_dump()
145 buffer_info->next_to_watch, in igc_rings_dump()
146 (u64)buffer_info->time_stamp); in igc_rings_dump()
176 struct igc_tx_buffer *buffer_info; in igc_rings_dump() local
179 buffer_info = &tx_ring->tx_buffer_info[i]; in igc_rings_dump()
194 (u64)dma_unmap_addr(buffer_info, dma), in igc_rings_dump()
195 dma_unmap_len(buffer_info, len), in igc_rings_dump()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c140 struct igbvf_buffer *buffer_info; in igbvf_alloc_rx_buffers() local
146 buffer_info = &rx_ring->buffer_info[i]; in igbvf_alloc_rx_buffers()
156 if (adapter->rx_ps_hdr_size && !buffer_info->page_dma) { in igbvf_alloc_rx_buffers()
157 if (!buffer_info->page) { in igbvf_alloc_rx_buffers()
158 buffer_info->page = alloc_page(GFP_ATOMIC); in igbvf_alloc_rx_buffers()
159 if (!buffer_info->page) { in igbvf_alloc_rx_buffers()
163 buffer_info->page_offset = 0; in igbvf_alloc_rx_buffers()
165 buffer_info->page_offset ^= PAGE_SIZE / 2; in igbvf_alloc_rx_buffers()
167 buffer_info->page_dma = in igbvf_alloc_rx_buffers()
168 dma_map_page(&pdev->dev, buffer_info->page, in igbvf_alloc_rx_buffers()
[all …]
Digbvf.h139 struct igbvf_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c663 txdr->buffer_info = vzalloc(size); in ixgb_setup_tx_resources()
664 if (!txdr->buffer_info) in ixgb_setup_tx_resources()
675 vfree(txdr->buffer_info); in ixgb_setup_tx_resources()
746 rxdr->buffer_info = vzalloc(size); in ixgb_setup_rx_resources()
747 if (!rxdr->buffer_info) in ixgb_setup_rx_resources()
759 vfree(rxdr->buffer_info); in ixgb_setup_rx_resources()
871 vfree(adapter->tx_ring.buffer_info); in ixgb_free_tx_resources()
872 adapter->tx_ring.buffer_info = NULL; in ixgb_free_tx_resources()
882 struct ixgb_buffer *buffer_info) in ixgb_unmap_and_free_tx_resource() argument
884 if (buffer_info->dma) { in ixgb_unmap_and_free_tx_resource()
[all …]
Dixgb.h97 struct ixgb_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c860 struct atl1c_buffer *buffer_info) in atl1c_clean_buffer() argument
863 if (buffer_info->flags & ATL1C_BUFFER_FREE) in atl1c_clean_buffer()
865 if (buffer_info->dma) { in atl1c_clean_buffer()
866 if (buffer_info->flags & ATL1C_PCIMAP_FROMDEVICE) in atl1c_clean_buffer()
871 if (buffer_info->flags & ATL1C_PCIMAP_SINGLE) in atl1c_clean_buffer()
872 dma_unmap_single(&pdev->dev, buffer_info->dma, in atl1c_clean_buffer()
873 buffer_info->length, pci_driection); in atl1c_clean_buffer()
874 else if (buffer_info->flags & ATL1C_PCIMAP_PAGE) in atl1c_clean_buffer()
875 dma_unmap_page(&pdev->dev, buffer_info->dma, in atl1c_clean_buffer()
876 buffer_info->length, pci_driection); in atl1c_clean_buffer()
[all …]
Datl1c.h481 struct atl1c_buffer *buffer_info; member
493 struct atl1c_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/intel/e1000/
De1000_main.c1505 txdr->buffer_info = vzalloc(size); in e1000_setup_tx_resources()
1506 if (!txdr->buffer_info) in e1000_setup_tx_resources()
1518 vfree(txdr->buffer_info); in e1000_setup_tx_resources()
1546 vfree(txdr->buffer_info); in e1000_setup_tx_resources()
1695 rxdr->buffer_info = vzalloc(size); in e1000_setup_rx_resources()
1696 if (!rxdr->buffer_info) in e1000_setup_rx_resources()
1710 vfree(rxdr->buffer_info); in e1000_setup_rx_resources()
1931 vfree(tx_ring->buffer_info); in e1000_free_tx_resources()
1932 tx_ring->buffer_info = NULL; in e1000_free_tx_resources()
1956 struct e1000_tx_buffer *buffer_info, in e1000_unmap_and_free_tx_resource() argument
[all …]
De1000_ethtool.c934 if (txdr->desc && txdr->buffer_info) { in e1000_free_desc_rings()
936 if (txdr->buffer_info[i].dma) in e1000_free_desc_rings()
938 txdr->buffer_info[i].dma, in e1000_free_desc_rings()
939 txdr->buffer_info[i].length, in e1000_free_desc_rings()
941 dev_kfree_skb(txdr->buffer_info[i].skb); in e1000_free_desc_rings()
945 if (rxdr->desc && rxdr->buffer_info) { in e1000_free_desc_rings()
947 if (rxdr->buffer_info[i].dma) in e1000_free_desc_rings()
949 rxdr->buffer_info[i].dma, in e1000_free_desc_rings()
952 kfree(rxdr->buffer_info[i].rxbuf.data); in e1000_free_desc_rings()
967 kfree(txdr->buffer_info); in e1000_free_desc_rings()
[all …]
De1000.h157 struct e1000_tx_buffer *buffer_info; member
178 struct e1000_rx_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c863 struct pch_gbe_adapter *adapter, struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_tx_resource() argument
865 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_tx_resource()
866 dma_unmap_single(&adapter->pdev->dev, buffer_info->dma, in pch_gbe_unmap_and_free_tx_resource()
867 buffer_info->length, DMA_TO_DEVICE); in pch_gbe_unmap_and_free_tx_resource()
868 buffer_info->mapped = false; in pch_gbe_unmap_and_free_tx_resource()
870 if (buffer_info->skb) { in pch_gbe_unmap_and_free_tx_resource()
871 dev_kfree_skb_any(buffer_info->skb); in pch_gbe_unmap_and_free_tx_resource()
872 buffer_info->skb = NULL; in pch_gbe_unmap_and_free_tx_resource()
883 struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_rx_resource() argument
885 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_rx_resource()
[all …]
Dpch_gbe.h449 struct pch_gbe_buffer *buffer_info; member
472 struct pch_gbe_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dnetdev.c204 struct e1000_buffer *buffer_info; in e1000e_dump() local
242 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in e1000e_dump()
245 (unsigned long long)buffer_info->dma, in e1000e_dump()
246 buffer_info->length, in e1000e_dump()
247 buffer_info->next_to_watch, in e1000e_dump()
248 (unsigned long long)buffer_info->time_stamp); in e1000e_dump()
289 buffer_info = &tx_ring->buffer_info[i]; in e1000e_dump()
305 (unsigned long long)buffer_info->dma, in e1000e_dump()
306 buffer_info->length, buffer_info->next_to_watch, in e1000e_dump()
307 (unsigned long long)buffer_info->time_stamp, in e1000e_dump()
[all …]
Dethtool.c1129 struct e1000_buffer *buffer_info; in e1000_free_desc_rings() local
1132 if (tx_ring->desc && tx_ring->buffer_info) { in e1000_free_desc_rings()
1134 buffer_info = &tx_ring->buffer_info[i]; in e1000_free_desc_rings()
1136 if (buffer_info->dma) in e1000_free_desc_rings()
1138 buffer_info->dma, in e1000_free_desc_rings()
1139 buffer_info->length, in e1000_free_desc_rings()
1141 dev_kfree_skb(buffer_info->skb); in e1000_free_desc_rings()
1145 if (rx_ring->desc && rx_ring->buffer_info) { in e1000_free_desc_rings()
1147 buffer_info = &rx_ring->buffer_info[i]; in e1000_free_desc_rings()
1149 if (buffer_info->dma) in e1000_free_desc_rings()
[all …]
/linux-6.1.9/drivers/net/ethernet/atheros/atlx/
Datl1.c1030 tpd_ring->buffer_info = kzalloc(size, GFP_KERNEL); in atl1_setup_ring_resources()
1031 if (unlikely(!tpd_ring->buffer_info)) { in atl1_setup_ring_resources()
1037 rfd_ring->buffer_info = in atl1_setup_ring_resources()
1038 (tpd_ring->buffer_info + tpd_ring->count); in atl1_setup_ring_resources()
1102 kfree(tpd_ring->buffer_info); in atl1_setup_ring_resources()
1130 struct atl1_buffer *buffer_info; in atl1_clean_rx_ring() local
1137 buffer_info = &rfd_ring->buffer_info[i]; in atl1_clean_rx_ring()
1138 if (buffer_info->dma) { in atl1_clean_rx_ring()
1139 dma_unmap_page(&pdev->dev, buffer_info->dma, in atl1_clean_rx_ring()
1140 buffer_info->length, DMA_FROM_DEVICE); in atl1_clean_rx_ring()
[all …]
Datl1.h609 struct atl1_buffer *buffer_info; member
620 struct atl1_buffer *buffer_info; member
/linux-6.1.9/drivers/net/ethernet/microchip/
Dlan743x_main.c1733 struct lan743x_tx_buffer_info *buffer_info = NULL; in lan743x_tx_release_desc() local
1739 buffer_info = &tx->buffer_info[descriptor_index]; in lan743x_tx_release_desc()
1740 if (!(buffer_info->flags & TX_BUFFER_INFO_FLAG_ACTIVE)) in lan743x_tx_release_desc()
1751 if (buffer_info->dma_ptr) { in lan743x_tx_release_desc()
1752 if (buffer_info->flags & in lan743x_tx_release_desc()
1755 buffer_info->dma_ptr, in lan743x_tx_release_desc()
1756 buffer_info->buffer_length, in lan743x_tx_release_desc()
1760 buffer_info->dma_ptr, in lan743x_tx_release_desc()
1761 buffer_info->buffer_length, in lan743x_tx_release_desc()
1764 buffer_info->dma_ptr = 0; in lan743x_tx_release_desc()
[all …]
/linux-6.1.9/fs/reiserfs/
Dibalance.c30 struct buffer_info *dest_bi, in internal_define_dest_src_infos()
31 struct buffer_info *src_bi, in internal_define_dest_src_infos()
34 memset(dest_bi, 0, sizeof(struct buffer_info)); in internal_define_dest_src_infos()
35 memset(src_bi, 0, sizeof(struct buffer_info)); in internal_define_dest_src_infos()
126 static void internal_insert_childs(struct buffer_info *cur_bi, in internal_insert_childs()
205 static void internal_delete_pointers_items(struct buffer_info *cur_bi, in internal_delete_pointers_items()
277 static void internal_delete_childs(struct buffer_info *cur_bi, int from, int n) in internal_delete_childs()
298 static void internal_copy_pointers_items(struct buffer_info *dest_bi, in internal_copy_pointers_items()
394 static void internal_move_pointers_items(struct buffer_info *dest_bi, in internal_move_pointers_items()
395 struct buffer_info *src_bi, in internal_move_pointers_items()
[all …]
Dlbalance.c15 static void leaf_copy_dir_entries(struct buffer_info *dest_bi, in leaf_copy_dir_entries()
134 static int leaf_copy_boundary_item(struct buffer_info *dest_bi, in leaf_copy_boundary_item()
310 static void leaf_copy_items_entirely(struct buffer_info *dest_bi, in leaf_copy_items_entirely()
414 static void leaf_item_bottle(struct buffer_info *dest_bi, in leaf_item_bottle()
521 static int leaf_copy_items(struct buffer_info *dest_bi, struct buffer_head *src, in leaf_copy_items()
630 struct buffer_info *dest_bi, in leaf_define_dest_src_infos()
631 struct buffer_info *src_bi, in leaf_define_dest_src_infos()
635 memset(dest_bi, 0, sizeof(struct buffer_info)); in leaf_define_dest_src_infos()
636 memset(src_bi, 0, sizeof(struct buffer_info)); in leaf_define_dest_src_infos()
719 struct buffer_info dest_bi, src_bi; in leaf_move_items()
[all …]
Ddo_balan.c20 struct buffer_info *bi) in buffer_info_init_left()
29 struct buffer_info *bi) in buffer_info_init_right()
38 struct buffer_info *bi) in buffer_info_init_tbS0()
47 struct buffer_info *bi, in buffer_info_init_bh()
81 struct buffer_info bi; in balance_leaf_when_delete_del()
115 struct buffer_info bi; in balance_leaf_when_delete_cut()
242 struct buffer_info bi; in balance_leaf_when_delete()
291 struct buffer_info bi; in balance_leaf_insert_left()
356 struct buffer_info bi; in balance_leaf_paste_left_shift_dirent()
419 struct buffer_info bi; in balance_leaf_paste_left_shift()
[all …]
Dreiserfs.h2589 struct buffer_info { struct
2601 static inline struct super_block *sb_from_bi(struct buffer_info *bi) in sb_from_bi() argument
3203 void print_bi(struct buffer_info *bi, char *mes);
3223 void leaf_delete_items(struct buffer_info *cur_bi, int last_first, int first,
3225 void leaf_insert_into_buf(struct buffer_info *bi, int before,
3229 void leaf_paste_in_buffer(struct buffer_info *bi, int pasted_item_num,
3232 void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num,
3234 void leaf_paste_entries(struct buffer_info *bi, int item_num, int before,
3256 void make_empty_node(struct buffer_info *);
/linux-6.1.9/sound/soc/mediatek/common/
Dmtk-btcvsd.c107 struct mtk_btcvsd_snd_hw_info buffer_info; member
334 num_valid_addr = bt->tx->buffer_info.num_valid_addr; in btcvsd_tx_clean_buffer()
343 bt->tx->buffer_info.bt_sram_addr[i]); in btcvsd_tx_clean_buffer()
345 dst = (void *)bt->tx->buffer_info.bt_sram_addr[i]; in btcvsd_tx_clean_buffer()
349 bt->tx->buffer_info.packet_length, in btcvsd_tx_clean_buffer()
350 bt->tx->buffer_info.packet_num); in btcvsd_tx_clean_buffer()
454 bt->tx->buffer_info.packet_length = packet_length; in mtk_btcvsd_write_to_bt()
455 bt->tx->buffer_info.packet_num = packet_num; in mtk_btcvsd_write_to_bt()
456 for (i = 0; i < bt->tx->buffer_info.num_valid_addr; i++) { in mtk_btcvsd_write_to_bt()
457 if (bt->tx->buffer_info.bt_sram_addr[i] == ap_addr_tx) { in mtk_btcvsd_write_to_bt()
[all …]
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dhfi_cmds.h120 u32 buffer_info[1]; member
230 u32 buffer_info[1]; member
Dhfi_msgs.h250 u32 buffer_info[1]; member
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c391 struct igb_tx_buffer *buffer_info; in igb_dump() local
393 buffer_info = &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; in igb_dump()
396 (u64)dma_unmap_addr(buffer_info, dma), in igb_dump()
397 dma_unmap_len(buffer_info, len), in igb_dump()
398 buffer_info->next_to_watch, in igb_dump()
399 (u64)buffer_info->time_stamp); in igb_dump()
428 struct igb_tx_buffer *buffer_info; in igb_dump() local
430 buffer_info = &tx_ring->tx_buffer_info[i]; in igb_dump()
445 (u64)dma_unmap_addr(buffer_info, dma), in igb_dump()
446 dma_unmap_len(buffer_info, len), in igb_dump()
[all …]

12