Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dses.c561 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
563 if (!hdr_buf) in ses_enclosure_data_process()
570 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
574 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
666 kfree(hdr_buf); in ses_enclosure_data_process()
695 unsigned char *buf = NULL, *hdr_buf, *type_ptr, page; in ses_intf_add() local
720 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
721 if (!hdr_buf || !ses_dev) in ses_intf_add()
725 result = ses_recv_diag(sdev, page, hdr_buf, INIT_ALLOC_SIZE); in ses_intf_add()
729 len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_intf_add()
[all …]
H A Dlibiscsi_tcp.c406 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
849 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
857 if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in iscsi_tcp_hdr_recv_done()
/linux/fs/smb/server/
H A Dconnection.c314 char hdr_buf[4] = {0,}; in ksmbd_conn_handler_loop() local
340 size = t->ops->read(t, hdr_buf, sizeof(hdr_buf), -1); in ksmbd_conn_handler_loop()
341 if (size != sizeof(hdr_buf)) in ksmbd_conn_handler_loop()
344 pdu_size = get_rfc1002_len(hdr_buf); in ksmbd_conn_handler_loop()
376 memcpy(conn->request_buf, hdr_buf, sizeof(hdr_buf)); in ksmbd_conn_handler_loop()
/linux/drivers/net/wireless/ath/ath6kl/
H A 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()
H A Dhif.h253 int (*pipe_send)(struct ath6kl *ar, u8 pipe, struct sk_buff *hdr_buf,
/linux/drivers/firewire/
H A Dnet.c1228 struct fwnet_header hdr_buf; in fwnet_tx() local
1260 memcpy(&hdr_buf, skb->data, sizeof(hdr_buf)); in fwnet_tx()
1261 proto = hdr_buf.h_proto; in fwnet_tx()
1274 skb_pull(skb, sizeof(hdr_buf)); in fwnet_tx()
1281 if (fwnet_hwaddr_is_multicast(hdr_buf.h_dest)) { in fwnet_tx()
1290 union fwnet_hwaddr *ha = (union fwnet_hwaddr *)hdr_buf.h_dest; in fwnet_tx()
/linux/include/scsi/
H A Dlibiscsi_tcp.h50 uint32_t hdr_buf[64]; member
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_if.c106 unsigned char hdr_buf[HDR_PARSING_BUF_SZ]; member
372 memcpy(inst->vsi->hdr_buf, buf + nal_start_idx, buf_sz); in vdec_h264_decode()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_spi.c38 u8 hdr_buf[SJA1105_SIZE_SPI_MSG_HEADER] = {0}; in sja1105_xfer() local
68 sja1105_spi_message_pack(hdr_buf, &msg); in sja1105_xfer()
69 hdr_xfer->tx_buf = hdr_buf; in sja1105_xfer()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c401 .fqes = bufq->hdr_buf, in idpf_rx_hdr_buf_rel_all()
406 idpf_rx_page_rel(&bufq->hdr_buf[i]); in idpf_rx_hdr_buf_rel_all()
409 bufq->hdr_buf = NULL; in idpf_rx_hdr_buf_rel_all()
597 bufq->hdr_buf = fq.fqes; in idpf_rx_hdr_buf_alloc_all()
647 fq.fqes = bufq->hdr_buf; in idpf_rx_post_buf_desc()
3286 hdr = &rx_bufq->hdr_buf[buf_id]; in idpf_rx_splitq_clean()
3398 fq.fqes = bufq->hdr_buf; in idpf_rx_update_bufq_desc()
H A Didpf_txrx.h732 struct libeth_fqe *hdr_buf; member
/linux/drivers/scsi/elx/efct/
H A Defct_hw.c1242 rq->hdr_buf = efct_hw_rx_buffer_alloc(hw, rqindex, in efct_hw_rx_allocate()
1245 if (!rq->hdr_buf) { in efct_hw_rx_allocate()
1307 seq->header = &rq->hdr_buf[i]; in efct_hw_rx_post()
1333 efct_hw_rx_buffer_free(hw, rq->hdr_buf, in efct_hw_rx_free()
1335 rq->hdr_buf = NULL; in efct_hw_rx_free()
H A Defct_hw.h558 struct efc_hw_rq_buffer *hdr_buf; member