Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A Dses.c559 unsigned char *hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_enclosure_data_process() local
561 if (!hdr_buf) in ses_enclosure_data_process()
568 result = ses_recv_diag(sdev, 7, hdr_buf, INIT_ALLOC_SIZE); in ses_enclosure_data_process()
572 page7_len = len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_enclosure_data_process()
664 kfree(hdr_buf); in ses_enclosure_data_process()
693 unsigned char *buf = NULL, *hdr_buf, *type_ptr, page; in ses_intf_add() local
718 hdr_buf = kzalloc(INIT_ALLOC_SIZE, GFP_KERNEL); in ses_intf_add()
719 if (!hdr_buf || !ses_dev) in ses_intf_add()
723 result = ses_recv_diag(sdev, page, hdr_buf, INIT_ALLOC_SIZE); in ses_intf_add()
727 len = (hdr_buf[2] << 8) + hdr_buf[3] + 4; in ses_intf_add()
[all …]
H A Dlibiscsi_tcp.c395 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
838 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
846 if (sizeof(*hdr) + ahslen > sizeof(tcp_conn->in.hdr_buf)) in iscsi_tcp_hdr_recv_done()
/linux/fs/smb/server/
H A Dconnection.c372 char hdr_buf[4] = {0,}; in ksmbd_conn_handler_loop() local
398 size = t->ops->read(t, hdr_buf, sizeof(hdr_buf), -1); in ksmbd_conn_handler_loop()
399 if (size != sizeof(hdr_buf)) in ksmbd_conn_handler_loop()
402 pdu_size = get_rfc1002_len(hdr_buf); in ksmbd_conn_handler_loop()
434 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/infiniband/hw/ionic/
H A Dionic_controlpath.c636 void *hdr_buf; in ionic_create_ah_cmd() local
670 hdr_buf = kmalloc(PAGE_SIZE, gfp); in ionic_create_ah_cmd()
671 if (!hdr_buf) in ionic_create_ah_cmd()
674 hdr_len = ib_ud_header_pack(&ah->hdr, hdr_buf); in ionic_create_ah_cmd()
679 hdr_buf, hdr_len, true); in ionic_create_ah_cmd()
681 hdr_dma = dma_map_single(dev->lif_cfg.hwdev, hdr_buf, hdr_len, in ionic_create_ah_cmd()
697 kfree(hdr_buf); in ionic_create_ah_cmd()
1417 void *hdr_buf = NULL; in ionic_modify_qp_cmd() local
1468 hdr_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in ionic_modify_qp_cmd()
1469 if (!hdr_buf) in ionic_modify_qp_cmd()
[all …]
/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.h49 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.c365 .fqes = bufq->hdr_buf, in idpf_rx_hdr_buf_rel_all()
370 idpf_rx_page_rel(&bufq->hdr_buf[i]); in idpf_rx_hdr_buf_rel_all()
373 bufq->hdr_buf = NULL; in idpf_rx_hdr_buf_rel_all()
568 bufq->hdr_buf = fq.fqes; in idpf_rx_hdr_buf_alloc_all()
618 fq.fqes = bufq->hdr_buf; in idpf_rx_post_buf_desc()
3603 hdr = &rx_bufq->hdr_buf[buf_id]; in idpf_rx_splitq_clean()
3678 fq.fqes = bufq->hdr_buf; in idpf_rx_update_bufq_desc()
H A Didpf_txrx.h768 struct libeth_fqe *hdr_buf; member
/linux/drivers/scsi/elx/efct/
H A Defct_hw.c1243 rq->hdr_buf = efct_hw_rx_buffer_alloc(hw, rqindex, in efct_hw_rx_allocate()
1246 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