Home
last modified time | relevance | path

Searched refs:sglist_append (Results 1 – 17 of 17) sorted by relevance

/src/sys/kern/
H A Dsubr_sglist.c313 sglist_append(struct sglist *sg, void *buf, size_t len) in sglist_append() function
339 error = sglist_append(sg, bp->bio_data, bp->bio_bcount); in sglist_append_bio()
400 error = sglist_append(sg, in sglist_append_mbuf_epg()
424 error = sglist_append(sg, in sglist_append_mbuf_epg()
455 error = sglist_append(sg, m->m_data, in sglist_append_mbuf()
478 return (sglist_append(sg, m->m_data, m->m_len)); in sglist_append_single_mbuf()
706 if (sglist_append(sg, buf, len) != 0) { in sglist_build()
/src/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c1008 error = sglist_append(sg, csio->data_ptr, csio->dxfer_len); in vtscsi_sg_append_scsi_buf()
1017 error = sglist_append(sg, in vtscsi_sg_append_scsi_buf()
1058 sglist_append(sg, cmd_req, sizeof(struct virtio_scsi_cmd_req)); in vtscsi_fill_scsi_cmd_sglist()
1068 sglist_append(sg, cmd_resp, sizeof(struct virtio_scsi_cmd_resp)); in vtscsi_fill_scsi_cmd_sglist()
1237 sglist_append(sg, tmf_req, sizeof(struct virtio_scsi_ctrl_tmf_req)); in vtscsi_abort_timedout_scsi_cmd()
1238 sglist_append(sg, tmf_resp, sizeof(struct virtio_scsi_ctrl_tmf_resp)); in vtscsi_abort_timedout_scsi_cmd()
1527 sglist_append(sg, tmf_req, sizeof(struct virtio_scsi_ctrl_tmf_req)); in vtscsi_execute_abort_task_cmd()
1528 sglist_append(sg, tmf_resp, sizeof(struct virtio_scsi_ctrl_tmf_resp)); in vtscsi_execute_abort_task_cmd()
1595 sglist_append(sg, tmf_req, sizeof(struct virtio_scsi_ctrl_tmf_req)); in vtscsi_execute_reset_dev_cmd()
1596 sglist_append(sg, tmf_resp, sizeof(struct virtio_scsi_ctrl_tmf_resp)); in vtscsi_execute_reset_dev_cmd()
[all …]
/src/sys/dev/virtio/network/
H A Dif_vtnet.c1748 error = sglist_append(sg, &rxhdr->vrh_hdr, sc->vtnet_hdr_size); in vtnet_rxq_enqueue_buf()
1751 error = sglist_append(sg, &rxhdr[1], in vtnet_rxq_enqueue_buf()
2581 error = sglist_append(sg, &txhdr->vth_uhdr, sc->vtnet_hdr_size); in vtnet_txq_enqueue_buf()
3610 error |= sglist_append(&sg, &s.hdr, sizeof(struct virtio_net_ctrl_hdr)); in vtnet_ctrl_mac_cmd()
3611 error |= sglist_append(&sg, &s.addr[0], ETHER_ADDR_LEN); in vtnet_ctrl_mac_cmd()
3612 error |= sglist_append(&sg, &s.ack, sizeof(uint8_t)); in vtnet_ctrl_mac_cmd()
3644 error |= sglist_append(&sg, &s.hdr, sizeof(struct virtio_net_ctrl_hdr)); in vtnet_ctrl_guest_offloads()
3645 error |= sglist_append(&sg, &s.offloads, sizeof(uint64_t)); in vtnet_ctrl_guest_offloads()
3646 error |= sglist_append(&sg, &s.ack, sizeof(uint8_t)); in vtnet_ctrl_guest_offloads()
3678 error |= sglist_append(&sg, &s.hdr, sizeof(struct virtio_net_ctrl_hdr)); in vtnet_ctrl_mq_cmd()
[all …]
/src/sys/dev/virtio/p9fs/
H A Dvirtio_p9fs.c160 error = sglist_append(sg, req->tc->sdata, req->tc->size); in vt9p_request()
168 error = sglist_append(sg, req->rc->sdata, req->rc->capacity); in vt9p_request()
/src/sys/dev/netmap/
H A Dif_vtnet_netmap.h99 err = sglist_append(sg, &txq->vtntx_shrhdr, sc->vtnet_hdr_size); in vtnet_netmap_txsync()
186 err = sglist_append(&sg, &rxq->vtnrx_shrhdr, sc->vtnet_hdr_size); in vtnet_netmap_kring_refill()
/src/sys/sys/
H A Dsglist.h87 int sglist_append(struct sglist *sg, void *buf, size_t len);
/src/sys/dev/virtio/scmi/
H A Dvirtio_scmi.c396 sglist_append(&pdu->sg, pdu->buf, tx_len); in virtio_scmi_pdu_get()
397 sglist_append(&pdu->sg, pdu->buf, rx_len); in virtio_scmi_pdu_get()
/src/sys/dev/virtio/gpu/
H A Dvirtio_gpu.c458 error = sglist_append(&sg, req1, req1len); in vtgpu_req_resp2()
466 error = sglist_append(&sg, req2, req2len); in vtgpu_req_resp2()
475 error = sglist_append(&sg, resp, resplen); in vtgpu_req_resp2()
/src/sys/dev/virtio/console/
H A Dvirtio_console.c619 error = sglist_append(&sg, control, VTCON_CTRL_BUFSZ); in vtcon_ctrl_event_enqueue()
968 error = sglist_append(&sg, control, in vtcon_ctrl_poll()
1017 error = sglist_append(&sg, buf, len); in vtcon_port_enqueue_buf()
1372 error = sglist_append(&sg, buf, bufsize); in vtcon_port_out()
/src/sys/crypto/ccp/
H A Dccp_hardware.c1273 error = sglist_append(qp->cq_sg_ulptx, s->hmac.ipad, axf->blocksize); in ccp_do_hmac()
1290 error = sglist_append(qp->cq_sg_dst, s->hmac.res, in ccp_do_hmac()
1385 error = sglist_append(qp->cq_sg_ulptx, __DECONST(void *, src), len); in ccp_do_pst_to_lsb()
1992 error = sglist_append(qp->cq_sg_ulptx, s->gmac.final_block, in ccp_gcm()
H A Dccp.c109 error = sglist_append(sg, cb->cb_buf, cb->cb_buf_len); in ccp_populate_sglist()
/src/sys/dev/virtio/balloon/
H A Dvirtio_balloon.c415 error = sglist_append(&sg, sc->vtballoon_page_frames, in vtballoon_send_page_frames()
/src/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c293 error = sglist_append(sg, cb->cb_buf, cb->cb_buf_len); in ccr_populate_sglist()
948 error = sglist_append(s->sg_ulptx, in ccr_eta()
1238 error = sglist_append(s->sg_ulptx, in ccr_gcm()
1590 error = sglist_append(s->sg_ulptx, in ccr_ccm()
/src/sys/dev/virtio/block/
H A Dvirtio_blk.c1258 error = sglist_append(sg, discard, sizeof(*discard)); in vtblk_request_execute_cb()
/src/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c598 rc = sglist_append(&sg, mtod(m, void *), m->m_len); in write_tx_sgl()
/src/share/man/man9/
H A DMakefile2047 sglist.9 sglist_append.9 \
/src/sys/dev/cxgbe/
H A Dt4_sge.c6947 sglist_append(&sg, mtod(m0, char *) + immhdrs, in write_ethofld_wr()