Searched refs:sglist (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-13-stable/sys/sys/
H A Dsglist.h51 struct sglist { struct
63 sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs)
73 sglist_reset(struct sglist *sg)
79 static __inline struct sglist *
80 sglist_hold(struct sglist *sg)
87 struct sglist *sglist_alloc(int nsegs, int mflags);
88 int sglist_append(struct sglist *sg, void *buf, size_t len);
89 int sglist_append_bio(struct sglist *sg, struct bio *bp);
90 int sglist_append_mbuf(struct sglist *sg, struct mbuf *m0);
91 int sglist_append_mbuf_epg(struct sglist *s
[all...]
/freebsd-13-stable/sys/dev/agp/
H A Dagp_i810.h39 #include <sys/sglist.h>
78 void agp_intel_gtt_unmap_memory(device_t dev, struct sglist *sg_list);
82 struct sglist **sg_list);
83 void agp_intel_gtt_insert_sg_entries(device_t dev, struct sglist *sg_list,
90 void intel_gtt_unmap_memory(struct sglist *sg_list);
94 struct sglist **sg_list);
95 void intel_gtt_insert_sg_entries(struct sglist *sg_list, u_int pg_start,
H A Dagp_i810.c2197 agp_intel_gtt_unmap_memory(device_t dev, struct sglist *sg_list)
2203 struct sglist **sg_list)
2206 struct sglist *sg;
2254 agp_intel_gtt_insert_sg_entries(device_t dev, struct sglist *sg_list,
2308 intel_gtt_unmap_memory(struct sglist *sg_list)
2316 struct sglist **sg_list)
2324 intel_gtt_insert_sg_entries(struct sglist *sg_list, u_int first_entry,
/freebsd-13-stable/sys/kern/
H A Dsubr_sglist.c42 #include <sys/sglist.h>
52 static MALLOC_DEFINE(M_SGLIST, "sglist", "scatter/gather lists");
55 * Convenience macros to save the state of an sglist so it can be restored
56 * if an append attempt fails. Since sglist's only grow we only need to
81 * Append a single (paddr, len) to a sglist. sg is the list and ss is
86 _sglist_append_range(struct sglist *sg, struct sglist_seg **ssp,
111 _sglist_append_buf(struct sglist *sg, void *buf, size_t len, pmap_t pmap,
283 struct sglist *
286 struct sglist *sg;
288 sg = malloc(sizeof(struct sglist)
[all...]
/freebsd-13-stable/sys/dev/virtio/
H A Dvirtqueue.h35 struct sglist;
99 struct sglist *sg, int readable, int writable);
H A Dvirtqueue.c41 #include <sys/sglist.h>
131 struct vring_desc *, uint16_t, struct sglist *, int, int);
134 struct sglist *, int, int);
521 virtqueue_enqueue(struct virtqueue *vq, void *cookie, struct sglist *sg,
699 uint16_t head_idx, struct sglist *sg, int readable, int writable)
746 struct sglist *sg, int readable, int writable)
/freebsd-13-stable/sys/amd64/vmm/
H A Dvmm_mem.c37 #include <sys/sglist.h>
66 struct sglist *sg;
70 KASSERT(error == 0, ("error %d appending physaddr to sglist", error));
97 * Drop the reference on the sglist.
100 * has incremented the reference count on the sglist. Dropping the
101 * initial reference count ensures that the sglist will be freed
105 * sglist.
/freebsd-13-stable/sys/crypto/ccp/
H A Dccp.h124 struct sglist *cq_sg_crp;
125 struct sglist *cq_sg_ulptx;
126 struct sglist *cq_sg_dst;
H A Dccp.c44 #include <sys/sglist.h>
95 ccp_populate_sglist(struct sglist *sg, struct crypto_buffer *cb)
/freebsd-13-stable/sys/vm/
H A Dsg_pager.c42 #include <sys/sglist.h>
76 struct sglist *sg;
127 struct sglist *sg;
150 struct sglist *sg;
/freebsd-13-stable/sys/dev/usb/storage/
H A Dcfumass.c718 struct ctl_sg_entry sg_entry, *sglist; local
743 sglist = (struct ctl_sg_entry *)io->scsiio.kern_data_ptr;
746 sglist = &sg_entry;
747 sglist->addr = io->scsiio.kern_data_ptr;
748 sglist->len = io->scsiio.kern_data_len;
754 while (sumlen >= sglist->len && sg_count > 0) {
755 sumlen -= sglist->len;
756 sglist++;
762 actlen = min(sglist->len - sumlen, max_bulk);
768 max_bulk, sglist
[all...]
/freebsd-13-stable/share/man/man9/
H A DMakefile306 sglist.9 \
1937 MLINKS+=sglist.9 sglist_alloc.9 \
1938 sglist.9 sglist_append.9 \
1939 sglist.9 sglist_append_bio.9 \
1940 sglist.9 sglist_append_mbuf.9 \
1941 sglist.9 sglist_append_mbuf_epg.9 \
1942 sglist.9 sglist_append_phys.9 \
1943 sglist.9 sglist_append_sglist.9 \
1944 sglist.9 sglist_append_uio.9 \
1945 sglist
[all...]
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dscatterlist.h98 #define for_each_sg(sglist, sg, sgmax, iter) \
99 for (iter = 0, sg = (sglist); iter < (sgmax); iter++, sg = sg_next(sg))
380 struct scatterlist *sglist, unsigned int nents,
386 piter->sg = sglist;
379 __sg_page_iter_start(struct sg_page_iter *piter, struct scatterlist *sglist, unsigned int nents, unsigned long pgoffset) argument
/freebsd-13-stable/sys/dev/virtio/network/
H A Dif_vtnetvar.h79 struct sglist *vtnrx_sg;
112 struct sglist *vtntx_sg;
H A Dif_vtnet.c45 #include <sys/sglist.h>
205 struct sglist *, int, int);
1676 struct sglist *sg;
2495 struct sglist *sg;
2507 KASSERT(0, ("%s: cannot add header to sglist error %d nseg %d",
3497 struct sglist *sg, int readable, int writable)
3523 struct sglist sg;
3557 struct sglist sg;
3591 struct sglist sg;
3625 struct sglist s
[all...]
/freebsd-13-stable/sys/dev/virtio/random/
H A Dvirtio_random.c38 #include <sys/sglist.h>
230 struct sglist sg;
236 _Static_assert(sizeof(value) < PAGE_SIZE, "sglist assumption");
/freebsd-13-stable/sys/dev/virtio/scsi/
H A Dvirtio_scsivar.h61 struct sglist *vtscsi_sglist;
H A Dvirtio_scsi.c40 #include <sys/sglist.h>
109 struct sglist *, struct ccb_scsiio *);
129 struct vtscsi_request *, struct sglist *, int, int, int);
312 device_printf(dev, "cannot allocate sglist\n");
1000 vtscsi_sg_append_scsi_buf(struct vtscsi_softc *sc, struct sglist *sg,
1047 struct sglist *sg;
1102 struct sglist *sg;
1218 struct sglist *sg;
1433 struct sglist *sg, int readable, int writable, int flag)
1493 struct sglist *s
[all...]
/freebsd-13-stable/sys/dev/netmap/
H A Dif_vtnet_netmap.h82 struct sglist *sg = txq->vtntx_sg;
101 KASSERT(err == 0, ("%s: cannot append to sglist %d",
167 /* use a local sglist, default might be short */
169 struct sglist sg = { ss, 0, 0, 2 };
187 KASSERT(err == 0, ("%s: cannot append to sglist %d",
226 * maximum number of 2-elements sglist that the RX virtqueue can
373 * transmitted, therefore calling virtqueue_enqueue() passing sglist
378 * each TX sglist. Without them, we need two separate virtio descriptors
379 * for each TX sglist. We therefore compute the number of netmap TX
396 * received, therefore calling virtqueue_enqueue() passing sglist
[all...]
/freebsd-13-stable/sys/dev/safexcel/
H A Dsafexcel_var.h374 struct sglist *cmd_data;
376 struct sglist *res_data;
/freebsd-13-stable/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c64 #include <sys/sglist.h>
115 struct sglist *sgl_data;
189 struct sglist *bounce_sgl;
347 static void storvsc_copy_sgl_to_bounce_buf(struct sglist *bounce_sgl,
353 struct sglist* src_sgl,
1621 storvsc_destroy_bounce_buffer(struct sglist *sgl)
1646 static struct sglist *
1650 struct sglist *bounce_sgl = NULL;
1654 /* get struct sglist from free_sgl_list */
1691 storvsc_copy_sgl_to_bounce_buf(struct sglist *bounce_sg
[all...]
/freebsd-13-stable/sys/dev/virtio/balloon/
H A Dvirtio_balloon.c41 #include <sys/sglist.h>
413 struct sglist sg;
422 KASSERT(error == 0, ("error adding page frames to sglist"));
/freebsd-13-stable/sys/dev/virtio/console/
H A Dvirtio_console.c41 #include <sys/sglist.h>
68 * size of the sglist segment array used.
617 struct sglist sg;
625 KASSERT(error == 0, ("%s: error %d adding control to sglist",
966 struct sglist sg;
975 KASSERT(error == 0, ("%s: error %d adding control to sglist",
1015 struct sglist sg;
1024 ("%s: error %d adding buffer to sglist", __func__, error));
1368 struct sglist sg;
1378 KASSERT(error == 0, ("%s: error %d adding buffer to sglist",
[all...]
/freebsd-13-stable/sys/dev/nvdimm/
H A Dnvdimm_spa.c52 #include <sys/sglist.h>
481 struct sglist *spa_sg;
504 printf("NVDIMM %s failed to init sglist, error %d", name,
/freebsd-13-stable/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c37 #include <sys/sglist.h>
192 * 'sg_input' contains an sglist describing the entire input
194 * sglist describing the entire output buffer. 'sg_ulptx' is
200 struct sglist *sg_input;
201 struct sglist *sg_output;
202 struct sglist *sg_ulptx;
203 struct sglist *sg_dsgl;
221 struct sglist *sg_iv_aad;
265 ccr_populate_sglist(struct sglist *sg, struct crypto_buffer *cb)
295 ccr_count_sgl(struct sglist *s
[all...]

Completed in 248 milliseconds

12