Home
last modified time | relevance | path

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

/drivers/scsi/
Dses.c485 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
487 if (!hdr_buf) in ses_enclosure_data_process()
494 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
498 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
577 kfree(hdr_buf); in ses_enclosure_data_process()
607 unsigned char *buf = NULL, *hdr_buf, *type_ptr; in ses_intf_add() local
632 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
633 if (!hdr_buf || !ses_dev) in ses_intf_add()
636 result = ses_recv_diag(sdev, 1, hdr_buf, INIT_ALLOC_SIZE); in ses_intf_add()
640 len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_intf_add()
[all …]
Dlibiscsi_tcp.c408 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
817 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
825 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.c1235 struct fwnet_header hdr_buf; in fwnet_tx() local
1267 memcpy(&hdr_buf, skb->data, sizeof(hdr_buf)); in fwnet_tx()
1268 proto = hdr_buf.h_proto; in fwnet_tx()
1281 skb_pull(skb, sizeof(hdr_buf)); in fwnet_tx()
1288 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1297 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()