/illumos-gate/usr/src/cmd/sasinfo/ |
H A D | printAttrs.c | 128 static char *getPhyStateString(HBA_UINT32 key, phystat_type phyt); 148 getStateString(HBA_UINT32 key, SAS_STATE *stat_string) argument 151 while (stat_string->key != -1) { 152 if (stat_string->key == key) { 157 (void *) sprintf(ret, "Undefined value (%d)", key); 162 getPhyStateString(HBA_UINT32 key, phystat_type phyt) argument 173 if (key == physpeed[i]) { 183 return (getStateString(key, phystate_string)); 186 return (getStateString(key, phystate_strin 193 getHBAStatus(HBA_STATUS key) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_recno.c | 196 __ram_delete(dbp, txn, key, flags) 199 DBT *key; 211 key, flags, F_ISSET(dbp, DB_AM_RDONLY))) != 0) 218 DEBUG_LWRITE(dbc, txn, "ram_delete", key, NULL, flags); 221 if ((ret = __ram_getno(dbc, key, &recno, 0)) != 0) 276 /* Search the tree for the key; delete only deletes exact matches. */ 353 __ram_put(dbp, txn, key, data, flags) 356 DBT *key, *data; 367 key, data, flags, F_ISSET(dbp, DB_AM_RDONLY), 0)) != 0) 374 DEBUG_LWRITE(dbc, txn, "ram_put", key, dat 999 DBT key, data; local [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | db_auto.h | 106 DBT key; member in struct:_db_debug_args
|
H A D | hash_auto.h | 24 DBT key; member in struct:_ham_insdel_args
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | ldap.c | 287 ** SM_LDAP_SEARCH_M -- initiate multi-key LDAP search 294 ** argv -- key vector of substitutions in LDAP filter 321 char *key; local 329 key = argv[0]; 332 key = argv[q[1] - '0']; 333 if (key == NULL) 338 key = ""; 343 key = NULL; 346 key = argv[0]; 351 "%.*s%s", (int) (q - p), p, key); [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 74 while (keywordlist[i].key != NULL) { 75 errlog(STATUS, "\t%s\n", keywordlist[i].key); 160 char key[BUFSIZ], *value = NULL, *p = NULL; local 220 split(buf2, key, value); 221 ki = interesting_keyword(keywordlist, key); 295 key); 324 * interesting_keyword(char **keywordlist, const char *key) { 325 * returns the token associated with key if key is found in keywordlist 326 * returns XLATOR_KW_NOTFOUND if key i 333 interesting_keyword(xlator_keyword_t *keywordlist, const char *key) argument 428 split(const char *line, char *key, char *value) argument [all...] |
H A D | parser.h | 61 char *key; member in struct:__anon1
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 313 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF], sn[CFG_MAX_BUF]; local 341 (void) snprintf(key, CFG_MAX_KEY, "ii.set%d", setno); 342 if (cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF) < 0) { 382 if (cfg_put_cstring(cfg, key, NULL, 0) < 0) { 558 char key[CFG_MAX_KEY]; local 588 (void) snprintf(key, sizeof (key), "ii.set%d", setnumber); 589 rc = cfg_get_cstring(cfg, key, buf, CFG_MAX_BUF); 605 (void) snprintf(key, sizeof (key), "i [all...] |
/illumos-gate/usr/src/cmd/avs/rdc/ |
H A D | sndrsubr.c | 342 char key[CFG_MAX_KEY]; local 348 bzero(&key, sizeof (key)); 350 (void) sprintf(key, "sndr.set%d.group", i); 351 if (cfg_get_cstring(cfg, key, &buf, sizeof (buf)) < 0) 354 (void) sprintf(key, "sndr.set%d.diskq", i); 355 if (cfg_get_cstring(cfg, key, diskq, CFG_MAX_BUF) < 0) { 368 char key[CFG_MAX_KEY]; local 385 (void) snprintf(key, CFG_MAX_KEY, "sndr.set%d.options", setnum); 386 if (cfg_get_single_option(cfg, CFG_SEC_CONF, key, "seti [all...] |
/illumos-gate/usr/src/cmd/avs/sv/ |
H A D | svboot.c | 377 char key[CFG_MAX_KEY]; local 400 (void) snprintf(key, sizeof (key), "sv.set%d.vol", setnumber); 401 if (cfg_get_cstring(cfg, key, rdev, sizeof (rdev)) < 0)
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | restore.c | 205 int key = 0; local 206 /* key values */ 221 key |= ONTAPE; 227 key |= NAMEFND; 243 key |= INOFND; 249 * "parent". If the NAMEFND key is set, remove 253 if (key & NAMEFND) { 257 key &= ~NAMEFND; 280 if (((key & (INOFND|NAMEFND)) == (INOFND|NAMEFND)) && ip != np) { 291 key [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | export.c | 448 KMF_KEY_HANDLE key; local 453 "must be specified to export a key.")); 481 &key, sizeof (key)); 499 else /* only 1 key at a time can be exported here, so default to pri */ 523 if (rv == KMF_OK && key.keyclass == KMF_SYMMETRIC) { 527 rv = kmf_get_sym_key_value(kmfhandle, &key, &rkey); 553 kmf_free_kmf_key(kmfhandle, &key); 564 key.keyp, sizeof (KMF_RAW_KEY_DATA)); 576 &key [all...] |
H A D | list.c | 120 describeKey(KMF_KEY_HANDLE *key) argument 122 if (key->keyclass == KMF_ASYM_PUB) { 123 if (key->keyalg == KMF_RSA) 124 return (gettext("RSA public key")); 125 if (key->keyalg == KMF_DSA) 126 return (gettext("DSA public key")); 127 if (key->keyalg == KMF_ECDSA) 128 return (gettext("ECDSA public key")); 130 if (key->keyclass == KMF_ASYM_PRI) { 131 if (key [all...] |
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | device_store.c | 150 const char *key, 158 device, key, added, removed); 281 const char *key, 287 g_return_val_if_fail (key != NULL, NULL); 294 if (!hal_device_has_property (d, key)) 297 type = hal_device_property_get_type (d, key); 301 if (strcmp (hal_device_property_get_string (d, key), 311 const char *key, 317 g_return_val_if_fail (key != NULL, NULL); 323 if (!hal_device_has_property (d, key)) 149 emit_device_property_changed(HalDevice *device, const char *key, gboolean added, gboolean removed, gpointer data) argument 280 hal_device_store_match_key_value_string(HalDeviceStore *store, const char *key, const char *value) argument 310 hal_device_store_match_key_value_int(HalDeviceStore *store, const char *key, int value) argument 338 hal_device_store_match_multiple_key_value_string(HalDeviceStore *store, const char *key, const char *value) argument 370 char *key; member in struct:__anon616 396 match_device_async(HalDeviceStore *store, HalDevice *device, const char *key, gboolean removed, gboolean added, gpointer user_data) argument 454 hal_device_store_match_key_value_string_async(HalDeviceStore *store, const char *key, const char *value, HalDeviceStoreAsyncCallback callback, gpointer user_data, int timeout) argument [all...] |
H A D | property.c | 38 char *key; member in struct:_HalProperty 58 g_free (prop->key); 74 hal_property_new_string (const char *key, const char *value) argument 83 prop->key = g_strdup (key); 94 key, prop->v.str_value)); 101 hal_property_new_int (const char *key, dbus_int32_t value) argument 108 prop->key = g_strdup (key); 115 hal_property_new_uint64 (const char *key, dbus_uint64_ argument 129 hal_property_new_bool(const char *key, dbus_bool_t value) argument 143 hal_property_new_double(const char *key, double value) argument 376 hal_property_new_strlist(const char *key) argument [all...] |
/illumos-gate/usr/src/cmd/hal/hald-runner/ |
H A D | runner.c | 368 hash_kill_udi(gpointer key, gpointer value, gpointer user_data) { argument 369 do_kill_udi(key);
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 58 char *key; member in struct:lh_prop_s 450 char *key, *s_val = NULL; local 464 s = skip_non_eq_or_space(key = s); 466 if (!*key) 469 if (*key == '#') 481 p->key = strdup(key); 536 free(p->key); 555 if (!strcmp(p->key, "udi") && p->type == LIBHAL_PROPERTY_TYPE_STRING) { 560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, [all...] |
H A D | lshal.c | 394 * @param key Key of property 397 print_property (const char *udi, const char *key) argument 405 type = libhal_device_get_property_type (hal_ctx, udi, key, &error); 409 str = libhal_device_get_property_string (hal_ctx, udi, key, &error); 415 dbus_int32_t value = libhal_device_get_property_int (hal_ctx, udi, key, &error); 422 dbus_uint64_t value = libhal_device_get_property_uint64 (hal_ctx, udi, key, &error); 429 libhal_device_get_property_double (hal_ctx, udi, key, &error)); 433 libhal_device_get_property_bool (hal_ctx, udi, key, &error) ? "true" : "false"); 445 strlist = libhal_device_get_property_strlist (hal_ctx, udi, key, &error); 472 * @param key Ke 475 property_modified(LibHalContext *ctx, const char *udi, const char *key, dbus_bool_t is_removed, dbus_bool_t is_added) argument [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | pdu.c | 524 isns_tlv_t *tlv, *key; local 543 key = (isns_tlv_t *)payload; 558 return (key);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_create.c | 72 MASTER_KEY, /* use master key as new key */ 73 TGT_KEY /* special handling for tgt key */ 83 krb5_keyblock *key; member in struct:realm_info 116 * 3) get a master password for the new db; convert to an encryption key. 218 /* assemble & parse the master key name */ 226 gettext("while setting up master key name")); 238 "master key name '%s'\n"), 251 gettext("Enter KDC database master key"), 253 "master key t 424 krb5_keyblock key; local [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldaplist.c | 88 "[<database> [<key>] ...]\n\n" 111 "\t -j File containing the password for bindDN or SSL key db.\n" 120 "\t<key> is the key to search in the database. For the standard\n" 121 "\tdatabases, the search type for the key is predefined. You can\n" 122 "\toverride this by specifying <type>=<key>.\n" 261 char **key = NULL; local 380 key = &argv[optind]; 474 if (!key && !(listflag & NS_LDAP_SCOPE_BASE)) 497 ldapfilter = set_filter_publickey(key, databas [all...] |
H A D | mapping.c | 142 * A key can be of the form: attribute=value or value. 150 set_keys(char **key, char *attrtype) argument 158 if (!key || !key[0]) /* should never contain NULL string */ 161 if (key[1]) { 170 karray = key; 201 if (key[1]) { 212 * If the key starts with a digiti, view it as a user id. 214 * It returns: -1 no keys defined, 0 key defined but none for type 218 set_keys_publickey(char **key, cha argument 293 set_filter_publickey(char **key, char *database, int type, char **udata) argument 377 set_filter(char **key, char *database, char **udata) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | aes_provider.c | 35 const krb5_keyblock *key, const krb5_data *ivec, 56 ASSERT(key != NULL); 57 ASSERT(key->key_tmpl != NULL); 58 ASSERT(key->kef_mt == crypto_mech2id(SUN_CKM_AES_CBC)); 103 input->length, (krb5_keyblock *)key, 210 mech.cm_type = key->kef_mt; 222 ret = crypto_encrypt(&mech, &pt, (crypto_key_t *)&key->kef_key, 223 key->key_tmpl, &ct, NULL); 270 const krb5_keyblock *key, const krb5_data *ivec, 291 assert(key ! 34 krb5int_aes_encrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 269 krb5int_aes_encrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 486 krb5int_aes_decrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 721 krb5int_aes_decrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument 1012 k5_aes_make_key(krb5_context context, const krb5_data *randombits, krb5_keyblock *key) argument 1041 krb5int_aes_init_state(krb5_context context, const krb5_keyblock *key, krb5_keyusage usage, krb5_data *state) argument [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5sealv3.c | 104 krb5_keyblock *key; local 118 key = ctx->acceptor_subkey; 120 key = ctx->enc; 124 context->kef_cipher_mt = get_cipher_mech_type(context, key); 125 context->kef_hash_mt = get_hash_mech_type(context, key); 127 if ((err = init_key_kef(context->kef_cipher_mt, key))) { 204 cipher.enctype = key->enctype; 205 err = krb5_c_encrypt(context, key, key_usage, 0, &plain, &cipher); 283 err = krb5_c_make_checksum(context, ctx->cksumtype, key, 364 krb5_keyblock *key; local [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | alist.c | 170 alist_def_print_cb(void *key, void *value) argument 174 printf("%5d ", (int)key); 176 printf("%s\n", (char *)key); 182 printf("%s\n", (char *)key);
|