Searched refs:nseg (Results 26 - 50 of 148) sorted by relevance

123456

/freebsd-current/sys/dev/aacraid/
H A Daacraid.c83 int pages, int nseg, int nseg_new);
93 int nseg, int error);
100 static void aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg,
1158 aac_map_command_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1286 aacraid_map_command_sg(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1296 fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "nseg %d", nseg);
1312 raw->sgeCnt = nseg;
1314 for (i = 0; i < nseg; i++) {
1325 } else if ((i+1) < nseg
1451 aac_convert_sgraw2(struct aac_softc *sc, struct aac_raw_io2 *raw, int pages, int nseg, int nseg_new) argument
1521 aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
[all...]
/freebsd-current/stand/usb/
H A Dusb_busdma_loader.c176 uint32_t nseg; local
179 nseg = 1;
181 nseg = ((length + USB_PAGE_SIZE - 1) / USB_PAGE_SIZE);
/freebsd-current/sys/dev/isci/
H A Disci.c68 int nseg, int error);
393 int nseg, int error)
399 if (nseg != 1 || error != 0)
392 isci_allocate_dma_buffer_callback(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument
/freebsd-current/stand/kboot/kboot/arch/amd64/
H A Delf64_freebsd.c157 int nseg; local
444 kboot_kseg_get(&nseg, &kseg);
445 error = host_kexec_load(trampolinebase, nseg, kseg, HOST_KEXEC_ARCH_X86_64);
/freebsd-current/sys/dev/nvme/
H A Dnvme_private.h477 nvme_single_map(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument
481 KASSERT(nseg == 1, ("number of segments (%d) is not 1", nseg));
/freebsd-current/sys/dev/ixl/
H A Di40e_osdep.c43 i40e_dmamap_cb(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument
/freebsd-current/sys/dev/sfxge/
H A Dsfxge_dma.c50 sfxge_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
/freebsd-current/sys/dev/proto/
H A Dproto_busdma.c162 proto_busdma_mem_alloc_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument
167 pcb->ioc->u.md.bus_nsegs = nseg;
266 proto_busdma_md_load_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument
271 pcb->ioc->u.md.bus_nsegs = nseg;
/freebsd-current/sys/dev/xl/
H A Dif_xl.c336 xl_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1756 int error, nseg; local
1770 segs, &nseg, BUS_DMA_NOWAIT);
1777 KASSERT(nseg == 1,
1778 ("%s: too many DMA segments (%d)", __func__, nseg));
2336 int error, i, nseg, total_len; local
2342 sc->xl_cdata.xl_tx_segs, &nseg, BUS_DMA_NOWAIT);
2367 *m_head, sc->xl_cdata.xl_tx_segs, &nseg, BUS_DMA_NOWAIT);
2376 KASSERT(nseg <= XL_MAXFRAGS,
2377 ("%s: too many DMA segments (%d)", __func__, nseg));
[all...]
/freebsd-current/sys/dev/xen/blkback/
H A Dblkback.c1465 u_int nseg; local
1562 nseg = ring_req->nr_segments;
1563 nreq->nr_pages = nseg;
1568 if (__predict_false(nseg == 0)
1569 || __predict_false(nseg > xbb->max_request_segments)) {
1571 nseg);
1576 block_segs = nseg;
1977 u_int nseg; local
2017 nseg = reqlist->nr_segments;
2019 for (seg_idx = 0; seg_idx < nseg; seg_id
2137 u_int nseg; local
[all...]
/freebsd-current/sys/dev/vmware/pvscsi/
H A Dpvscsi.c94 static void pvscsi_execute_ccb(void *arg, bus_dma_segment_t *segs, int nseg,
105 static void pvscsi_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg,
426 pvscsi_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
430 KASSERT(nseg == 1, ("more than one segment"));
1161 pvscsi_execute_ccb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1212 if (nseg != 0) {
1213 if (nseg > 1) {
1217 KASSERT(nseg <= PVSCSI_MAX_SG_ENTRIES_PER_SEGMENT,
1223 for (i = 0; i < nseg; ++i) {
/freebsd-current/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c499 int nseg, int error)
503 if (unlikely(error || nseg != 1))
504 panic("mlx5e_iq_load_memory_cb: error=%d nseg=%d", error, nseg);
498 mlx5e_iq_load_memory_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
/freebsd-current/sys/dev/dpaa2/
H A Ddpaa2_channel.c274 ch->store.nseg = 0;
504 buf->nseg = 1;
516 buf->nseg = 0;
/freebsd-current/sys/dev/ismt/
H A Dismt.c572 ismt_single_map(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument
577 KASSERT(nseg == 1, ("%s: nseg=%d\n", __func__, nseg));
/freebsd-current/sys/dev/mpt/
H A Dmpt_cam.c1269 mpt_execute_req_a64(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) argument
1359 if (nseg == 0) {
1407 if (nseg < MPT_NSGL_FIRST(mpt)) {
1408 first_lim = nseg;
1435 if (seg == nseg - 1) {
1443 if (seg == nseg) {
1460 while (seg < nseg) {
1510 if ((nseg - seg) > MPT_NSGL(mpt)) {
1524 this_seg_lim = nseg;
1558 if (seg == nseg
1662 mpt_execute_req(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) argument
[all...]
/freebsd-current/sys/dev/cesa/
H A Dcesa.c141 cesa_alloc_dma_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
148 KASSERT(nseg == 1, ("Got wrong number of DMA segments, should be 1."));
545 cesa_create_chain_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
592 cesa_create_chain_cb(cci, segs, nseg, 0);
595 cesa_create_chain_cb(cci, segs, nseg, 0);
600 cesa_create_chain_cb(cci, segs, nseg, 0);
603 cesa_create_chain_cb(cci, segs, nseg, 0);
668 while (nseg-- && len > 0) {
/freebsd-current/stand/kboot/kboot/
H A Dmain.c588 kboot_kseg_get(int *nseg, void **ptr) argument
607 *nseg = nkexec_segments;
/freebsd-current/sys/dev/qat_c2xxx/
H A Dqat.c573 qat_alloc_dmamem_cb(void *arg, bus_dma_segment_t *segs, int nseg, argument
581 KASSERT(nseg == 1, ("%s: nsegs is %d", __func__, nseg));
588 int nseg, bus_size_t size, bus_size_t alignment)
601 nseg, /* nsegments */
1350 qat_crypto_load_aadbuf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, argument
1364 nseg, 0, 0);
1368 qat_crypto_load_buf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, argument
1400 nseg, noseg, skip);
1404 qat_crypto_load_obuf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, argument
587 qat_alloc_dmamem(struct qat_softc *sc, struct qat_dmamem *qdm, int nseg, bus_size_t size, bus_size_t alignment) argument
[all...]
/freebsd-current/sys/dev/safexcel/
H A Dsafexcel.c815 safexcel_dma_alloc_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, argument
823 KASSERT(nseg == 1, ("%s: nsegs is %d", __func__, nseg));
2082 safexcel_append_segs(bus_dma_segment_t *segs, int nseg, struct sglist *sg, argument
2089 for (i = 0; i < nseg && len > 0; i++) {
2107 safexcel_create_chain_cb(void *arg, bus_dma_segment_t *segs, int nseg, argument
2148 safexcel_append_segs(segs, nseg, ring->cmd_data,
2151 safexcel_append_segs(segs, nseg, ring->cmd_data,
2154 safexcel_append_segs(segs, nseg, ring->res_data,
2159 safexcel_append_segs(segs, nseg, rin
[all...]
/freebsd-current/sys/dev/dc/
H A Dif_dc.c1807 dc_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1811 KASSERT(nseg == 1,
1812 ("%s: wrong number of segments (%d)", __func__, nseg));
2648 int error, nseg; local
2665 m, segs, &nseg, 0);
2670 KASSERT(nseg == 1, ("%s: wrong number of segments (%d)", __func__,
2671 nseg));
3381 int cur, defragged, error, first, frag, i, idx, nseg; local
3417 sc->dc_cdata.dc_tx_map[idx], *m_head, segs, &nseg, 0);
3427 sc->dc_cdata.dc_tx_map[idx], *m_head, segs, &nseg,
[all...]
/freebsd-current/sys/dev/iavf/
H A Diavf_osdep.h211 int nseg; member in struct:iavf_dma_mem
/freebsd-current/sys/cam/ctl/
H A Dctl_tpc.c120 int nseg; member in struct:tpc_list
1437 //printf("ZZZ %d cscd, %d segs\n", list->ncscd, list->nseg);
1438 while (list->curseg < list->nseg) {
1672 int len, off, lencscd, lenseg, leninl, nseg; local
1756 for (nseg = 0, off = 0; off < lenseg; nseg++) {
1757 if (nseg >= TPC_MAX_SEGS) {
1774 list->seg[nseg] = seg;
1780 list->nseg = nseg;
1826 int len, off, lencscd, lenseg, leninl, nseg; local
[all...]
/freebsd-current/contrib/ofed/libirdma/
H A Dosdep.h173 int nseg; member in struct:irdma_dma_mem
/freebsd-current/sys/dev/aac/
H A Daac.c86 int nseg, int error);
88 int nseg, int error);
95 static void aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg,
1443 aac_map_command_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1552 aac_map_command_sg(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1569 sg->SgCount = nseg;
1570 for (i = 0; i < nseg; i++) {
1578 fib->Header.Size += nseg*sizeof(struct aac_sg_entryraw);
1582 sg->SgCount = nseg;
1583 for (i = 0; i < nseg;
1676 aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
[all...]
/freebsd-current/sys/dev/ciss/
H A Dciss.c130 int nseg, int error);
174 int nseg, int error);
1177 ciss_command_map_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
2754 ciss_request_map_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
2767 for (i = 0; i < nseg; i++) {
2773 cc->header.sg_in_list = nseg;
2774 cc->header.sg_total = nseg;
2781 if (nseg == 0)
2783 else if (nseg == 1)
2785 else if (nseg
[all...]

Completed in 426 milliseconds

123456