/freebsd-11-stable/sys/dev/firewire/ |
H A D | fwdma.c | 57 fwdma_map_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 150 int nseg; local 155 nseg = n; 159 nseg = howmany(n, ssize / esize); 162 + sizeof(struct fwdma_seg)*nseg, M_FW, M_WAITOK); 165 am->nseg = 0; 185 for (seg = &am->seg[0]; nseg--; seg++) { 190 am->nseg); 194 am->nseg++; 204 for (seg = &am->seg[0]; am->nseg [all...] |
H A D | fwdma.h | 53 int nseg; member in struct:fwdma_alloc_multi 101 for (i = 0; i < am->nseg; i++, seg++)
|
/freebsd-11-stable/sys/dev/hyperv/include/ |
H A D | hyperv_busdma.h | 43 int nseg, int error);
|
/freebsd-11-stable/sys/dev/hyperv/vmbus/ |
H A D | hyperv_busdma.c | 41 hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 48 KASSERT(nseg == 1, ("too many segments %d!", nseg));
|
/freebsd-11-stable/sys/dev/oce/ |
H A D | oce_util.c | 45 int nseg, 132 * @param nseg number of dma memory segments 136 oce_dma_map_addr(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument 224 * @param nseg number of dma memory segments 228 oce_dma_map_ring(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument 235 if (nseg <= dpt->max_entries) { 236 for (i = 0; i < nseg; i++) { 240 dpt->num_entries = nseg;
|
/freebsd-11-stable/sys/dev/advansys/ |
H A D | advansys.h | 43 int nseg, int error);
|
H A D | adwvar.h | 44 int nseg, int error);
|
/freebsd-11-stable/stand/powerpc/kboot/ |
H A D | ppc64_elf_freebsd.c | 83 int nseg; local 153 archsw.arch_kexec_kseg_get(&nseg, &kseg); 155 error = kexec_load(trampolinebase, nseg, (uintptr_t)kseg);
|
H A D | main.c | 50 static void kboot_kseg_get(int *nseg, void **ptr); 466 kboot_kseg_get(int *nseg, void **ptr) argument 480 *nseg = nkexec_segments;
|
/freebsd-11-stable/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agtiproto.h | 31 int nseg, 134 int nseg, 138 int nseg,
|
/freebsd-11-stable/sys/dev/ixl/ |
H A D | i40e_osdep.c | 44 i40e_dmamap_cb(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument 113 mem->nseg = 1;
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 201 if(rcb->sgt && rcb->nseg) 203 rcb->nseg*sizeof(sgt_t)); 466 pqi_request_map_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 474 if( error || nseg > softs->pqi_cap.max_sg_elem ) 479 DBG_ERR_BTL(rcb->dvp, "map failed err = %d or nseg(%d) > sgelem(%d)\n", 480 error, nseg, softs->pqi_cap.max_sg_elem); 486 rcb->sgt = os_mem_alloc(softs, nseg * sizeof(rcb_t)); 487 rcb->nseg = nseg; 489 for (int i = 0; i < nseg; [all...] |
H A D | smartpqi_mem.c | 37 os_dma_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
|
/freebsd-11-stable/sys/mips/adm5120/ |
H A D | if_admsw.c | 158 admsw_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 165 KASSERT(nseg == 1, ("too many DMA segments, %d should be 1", nseg)); 171 admsw_rxbuf_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 178 KASSERT(nseg == 1, ("too many DMA segments, %d should be 1", nseg)); 181 ds->ds_nsegs = nseg; 188 admsw_mbuf_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, argument 198 if((nseg != 1) && (nseg ! [all...] |
/freebsd-11-stable/contrib/groff/src/preproc/grn/ |
H A D | hgraph.cpp | 640 register int nseg; /* effective resolution for each curve */ local 668 nseg = (int) groff_hypot((double) xp, (double) yp); 671 /* `nseg' is the number of line */ 674 nseg = (int) ((double) (nseg + (int) groff_hypot((double) xp, (double) yp)) / 677 for (i = 1; i < nseg; i++) { 678 w = (double) i / (double) nseg;
|
/freebsd-11-stable/sys/dev/cxgbe/cxgbei/ |
H A D | cxgbei_ulp2_ddp.c | 70 ulp2_dma_map_addr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 76 KASSERT(nseg == 1, ("%s: %d segments returned!", __func__, nseg));
|
/freebsd-11-stable/sys/dev/usb/ |
H A D | usb_busdma.c | 425 int nseg, int error) 427 usb_pc_common_mem_cb(arg, segs, nseg, error, 0); 435 int nseg, int error) 437 usb_pc_common_mem_cb(arg, segs, nseg, error, 1); 445 int nseg, int error, uint8_t isload) 475 if (nseg > 1) { 478 for (x = 0; x != nseg - 1; x++) { 497 nseg--; 501 if (nseg == 0) 424 usb_pc_alloc_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 434 usb_pc_load_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 444 usb_pc_common_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error, uint8_t isload) argument
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/ |
H A D | authz_parse.c | 488 int nseg; local 492 nseg = 0; 507 if (nseg == 0) 539 ++nseg; 540 svn_membuf__resize(&cb->rule_path_buffer, nseg * sizeof(*segment)); 542 segment += (nseg - 1); 575 (nseg > 1 ? segment - 1 : NULL); 594 --nseg; 647 SVN_ERR_ASSERT(nseg > 0); 651 const apr_size_t path_size = nseg * sizeo [all...] |
/freebsd-11-stable/sys/dev/mrsas/ |
H A D | mrsas_cam.c | 104 int nseg, int error); 112 bus_dma_segment_t *segs, int nseg); 114 bus_dma_segment_t *segs, int nseg); 1135 io_request->RaidContext.raid_context.nseg = 0x1; 1142 io_request->RaidContext.raid_context_g35.nseg = 0x1; 1188 io_request->RaidContext.raid_context.nseg = 0x1; 1192 io_request->RaidContext.raid_context_g35.nseg = 0x1; 1322 io_request->RaidContext.raid_context.nseg = 0x1; 1527 * @nseg: Number of OS SGEs 1531 static void mrsas_build_ieee_sgl(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg) argument 1591 mrsas_build_prp_nvme(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg) argument 1708 mrsas_data_load_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_alloc.c | 44 mlx5_buf_load_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 57 for (x = 0; x != nseg; x++) {
|
/freebsd-11-stable/sys/dev/aacraid/ |
H A D | aacraid.c | 84 int pages, int nseg, int nseg_new); 94 int nseg, int error); 101 static void aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg, 1177 aac_map_command_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 1306 aacraid_map_command_sg(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument 1316 fwprintf(sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "nseg %d", nseg); 1332 raw->sgeCnt = nseg; 1334 for (i = 0; i < nseg; i++) { 1345 } else if ((i+1) < nseg 1462 aac_convert_sgraw2(struct aac_softc *sc, struct aac_raw_io2 *raw, int pages, int nseg, int nseg_new) argument 1533 aac_common_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument [all...] |
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci.c | 68 int nseg, int error); 395 int nseg, int error) 401 if (nseg != 1 || error != 0) 394 isci_allocate_dma_buffer_callback(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument
|
/freebsd-11-stable/stand/usb/ |
H A D | usb_busdma_loader.c | 177 uint32_t nseg; local 180 nseg = 1; 182 nseg = ((length + USB_PAGE_SIZE - 1) / USB_PAGE_SIZE);
|
/freebsd-11-stable/sys/dev/proto/ |
H A D | proto_busdma.c | 164 proto_busdma_mem_alloc_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument 169 pcb->ioc->u.md.bus_nsegs = nseg; 268 proto_busdma_md_load_callback(void *arg, bus_dma_segment_t *segs, int nseg, argument 273 pcb->ioc->u.md.bus_nsegs = nseg;
|
/freebsd-11-stable/sys/dev/sfxge/ |
H A D | sfxge_dma.c | 51 sfxge_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
|