/Linux-v4.19/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
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 674 txdr->buffer_info = vzalloc(size); in ixgb_setup_tx_resources() 675 if (!txdr->buffer_info) in ixgb_setup_tx_resources() 686 vfree(txdr->buffer_info); in ixgb_setup_tx_resources() 757 rxdr->buffer_info = vzalloc(size); in ixgb_setup_rx_resources() 758 if (!rxdr->buffer_info) in ixgb_setup_rx_resources() 770 vfree(rxdr->buffer_info); in ixgb_setup_rx_resources() 882 vfree(adapter->tx_ring.buffer_info); in ixgb_free_tx_resources() 883 adapter->tx_ring.buffer_info = NULL; in ixgb_free_tx_resources() 893 struct ixgb_buffer *buffer_info) in ixgb_unmap_and_free_tx_resource() argument 895 if (buffer_info->dma) { in ixgb_unmap_and_free_tx_resource() [all …]
|
D | ixgb.h | 98 struct ixgb_buffer *buffer_info; member
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 838 struct atl1c_buffer *buffer_info) in atl1c_clean_buffer() argument 841 if (buffer_info->flags & ATL1C_BUFFER_FREE) in atl1c_clean_buffer() 843 if (buffer_info->dma) { in atl1c_clean_buffer() 844 if (buffer_info->flags & ATL1C_PCIMAP_FROMDEVICE) in atl1c_clean_buffer() 849 if (buffer_info->flags & ATL1C_PCIMAP_SINGLE) in atl1c_clean_buffer() 850 pci_unmap_single(pdev, buffer_info->dma, in atl1c_clean_buffer() 851 buffer_info->length, pci_driection); in atl1c_clean_buffer() 852 else if (buffer_info->flags & ATL1C_PCIMAP_PAGE) in atl1c_clean_buffer() 853 pci_unmap_page(pdev, buffer_info->dma, in atl1c_clean_buffer() 854 buffer_info->length, pci_driection); in atl1c_clean_buffer() [all …]
|
D | atl1c.h | 493 struct atl1c_buffer *buffer_info; member 504 struct atl1c_buffer *buffer_info; member
|
/Linux-v4.19/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 1231 struct lan743x_tx_buffer_info *buffer_info = NULL; in lan743x_tx_release_desc() local 1237 buffer_info = &tx->buffer_info[descriptor_index]; in lan743x_tx_release_desc() 1238 if (!(buffer_info->flags & TX_BUFFER_INFO_FLAG_ACTIVE)) in lan743x_tx_release_desc() 1249 if (buffer_info->dma_ptr) { in lan743x_tx_release_desc() 1250 if (buffer_info->flags & in lan743x_tx_release_desc() 1253 buffer_info->dma_ptr, in lan743x_tx_release_desc() 1254 buffer_info->buffer_length, in lan743x_tx_release_desc() 1258 buffer_info->dma_ptr, in lan743x_tx_release_desc() 1259 buffer_info->buffer_length, in lan743x_tx_release_desc() 1262 buffer_info->dma_ptr = 0; in lan743x_tx_release_desc() [all …]
|
D | lan743x_main.h | 651 struct lan743x_tx_buffer_info *buffer_info; member 681 struct lan743x_rx_buffer_info *buffer_info; member
|
/Linux-v4.19/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 901 struct pch_gbe_adapter *adapter, struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_tx_resource() argument 903 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_tx_resource() 904 dma_unmap_single(&adapter->pdev->dev, buffer_info->dma, in pch_gbe_unmap_and_free_tx_resource() 905 buffer_info->length, DMA_TO_DEVICE); in pch_gbe_unmap_and_free_tx_resource() 906 buffer_info->mapped = false; in pch_gbe_unmap_and_free_tx_resource() 908 if (buffer_info->skb) { in pch_gbe_unmap_and_free_tx_resource() 909 dev_kfree_skb_any(buffer_info->skb); in pch_gbe_unmap_and_free_tx_resource() 910 buffer_info->skb = NULL; in pch_gbe_unmap_and_free_tx_resource() 921 struct pch_gbe_buffer *buffer_info) in pch_gbe_unmap_and_free_rx_resource() argument 923 if (buffer_info->mapped) { in pch_gbe_unmap_and_free_rx_resource() [all …]
|
D | pch_gbe.h | 460 struct pch_gbe_buffer *buffer_info; member 483 struct pch_gbe_buffer *buffer_info; member
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 1499 txdr->buffer_info = vzalloc(size); in e1000_setup_tx_resources() 1500 if (!txdr->buffer_info) in e1000_setup_tx_resources() 1512 vfree(txdr->buffer_info); in e1000_setup_tx_resources() 1540 vfree(txdr->buffer_info); in e1000_setup_tx_resources() 1689 rxdr->buffer_info = vzalloc(size); in e1000_setup_rx_resources() 1690 if (!rxdr->buffer_info) in e1000_setup_rx_resources() 1704 vfree(rxdr->buffer_info); in e1000_setup_rx_resources() 1925 vfree(tx_ring->buffer_info); in e1000_free_tx_resources() 1926 tx_ring->buffer_info = NULL; in e1000_free_tx_resources() 1950 struct e1000_tx_buffer *buffer_info) in e1000_unmap_and_free_tx_resource() argument [all …]
|
D | e1000_ethtool.c | 933 if (txdr->desc && txdr->buffer_info) { in e1000_free_desc_rings() 935 if (txdr->buffer_info[i].dma) in e1000_free_desc_rings() 937 txdr->buffer_info[i].dma, in e1000_free_desc_rings() 938 txdr->buffer_info[i].length, in e1000_free_desc_rings() 940 if (txdr->buffer_info[i].skb) 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() [all …]
|
D | e1000.h | 158 struct e1000_tx_buffer *buffer_info; member 179 struct e1000_rx_buffer *buffer_info; member
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 207 struct e1000_buffer *buffer_info; in e1000e_dump() local 245 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in e1000e_dump() 248 (unsigned long long)buffer_info->dma, in e1000e_dump() 249 buffer_info->length, in e1000e_dump() 250 buffer_info->next_to_watch, in e1000e_dump() 251 (unsigned long long)buffer_info->time_stamp); in e1000e_dump() 292 buffer_info = &tx_ring->buffer_info[i]; in e1000e_dump() 308 (unsigned long long)buffer_info->dma, in e1000e_dump() 309 buffer_info->length, buffer_info->next_to_watch, in e1000e_dump() 310 (unsigned long long)buffer_info->time_stamp, in e1000e_dump() [all …]
|
D | ethtool.c | 1117 struct e1000_buffer *buffer_info; in e1000_free_desc_rings() local 1120 if (tx_ring->desc && tx_ring->buffer_info) { in e1000_free_desc_rings() 1122 buffer_info = &tx_ring->buffer_info[i]; in e1000_free_desc_rings() 1124 if (buffer_info->dma) in e1000_free_desc_rings() 1126 buffer_info->dma, in e1000_free_desc_rings() 1127 buffer_info->length, in e1000_free_desc_rings() 1129 if (buffer_info->skb) in e1000_free_desc_rings() 1130 dev_kfree_skb(buffer_info->skb); in e1000_free_desc_rings() 1134 if (rx_ring->desc && rx_ring->buffer_info) { in e1000_free_desc_rings() 1136 buffer_info = &rx_ring->buffer_info[i]; in e1000_free_desc_rings() [all …]
|
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1049 tpd_ring->buffer_info = kzalloc(size, GFP_KERNEL); in atl1_setup_ring_resources() 1050 if (unlikely(!tpd_ring->buffer_info)) { in atl1_setup_ring_resources() 1056 rfd_ring->buffer_info = in atl1_setup_ring_resources() 1057 (tpd_ring->buffer_info + tpd_ring->count); in atl1_setup_ring_resources() 1123 kfree(tpd_ring->buffer_info); in atl1_setup_ring_resources() 1151 struct atl1_buffer *buffer_info; in atl1_clean_rx_ring() local 1158 buffer_info = &rfd_ring->buffer_info[i]; in atl1_clean_rx_ring() 1159 if (buffer_info->dma) { in atl1_clean_rx_ring() 1160 pci_unmap_page(pdev, buffer_info->dma, in atl1_clean_rx_ring() 1161 buffer_info->length, PCI_DMA_FROMDEVICE); in atl1_clean_rx_ring() [all …]
|
D | atl1.h | 622 struct atl1_buffer *buffer_info; member 633 struct atl1_buffer *buffer_info; member
|
/Linux-v4.19/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() 243 struct buffer_info bi; in balance_leaf_when_delete() 294 struct buffer_info bi; in balance_leaf_insert_left() 362 struct buffer_info bi; in balance_leaf_paste_left_shift_dirent() 425 struct buffer_info bi; in balance_leaf_paste_left_shift() [all …]
|
D | reiserfs.h | 2589 struct buffer_info { struct 2601 static inline struct super_block *sb_from_bi(struct buffer_info *bi) in sb_from_bi() argument 3202 void print_bi(struct buffer_info *bi, char *mes); 3222 void leaf_delete_items(struct buffer_info *cur_bi, int last_first, int first, 3224 void leaf_insert_into_buf(struct buffer_info *bi, int before, 3228 void leaf_paste_in_buffer(struct buffer_info *bi, int pasted_item_num, 3231 void leaf_cut_from_buffer(struct buffer_info *bi, int cut_item_num, 3233 void leaf_paste_entries(struct buffer_info *bi, int item_num, int before, 3255 void make_empty_node(struct buffer_info *);
|
/Linux-v4.19/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.h | 129 u32 buffer_info[1]; member 239 u32 buffer_info[1]; member
|
D | hfi_msgs.h | 257 u32 buffer_info[1]; member
|
D | hfi_cmds.c | 204 bi = (struct hfi_buffer_info *)pkt->buffer_info; in pkt_session_set_buffers() 214 pkt->buffer_info[i] = bd->device_addr; in pkt_session_set_buffers() 239 bi = (struct hfi_buffer_info *)pkt->buffer_info; in pkt_session_unset_buffers() 249 pkt->buffer_info[i] = bd->device_addr; in pkt_session_unset_buffers()
|
/Linux-v4.19/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 397 struct igb_tx_buffer *buffer_info; in igb_dump() local 399 buffer_info = &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; in igb_dump() 402 (u64)dma_unmap_addr(buffer_info, dma), in igb_dump() 403 dma_unmap_len(buffer_info, len), in igb_dump() 404 buffer_info->next_to_watch, in igb_dump() 405 (u64)buffer_info->time_stamp); in igb_dump() 434 struct igb_tx_buffer *buffer_info; in igb_dump() local 436 buffer_info = &tx_ring->tx_buffer_info[i]; in igb_dump() 451 (u64)dma_unmap_addr(buffer_info, dma), in igb_dump() 452 dma_unmap_len(buffer_info, len), in igb_dump() [all …]
|