Searched refs:ds (Results 1 - 25 of 180) sorted by relevance

12345678

/src/sys/dev/dtv/
H A Ddtv_buffer.c52 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_write
61 mutex_enter(&ds->ds_ingress_lock);
63 if (SIMPLEQ_EMPTY(&ds->ds_ingress)) {
66 mutex_exit(&ds->ds_ingress_lock);
70 db = SIMPLEQ_FIRST(&ds->ds_ingress);
71 mutex_exit(&ds->ds_ingress_lock);
74 if (dtv_scatter_io_init(&ds->ds_data,
83 mutex_enter(&ds->ds_ingress_lock);
84 SIMPLEQ_REMOVE_HEAD(&ds->ds_ingress, db_entries);
85 mutex_exit(&ds
131 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_realloc
178 dtv_stream_dequeue(struct dtv_stream * ds) argument
192 dtv_stream_enqueue(struct dtv_stream * ds,struct dtv_buffer * db) argument
201 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_setup
215 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_destroy
232 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_read
298 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_poll
[all...]
H A Ddtv_device.c94 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_attach
103 ds->ds_nbufs = 0;
104 ds->ds_buf = NULL;
105 SIMPLEQ_INIT(&ds->ds_ingress);
106 SIMPLEQ_INIT(&ds->ds_egress);
107 mutex_init(&ds->ds_egress_lock, MUTEX_DEFAULT, IPL_SCHED);
108 mutex_init(&ds->ds_ingress_lock, MUTEX_DEFAULT, IPL_SCHED);
109 cv_init(&ds->ds_sample_cv, "dtv");
110 selinit(&ds->ds_sel);
111 dtv_scatter_buf_init(&ds
147 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_detach
[all...]
/src/sys/dev/dmover/
H A Ddmover_io.c181 struct dmio_state *ds; local in function:dmio_state_get
183 ds = pool_get(&dmio_state_pool, PR_WAITOK | PR_ZERO);
185 getnanotime(&ds->ds_btime);
186 ds->ds_atime = ds->ds_mtime = ds->ds_btime;
188 mutex_init(&ds->ds_lock, MUTEX_DEFAULT, IPL_SOFTCLOCK);
189 cv_init(&ds->ds_complete_cv, "dmvrrd");
190 cv_init(&ds->ds_nreqs_cv, "dmiowr");
191 TAILQ_INIT(&ds
199 dmio_state_put(struct dmio_state * ds) argument
219 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_usrreq_init
356 dmio_usrreq_fini(struct dmio_state * ds,struct dmio_usrreq_state * dus) argument
397 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_read
481 struct dmio_state *ds = dreq->dreq_session->dses_cookie; local in function:dmio_usrreq_done
519 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_write
603 struct dmio_state *ds = fp->f_data; local in function:dmio_stat
625 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_ioctl
680 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_poll
727 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_close
787 struct dmio_state *ds; local in function:dmoverioopen
[all...]
/src/lib/libc/compat/sys/
H A Dcompat___msgctl13.c56 struct msqid_ds ds; variable in typeref:struct:msqid_ds
60 __msqid_ds13_to_native(ds13, &ds);
62 error = __msgctl50(msqid, cmd, &ds);
66 __native_to_msqid_ds13(&ds, ds13);
H A Dcompat___shmctl13.c56 struct shmid_ds ds; variable in typeref:struct:shmid_ds
60 __shmid_ds13_to_native(ds13, &ds);
62 error = __shmctl50(shmid, cmd, &ds);
66 __native_to_shmid_ds13(&ds, ds13);
H A Dcompat___semctl13.c66 struct semid_ds ds; variable in typeref:struct:semid_ds
91 semun.buf = &ds;
93 __semid_ds13_to_native(ds13, &ds);
106 __native_to_semid_ds13(&ds, ds13);
H A Dcompat_semctl.c58 struct semid_ds ds; local in function:semctl
85 __semid_ds14_to_native(ds14, &ds);
86 semun.buf = &ds;
98 __native_to_semid_ds14(&ds, ds14);
/src/games/morse/
H A Dmorse.c123 while ((ch = getopt(argc, argv, "ds")) != -1)
132 fprintf(stderr, "usage: morse [-ds] [string ...]\n");
/src/sys/arch/i386/stand/lib/
H A Dbiosmemps2.S69 push %ds
73 mov %ds,%ax
75 mov %ax,%ds
81 pop %ds
H A Dpvcopy.S36 * Needed because the boot code runs with %ds having a 64k offset
99 push %ds
105 mov %ax, %ds
112 popl %ds
/src/sys/arch/playstation2/dev/
H A Dohci_sbus.c171 struct ohci_dma_segment *ds; local in function:_ohci_sbus_mem_alloc
176 ds = kmem_intr_alloc(sizeof(struct ohci_dma_segment), KM_NOSLEEP);
177 if (ds == NULL)
182 iopdma_seg = &ds->ds_iopdma_seg;
186 kmem_intr_free(ds, sizeof(*ds));
194 LIST_INSERT_HEAD(&sc->sc_dmaseg_head, ds, ds_link);
205 struct ohci_dma_segment *ds; local in function:_ohci_sbus_mem_free
208 for (ds = LIST_FIRST(&sc->sc_dmaseg_head); ds !
228 struct ohci_dma_segment *ds; local in function:_ohci_sbus_mem_map
[all...]
/src/sys/arch/hppa/spmath/
H A Ddivu.S75 ds 0,tp,0
77 ds rem,dvr,rem ; 1st divide step, if carry
80 ds rem,dvr,rem ; 2nd divide step
82 ds rem,dvr,rem ; 3rd divide step
84 ds rem,dvr,rem ; 4th divide step
86 ds rem,dvr,rem ; 5th divide step
88 ds rem,dvr,rem ; 6th divide step
90 ds rem,dvr,rem ; 7th divide step
92 ds rem,dvr,rem ; 8th divide step
94 ds re
[all...]
/src/sys/arch/arm/xscale/
H A Dpxa2x0_dmac.c413 struct dmac_dmover_state *ds; local in function:dmac_dmover_attach
429 ds = &dd->dd_state[i];
430 ds->ds_sc = sc;
431 ds->ds_current = NULL;
432 ds->ds_xfer.dxs_cookie = ds;
433 ds->ds_xfer.dxs_done = dmac_dmover_done;
434 ds->ds_xfer.dxs_priority = DMAC_PRIORITY_NORMAL;
435 ds->ds_xfer.dxs_peripheral = DMAC_PERIPH_NONE;
436 ds
513 struct dmac_dmover_state *ds; local in function:dmac_dmover_run
691 struct dmac_dmover_state *ds = dx->dx_cookie; local in function:dmac_dmover_done
810 dmac_init_desc(struct dmac_desc_segs * ds,struct dmac_xfer_desc * xd,size_t * psize,bool * misaligned_flag) argument
[all...]
/src/sys/dev/ic/
H A Dosiop.c228 aprint_error(": failed to allocate ds memory, err=%d\n", err);
235 aprint_error(": failed to map ds memory, err=%d\n", err);
243 aprint_error(": failed to create ds map, err=%d\n", err);
249 aprint_error(": failed to load ds map, err=%d\n", err);
279 acb->ds = &sc->sc_ds[i];
283 acb->ds->id.addr = dsa + OSIOP_DSIDOFF;
284 acb->ds->cmd.addr = dsa + OSIOP_DSCMDOFF;
285 acb->ds->status.count = 1;
286 acb->ds->status.addr = dsa + OSIOP_DSSTATOFF;
287 acb->ds
881 struct osiop_ds *ds = acb->ds; local in function:osiop_start
1046 struct osiop_ds *ds = NULL; /* XXX */ local in function:osiop_checkintr
[all...]
H A Ddp83932.c289 struct sonic_descsoft *ds; local in function:sonic_start
322 ds = &sc->sc_txsoft[nexttx];
323 dmamap = ds->ds_dmamap;
382 ds->ds_mbuf = m0;
630 struct sonic_descsoft *ds; local in function:sonic_txintr
639 ds = &sc->sc_txsoft[i];
660 bus_dmamap_sync(sc->sc_dmat, ds->ds_dmamap, 0,
661 ds->ds_dmamap->dm_mapsize, BUS_DMASYNC_POSTWRITE);
662 bus_dmamap_unload(sc->sc_dmat, ds->ds_dmamap);
663 m_freem(ds
708 struct sonic_descsoft *ds; local in function:sonic_rxintr
898 struct sonic_descsoft *ds; local in function:sonic_init
1045 struct sonic_descsoft *ds; local in function:sonic_rxdrain
1067 struct sonic_descsoft *ds; local in function:sonic_stop
1117 struct sonic_descsoft *ds = &sc->sc_rxsoft[idx]; local in function:sonic_add_rxbuf
[all...]
H A Daic6915.c355 struct sf_descsoft *ds; local in function:sf_start
389 ds = &sc->sc_txsoft[producer];
390 dmamap = ds->ds_dmamap;
458 ds->ds_mbuf = m0;
621 struct sf_descsoft *ds; local in function:sf_txintr
650 ds = &sc->sc_txsoft[txidx];
652 bus_dmamap_sync(sc->sc_dmat, ds->ds_dmamap,
653 0, ds->ds_dmamap->dm_mapsize,
655 m_freem(ds->ds_mbuf);
656 ds
687 struct sf_descsoft *ds; local in function:sf_rxintr
919 struct sf_descsoft *ds; local in function:sf_init
1110 struct sf_descsoft *ds; local in function:sf_rxdrain
1132 struct sf_descsoft *ds; local in function:sf_stop
1192 struct sf_descsoft *ds = &sc->sc_rxsoft[idx]; local in function:sf_add_rxbuf
[all...]
/src/sys/compat/netbsd32/
H A Dnetbsd32_compat_50_sysv.c149 struct msqid_ds ds; local in function:compat_50_netbsd32___msgctl13
158 netbsd32_to_msqid_ds50(&ds32, &ds);
162 (cmd == IPC_SET || cmd == IPC_STAT) ? &ds : NULL);
165 netbsd32_from_msqid_ds50(&ds, &ds32);
183 struct shmid_ds ds; local in function:compat_50_netbsd32___shmctl13
192 netbsd32_to_shmid_ds50(&ds32, &ds);
196 (cmd == IPC_SET || cmd == IPC_STAT) ? &ds : NULL);
199 netbsd32_from_shmid_ds50(&ds, &ds32);
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
H A Dcl9097.h34 __u32 ds[4]; member in struct:fermi_a_zbc_color_v0
44 __u32 ds; member in struct:fermi_a_zbc_depth_v0
/src/usr.bin/make/unit-tests/
H A Dopt-debug-suff.mk3 # Tests for the -ds command line option, which adds debug logging about
/src/libexec/ld.elf_so/
H A Dexpand.c118 size_t i, ds = bufsize; local in function:_rtld_expand_path
140 size_t ls = expand(dp, execname, i, ds);
141 if (ls >= ds)
143 ds -= ls;
153 ds--;
/src/sys/arch/amiga/dev/
H A Dsiop2.c310 printf ("waiting: tgt %d cmd %02x sbcl %02x istat %02x sbdl %04x\n dsp %lx (+%lx) dcmd %lx ds %p timeout %d\n",
314 *((volatile long *)&rp->siop_dcmd), &acb->ds, acb->xs->timeout);
775 rp, &siopng_scripts, &acb->ds, sc->sc_active);
791 acb->ds.scsi_addr = (target << 16) | (sc->sc_sync[target].sxfer << 8) |
793 acb->ds.idlen = 1;
794 acb->ds.idbuf = (char *) kvtop(&acb->msgout[0]);
795 acb->ds.cmdlen = clen;
796 acb->ds.cmdbuf = (char *) kvtop(cbuf);
797 acb->ds.stslen = 1;
798 acb->ds
[all...]
H A Dsiop.c324 printf ("waiting: tgt %d cmd %02x sbcl %02x dsp %lx (+%lx) dcmd %lx ds %p timeout %d\n",
328 *((volatile long *)&rp->siop_dcmd), &acb->ds, acb->xs->timeout);
746 rp, &scripts, &acb->ds, sc->sc_active);
762 acb->ds.scsi_addr = (0x10000 << target) | (sc->sc_sync[target].sxfer << 8);
763 acb->ds.idlen = 1;
764 acb->ds.idbuf = (char *) kvtop(&acb->msgout[0]);
765 acb->ds.cmdlen = clen;
766 acb->ds.cmdbuf = (char *) kvtop(cbuf);
767 acb->ds.stslen = 1;
768 acb->ds
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_mac.cc144 void dispatch_source_set_cancel_handler(dispatch_source_t ds,
146 void dispatch_source_set_event_handler(dispatch_source_t ds,
175 INTERCEPTOR(void, dispatch_source_set_cancel_handler, dispatch_source_t ds,
178 REAL(dispatch_source_set_cancel_handler)(ds, work);
182 REAL(dispatch_source_set_cancel_handler)(ds, lsan_block);
185 INTERCEPTOR(void, dispatch_source_set_event_handler, dispatch_source_t ds,
188 REAL(dispatch_source_set_event_handler)(ds, lsan_block);
/src/lib/libc/gdtoa/
H A Dgdtoa.c167 double d2, ds; local in function:gdtoa
246 ds = (dval(&d)-1.5)*0.289529654602168 + 0.1760912590558 + i*0.301029995663981;
252 ds += j * 7e-17;
254 k = (int)ds;
255 if (ds < 0. && ds != k)
256 k--; /* want k = floor(ds) */
357 ds = tens[k&0xf];
368 ds *= bigtens[i];
372 ds
[all...]
/src/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_xmit.c156 ar5416SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, argument
172 struct ar5416_desc *ads = AR5416DESC(ds);
238 ar5416SetupXTxDesc(struct ath_hal *ah, struct ath_desc *ds, argument
243 struct ar5416_desc *ads = AR5416DESC(ds);
264 ar5416FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, argument
268 struct ar5416_desc *ads = AR5416DESC(ds);
310 ar5416ChainTxDesc(struct ath_hal *ah, struct ath_desc *ds,
321 struct ar5416_desc *ads = AR5416DESC(ds);
338 ath_hal_memzero(ds->ds_hw, AR5416_DESC_TX_CTL_SZ);
376 ar5416SetupFirstTxDesc(struct ath_hal *ah, struct ath_desc *ds,
450 ar5416SwapTxDesc(struct ath_desc * ds) argument
466 ar5416ProcTxDesc(struct ath_hal * ah,struct ath_desc * ds,struct ath_tx_status * ts) argument
[all...]

Completed in 26 milliseconds

12345678