Searched refs:nseg (Results 1 - 25 of 148) sorted by relevance

123456

/freebsd-current/sys/dev/hyperv/vmbus/
H A Dhyperv_busdma.c38 hyperv_dma_map_paddr(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
45 KASSERT(nseg == 1, ("too many segments %d!", nseg));
/freebsd-current/sys/dev/hyperv/include/
H A Dhyperv_busdma.h41 int nseg, int error);
/freebsd-current/sys/dev/firewire/
H A Dfwdma.c58 fwdma_map_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
151 int nseg; local
156 nseg = n;
160 nseg = howmany(n, ssize / esize);
163 + sizeof(struct fwdma_seg)*nseg, M_FW, M_WAITOK);
166 am->nseg = 0;
186 for (seg = &am->seg[0]; nseg--; seg++) {
191 am->nseg);
195 am->nseg++;
205 for (seg = &am->seg[0]; am->nseg
[all...]
H A Dfwdma.h53 int nseg; member in struct:fwdma_alloc_multi
101 for (i = 0; i < am->nseg; i++, seg++)
/freebsd-current/sys/dev/dpaa2/
H A Ddpaa2_types.c105 dpaa2_dmamap_oneseg_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
108 KASSERT(nseg == 1, ("%s: too many segments: nseg=%d\n",
109 __func__, nseg));
H A Ddpaa2_buf.h47 int nseg; member in struct:dpaa2_buf
62 (__buf)->nseg = 0; \
86 KASSERT((__buf)->nseg == 0, ("%s: nseg > 0?", __func__)); \
96 KASSERT((__sgt)->nseg == 0, ("%s: S/G nseg > 0?", __func__)); \
110 KASSERT((__buf)->nseg == 0, ("%s: nseg > 0?", __func__)); \
120 KASSERT((__sgt)->nseg == 0, ("%s: S/G nseg >
[all...]
H A Ddpaa2_buf.c167 &buf->nseg, BUS_DMA_NOWAIT);
168 KASSERT(buf->nseg == 1, ("%s: one segment expected: nseg=%d", __func__,
169 buf->nseg));
172 if (__predict_false(error != 0 || buf->nseg != 1)) {
174 "error=%d, nsegs=%d\n", __func__, error, buf->nseg);
/freebsd-current/sys/dev/oce/
H A Doce_util.c46 int nseg,
130 * @param nseg number of dma memory segments
134 oce_dma_map_addr(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument
212 * @param nseg number of dma memory segments
216 oce_dma_map_ring(void *arg, bus_dma_segment_t * segs, int nseg, int error) argument
223 if (nseg <= dpt->max_entries) {
224 for (i = 0; i < nseg; i++) {
228 dpt->num_entries = nseg;
/freebsd-current/sys/dev/qat/include/
H A Dqat_ocf_mem_pool.h130 int nseg,
134 int nseg,
138 int nseg,
/freebsd-current/stand/kboot/kboot/arch/powerpc64/
H A Dppc64_elf_freebsd.c81 int nseg; local
149 kboot_kseg_get(&nseg, &kseg);
151 error = host_kexec_load(trampolinebase, nseg, kseg, HOST_KEXEC_ARCH_PPC64);
/freebsd-current/stand/kboot/kboot/
H A Dkboot.h35 void kboot_kseg_get(int *nseg, void **ptr);
/freebsd-current/sys/dev/qat/qat/
H A Dqat_ocf_mem_pool.c23 qat_ocf_alloc_single_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
74 int nseg,
88 &qat_cookie->src_buffers, segs, nseg, 0, 0);
94 int nseg,
113 &qat_cookie->src_buffers, segs, nseg, start_segment, skip_bytes);
119 int nseg,
148 nseg,
181 nseg,
189 int nseg,
203 nseg, /* nsegment
72 qat_ocf_crypto_load_aadbuf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, int error) argument
92 qat_ocf_crypto_load_buf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, int error) argument
117 qat_ocf_crypto_load_obuf_cb(void *_arg, bus_dma_segment_t *segs, int nseg, int error) argument
187 qat_ocf_alloc_dma_mem(device_t dev, struct qat_ocf_dma_mem *dma_mem, int nseg, bus_size_t size, bus_size_t alignment) argument
[all...]
/freebsd-current/sys/dev/pms/freebsd/driver/ini/src/
H A Dagtiproto.h30 int nseg,
133 int nseg,
137 int nseg,
/freebsd-current/stand/kboot/kboot/arch/aarch64/
H A Dexec.c114 int nseg; local
273 kboot_kseg_get(&nseg, &kseg);
274 error = host_kexec_load(trampolinebase, nseg, kseg, HOST_KEXEC_ARCH_AARCH64);
/freebsd-current/sys/dev/mrsas/
H A Dmrsas_cam.c102 int nseg, int error);
110 bus_dma_segment_t *segs, int nseg);
112 bus_dma_segment_t *segs, int nseg);
1065 io_request->RaidContext.raid_context.nseg = 0x1;
1072 io_request->RaidContext.raid_context_g35.nseg = 0x1;
1118 io_request->RaidContext.raid_context.nseg = 0x1;
1122 io_request->RaidContext.raid_context_g35.nseg = 0x1;
1241 io_request->RaidContext.raid_context.nseg = 0x1;
1435 * @nseg: Number of OS SGEs
1439 static void mrsas_build_ieee_sgl(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg) argument
1499 mrsas_build_prp_nvme(struct mrsas_mpt_cmd *cmd, bus_dma_segment_t *segs, int nseg) argument
1612 mrsas_data_load_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
[all...]
H A Dmrsas_ioctl.c86 mrsas_passthru_load_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
104 if (nseg > MAX_IOCTL_SGE) {
107 "too many segments: %d\n", nseg);
112 for (i = 0; i < nseg; i++) {
116 cb->sge_count = nseg;
/freebsd-current/sys/dev/ioat/
H A Dioat.c80 static void ioat_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg,
99 static void ioat_comp_update_map(void *arg, bus_dma_segment_t *seg, int nseg,
691 ioat_comp_update_map(void *arg, bus_dma_segment_t *seg, int nseg, int error) argument
700 ioat_dmamap_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
1144 int mflags, nseg, error; local
1176 nseg = -1;
1178 src, size, 0, &seg, &nseg);
1188 nseg = -1;
1190 dst, size, 0, &seg, &nseg);
1261 int nseg, erro local
1340 int nseg, error; local
1410 int nseg, error; local
[all...]
/freebsd-current/sys/dev/usb/
H A Dusb_busdma.c415 int nseg, int error)
417 usb_pc_common_mem_cb(arg, segs, nseg, error, 0);
425 int nseg, int error)
427 usb_pc_common_mem_cb(arg, segs, nseg, error, 1);
435 int nseg, int error, uint8_t isload)
465 if (nseg > 1) {
468 for (x = 0; x != nseg - 1; x++) {
487 nseg--;
491 if (nseg == 0)
414 usb_pc_alloc_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
424 usb_pc_load_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
434 usb_pc_common_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error, uint8_t isload) argument
/freebsd-current/sys/dev/qat/qat_common/
H A Dqat_freebsd.c28 bus_dma_mem_cb(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_mem.c35 os_dma_map(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
H A Dsmartpqi_cam.c215 if(rcb->sgt && rcb->nseg)
217 rcb->nseg*sizeof(sgt_t));
551 pqi_request_map_helper(void *arg, bus_dma_segment_t *segs, int nseg, int error) argument
557 if (error || nseg > softs->pqi_cap.max_sg_elem)
559 DBG_ERR_BTL(rcb->dvp, "map failed err = %d or nseg(%d) > sgelem(%u)\n",
560 error, nseg, softs->pqi_cap.max_sg_elem);
564 rcb->sgt = os_mem_alloc(softs, nseg * sizeof(sgt_t));
567 DBG_ERR_BTL(rcb->dvp, "os_mem_alloc() failed; nseg = %d\n", nseg);
571 rcb->nseg
[all...]
/freebsd-current/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c1412 int error, nseg; local
1439 nseg = -1;
1441 BUS_DMA_NOWAIT, &seg, &nseg) != 0) {
1451 KASSERT(++nseg == 1, ("More than one segment (nseg=%d)", nseg));
1620 int i, nseg; local
1635 nseg = -1;
1638 &seg, &nseg) != 0) {
1644 KASSERT(nseg
1717 int error, nseg; local
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_alloc.c44 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-current/sys/dev/iavf/
H A Diavf_osdep.c52 * @nseg: number of segments in the array
58 iavf_dmamap_cb(void *arg, bus_dma_segment_t * segs, int nseg __unused,
161 mem->nseg = 1;
/freebsd-current/sys/dev/ice/
H A Dice_osdep.c66 static void ice_dmamap_cb(void *arg, bus_dma_segment_t * segs, int __unused nseg, int error);
344 * @nseg: number of segments in the array
350 ice_dmamap_cb(void *arg, bus_dma_segment_t * segs, int __unused nseg, int error) argument

Completed in 160 milliseconds

123456