/freebsd/sys/sys/ |
H A D | sglist.h | 49 struct sglist { struct 62 sglist_init(struct sglist *sg, u_short maxsegs, struct sglist_seg *segs) in sglist_init() argument 72 sglist_reset(struct sglist *sg) in sglist_reset() 78 static __inline struct sglist * 79 sglist_hold(struct sglist *sg) in sglist_hold() 86 struct sglist *sglist_alloc(int nsegs, int mflags); 87 int sglist_append(struct sglist *sg, void *buf, size_t len); 88 int sglist_append_bio(struct sglist *sg, struct bio *bp); 89 int sglist_append_mbuf(struct sglist *sg, struct mbuf *m0); 90 int sglist_append_mbuf_epg(struct sglist *sg, struct mbuf *m0, size_t off, [all …]
|
/freebsd/sys/kern/ |
H A D | subr_sglist.c | 83 _sglist_append_range(struct sglist *sg, struct sglist_seg **ssp, in _sglist_append_range() 108 _sglist_append_buf(struct sglist *sg, void *buf, size_t len, pmap_t pmap, in _sglist_append_buf() 280 struct sglist * 283 struct sglist *sg; in sglist_alloc() 285 sg = malloc(sizeof(struct sglist) + nsegs * sizeof(struct sglist_seg), in sglist_alloc() 297 sglist_free(struct sglist *sg) in sglist_free() 313 sglist_append(struct sglist *sg, void *buf, size_t len) in sglist_append() 334 sglist_append_bio(struct sglist *sg, struct bio *bp) in sglist_append_bio() 351 sglist_append_phys(struct sglist *sg, vm_paddr_t paddr, size_t len) in sglist_append_phys() 381 sglist_append_mbuf_epg(struct sglist *sg, struct mbuf *m, size_t off, in sglist_append_mbuf_epg() [all …]
|
/freebsd/sys/dev/agp/ |
H A D | agp_i810.h | 75 void agp_intel_gtt_unmap_memory(device_t dev, struct sglist *sg_list); 79 struct sglist **sg_list); 80 void agp_intel_gtt_insert_sg_entries(device_t dev, struct sglist *sg_list, 87 void intel_gtt_unmap_memory(struct sglist *sg_list); 91 struct sglist **sg_list); 92 void intel_gtt_insert_sg_entries(struct sglist *sg_list, u_int pg_start,
|
H A D | agp_i810.c | 2193 agp_intel_gtt_unmap_memory(device_t dev, struct sglist *sg_list) in agp_intel_gtt_unmap_memory() 2199 struct sglist **sg_list) in agp_intel_gtt_map_memory() 2204 struct sglist *sg; in agp_intel_gtt_map_memory() 2254 agp_intel_gtt_insert_sg_entries(device_t dev, struct sglist *sg_list, in agp_intel_gtt_insert_sg_entries() 2308 intel_gtt_unmap_memory(struct sglist *sg_list) in intel_gtt_unmap_memory() 2316 struct sglist **sg_list) in intel_gtt_map_memory() 2324 intel_gtt_insert_sg_entries(struct sglist *sg_list, u_int first_entry, in intel_gtt_insert_sg_entries()
|
/freebsd/sys/dev/usb/storage/ |
H A D | cfumass.c | 713 struct ctl_sg_entry sg_entry, *sglist; in cfumass_t_data_callback() local 738 sglist = (struct ctl_sg_entry *)io->scsiio.kern_data_ptr; in cfumass_t_data_callback() 741 sglist = &sg_entry; in cfumass_t_data_callback() 742 sglist->addr = io->scsiio.kern_data_ptr; in cfumass_t_data_callback() 743 sglist->len = io->scsiio.kern_data_len; in cfumass_t_data_callback() 749 while (sumlen >= sglist->len && sg_count > 0) { in cfumass_t_data_callback() 750 sumlen -= sglist->len; in cfumass_t_data_callback() 751 sglist++; in cfumass_t_data_callback() 757 actlen = min(sglist->len - sumlen, max_bulk); in cfumass_t_data_callback() 763 max_bulk, sglist->len - sumlen, actlen); in cfumass_t_data_callback() [all …]
|
/freebsd/sys/crypto/ccp/ |
H A D | ccp.h | 122 struct sglist *cq_sg_crp; 123 struct sglist *cq_sg_ulptx; 124 struct sglist *cq_sg_dst;
|
/freebsd/sys/vm/ |
H A D | sg_pager.c | 74 struct sglist *sg; in sg_pager_alloc() 125 struct sglist *sg; in sg_pager_dealloc() 148 struct sglist *sg; in sg_pager_getpages()
|
/freebsd/sys/dev/virtio/ |
H A D | virtqueue.h | 33 struct sglist; 97 struct sglist *sg, int readable, int writable);
|
H A D | virtqueue.c | 39 #include <sys/sglist.h> 129 struct vring_desc *, uint16_t, struct sglist *, int, int); 132 struct sglist *, int, int); 140 "struct vring_desc *", "uint16_t", "struct sglist *", "int", "int"); 524 virtqueue_enqueue(struct virtqueue *vq, void *cookie, struct sglist *sg, in virtqueue_enqueue() 702 uint16_t head_idx, struct sglist *sg, int readable, int writable) in vq_ring_enqueue_segments() 753 struct sglist *sg, int readable, int writable) in vq_ring_enqueue_indirect()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | scatterlist.h | 100 #define for_each_sg(sglist, sg, sgmax, iter) \ 101 for (iter = 0, sg = (sglist); iter < (sgmax); iter++, sg = sg_next(sg)) 463 struct scatterlist *sglist, unsigned int nents, in __sg_page_iter_start() 469 piter->sg = sglist; 97 for_each_sg(sglist,sg,sgmax,iter) global() argument 460 __sg_page_iter_start(struct sg_page_iter * piter,struct scatterlist * sglist,unsigned int nents,unsigned long pgoffset) __sg_page_iter_start() argument
|
/freebsd/sys/dev/safexcel/ |
H A D | safexcel_var.h | 372 struct sglist *cmd_data; 374 struct sglist *res_data;
|
/freebsd/sys/dev/virtio/network/ |
H A D | if_vtnetvar.h | 81 struct sglist *vtnrx_sg; 114 struct sglist *vtntx_sg;
|
H A D | if_vtnet.c | 209 struct sglist *, int, int); 1688 struct sglist *sg; in vtnet_rxq_enqueue_buf() 2523 struct sglist *sg; in vtnet_txq_enqueue_buf() 3521 struct sglist *sg, int readable, int writable) in vtnet_exec_ctrl_cmd() 3547 struct sglist sg; in vtnet_ctrl_mac_cmd() 3581 struct sglist sg; in vtnet_ctrl_guest_offloads() 3615 struct sglist sg; in vtnet_ctrl_mq_cmd() 3649 struct sglist sg; in vtnet_ctrl_rx_cmd() 3747 struct sglist sg; in vtnet_rx_filter_mac() 3818 struct sglist sg; in vtnet_exec_vlan_filter()
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm_mem.c | 61 struct sglist *sg; in vmm_mmio_alloc()
|
/freebsd/sys/dev/virtio/scsi/ |
H A D | virtio_scsi.c | 106 struct sglist *, struct ccb_scsiio *); 126 struct vtscsi_request *, struct sglist *, int, int, int); 997 vtscsi_sg_append_scsi_buf(struct vtscsi_softc *sc, struct sglist *sg, in vtscsi_sg_append_scsi_buf() 1044 struct sglist *sg; in vtscsi_fill_scsi_cmd_sglist() 1099 struct sglist *sg; in vtscsi_execute_scsi_cmd() 1215 struct sglist *sg; in vtscsi_abort_timedout_scsi_cmd() 1430 struct sglist *sg, int readable, int writable, int flag) in vtscsi_execute_ctrl_req() 1490 struct sglist *sg; in vtscsi_execute_abort_task_cmd() 1574 struct sglist *sg; in vtscsi_execute_reset_dev_cmd() 1821 struct sglist *sg; in vtscsi_enqueue_event_buf()
|
H A D | virtio_scsivar.h | 59 struct sglist *vtscsi_sglist;
|
/freebsd/sys/dev/virtio/p9fs/ |
H A D | virtio_p9fs.c | 66 struct sglist *vt9p_sglist; 144 struct sglist *sg; in vt9p_request()
|
/freebsd/sys/dev/netmap/ |
H A D | if_vtnet_netmap.h | 81 struct sglist *sg = txq->vtntx_sg; in vtnet_netmap_txsync() 169 struct sglist sg = { ss, 0, 0, 2 }; in vtnet_netmap_kring_refill()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 38 #include <sys/sglist.h> 192 struct sglist *sg_iv_aad; 240 * 'sg_input' contains an sglist describing the entire input 242 * sglist describing the entire output buffer. 'sg_ulptx' is 248 struct sglist *sg_input; 249 struct sglist *sg_output; 250 struct sglist *sg_ulptx; 251 struct sglist *sg_dsgl; 276 ccr_populate_sglist(struct sglist *sg, struct crypto_buffer *cb) in ccr_populate_sglist() 309 ccr_count_sgl(struct sglist *s [all...] |
/freebsd/sys/dev/virtio/console/ |
H A D | virtio_console.c | 612 struct sglist sg; in vtcon_ctrl_event_enqueue() 961 struct sglist sg; in vtcon_ctrl_poll() 1010 struct sglist sg; in vtcon_port_enqueue_buf() 1363 struct sglist sg; in vtcon_port_out()
|
/freebsd/sys/dev/virtio/random/ |
H A D | virtio_random.c | 56 struct sglist *vtrnd_sg;
|
/freebsd/sys/dev/xdma/ |
H A D | xdma_if.m | 76 # Submit sglist list to DMA engine driver.
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_freebsd_uio.c | 158 struct sglist *sg = NULL; in adf_uio_map_bar()
|
/freebsd/sys/dev/virtio/balloon/ |
H A D | virtio_balloon.c | 408 struct sglist sg; in vtballoon_send_page_frames()
|
/freebsd/tools/build/test-includes/ |
H A D | badfiles.inc | 112 sys/sglist.h \
|