/src/sys/dev/dtv/ |
dtv_buffer.c | 55 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_write 64 mutex_enter(&ds->ds_ingress_lock); 66 if (SIMPLEQ_EMPTY(&ds->ds_ingress)) { 69 mutex_exit(&ds->ds_ingress_lock); 73 db = SIMPLEQ_FIRST(&ds->ds_ingress); 74 mutex_exit(&ds->ds_ingress_lock); 77 if (dtv_scatter_io_init(&ds->ds_data, 86 mutex_enter(&ds->ds_ingress_lock); 87 SIMPLEQ_REMOVE_HEAD(&ds->ds_ingress, db_entries); 88 mutex_exit(&ds->ds_ingress_lock) 134 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_realloc 204 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_setup 218 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_destroy 235 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_read 301 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_buffer_poll [all...] |
dtv_device.c | 97 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_attach 106 ds->ds_nbufs = 0; 107 ds->ds_buf = NULL; 108 SIMPLEQ_INIT(&ds->ds_ingress); 109 SIMPLEQ_INIT(&ds->ds_egress); 110 mutex_init(&ds->ds_egress_lock, MUTEX_DEFAULT, IPL_SCHED); 111 mutex_init(&ds->ds_ingress_lock, MUTEX_DEFAULT, IPL_SCHED); 112 cv_init(&ds->ds_sample_cv, "dtv"); 113 selinit(&ds->ds_sel); 114 dtv_scatter_buf_init(&ds->ds_data) 150 struct dtv_stream *ds = &sc->sc_stream; local in function:dtv_detach [all...] |
/src/sys/dev/dmover/ |
dmover_io.c | 181 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->ds_pending) 219 struct dmio_state *ds = (struct dmio_state *) fp->f_data; local in function:dmio_usrreq_init 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/ |
compat___msgctl13.c | 56 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);
|
compat___shmctl13.c | 56 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);
|
compat___semctl13.c | 66 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);
|
compat_semctl.c | 58 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/ |
morse.c | 123 while ((ch = getopt(argc, argv, "ds")) != -1) 132 fprintf(stderr, "usage: morse [-ds] [string ...]\n");
|
/src/sys/arch/i386/stand/lib/ |
biosmemps2.S | 69 push %ds 73 mov %ds,%ax 75 mov %ax,%ds 81 pop %ds
|
pvcopy.S | 36 * 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/ |
ohci_sbus.c | 171 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 != NULL 228 struct ohci_dma_segment *ds; local in function:_ohci_sbus_mem_map [all...] |
/src/sys/arch/hppa/spmath/ |
divu.S | 75 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 rem,dvr,rem ; 9th divide ste [all...] |
/src/sys/arch/arm/xscale/ |
pxa2x0_dmac.c | 413 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->ds_xfer.dxs_flow = DMAC_FLOW_CTRL_NONE 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 [all...] |
/src/sys/dev/ic/ |
osiop.c | 228 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->msg.count = 1 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...] |
dp83932.c | 289 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->ds_mbuf) 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...] |
aic6915.c | 355 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->ds_mbuf = NULL 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/ |
netbsd32_compat_50_sysv.c | 149 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/ |
cl9097.h | 34 __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/ |
opt-debug-suff.mk | 3 # Tests for the -ds command line option, which adds debug logging about
|
/src/libexec/ld.elf_so/ |
expand.c | 118 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/ |
siop2.c | 310 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); 553 * malloc sc_acb to ensure that DS is on a long word boundary. 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 [all...] |
siop.c | 324 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); 566 * malloc sc_acb to ensure that DS is on a long word boundary. 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 [all...] |
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_mac.cc | 144 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/ |
gdtoa.c | 167 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 = 1. [all...] |
/src/sys/external/isc/atheros_hal/dist/ar5416/ |
ar5416_xmit.c | 156 ar5416SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, 172 struct ar5416_desc *ads = AR5416DESC(ds); 238 ar5416SetupXTxDesc(struct ath_hal *ah, struct ath_desc *ds, 243 struct ar5416_desc *ads = AR5416DESC(ds); 264 ar5416FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, 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, [all...] |