/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 56 * New token types should be parsed in parse_plcy_entry. 60 typedef struct token { struct 61 const char *token; member in struct:token 458 * Analyze the device policy token; new tokens should be added to 459 * toktab; new token types should be coded here. 462 parse_plcy_token(char *token, devplcysys_t *dp) argument 464 char *val = strchr(token, '='); 470 (void) fprintf(stderr, gettext(ERR_NO_EQUALS), token); 476 if (strcmp(token, toktab[i].token) [all...] |
H A D | add_drv.c | 915 char *token = copy_drv_path; local 922 token = strtok(copy_drv_path, DIR_SEP); 923 while (token != NULL) { 924 if (strcmp("drv", token) == 0) { 925 token = strtok((char *)NULL, DIR_SEP); 926 if (strcmp(DRVDIR64, token) == 0) { 940 token = strtok((char *)NULL, DIR_SEP);
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 383 scsi_watch_resume(opaque_t token) argument 395 /* search for token */ 397 if (swr == (struct scsi_watch_request *)token) 426 scsi_watch_suspend(opaque_t token) argument 438 /* search for token */ 440 if (swr == (struct scsi_watch_request *)token) 523 scsi_watch_request_terminate(opaque_t token, int flags) argument 526 (struct scsi_watch_request *)token; 1012 * called by clients to query the reference count for a given token. 1013 * return the number of reference count or 0 if the given token i 1017 scsi_watch_get_ref_count(opaque_t token) argument [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_authsvc.c | 538 smb_token_t *token = NULL; local 550 token = smbd_user_auth_logon(&user_info); 552 if (token == NULL) 555 ctx->ctx_token = token; 605 * Parse the SPNEGO token, check its type. 616 smbd_report("authsvc: spnego get token type failed"); 621 smbd_report("authsvc: spnego wrong token type %d", 630 * interface to walk the token's mech list, so we have to 632 * was earliest in the token's mech list. 708 * Parse the SPNEGO token, chec 887 smb_token_t *token = NULL; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
H A D | cmd_hc_sun4v.c | 126 char *token, *tokbuf; local 130 for (token = strtok_r(str, sep, &tokbuf); 131 token != NULL; 132 token = strtok_r(NULL, sep, &tokbuf)) { 133 namelen = strcspn(token, "0123456789"); 134 instlen = strspn(token+namelen, "0123456789"); 135 (void) strncpy(namebuf, token, namelen); 144 (void) strncpy(instbuf, token+namelen, instlen);
|
/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 472 * exists with a value "host1" and a later token of 573 char *copy, *base, *token, *value; local 577 token = base = copy; 578 while (token != NULL && ret == 0) { 579 token = strtok(base, ","); 581 if (token != NULL) { 582 value = strchr(token, '='); 585 if (strcmp(token, SHOPT_SEC) == 0) { 617 char *token; local 696 token [all...] |
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/ |
H A D | _BSMparse.pm | 116 my %token = (); 152 elsif (/^\s*token\s*=\s*(.*)/i) { 154 $token{$attr} = $value; 274 return ($obj->{'attr'} = \%attr, \%token, \%skipClass, \%noteAlias);
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | adm_metaslot.c | 105 (void) printf(gettext("Persistent object store token: %s\n"), 439 * token: if specified, indicate label of token to be used as keystore. 442 * not be specified if either token or slot is specified. 448 enable_metaslot(char *token, char *slot, boolean_t use_default, argument 506 if (!use_default && !token && !slot) { 521 if (token) { 522 (void) strlcpy((char *)puent->metaslot_ks_token, token,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 275 int token; member in struct:cmdtable 308 return (ct->token); 353 int token; member in struct:typetable 380 tt->token = (int)parsenum(type, B_FALSE, ebuf); 381 if (tt->token == -1) { 384 tt->token = SADB_SATYPE_UNSPEC; 388 return (tt->token); 465 int token; member in struct:toktable 468 /* "String", token value, next arg is */ 584 return (tp->token); 926 parselabel(int token, char *label) argument 1659 int next, token, sa_len, alloclen, totallen = sizeof (msg), prefix; local 2978 int next, token, sa_len; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 142 char *token; local 148 if ((token = argv[LOGR_PRI_FAC]) == NULL) 154 if (strstr(token, entry->p_name) != NULL) {
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPTemplateRegistry.java | 466 String token = ";"+VERSION_ATTR_ID+"="; 468 int idx = urlPath.indexOf(token); 476 urlPath.substring(idx+token.length(), urlPath.length());
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | paths.c | 347 char *token = NULL, *oname, *ename, *optr, *_optr, *nptr, *_list; local 393 * Skip the token delimiter and determine if a reserved token 398 token = 0; 402 token = (char *)MSG_ORIG(MSG_TKN_ORIGIN); 438 token = (char *)MSG_ORIG(MSG_TKN_PLATFORM); 475 token = (char *)MSG_ORIG(MSG_TKN_MACHINE); 505 token = (char *)MSG_ORIG(MSG_TKN_OSNAME); 533 token = (char *)MSG_ORIG(MSG_TKN_OSREL); 562 token [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_auth.c | 379 ipftoken_t *token; local 386 token = ipf_findtoken(IPFGENITER_AUTH, uid, ctx, ifs); 387 if (token != NULL) 388 error = fr_authgeniter(token, &iter, ifs); 856 /* Parameters: token(I) - pointer to ipftoken structure */ 860 int fr_authgeniter(token, itp, ifs) 861 ipftoken_t *token; 877 * Retrieve "previous" entry from token and find the next entry. 879 fae = token->ipt_data; 887 * If we found an entry, add reference to it and update token [all...] |
H A D | ip_lookup.c | 553 ipftoken_t *token; local 578 token = ipf_findtoken(iter.ili_key, uid, ctx, ifs); 579 if (token == NULL) { 587 err = ip_pool_getnext(token, &iter, ifs); 590 err = fr_htable_getnext(token, &iter, ifs);
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | p4_pcbe.c | 94 void *token); 95 static void p4_pcbe_program(void *token); 97 static void p4_pcbe_sample(void *token); 638 build_cfgs(p4_pcbe_config_t *cfgs[18], uint64_t *data[18], void *token) argument 646 cfg = (p4_pcbe_config_t *)kcpc_next_config(token, cfg, &daddr); 671 void *token) 730 build_cfgs(cfgs, NULL, token); 909 p4_pcbe_program(void *token) argument 917 build_cfgs(cfgs, NULL, token); 921 if (kcpc_allow_nonpriv(token)) 669 p4_pcbe_configure(uint_t picnum, char *eventname, uint64_t preset, uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) argument 1001 p4_pcbe_sample(void *token) argument [all...] |
/illumos-gate/usr/src/cmd/ctstat/ |
H A D | ctstat.c | 699 * Apply fp to each token in the comma- or space- separated argument 705 char *copy, *token; local 711 token = strtok(copy, ", "); 712 if (token == NULL) { 719 *(results++) = fp(token); 721 } while (token = strtok(NULL, ", "));
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | aux.c | 53 static char *phrase(char *name, int token, int comma); 428 phrase(char *name, int token, int comma) argument 509 if (token && (!comma || c == '\n')) { 520 if (token) 553 return (token ? --cp : equal(name, nbufp) ? name :
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | sw.c | 361 char *file, *func, *token; local 396 file = func = token = NULL; 400 * Prefer 'token' to file/func/line 402 if (lookup_string(site, FM_FMRI_SW_SITE_TOKEN, &token, 405 * If no token then try file, func, line - but 432 * :token=<site.token> 471 if (token) { 472 /* #:token=... */ 473 topo_fmristr_build(&size, buf, buflen, token, [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipnat_y.y | 94 %token <num> YY_NUMBER YY_HEX 95 %token <str> YY_STR 96 %token YY_COMMENT 97 %token YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT 98 %token YY_RANGE_OUT YY_RANGE_IN 99 %token <ip6> YY_IPV6 101 %token IPNY_MAPBLOCK IPNY_RDR IPNY_PORT IPNY_PORTS IPNY_AUTO IPNY_RANGE 102 %token IPNY_MAP IPNY_BIMAP IPNY_FROM IPNY_TO IPNY_MASK IPNY_PORTMAP IPNY_ANY 103 %token IPNY_ROUNDROBIN IPNY_FRAG IPNY_AGE IPNY_ICMPIDMAP IPNY_PROXY 104 %token IPNY_TC [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | picldr.c | 109 char *token, *lasts; local 119 token = (char *)strtok_r(buf, RECORD_WHITESPACE, &lasts); 120 if (token == NULL) { 127 policyp->interval = (uint8_t)strtoul(token, NULL, 0); 128 token = (char *)strtok_r(lasts, RECORD_WHITESPACE, &lasts); 129 if (token == NULL) { 132 policyp->pname = strdup(token);
|
/illumos-gate/usr/src/cmd/bc/ |
H A D | bc.y | 65 %token <cptr> LETTER 67 %token <cc> DIGIT, SQRT, LENGTH, _IF, FFF, EQ 68 %token <cc> _WHILE _FOR NE LE GE INCR DECR 69 %token <cc> _RETURN _BREAK _DEFINE BASE OBASE SCALE 70 %token <cc> EQPL EQMI EQMUL EQDIV EQREM EQEXP 71 %token <cptr> _AUTO DOT 72 %token <cc> QSTR
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | signcsr.c | 355 char *token, KMF_CREDENTIAL *cred, 386 rv = select_token(handle, token, FALSE); 421 token, strlen(token)); 471 * Store it on the token if the user asked for it. 491 if (token != NULL) 494 token, strlen(token)); 502 "on PKCS#11 token.\n")); 557 "k:(keystore)c:(csr)T:(token) 352 pk_signcsr_pk11_nss(KMF_HANDLE_T handle, KMF_KEYSTORE_TYPE kstype, char *dir, char *prefix, char *token, KMF_CREDENTIAL *cred, char *signkey, char *csrfile, KMF_BIGINT *serial, char *certfile, char *issuer, char *subject, char *altname, KMF_GENERALNAMECHOICES alttype, int altcrit, uint16_t kubits, int kucrit, EKU_LIST *ekulist, uint32_t ltime, KMF_ENCODE_FORMAT fmt, int store, char *outlabel) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access.c | 631 char *token; local 645 token = tokenizer(buf, "#", &field, &matched); 647 token = tokenizer(buf, ":", &field, &matched); 648 if (token != 0x00) { 649 token = tokenizer(token, "|", &item, &matched); 650 while (token != 0x00) { 651 if (strcmp(token, cont_desc_str) == 0) { 655 token = tokenizer(item, "|", &item, &matched); 668 token [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 78 static void idn_retry_submit(void (*func)(uint_t token, void *arg), 79 void *arg, uint_t token, clock_t ticks); 202 static void idn_retry_nego(uint_t token, void *arg); 218 static void idn_retry_con(uint_t token, void *arg); 235 static void idn_retry_fin(uint_t token, void *arg); 861 uint_t token; local 887 token = IDN_RETRY_TOKEN(domid, IDN_RETRY_TYPEALL); 888 (void) idn_retry_terminate(token); 1283 idn_retry_query(uint_t token, void *arg) argument 1285 idn_retry_t rtype = IDN_RETRY_TOKEN2TYPE(token); 1589 idn_retry_nego(uint_t token, void *arg) argument 2045 uint_t token; local 2168 uint_t token; local 2222 uint_t token; local 2461 uint_t token; local 2569 uint_t token; local 2610 idn_retry_con(uint_t token, void *arg) argument 2734 uint_t token; local 2825 uint_t token; local 2845 uint_t token; local 2859 uint_t token = IDN_RETRY_TOKEN(domid, IDNRETRY_CON); local 3112 uint_t token; local 3123 uint_t token; local 3232 idn_retry_fin(uint_t token, void *arg) argument 3689 uint_t token; local 3772 uint_t token; local 3916 uint_t token; local 4007 uint_t token; local 4027 uint_t token; local 4044 uint_t token = IDN_RETRY_TOKEN(domid, IDNRETRY_FIN); local 4292 uint_t token; local 4445 uint_t token; local 9201 uint_t token; local 9287 uint_t token; local 9548 idn_retry_submit(void (*func)(uint_t token, void *arg), void *arg, uint_t token, clock_t ticks) argument 9604 idn_retry_terminate(uint_t token) argument [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 662 tokenp = cp; /* start of token */ 679 *cp = NULL; /* terminate token */ 689 *cp++ = '\0'; /* terminate token, point to next */ 702 getvalue(char *token, int *valuep) argument 710 if (*token == '~') { 712 token++; 713 } else if (*token == '-') { 715 token++; 717 if (*token == '0') { 718 token [all...] |