/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | sincospif.c | 36 double ds, dc; local 43 sincospi((double) x, &ds, &dc); 45 *c = (float) dc;
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | readdir.c | 56 static struct direct dc; variable in typeref:struct:direct 109 dc.d_ino = dc64.d_ino; 110 dc.d_reclen = dc64.d_reclen - 4; 111 dc.d_namlen = dc64.d_namlen; 112 (void) strcpy(dc.d_name, dc64.d_name); 114 return (&dc);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfsk.c | 39 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 D | sfwr.c | 135 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 [all...] |
H A D | sfrd.c | 71 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...] |
/illumos-gate/usr/src/lib/libast/common/cdt/ |
H A D | dtnew.c | 40 Dc_t* dc = (Dc_t*)disc; local 43 if (dc->odisc->eventf && (r = (*dc->odisc->eventf)(dt, op, data, dc->odisc))) 62 Dc_t dc; local 64 dc.odisc = disc; 65 dc.ndisc = *disc; 66 dc.ndisc.eventf = eventf; 67 if (!dc.ndisc.memoryf) 68 dc [all...] |
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | main.c | 60 dumpconf_t dc; /* current configuration */ local 103 * If it doesn't exist, we create an empty file and dc is 106 if (dconf_open(&dc, PATH_DEVICE, PATH_CONFIG, dcmode) == -1) 117 if (dconf_str2content(&dc, optarg) == -1) 122 if (dconf_str2device(&dc, optarg) == -1) 145 dc.dc_enable = DC_OFF; 157 if (dconf_str2savdir(&dc, optarg) == -1) 163 dc.dc_enable = DC_ON; 168 if (dconf_str2csave(&dc, optarg) == -1) 179 return (dconf_get_dumpsize(&dc) [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | ppm_plat.c | 51 ppm_dc_t *dc; local 55 dc = ppm_lookup_dc(domp, PPMDC_CPU_NEXT); 56 for (; dc && (dc->cmd == PPMDC_CPU_NEXT); dc = dc->next) { 57 switch (dc->method) { 59 ret = ldi_ioctl(dc->lh, dc->m_un.cpu.iowr, 67 str, dc 83 ppm_dc_t *dc; local 126 ppm_dc_t *dc; local 155 ppm_dc_t *dc; local [all...] |
/illumos-gate/usr/src/cmd/idmap/test-getdc/ |
H A D | getdc_main.c | 35 ad_disc_ds_t *dc, *gc; local 64 dc = ad_disc_get_DomainController(ad_ctx, 66 if (dc == NULL) { 71 print_ds(dc); 72 free(dc);
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cpowf.c | 57 double dx, dy, du, dv, dt, dc, ds, dp, dq, dr; local 114 sincospi(dt * du, &ds, &dc); 115 F_RE(ans) = (float)(dr * dc); 165 sincospi(dq, &ds, &dc); 166 F_RE(ans) = (float)(dr * dc);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 641 dh_context_t dc = (dh_context_t)ctx; local 667 oid_der_len = der_length_size(dc->mech->length); 670 + dc->mech->length + namelen_len + namelen; 692 *p++ = ((mechoid_tag_len + oid_der_len + dc->mech->length) 694 *p++ = ((mechoid_tag_len + oid_der_len + dc->mech->length) 700 if (!put_der_length(dc->mech->length, &p, currlen) == 0) { 705 memcpy(p, dc->mech->elements, dc->mech->length); 706 p += dc->mech->length;
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_vadj.c | 405 int dc = destcol; local 416 destline = dl - cnt, destcol = dc;
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | dump_rcm.c | 146 dump_conf_t *dc; local 149 while ((dc = cache) != NULL) { 151 (void) rcm_unregister_interest(hdl, dc->device, 0); 152 free(dc); 164 dump_conf_t *dc; local 170 if ((dc = cache_lookup(rsrcname)) == NULL) { 176 conf_flags = dc->conf_flags; 192 dump_conf_t *dc; local 201 if ((dc = cache_lookup(rsrcname)) == NULL) { 206 rv = dump_relocate(dc, errst 217 dump_conf_t *dc; local 243 dump_conf_t *dc; local 277 dump_conf_t *dc; local 299 dump_conf_t *dc; local 324 dump_relocate(dump_conf_t *dc, char **errstr) argument 356 dump_configure(dump_conf_t *dc, char **errstr) argument 385 dump_conf_t *dc; local 521 dump_conf_t *dc; local 566 dump_conf_t *dc; local [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio_guest.c | 179 nxge_hio_dc_t *dc; local 302 dc = nxge_guest_dc_alloc(nxge, vr, 304 if (dc == 0) { 309 dc->channel = (nxge_channel_t)i; 335 dc = nxge_guest_dc_alloc(nxge, vr, 337 if (dc == 0) { 342 dc->channel = (nxge_channel_t)i; 382 nxge_hio_dc_t *dc; local 392 dc = &nhd->tdc[0]; 395 dc 416 nxge_hio_dc_t *dc; local 604 nxge_hio_dc_t *dc; local 723 nxge_hio_dc_t *dc; local 926 nxge_hio_dc_t *dc; local [all...] |
H A D | nxge_intr.c | 321 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */ local 340 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) { 350 vector = dc->ldg.vector; 393 dc->interrupting = B_TRUE; 422 nxge_hio_dc_t *dc; /* The relevant DMA channel data structure. */ local 440 if ((dc = nxge_grp_dc_find(nxge, type, channel)) == 0) { 447 if (dc->interrupting == B_FALSE) { 458 vector = dc->ldg.vector; 490 dc->interrupting = B_FALSE; 766 * dc Th 775 nxge_hio_tdsv_add( nxge_t *nxge, nxge_hio_dc_t *dc) argument 841 nxge_hio_rdsv_add( nxge_t *nxge, nxge_hio_dc_t *dc) argument 907 nxge_hio_ldsv_add(nxge_t *nxge, nxge_hio_dc_t *dc) argument [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_door.c | 723 door_cred_t dc; local 725 if (door_cred(&dc) < 0) 727 lcred->euid = dc.dc_euid; 728 lcred->egid = dc.dc_egid; 729 lcred->ruid = dc.dc_ruid; 730 lcred->rgid = dc.dc_rgid; 731 lcred->pid = dc.dc_pid;
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_cout.c | 434 inline_type(declaration *dc, int *size) argument 440 if (dc->prefix == NULL && 441 (dc->rel == REL_ALIAS || dc->rel == REL_VECTOR)) { 442 ptr = find_type(dc->type); 453 arraysize(char *sz, declaration *dc, int elsize) argument 487 len = strlen(dc->array_max) + (elsize == 1 ? 0 : digits + 5) + 1; 497 plus, dc->array_max); 500 plus, dc->array_max, elsize);
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon.c | 130 sock_downcalls_t *dc, int flags, int *errorp) 150 so->so_downcalls = dc; 129 socket_newconn(struct sonode *parent, sock_lower_handle_t lh, sock_downcalls_t *dc, int flags, int *errorp) argument
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | door_calls.c | 315 door_cred(door_cred_t *dc) argument 325 dc->dc_euid = ucred_geteuid(ucp); 326 dc->dc_ruid = ucred_getruid(ucp); 327 dc->dc_egid = ucred_getegid(ucp); 328 dc->dc_rgid = ucred_getrgid(ucp); 329 dc->dc_pid = ucred_getpid(ucp);
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_sun.c | 327 daclient_t *dc; local 335 if ((dc = kmem_zalloc(sizeof (*dc), KM_NOSLEEP)) == NULL) { 339 mutex_init(&dc->dc_lock, NULL, MUTEX_DRIVER, NULL); 340 list_create(&dc->dc_eofcnt, sizeof (struct eofcnt), 342 auclnt_set_private(c, dc); 349 dc->dc_client = c; 350 dc->dc_dev = dev; 439 dc->dc_wq = auclnt_get_wq(c); 442 dc 461 daclient_t *dc; local 477 daclient_t *dc; local 526 daclient_t *dc = auclnt_get_private(c); local 628 daclient_t *dc = auclnt_get_private(c); local 656 daclient_t *dc; local 984 daclient_t *dc = auclnt_get_private(c); local 1003 daclient_t *dc = auclnt_get_private(c); local 1361 daclient_t *dc = auclnt_get_private(c); local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_browser.c | 1297 * The dc argument will be set if a DC is found. 1300 smb_browser_netlogon(char *domain, char *dc, uint32_t dc_len) argument 1316 bzero(dc, dc_len); 1327 (void) strlcpy(dc, ntdomain_info.n_name, dc_len);
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | ldap_ping.c | 260 ad_disc_ds_t *dc = &cds->cds_ds; local 291 dc->flags = *cp++; 292 dc->flags |= (*cp++ << 8); 293 dc->flags |= (*cp++ << 16); 294 dc->flags |= (*cp++ << 26); 315 if (0 != strcasecmp(val, dc->host)) { 317 val, dc->host); 338 (void) strlcpy(dc->site, val, sizeof (dc->site));
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 248 ad_disc_ds_t *dc = NULL; local 269 dc = ad_disc_get_DomainController(ad_ctx, AD_DISC_GLOBAL, NULL); 270 if (dc == NULL) { 279 p->ad_port = dc->port; 280 p->ad_host = strdup(dc->host); 304 free(dc);
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_main.c | 1062 lcollection_report_t dc; local 1068 bzero(&dc, sizeof (dc)); 1069 dc.lcol_id = lcol->lcol_id; 1070 (void) strcpy(dc.lcol_name, lcol->lcol_name); 1071 dc.lcol_rss = lcol->lcol_rss; 1072 dc.lcol_image_size = lcol->lcol_image_size; 1073 dc.lcol_rss_cap = lcol->lcol_rss_cap; 1074 dc.lcol_stat = lcol->lcol_stat; 1076 if (write(fd, &dc, sizeo [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/ |
H A D | sctp.c | 364 sctp_data_hdr_t dc; local 373 if (mdb_vread(&dc, sizeof (dc), (uintptr_t)mp.b_rptr) == -1) 377 dc.sdh_tsn, dc.sdh_sid); 378 mdb_printf("%-?sssn\t%?hu\tppid\t%?x\n", "", dc.sdh_ssn, 379 dc.sdh_payload_id);
|