Searched refs:tlv_size (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/usnic/
H A Dusnic_fwd.c213 uint64_t tlv_size; usnic_fwd_alloc_flow() local
218 tlv_size = (2*sizeof(struct filter_tlv) + sizeof(struct filter) + usnic_fwd_alloc_flow()
225 tlv = pci_alloc_consistent(pdev, tlv_size, &tlv_pa); usnic_fwd_alloc_flow()
251 a1 = tlv_size; usnic_fwd_alloc_flow()
269 pci_free_consistent(pdev, tlv_size, tlv, tlv_pa); usnic_fwd_alloc_flow()
/linux-4.4.14/drivers/net/wimax/i2400m/
H A Dcontrol.c116 * @tlv_size: expected size of the TLV we are looking for (if -1,
125 enum i2400m_tlv tlv_type, ssize_t tlv_size) i2400m_tlv_match()
129 if (tlv_size != -1 i2400m_tlv_match()
130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { i2400m_tlv_match()
134 tlv_type, size, tlv_size); i2400m_tlv_match()
216 * @tlv_size: expected size of the TLV we are looking for (if -1,
227 enum i2400m_tlv tlv_type, ssize_t tlv_size) i2400m_tlv_find()
233 match = i2400m_tlv_match(tlv, tlv_type, tlv_size); i2400m_tlv_find()
239 tlv_type, match, tlv_size); i2400m_tlv_find()
486 size_t tlv_size = le16_to_cpu(l3l4_hdr->length); i2400m_report_state_hook() local
493 tlv_size, tlv))) i2400m_report_state_hook()
1203 unsigned argc, argsize, tlv_size; i2400m_set_init_config() local
1234 tlv_size = sizeof(*tlv_hdr) + le16_to_cpu(tlv_hdr->length); i2400m_set_init_config()
1235 memcpy(itr, tlv_hdr, tlv_size); i2400m_set_init_config()
1236 itr += tlv_size; i2400m_set_init_config()
124 i2400m_tlv_match(const struct i2400m_tlv_hdr *tlv, enum i2400m_tlv tlv_type, ssize_t tlv_size) i2400m_tlv_match() argument
224 i2400m_tlv_find( struct i2400m *i2400m, const struct i2400m_tlv_hdr *tlv_hdr, size_t size, enum i2400m_tlv tlv_type, ssize_t tlv_size) i2400m_tlv_find() argument
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
H A Dvnic_dev.c1212 u64 tlv_size; vnic_dev_classifier() local
1215 tlv_size = sizeof(struct filter) + vnic_dev_classifier()
1218 tlv_va = pci_alloc_consistent(vdev->pdev, tlv_size, &tlv_pa); vnic_dev_classifier()
1223 a1 = tlv_size; vnic_dev_classifier()
1224 memset(tlv, 0, tlv_size); vnic_dev_classifier()
1241 pci_free_consistent(vdev->pdev, tlv_size, tlv_va, tlv_pa); vnic_dev_classifier()
/linux-4.4.14/drivers/net/ethernet/rocker/
H A Drocker.h109 u16 tlv_size; member in struct:rocker_desc
H A Drocker.c183 size_t tlv_size; member in struct:rocker_desc_info
793 desc_info->desc->tlv_size); rocker_tlv_parse_desc()
799 desc_info->tlv_size); rocker_tlv_start()
805 int tail_room = desc_info->data_size - desc_info->tlv_size; rocker_tlv_put()
813 desc_info->tlv_size += total_size; rocker_tlv_put()
877 desc_info->tlv_size = (const char *) start - desc_info->data; rocker_tlv_nest_cancel()
949 desc_info->tlv_size = 0; rocker_desc_head_get()
956 desc_info->desc->tlv_size = desc_info->tlv_size; rocker_desc_commit()
982 desc_info->tlv_size = desc_info->desc->tlv_size; rocker_desc_tail_get()
1207 desc_info->tlv_size = 0; rocker_dma_rx_ring_skb_map()
1224 /* Ensure that hw will see tlv_size zero in case of an error. rocker_dma_rx_ring_skb_alloc()
1228 desc_info->tlv_size = 0; rocker_dma_rx_ring_skb_alloc()

Completed in 309 milliseconds