/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_dump.c | 136 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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 140 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 …]
|
D | igbvf.h | 139 struct igbvf_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 670 txdr->buffer_info = vzalloc(size); in ixgb_setup_tx_resources() 671 if (!txdr->buffer_info) in ixgb_setup_tx_resources() 682 vfree(txdr->buffer_info); in ixgb_setup_tx_resources() 753 rxdr->buffer_info = vzalloc(size); in ixgb_setup_rx_resources() 754 if (!rxdr->buffer_info) in ixgb_setup_rx_resources() 766 vfree(rxdr->buffer_info); in ixgb_setup_rx_resources() 878 vfree(adapter->tx_ring.buffer_info); in ixgb_free_tx_resources() 879 adapter->tx_ring.buffer_info = NULL; in ixgb_free_tx_resources() 889 struct ixgb_buffer *buffer_info) in ixgb_unmap_and_free_tx_resource() argument 891 if (buffer_info->dma) { in ixgb_unmap_and_free_tx_resource() [all …]
|
D | ixgb.h | 97 struct ixgb_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 822 struct atl1c_buffer *buffer_info) in atl1c_clean_buffer() argument 825 if (buffer_info->flags & ATL1C_BUFFER_FREE) in atl1c_clean_buffer() 827 if (buffer_info->dma) { in atl1c_clean_buffer() 828 if (buffer_info->flags & ATL1C_PCIMAP_FROMDEVICE) in atl1c_clean_buffer() 833 if (buffer_info->flags & ATL1C_PCIMAP_SINGLE) in atl1c_clean_buffer() 834 dma_unmap_single(&pdev->dev, buffer_info->dma, in atl1c_clean_buffer() 835 buffer_info->length, pci_driection); in atl1c_clean_buffer() 836 else if (buffer_info->flags & ATL1C_PCIMAP_PAGE) in atl1c_clean_buffer() 837 dma_unmap_page(&pdev->dev, buffer_info->dma, in atl1c_clean_buffer() 838 buffer_info->length, pci_driection); in atl1c_clean_buffer() [all …]
|
D | atl1c.h | 480 struct atl1c_buffer *buffer_info; member 491 struct atl1c_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 880 struct pch_gbe_adapter *adapter, struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_tx_resource() argument 882 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_tx_resource() 883 dma_unmap_single(&adapter->pdev->dev, buffer_info->dma, in pch_gbe_unmap_and_free_tx_resource() 884 buffer_info->length, DMA_TO_DEVICE); in pch_gbe_unmap_and_free_tx_resource() 885 buffer_info->mapped = false; in pch_gbe_unmap_and_free_tx_resource() 887 if (buffer_info->skb) { in pch_gbe_unmap_and_free_tx_resource() 888 dev_kfree_skb_any(buffer_info->skb); in pch_gbe_unmap_and_free_tx_resource() 889 buffer_info->skb = NULL; in pch_gbe_unmap_and_free_tx_resource() 900 struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_rx_resource() argument 902 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_rx_resource() [all …]
|
D | pch_gbe.h | 449 struct pch_gbe_buffer *buffer_info; member 472 struct pch_gbe_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 1505 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 …]
|
D | e1000_ethtool.c | 930 if (txdr->desc && txdr->buffer_info) { in e1000_free_desc_rings() 932 if (txdr->buffer_info[i].dma) in e1000_free_desc_rings() 934 txdr->buffer_info[i].dma, in e1000_free_desc_rings() 935 txdr->buffer_info[i].length, in e1000_free_desc_rings() 937 dev_kfree_skb(txdr->buffer_info[i].skb); in e1000_free_desc_rings() 941 if (rxdr->desc && rxdr->buffer_info) { in e1000_free_desc_rings() 943 if (rxdr->buffer_info[i].dma) in e1000_free_desc_rings() 945 rxdr->buffer_info[i].dma, in e1000_free_desc_rings() 948 kfree(rxdr->buffer_info[i].rxbuf.data); in e1000_free_desc_rings() 963 kfree(txdr->buffer_info); in e1000_free_desc_rings() [all …]
|
D | e1000.h | 157 struct e1000_tx_buffer *buffer_info; member 178 struct e1000_rx_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1267 struct lan743x_tx_buffer_info *buffer_info = NULL; in lan743x_tx_release_desc() local 1273 buffer_info = &tx->buffer_info[descriptor_index]; in lan743x_tx_release_desc() 1274 if (!(buffer_info->flags & TX_BUFFER_INFO_FLAG_ACTIVE)) in lan743x_tx_release_desc() 1285 if (buffer_info->dma_ptr) { in lan743x_tx_release_desc() 1286 if (buffer_info->flags & in lan743x_tx_release_desc() 1289 buffer_info->dma_ptr, in lan743x_tx_release_desc() 1290 buffer_info->buffer_length, in lan743x_tx_release_desc() 1294 buffer_info->dma_ptr, in lan743x_tx_release_desc() 1295 buffer_info->buffer_length, in lan743x_tx_release_desc() 1298 buffer_info->dma_ptr = 0; in lan743x_tx_release_desc() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 202 struct e1000_buffer *buffer_info; in e1000e_dump() local 240 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in e1000e_dump() 243 (unsigned long long)buffer_info->dma, in e1000e_dump() 244 buffer_info->length, in e1000e_dump() 245 buffer_info->next_to_watch, in e1000e_dump() 246 (unsigned long long)buffer_info->time_stamp); in e1000e_dump() 287 buffer_info = &tx_ring->buffer_info[i]; in e1000e_dump() 303 (unsigned long long)buffer_info->dma, in e1000e_dump() 304 buffer_info->length, buffer_info->next_to_watch, in e1000e_dump() 305 (unsigned long long)buffer_info->time_stamp, in e1000e_dump() [all …]
|
D | ethtool.c | 1124 struct e1000_buffer *buffer_info; in e1000_free_desc_rings() local 1127 if (tx_ring->desc && tx_ring->buffer_info) { in e1000_free_desc_rings() 1129 buffer_info = &tx_ring->buffer_info[i]; in e1000_free_desc_rings() 1131 if (buffer_info->dma) in e1000_free_desc_rings() 1133 buffer_info->dma, in e1000_free_desc_rings() 1134 buffer_info->length, in e1000_free_desc_rings() 1136 dev_kfree_skb(buffer_info->skb); in e1000_free_desc_rings() 1140 if (rx_ring->desc && rx_ring->buffer_info) { in e1000_free_desc_rings() 1142 buffer_info = &rx_ring->buffer_info[i]; in e1000_free_desc_rings() 1144 if (buffer_info->dma) in e1000_free_desc_rings() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1030 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 …]
|
D | atl1.h | 609 struct atl1_buffer *buffer_info; member 620 struct atl1_buffer *buffer_info; member
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | ibalance.c | 30 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 …]
|
D | lbalance.c | 15 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 …]
|
D | do_balan.c | 20 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 …]
|
D | reiserfs.h | 2591 struct buffer_info { struct 2603 static inline struct super_block *sb_from_bi(struct buffer_info *bi) in sb_from_bi() argument 3204 void print_bi(struct buffer_info *bi, char *mes); 3224 void leaf_delete_items(struct buffer_info *cur_bi, int last_first, int first, 3226 void leaf_insert_into_buf(struct buffer_info *bi, int before, 3230 void leaf_paste_in_buffer(struct buffer_info *bi, int pasted_item_num, 3233 void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num, 3235 void leaf_paste_entries(struct buffer_info *bi, int item_num, int before, 3257 void make_empty_node(struct buffer_info *);
|
/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
D | mtk-btcvsd.c | 107 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 …]
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.h | 120 u32 buffer_info[1]; member 230 u32 buffer_info[1]; member
|
D | hfi_msgs.h | 248 u32 buffer_info[1]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 391 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 …]
|