/illumos-gate/usr/src/cmd/cmd-inet/common/ |
H A D | kcmd.c | 103 krb5_ccache cc; local 272 if (status = krb5_cc_default(bsd_context, &cc)) 275 status = krb5_cc_get_principal(bsd_context, cc, &get_cred->client); 277 (void) krb5_cc_close(bsd_context, cc); 282 status = krb5_get_credentials(bsd_context, 0, cc, get_cred, &ret_cred); 283 (void) krb5_cc_close(bsd_context, cc); 572 int cc; local 598 if ((cc = krb5_net_read(kcmd_context, fd, (char *)len_buf, 4)) != 4) { 599 if ((cc < 0) && ((errno == EWOULDBLOCK) || (errno == EAGAIN))) 600 return (cc); 718 int cc; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 420 wchar_t c, cc; local 445 while ((cc = *p) != '\0') { 446 if ((len_p = mbtowc(&cc, p, MB_CUR_MAX)) <= 0) { 447 cc = (unsigned char)*p; 451 if (cc == ']') { 456 if (cc == '-') { 466 if (scc == (lc1 = cc)) 469 if (cc == 0) 530 int c, cc; local 539 while (cc [all...] |
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 61 krb5_ccache cc; member in struct:k5_data 766 if ((code = krb5_cc_default(k5.ctx, &k5.cc))) { 780 if ((code = krb5_get_renewed_creds(k5.ctx, &my_creds, k5.me, k5.cc, 786 if (code = krb5_cc_initialize(k5.ctx, k5.cc, k5.me)) { 792 if (code = krb5_cc_store_cred(k5.ctx, k5.cc, &my_creds)) { 807 if (k5.cc) 808 krb5_cc_close(k5.ctx, k5.cc);
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | cmds.c | 86 cu_take(int cc) argument 194 pipefile(int cc) argument 244 tip_sendfile(int cc) argument 249 (void) putchar(cc); 384 cu_put(int cc) argument 422 char cc; local 425 cc = c; 426 parwrite(FD, (unsigned char *)&cc, 1); 448 (void) read(FD, &cc, 1); 569 shell(int cc) argument 635 chdirectory(int cc) argument 668 finish(int cc) argument 743 variable(int cc) argument 855 genbrk(int cc) argument [all...] |
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_misc.c | 1353 _sd_get_cd_blk(int cd, nsc_off_t cblk, _sd_cctl_t **cc, caddr_t *data, argument 1362 *cc = cc_ent;
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_regd.c | 78 uint16_t cc = rd & ~COUNTRY_ERD_FLAG; local 80 if (allCountries[i].countryCode == cc) 109 ath9k_regd_is_ccode_valid(struct ath_hal *ah, uint16_t cc) argument 114 if (cc == CTRY_DEFAULT) 116 if (cc == CTRY_DEBUG) 128 return (cc == (rd & ~COUNTRY_ERD_FLAG)); 132 if (cc == allCountries[i].countryCode) { 229 uint16_t cc = rd & ~COUNTRY_ERD_FLAG; local 231 country = ath9k_regd_find_country(cc); 233 return (cc); 632 ath9k_regd_init_channels( struct ath_hal *ah, uint32_t maxchans, uint32_t *nchans, uint8_t *regclassids, uint32_t maxregids, uint32_t *nregids, uint16_t cc, boolean_t enableOutdoor, boolean_t enableExtendedChannels) argument 930 struct ath9k_channel *base, *cc; local [all...] |
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.c | 443 cmpci_ctrl_t *cc = arg; local 444 cmpci_dev_t *dev = cc->dev; 451 cc->value = val; 461 cmpci_ctrl_t *cc = arg; local 462 cmpci_dev_t *dev = cc->dev; 465 *val = cc->value; 481 cmpci_ctrl_t *cc; local 483 cc = &dev->controls[num]; 485 cc->dev = dev; 578 cc [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 752 uint_t cc = th->num_cookies; local 755 while (--cc > 0) {
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xencons.c | 535 short cc; local 576 cc = HYPERVISOR_console_io(CONSOLEIO_read, 16, (char *)buf); 583 cc = prod - cons; 586 if (cc <= 0) { 603 for (i = 0; i < cc; i++) { 639 "xencons%d_rxint: %d char(s) in queue.\n", instance, cc); 640 if (!(bp = allocb(cc, BPRI_MED))) { 668 } while (--cc); 764 int cc; local 811 while (bp != NULL && (cc [all...] |
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | hpet_acpi.c | 505 hpet_TN_conf_cap_t cc = { 0 }; local 507 cc.int_route_cap = HPET_TIMER_N_INT_ROUTE_CAP(conf); 508 cc.fsb_int_del_cap = HPET_TIMER_N_FSB_INT_DEL_CAP(conf); 509 cc.fsb_int_en_cnf = HPET_TIMER_N_FSB_EN_CNF(conf); 510 cc.int_route_cnf = HPET_TIMER_N_INT_ROUTE_CNF(conf); 511 cc.mode32_cnf = HPET_TIMER_N_MODE32_CNF(conf); 512 cc.val_set_cnf = HPET_TIMER_N_VAL_SET_CNF(conf); 513 cc.size_cap = HPET_TIMER_N_SIZE_CAP(conf); 514 cc.per_int_cap = HPET_TIMER_N_PER_INT_CAP(conf); 515 cc [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | wscons.c | 1095 ssize_t cc; local 1186 if ((cc = bp->b_wptr - bp->b_rptr) == 0) { 1218 cc--; 1236 while (cc <= 0) { 1243 cc = bp->b_wptr - bp->b_rptr; 1261 ssize_t cc; local 1292 cc = bp->b_wptr - cp; 1293 while (cc != 0) { 1305 cc--; 1315 if ((cc [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | iconv.c | 239 _win_iconv_open(register Conv_t* cc, const char* t, const char* f) argument 244 if ((cc->from.index = _win_codeset(f)) < 0) 246 if ((cc->to.index = _win_codeset(t)) < 0) 249 error(DEBUG_TRACE, "AHA#%d _win_iconv_open f=0x%04x t=0x%04x\n", __LINE__, cc->from.index, cc->to.index); 251 return (_ast_iconv_t)cc; 262 Conv_t* cc = (Conv_t*)cd; local 272 error(DEBUG_TRACE, "AHA#%d _win_iconv from=0x%04x to=0x%04x\n", __LINE__, cc->from.index, cc->to.index); 274 if (cc 1049 register Conv_t* cc; local 1182 Conv_t* cc; local 1237 Conv_t* cc = (Conv_t*)cd; local [all...] |
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astlicense.c | 184 char cc[3]; member in struct:Notice_s 234 int cc; local 236 cc = notice->cc[1]; 241 PUT(b, notice->cc[n > 0 ? 0 : 1]); 243 PUT(b, cc); 244 PUT(b, notice->cc[n > 0 ? 1 : 2]); 253 PUT(b, cc); 268 PUT(b, cc); 435 notice.cc[ [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | qcn.c | 998 int cc; local 1004 cc = RING_CNT(qcn_state); 1006 if (cc <= 0) { 1010 if ((mp = allocb(cc, BPRI_MED)) == NULL) { 1012 qcn_input_dropped += cc; 1023 } while (--cc);
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | umount.c | 147 int cc; local 170 while ((cc = getopt(argc, argv, "ado:Vf?")) != -1) 171 switch (cc) {
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppproto.c | 83 char cc[3]; /* beg mid end comment char */ member in struct:proto 2109 free((char*)proto); /* some ANSI cc's botch the free() prototype */ 2193 if (!(proto->cc[0] = comment[0])) 2197 proto->cc[1] = comment[1]; 2198 proto->cc[2] = comment[2] ? comment[2] : comment[0]; 2201 proto->cc[1] = proto->cc[2] = comment[0]; 2229 if (!notice && !options || (comlen = astlicense(com, sizeof(com), NiL, "type=check", proto->cc[0], proto->cc[1], proto->cc[ [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1408 int cc; local 1420 cc = wd_ioctl(wd_fd, SCIOC_MSG_SPEC, 3, 1422 if (cc < 0) { 1432 int cc; local 1443 cc = wd_ioctl(polling_fd, SCIOC_MSG_SPEC, 2, 1445 if (cc < 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 1263 int n, cc, hlen; local 1289 cc = recvmsg(rdisc_sock, &msg, 0); 1290 if (cc <= 0) { 1291 if (cc < 0 && errno != EWOULDBLOCK) 1297 if (cc < hlen + ICMP_MINLEN) 1301 cc -= hlen; 1309 buf.pkt.ip.ip_dst.s_addr, p, cc); 1350 if (cc < (sizeof (p->ad) - 1356 " %d", cc, p->ad.icmp_ad_num);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rshd.c | 452 int pv[2], pw[2], px[2], cc; local 575 if ((cc = read(f, &c, 1)) != 1) { 576 if (cc < 0) 963 cc = read(pv[0], buf, sizeof (buf)); 964 if (cc <= 0) { 968 (void) deswrite(s, buf, cc, 1); 985 cc = read(pw[0], buf, sizeof (buf)); 986 if (cc <= 0) { 990 (void) deswrite(f, buf, cc, 0); 998 cc [all...] |
/illumos-gate/usr/src/cmd/dc/ |
H A D | dc.c | 78 #if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */ 781 long c, td, cc; local 829 cc = c; 833 cc++; 836 dig = td/cc; 838 if (td%cc < 8 && dig > 0 && magic) { 1581 int cc; local 1596 s = salloc(cc = length(q)); 1599 while (cc-- > 0) 2015 int cc; local [all...] |
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 217 #if !defined(TEXT_DOMAIN) /* Should be defined by cc -D */ 446 int cc; local 480 if ((cc = readlink(file, buf, BUFSIZ)) < 0) { 486 buf[cc] = '\0'; 1351 register char cc; local 1354 while ((cc = fbuf[i]) == ' ' || cc == '\t' || cc == '\n')
|
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_cpu.c | 1421 * fmd_case_add_suspect(hdl, cc->cp, flt); 1521 cmd_case_t *cc = &(((cmd_case_t *)&cpu->cpu_cases)[i]); local 1523 if (cc->cc_cp != NULL) { 1524 cmd_case_fini(hdl, cc->cc_cp, destroy); 1525 if (cc->cc_serdnm != NULL) { 1526 if (fmd_serd_exists(hdl, cc->cc_serdnm) && 1528 fmd_serd_destroy(hdl, cc->cc_serdnm); 1529 fmd_hdl_strfree(hdl, cc->cc_serdnm); 1931 cpu_case_restore(fmd_hdl_t *hdl, cmd_cpu_t *cpu, cmd_case_t *cc, fmd_case_t *cp, argument 1934 cmd_case_restore(hdl, cc, c [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_Lxcache.c | 154 cmd_case_t *cc = &Lxcache->Lxcache_case; local 159 if (cc->cc_cp != NULL) 160 cmd_case_fini(hdl, cc->cc_cp, destroy); 161 if (cc->cc_serdnm != NULL) { 162 if (fmd_serd_exists(hdl, cc->cc_serdnm) && destroy) { 163 fmd_serd_destroy(hdl, cc->cc_serdnm); 164 fmd_hdl_strfree(hdl, cc->cc_serdnm); 165 cc->cc_serdnm = NULL; 640 cmd_case_t *cc; local 645 cc 1059 cmd_case_t *cc; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | clusters.c | 592 int32_t cc; local 593 for (cc = FIRST_CLUSTER; cc < LastCluster; cc++) { 594 clearInUse(cc); 1193 int32_t cc, c, n; local 1202 cc = 1; 1205 cc++; 1208 newSize = cc * bpc;
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | kadmin.c | 207 krb5_ccache cc; local 349 * Set cc to an open credentials cache, either specified by the -c 353 if ((retval = krb5_cc_default(context, &cc))) { 360 if ((retval = krb5_cc_resolve(context, ccache_name, &cc))) { 381 !krb5_cc_get_principal(context, cc, &princ)) { 407 } else if (!krb5_cc_get_principal(context, cc, &princ)) { 505 retval = kadm5_init_with_creds(princstr, cc, 563 if ((retval = krb5_cc_close(context, cc))) {
|