Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 154) sorted by relevance

1234567

/titanic_51/usr/src/uts/sun4u/io/
H A Dppm_plat.c51 ppm_dc_t *dc; in ppm_cpu_next() local
55 dc = ppm_lookup_dc(domp, PPMDC_CPU_NEXT); in ppm_cpu_next()
56 for (; dc && (dc->cmd == PPMDC_CPU_NEXT); dc = dc->next) { in ppm_cpu_next()
57 switch (dc->method) { in ppm_cpu_next()
59 ret = ldi_ioctl(dc->lh, dc->m_un.cpu.iowr, in ppm_cpu_next()
67 str, dc in ppm_cpu_next()
83 ppm_dc_t *dc; ppm_cpu_pre_chng() local
126 ppm_dc_t *dc; ppm_cpu_go() local
155 ppm_dc_t *dc; ppm_cpu_post_chng() local
[all...]
/titanic_51/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c146 dump_conf_t *dc; in dump_unregister() local
149 while ((dc = cache) != NULL) { in dump_unregister()
151 (void) rcm_unregister_interest(hdl, dc->device, 0); in dump_unregister()
152 free(dc); in dump_unregister()
164 dump_conf_t *dc; in dump_getinfo() local
170 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_getinfo()
176 conf_flags = dc->conf_flags; in dump_getinfo()
192 dump_conf_t *dc; in dump_suspend() local
201 if ((dc = cache_lookup(rsrcname)) == NULL) { in dump_suspend()
206 rv = dump_relocate(dc, errst in dump_suspend()
217 dump_conf_t *dc; dump_resume() local
243 dump_conf_t *dc; dump_offline() local
277 dump_conf_t *dc; dump_online() local
299 dump_conf_t *dc; dump_remove() local
324 dump_relocate(dump_conf_t * dc,char ** errstr) dump_relocate() argument
356 dump_configure(dump_conf_t * dc,char ** errstr) dump_configure() argument
385 dump_conf_t *dc; dump_conf_alloc() local
521 dump_conf_t *dc; cache_lookup() local
566 dump_conf_t *dc; free_cache() local
[all...]
/titanic_51/usr/src/cmd/dircmp/
H A Ddircmp.sh55 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
59 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
63 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
72 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
76 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
80 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
92 ($cmd "$D1"/"$a" "$D2"/"$a"; echo $? > $TEMPDIR/dc$$status) | \
93 pr -h "diff of $a in $D1 and $D2" >> $TEMPDIR/dc$$g
94 if [[ `cat $TEMPDIR/dc$$status` != 0 ]]
137 find . -print | sort > $TEMPDIR/dc
[all...]
/titanic_51/usr/src/cmd/dumpadm/
H A Dmain.c60 dumpconf_t dc; /* current configuration */ in main() local
103 * If it doesn't exist, we create an empty file and dc is in main()
106 if (dconf_open(&dc, PATH_DEVICE, PATH_CONFIG, dcmode) == -1) in main()
117 if (dconf_str2content(&dc, optarg) == -1) in main()
122 if (dconf_str2device(&dc, optarg) == -1) in main()
145 dc.dc_enable = DC_OFF; in main()
157 if (dconf_str2savdir(&dc, optarg) == -1) in main()
163 dc.dc_enable = DC_ON; in main()
168 if (dconf_str2csave(&dc, optarg) == -1) in main()
179 return (dconf_get_dumpsize(&dc) in main()
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h130 #define DTDISC(dc,ky,sz,lk,mkf,frf,cmpf,hshf,memf,evf) \ argument
131 ( (dc)->key = (int)(ky), (dc)->size = (int)(sz), (dc)->link = (int)(lk), \
132 (dc)->makef = (mkf), (dc)->freef = (frf), \
133 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
134 (dc)->memoryf = (memf), (dc)
284 dtopen(dc,mt) global() argument
305 _DTLNK(dc,o) global() argument
307 _DTO(dc,l) global() argument
308 _DTOBJ(dc,l) global() argument
310 _DTK(dc,o) global() argument
311 _DTKEY(dc,o) global() argument
313 _DTCMP(dt,k1,k2,dc) global() argument
318 _DTHSH(dt,ky,dc) global() argument
[all...]
/titanic_51/usr/src/uts/common/io/ppm/
H A Dppm_subr.c146 * for the purpose of optimizing we search for identical dc->path
158 ppm_dc_t *dc; in ppm_lookup_hndl() local
168 for (dc = domp->dc; dc; dc = dc->next) { in ppm_lookup_hndl()
169 if ((strcmp(dc->path, key_path) == 0) && in ppm_lookup_hndl()
170 (dc->lh != NULL)) { in ppm_lookup_hndl()
173 key_dc->lh = dc in ppm_lookup_hndl()
230 ppm_dc_t *dc; ppm_create_db() local
790 ppm_dc_t *dc; ppm_init_cb() local
832 ppm_init_lyr(ppm_dc_t * dc,dev_info_t * dip) ppm_init_lyr() argument
1089 ppm_parse_dc(char ** dc_namep,ppm_dc_t * dc) ppm_parse_dc() argument
1253 ppm_dc_t *dc; ppm_lookup_dc() local
1401 ppm_print_dc(ppm_dc_t * dc) ppm_print_dc() argument
[all...]
H A Dppm.c1669 ppm_dc_t *dc; in ppm_fetset() local
1675 for (dc = domp->dc; dc; dc = dc->next) in ppm_fetset()
1676 if (dc->cmd == key) in ppm_fetset()
1678 if (!dc || !dc->lh) { in ppm_fetset()
1685 PPM_GET_IO_DELAY(dc, dela in ppm_fetset()
1772 ppm_dc_t *dc = domp->dc; ppm_fetget() local
1851 ppm_dc_t *dc; ppm_switch_clock() local
2216 ppm_dc_t *dc; ppm_gpioset() local
2312 ppm_dc_t *dc; ppm_pcie_pwr() local
2722 ppm_dc_t *dc; ppm_manage_sx() local
[all...]
/titanic_51/usr/src/lib/libast/common/cdt/
H A Ddtnew.c40 Dc_t* dc = (Dc_t*)disc; in eventf() local
43 if (dc->odisc->eventf && (r = (*dc->odisc->eventf)(dt, op, data, dc->odisc))) in eventf()
62 Dc_t dc; in dtnew() local
64 dc.odisc = disc; in dtnew()
65 dc.ndisc = *disc; in dtnew()
66 dc.ndisc.eventf = eventf; in dtnew()
67 if (!dc.ndisc.memoryf) in dtnew()
68 dc.ndisc.memoryf = memoryf; in dtnew()
69 dc.vm = vm; in dtnew()
70 if (dt = dtopen(&dc.ndisc, meth)) in dtnew()
/titanic_51/usr/src/uts/sun4u/sys/
H A Dppm_plat.h37 #define PPM_GET_IO_DELAY(dc, delay) { \ argument
38 if (dc->method == PPMDC_I2CKIO) \
39 delay = dc->m_un.i2c.delay; \
40 else if (dc->method == PPMDC_KIO) \
41 delay = dc->m_un.kio.delay; \
44 #define PPM_GET_IO_POST_DELAY(dc, delay) { \ argument
45 if (dc->method == PPMDC_I2CKIO) \
46 delay = dc->m_un.i2c.post_delay; \
47 else if (dc->method == PPMDC_KIO) \
48 delay = dc
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtnew.c40 Dc_t* dc = (Dc_t*)disc; in eventf() local
43 if (dc->odisc->eventf && (r = (*dc->odisc->eventf)(dt, op, data, dc->odisc))) in eventf()
62 Dc_t dc; in _dtnew() local
64 dc.odisc = disc; in _dtnew()
65 dc.ndisc = *disc; in _dtnew()
66 dc.ndisc.eventf = eventf; in _dtnew()
67 if (!dc.ndisc.memoryf) in _dtnew()
68 dc in _dtnew()
[all...]
/titanic_51/usr/src/uts/common/io/nxge/
H A Dnxge_hio.c213 int dc; in nxge_dci_map() local
224 for (dc = 0; dc < NXGE_MAX_TDCS; dc++) { in nxge_dci_map()
225 if ((1 << dc) & set->owned.map) { in nxge_dci_map()
227 return (dc); in nxge_dci_map()
400 while (group->dc) { in nxge_grp_remove()
401 nxge_grp_dc_remove(nxge, type, group->dc->channel); in nxge_grp_remove()
429 nxge_hio_dc_t *dc; in nxge_grp_dc_add() local
475 if (!(dc in nxge_grp_dc_add()
550 nxge_hio_dc_t *dc; nxge_grp_dc_remove() local
659 nxge_grp_dc_append(nxge_t * nxge,nxge_grp_t * group,nxge_hio_dc_t * dc) nxge_grp_dc_append() argument
770 nxge_hio_dc_t *dc; nxge_grp_dc_map() local
1407 nxge_hio_dc_t *dc; nxge_hio_share_assign() local
1510 nxge_hio_dc_t *dc; nxge_hio_share_unassign() local
2053 nxge_hio_dc_t *dc = group->dc; nxge_hio_remres() local
2306 nxge_hio_dc_t *dc; nxge_hio_dc_share() local
2536 nxge_hio_dc_t *dc; nxge_hio_dc_unshare() local
2574 nxge_hio_dc_t *dc; nxge_hio_rxdma_bind_intr() local
[all...]
H A Dnxge_intr.c321 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */ in nxge_hio_intr_add() local
340 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) { in nxge_hio_intr_add()
350 vector = dc->ldg.vector; in nxge_hio_intr_add()
393 dc->interrupting = B_TRUE; in nxge_hio_intr_add()
422 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */ in nxge_hio_intr_remove() local
440 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) { in nxge_hio_intr_remove()
447 if (dc->interrupting == B_FALSE) { in nxge_hio_intr_remove()
458 vector = dc->ldg.vector; in nxge_hio_intr_remove()
490 dc->interrupting = B_FALSE; in nxge_hio_intr_remove()
766 * dc Th
777 nxge_hio_tdsv_add(nxge_t * nxge,nxge_hio_dc_t * dc) nxge_hio_tdsv_add() argument
843 nxge_hio_rdsv_add(nxge_t * nxge,nxge_hio_dc_t * dc) nxge_hio_rdsv_add() argument
907 nxge_hio_ldsv_add(nxge_t * nxge,nxge_hio_dc_t * dc) nxge_hio_ldsv_add() argument
[all...]
H A Dnxge_hio_guest.c179 nxge_hio_dc_t *dc; in nxge_hio_vr_add() local
302 dc = nxge_guest_dc_alloc(nxge, vr, in nxge_hio_vr_add()
304 if (dc == 0) { in nxge_hio_vr_add()
309 dc->channel = (nxge_channel_t)i; in nxge_hio_vr_add()
335 dc = nxge_guest_dc_alloc(nxge, vr, in nxge_hio_vr_add()
337 if (dc == 0) { in nxge_hio_vr_add()
342 dc->channel = (nxge_channel_t)i; in nxge_hio_vr_add()
382 nxge_hio_dc_t *dc; in nxge_guest_dc_alloc() local
392 dc = &nhd->tdc[0]; in nxge_guest_dc_alloc()
395 dc in nxge_guest_dc_alloc()
416 nxge_hio_dc_t *dc; nxge_hio_get_dc_htable_idx() local
604 nxge_hio_dc_t *dc; nxge_tdc_lp_conf() local
723 nxge_hio_dc_t *dc; nxge_rdc_lp_conf() local
926 nxge_hio_dc_t *dc; nxge_hio_rdc_intr_arm() local
[all...]
/titanic_51/usr/src/lib/libast/common/sfio/
H A Dsfsk.c39 reg Sfdisc_t* dc; local
65 { dc = disc;
75 { SFDISC(f,dc,seekf);
76 if(dc && dc->seekf)
77 { SFDCSK(f,addr,type,dc,p);
89 switch(_sfexcept(f,SF_SEEK,s,dc))
101 for(dc = f->disc; dc; dc = dc->disc)
102 if(dc == disc)
104 disc = dc;
H A Dsfwr.c135 reg Sfdisc_t* dc; local
157 dc = disc;
162 SFDISC(f,dc,writef);
163 if(dc && dc->exceptf && (f->flags&SF_IOCHECK) )
167 if((rv = _sfexcept(f,SF_WRITE,n,dc)) > 0)
179 { f->here = SFSK(f,(Sfoff_t)0,SEEK_END,dc);
184 f->here = SFSK(f,f->here,SEEK_SET,dc);
190 if(dc && dc->writef)
191 { SFDCWR(f,buf,n,dc,w);
216 f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
[all …]
H A Dsfrd.c71 reg Sfdisc_t* dc; local
112 dc = disc;
122 SFDISC(f,dc,readf);
123 if(dc && dc->exceptf && (f->flags&SF_IOCHECK) )
127 if((rv = _sfexcept(f,SF_READ,n,dc)) > 0)
148 (r = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc)) != f->here)
199 (void)SFSK(f,f->here,SEEK_SET,dc);
216 (void)SFSK(f,f->here,SEEK_SET,dc);
238 f->here = SFSK(f,f->here,SEEK_SET,dc);
239 else f->here = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc);
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfsk.c39 reg Sfdisc_t* dc; local
65 { dc = disc;
75 { SFDISC(f,dc,seekf);
76 if(dc && dc->seekf)
77 { SFDCSK(f,addr,type,dc,p);
89 switch(_sfexcept(f,SF_SEEK,s,dc))
101 for(dc = f->disc; dc; dc
[all...]
H A Dsfwr.c138 reg Sfdisc_t* dc; local
160 dc = disc;
165 SFDISC(f,dc,writef);
166 if(dc && dc->exceptf && (f->flags&SF_IOCHECK) )
170 if((rv = _sfexcept(f,SF_WRITE,n,dc)) > 0)
182 { f->here = SFSK(f,(Sfoff_t)0,SEEK_END,dc);
187 f->here = SFSK(f,f->here,SEEK_SET,dc);
193 if(dc && dc
[all...]
H A Dsfrd.c71 reg Sfdisc_t* dc; local
112 dc = disc;
122 SFDISC(f,dc,readf);
123 if(dc && dc->exceptf && (f->flags&SF_IOCHECK) )
127 if((rv = _sfexcept(f,SF_READ,n,dc)) > 0)
148 (r = SFSK(f,(Sfoff_t)0,SEEK_CUR,dc)) != f->here)
199 (void)SFSK(f,f->here,SEEK_SET,dc);
216 (void)SFSK(f,f->here,SEEK_SET,dc);
238 f->here = SFSK(f,f->here,SEEK_SET,dc);
[all...]
/titanic_51/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c327 daclient_t *dc; in devaudio_proc_hold() local
335 if ((dc = kmem_zalloc(sizeof (*dc), KM_NOSLEEP)) == NULL) { in devaudio_proc_hold()
339 mutex_init(&dc->dc_lock, NULL, MUTEX_DRIVER, NULL); in devaudio_proc_hold()
340 list_create(&dc->dc_eofcnt, sizeof (struct eofcnt), in devaudio_proc_hold()
342 auclnt_set_private(c, dc); in devaudio_proc_hold()
349 dc->dc_client = c; in devaudio_proc_hold()
350 dc->dc_dev = dev; in devaudio_proc_hold()
439 dc->dc_wq = auclnt_get_wq(c); in devaudio_proc_hold()
442 dc in devaudio_proc_hold()
461 daclient_t *dc; devaudio_clear_eof() local
477 daclient_t *dc; devaudio_proc_release() local
526 daclient_t *dc = auclnt_get_private(c); devaudio_input() local
628 daclient_t *dc = auclnt_get_private(c); devaudio_ioc_getinfo() local
656 daclient_t *dc; devaudio_ioc_setinfo() local
984 daclient_t *dc = auclnt_get_private(c); devaudio_drain() local
1003 daclient_t *dc = auclnt_get_private(c); devaudio_output() local
1361 daclient_t *dc = auclnt_get_private(c); devaudio_wsrv() local
[all...]
/titanic_51/usr/src/lib/libnsl/rpc/
H A Dsvc.c1704 struct dupcache *dc; in __svc_dupcache_init() local
1716 dc = malloc(sizeof (struct dupcache)); in __svc_dupcache_init()
1717 if (dc == NULL) { in __svc_dupcache_init()
1723 (void) rwlock_init(&(dc->dc_lock), USYNC_THREAD, NULL); in __svc_dupcache_init()
1725 dc->dc_time = *((time_t *)condition); in __svc_dupcache_init()
1727 dc->dc_time = DUPCACHE_TIME; in __svc_dupcache_init()
1728 dc->dc_buckets = DUPCACHE_BUCKETS; in __svc_dupcache_init()
1729 dc->dc_maxsz = DUPCACHE_MAXSZ; in __svc_dupcache_init()
1730 dc->dc_basis = basis; in __svc_dupcache_init()
1731 dc in __svc_dupcache_init()
1776 struct dupcache *dc = (struct dupcache *)xprt_cache; __svc_dup() local
1816 __svc_dupcache_check(struct svc_req * req,caddr_t * resp_buf,uint_t * resp_bufsz,struct dupcache * dc,uint32_t drxid,uint32_t drhash) __svc_dupcache_check() argument
1882 __svc_dupcache_victim(struct dupcache * dc,time_t timenow) __svc_dupcache_victim() argument
1975 __svc_dupcache_enter(struct svc_req * req,struct dupreq * dr,struct dupcache * dc,uint32_t drxid,uint32_t drhash,time_t timenow) __svc_dupcache_enter() argument
2024 struct dupcache *dc = (struct dupcache *)xprt_cache; __svc_dupdone() local
2064 __svc_dupcache_update(struct svc_req * req,caddr_t resp_buf,uint_t resp_bufsz,int status,struct dupcache * dc,uint32_t drxid,uint32_t drhash) __svc_dupcache_update() argument
2137 __svc_dupcache_debug(struct dupcache * dc) __svc_dupcache_debug() argument
[all...]
/titanic_51/usr/src/uts/i86pc/sys/
H A Dppm_plat.h39 #define PPM_GET_IO_DELAY(dc, delay) { \ argument
40 if (dc->method == PPMDC_KIO) \
41 delay = dc->m_un.kio.delay; \
44 #define PPM_GET_IO_POST_DELAY(dc, delay) { \ argument
45 if (dc->method == PPMDC_KIO) \
46 delay = dc->m_un.kio.post_delay; \
/titanic_51/usr/src/lib/libast/common/include/
H A Dcdt.h102 #define DTDISC(dc,ky,sz,lk,mkf,frf,cmpf,hshf,memf,evf) \ argument
103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \
104 (dc)->makef = (mkf), (dc)->freef = (frf), \
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
244 #define _DTDSC(dc,ky,sz,lk,cmpf) \ argument
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
253 #define _DTHSH(dt,ky,dc,sz) ((dc)->hashf ? (*(dc)->hashf)(dt,ky,dc) : dtstrhash(0,ky,sz) ) argument
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h102 #define DTDISC(dc,ky,sz,lk,mkf,frf,cmpf,hshf,memf,evf) \ argument
103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \
104 (dc)->makef = (mkf), (dc)->freef = (frf), \
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
244 #define _DTDSC(dc,ky,sz,lk,cmpf) \ argument
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
253 #define _DTHSH(dt,ky,dc,sz) ((dc)->hashf ? (*(dc)->hashf)(dt,ky,dc) : dtstrhash(0,ky,sz) ) argument
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h102 #define DTDISC(dc,ky,sz,lk,mkf,frf,cmpf,hshf,memf,evf) \ argument
103 ( (dc)->key = (ky), (dc)->size = (sz), (dc)->link = (lk), \
104 (dc)->makef = (mkf), (dc)->freef = (frf), \
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
244 #define _DTDSC(dc,ky,sz,lk,cmpf) \ argument
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
250 #define _DTCMP(dt,k1,k2,dc,cmpf,sz) \ argument
251 ((cmpf) ? (*cmpf)(dt,k1,k2,dc) : \
253 #define _DTHSH(dt,ky,dc,sz) ((dc)->hashf ? (*(dc)->hashf)(dt,ky,dc) : dtstrhash(0,ky,sz) ) argument

1234567