Home
last modified time | relevance | path

Searched refs:hdr_buf (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/
Dses.c483 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
485 if (!hdr_buf) in ses_enclosure_data_process()
492 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
496 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
575 kfree(hdr_buf); in ses_enclosure_data_process()
618 unsigned char *buf = NULL, *hdr_buf, *type_ptr; in ses_intf_add() local
643 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
644 if (!hdr_buf || !ses_dev) in ses_intf_add()
647 result = ses_recv_diag(sdev, 1, hdr_buf, INIT_ALLOC_SIZE); in ses_intf_add()
651 len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_intf_add()
[all …]
Dlibiscsi_tcp.c403 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
812 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
820 if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in iscsi_tcp_hdr_recv_done()
/drivers/net/wireless/ath/ath6kl/
Dhif-ops.h154 u8 pipe, struct sk_buff *hdr_buf, in ath6kl_hif_pipe_send() argument
159 return ar->hif_ops->pipe_send(ar, pipe, hdr_buf, buf); in ath6kl_hif_pipe_send()
Dhif.h259 int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf,
/drivers/firewire/
Dnet.c1239 struct fwnet_header hdr_buf; in fwnet_tx() local
1271 memcpy(&hdr_buf, skb->data, sizeof(hdr_buf)); in fwnet_tx()
1272 proto = hdr_buf.h_proto; in fwnet_tx()
1285 skb_pull(skb, sizeof(hdr_buf)); in fwnet_tx()
1292 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1301 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c472 if (rx_bi->hdr_buf) { in i40evf_clean_rx_ring()
475 rx_bi->hdr_buf, in i40evf_clean_rx_ring()
480 rx_bi->hdr_buf = NULL; in i40evf_clean_rx_ring()
557 if (rx_ring->rx_bi[0].hdr_buf) in i40evf_alloc_rx_headers()
568 rx_bi->hdr_buf = buffer + (i * buf_size); in i40evf_alloc_rx_headers()
1015 memcpy(__skb_put(skb, len), rx_bi->hdr_buf, len); in i40e_clean_rx_irq_ps()
Di40e_txrx.h187 void *hdr_buf; member
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h188 void *hdr_buf; member
Di40e_txrx.c1017 if (rx_bi->hdr_buf) { in i40e_clean_rx_ring()
1020 rx_bi->hdr_buf, in i40e_clean_rx_ring()
1025 rx_bi->hdr_buf = NULL; in i40e_clean_rx_ring()
1102 if (rx_ring->rx_bi[0].hdr_buf) in i40e_alloc_rx_headers()
1113 rx_bi->hdr_buf = buffer + (i * buf_size); in i40e_alloc_rx_headers()
1569 memcpy(__skb_put(skb, len), rx_bi->hdr_buf, len); in i40e_clean_rx_irq_ps()