/xen-4.10.0-shim-comet/xen/xsm/flask/ss/ |
A D | avtab.c | 45 newnode->key = *key; in avtab_insert_node() 76 if ( key->source_type == cur->key.source_type && in avtab_insert() 81 if ( key->source_type < cur->key.source_type ) in avtab_insert() 83 if ( key->source_type == cur->key.source_type && in avtab_insert() 86 if ( key->source_type == cur->key.source_type && in avtab_insert() 116 if ( key->source_type == cur->key.source_type && in avtab_insert_nonunique() 121 if ( key->source_type < cur->key.source_type ) in avtab_insert_nonunique() 123 if ( key->source_type == cur->key.source_type && in avtab_insert_nonunique() 126 if ( key->source_type == cur->key.source_type && in avtab_insert_nonunique() 154 if ( key->source_type < cur->key.source_type ) in avtab_search() [all …]
|
A D | hashtab.c | 15 const void *key), in hashtab_create() argument 37 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert() argument 45 hvalue = h->hash_value(h, key); in hashtab_insert() 48 while ( cur && h->keycmp(h, key, cur->key) > 0 ) in hashtab_insert() 54 if ( cur && (h->keycmp(h, key, cur->key) == 0) ) in hashtab_insert() 60 newnode->key = key; in hashtab_insert() 77 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search() argument 85 hvalue = h->hash_value(h, key); in hashtab_search() 87 while ( cur != NULL && h->keycmp(h, key, cur->key) > 0 ) in hashtab_search() 90 if ( cur == NULL || (h->keycmp(h, key, cur->key) != 0) ) in hashtab_search() [all …]
|
A D | policydb.c | 188 if ( !key ) in roles_init() 201 xfree(key); in roles_init() 511 xfree(key); in perm_destroy() 520 xfree(key); in common_destroy() 534 xfree(key); in class_destroy() 579 xfree(key); in role_destroy() 589 xfree(key); in type_destroy() 598 xfree(key); in user_destroy() 612 xfree(key); in sens_destroy() 622 xfree(key); in cat_destroy() [all …]
|
A D | conditional.c | 192 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() argument 194 xfree(key); in cond_destroy_bool() 210 p->p_bool_val_to_name[booldatum->value - 1] = key; in cond_index_bool() 225 char *key = NULL; in cond_read_bool() local 247 key = xmalloc_array(char, len + 1); in cond_read_bool() 248 if ( !key ) in cond_read_bool() 250 rc = next_entry(key, fp, len); in cond_read_bool() 253 key[len] = 0; in cond_read_bool() 254 if ( hashtab_insert(h, key, booldatum) ) in cond_read_bool() 259 cond_destroy_bool(key, booldatum, NULL); in cond_read_bool() [all …]
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | keyhandler.c | 87 if ( key >= ARRAY_SIZE(key_table) || !(h = &key_table[key])->fn ) in handle_keypress() 93 h->irq_callback ? h->irq_fn(key, regs) : h->fn(key); in handle_keypress() 98 keypress_key = key; in handle_keypress() 109 key_table[key].fn = fn; in register_keyhandler() 110 key_table[key].desc = desc; in register_keyhandler() 111 key_table[key].irq_callback = 0; in register_keyhandler() 112 key_table[key].diagnostic = diagnostic; in register_keyhandler() 121 key_table[key].irq_fn = fn; in register_irq_keyhandler() 122 key_table[key].desc = desc; in register_irq_keyhandler() 123 key_table[key].irq_callback = 1; in register_irq_keyhandler() [all …]
|
A D | bsearch.c | 32 void *bsearch(const void *key, const void *base, size_t num, size_t size, in bsearch() argument 33 int (*cmp)(const void *key, const void *elt)) in bsearch() argument 41 result = cmp(key, base + mid * size); in bsearch()
|
/xen-4.10.0-shim-comet/tools/xenstore/ |
A D | xs_tdb_dump.c | 40 TDB_DATA key; in main() local 51 key = tdb_firstkey(tdb); in main() 52 while (key.dptr) { in main() 56 data = tdb_fetch(tdb, key); in main() 60 (int)key.dsize, key.dptr); in main() 63 (int)key.dsize, key.dptr, (int)data.dsize, in main() 70 printf("%.*s: ", (int)key.dsize, key.dptr); in main() 82 key = tdb_nextkey(tdb, key); in main()
|
A D | xenstored_transaction.c | 165 key->dptr = (char *)name; in set_tdb_key() 166 key->dsize = strlen(name); in set_tdb_key() 192 TDB_DATA *key) in transaction_prepend() argument 198 set_tdb_key(name, key); in transaction_prepend() 207 set_tdb_key(tdb_name, key); in transaction_prepend() 244 if (key) in access_node() 295 if (key) { in access_node() 326 TDB_DATA key, ta_key, data; in finalize_transaction() local 336 set_tdb_key(i->node, &key); in finalize_transaction() 394 TDB_DATA key; in destroy_transaction() local [all …]
|
A D | tdb.c | 302 for (value = 0x238F13AF * key->dsize, i=0; i < key->dsize; i++) in default_tdb_hash() 407 return !memcmp(off + (char*)tdb->map_ptr, key.dptr, key.dsize); 410 len = key.dsize; 417 key.dptr += len; 418 key.dsize -= len; 1291 if (!key.dptr) { 1332 TDB_DATA key; local 1347 return key; 1395 key.dsize); 1403 return key; [all …]
|
A D | tdb.h | 107 uint32_t (*hash_fn)(TDB_DATA *key); 113 typedef uint32_t (*tdb_hash_func)(TDB_DATA *key); 122 TDB_DATA tdb_fetch(TDB_CONTEXT *tdb, TDB_DATA key); 123 int tdb_delete(TDB_CONTEXT *tdb, TDB_DATA key); 124 int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag); 127 TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key);
|
/xen-4.10.0-shim-comet/xen/tools/kconfig/lxdialog/ |
A D | menubox.c | 283 key = wgetch(menu); in dialog_menu() 285 if (key < 256 && isalpha(key)) in dialog_menu() 286 key = tolower(key); in dialog_menu() 308 key == KEY_UP || key == KEY_DOWN || in dialog_menu() 309 key == '-' || key == '+' || in dialog_menu() 310 key == KEY_PPAGE || key == KEY_NPAGE)) { in dialog_menu() 314 if (key == KEY_UP || key == '-') { in dialog_menu() 323 } else if (key == KEY_DOWN || key == '+') { in dialog_menu() 373 switch (key) { in dialog_menu() 399 switch (key) { in dialog_menu() [all …]
|
A D | checklist.c | 208 while (key != KEY_ESC) { in dialog_checklist() 209 key = wgetch(dialog); in dialog_checklist() 213 if (toupper(key) == toupper(item_str()[0])) in dialog_checklist() 217 if (i < max_choice || key == KEY_UP || key == KEY_DOWN || in dialog_checklist() 218 key == '+' || key == '-') { in dialog_checklist() 219 if (key == KEY_UP || key == '-') { in dialog_checklist() 244 } else if (key == KEY_DOWN || key == '+') { in dialog_checklist() 286 switch (key) { in dialog_checklist() 314 key = KEY_ESC; in dialog_checklist() 317 key = on_key_esc(dialog); in dialog_checklist() [all …]
|
A D | yesno.c | 44 int i, x, y, key = 0, button = 0; in dialog_yesno() local 78 while (key != KEY_ESC) { in dialog_yesno() 79 key = wgetch(dialog); in dialog_yesno() 80 switch (key) { in dialog_yesno() 93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno() 103 key = on_key_esc(dialog); in dialog_yesno() 113 return key; /* ESC pressed */ in dialog_yesno()
|
A D | inputbox.c | 48 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local 119 while (key != KEY_ESC) { in dialog_inputbox() 120 key = wgetch(dialog); in dialog_inputbox() 123 switch (key) { in dialog_inputbox() 197 if (key < 0x100 && isprint(key)) { in dialog_inputbox() 203 instr[pos] = key; in dialog_inputbox() 205 instr[len] = key; in dialog_inputbox() 233 switch (key) { in dialog_inputbox() 287 key = KEY_ESC; in dialog_inputbox() 290 key = on_key_esc(dialog); in dialog_inputbox()
|
/xen-4.10.0-shim-comet/tools/ocaml/xenstored/ |
A D | trie.ml | 19 key: 'a; RecordField 24 let create key value = { 25 key = key; 30 let empty key = { 31 key = key; 55 let mem_node nodes key = 56 List.exists (fun n -> n.Node.key = key) nodes 58 let find_node nodes key = 59 List.find (fun n -> n.Node.key = key) nodes 64 | h :: tl when h.Node.key = key -> node :: tl [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | keyhandler.h | 20 typedef void (keyhandler_fn_t)(unsigned char key); 28 typedef void (irq_keyhandler_fn_t)(unsigned char key, 39 void register_keyhandler(unsigned char key, 43 void register_irq_keyhandler(unsigned char key, 49 extern void handle_keypress(unsigned char key, struct cpu_user_regs *regs);
|
/xen-4.10.0-shim-comet/xen/tools/kconfig/ |
A D | nconf.c | 310 .key = F_HELP, 322 .key = F_INSTS, 328 .key = F_CONF, 334 .key = F_BACK, 340 .key = F_SAVE, 346 .key = F_LOAD, 358 .key = F_EXIT, 471 if (*key == KEY_F(function_keys[i].key) || in process_special_keys() 472 *key == '0' + function_keys[i].key){ in process_special_keys() 1024 if (key == '/' || (state->in_search && key == 27)) { in do_match() [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | aes.h | 16 AES_KEY *key); 18 AES_KEY *key); 21 const AES_KEY *key); 23 const AES_KEY *key); 25 const unsigned long length, const AES_KEY *key,
|
A D | aes.c | 737 AES_KEY *key) { in AES_set_encrypt_key() argument 743 if (!userKey || !key) in AES_set_encrypt_key() 748 rk = key->rd_key; in AES_set_encrypt_key() 751 key->rounds = 10; in AES_set_encrypt_key() 753 key->rounds = 12; in AES_set_encrypt_key() 755 key->rounds = 14; in AES_set_encrypt_key() 838 AES_KEY *key) { in AES_set_decrypt_key() argument 849 rk = key->rd_key; in AES_set_decrypt_key() 891 const AES_KEY *key) { in AES_encrypt() argument 900 rk = key->rd_key; in AES_encrypt() [all …]
|
A D | block-remus.c | 310 key = (~key) + (key << 18); in uint64_hash() 311 key = key ^ (key >> 31); in uint64_hash() 312 key = key * 21; in uint64_hash() 313 key = key ^ (key >> 11); in uint64_hash() 314 key = key + (key << 6); in uint64_hash() 315 key = key ^ (key >> 22); in uint64_hash() 335 uint64_t key; in ramdisk_read() local 367 if (!(key = malloc(sizeof(*key)))) { in ramdisk_write_hash() 375 free(key); in ramdisk_write_hash() 473 if (!(key = malloc(sizeof(*key)))) { in merge_requests() [all …]
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | disk_crypto.h | 5 void aes_encrypt_one(void *target, const void *src, const struct key128 *key); 6 void aes_decrypt_one(void *target, const void *src, const struct key128 *key); 8 void aes_setup(aes_context *ctx, const struct key128 *key); 11 void aes_cmac(struct mac128 *target, const void *src, size_t size, const aes_context *key); 12 …aes_cmac_verify(const struct mac128 *target, const void *src, size_t size, const aes_context *key);
|
A D | disk_crypto.c | 22 void aes_setup(aes_context *ctx, const struct key128 *key) in aes_setup() argument 24 aes_setkey_enc(ctx, (void*)key, 128); in aes_setup() 32 void aes_encrypt_one(void *target, const void *src, const struct key128 *key) in aes_encrypt_one() argument 35 aes_setkey_enc(&ctx, (void*)key, 128); in aes_encrypt_one() 39 void aes_decrypt_one(void *target, const void *src, const struct key128 *key) in aes_decrypt_one() argument 42 aes_setkey_dec(&ctx, (void*)key, 128); in aes_decrypt_one() 166 void aes_cmac(struct mac128 *target, const void *src, size_t size, const aes_context *key) in aes_cmac() argument 174 aes_encrypt_ecb(&L, &x, key); in aes_cmac() 180 aes_encrypt_ecb(&x, &y, key); in aes_cmac() 192 aes_encrypt_ecb(target, &x, key); in aes_cmac() [all …]
|
A D | mgmt_authority.c | 55 TPM_KEY key = TPM_KEY_INIT; in do_provision_aik() local 71 &key, &identityBindingSize, &identityBinding); in do_provision_aik() 81 if (key.pubKey.keyLength != 256) in do_provision_aik() 83 if (key.encDataSize != 256) in do_provision_aik() 89 key.pubKey.keyLength, key.encDataSize, identityBindingSize); in do_provision_aik() 91 memcpy(group->id_data.tpm_aik_public, key.pubKey.key, 256); in do_provision_aik() 92 memcpy(group->id_data.tpm_aik_edata, key.encData, 256); in do_provision_aik() 96 free_TPM_KEY(&key); in do_provision_aik() 104 TPM_KEY key = { in do_load_aik() local 123 .pubKey.key = group->id_data.tpm_aik_public, in do_load_aik() [all …]
|
/xen-4.10.0-shim-comet/stubdom/grub/ |
A D | mini-os.c | 401 char key; in serial_hw_fetch() local 406 read(STDIN_FILENO, &key, 1); in serial_hw_fetch() 407 switch (key) { in serial_hw_fetch() 410 return key; in serial_hw_fetch() 622 if (ev.key.keycode == 42 || ev.key.keycode == 54) { in console_getkey() 624 shift = ev.key.pressed; in console_getkey() 627 if (ev.key.keycode == 58) { in console_getkey() 631 if (ev.key.keycode == 29 || ev.key.keycode == 97) { in console_getkey() 635 if (ev.key.keycode == 56) { in console_getkey() 636 alt = ev.key.pressed; in console_getkey() [all …]
|
/xen-4.10.0-shim-comet/docs/man/ |
A D | xenstore-chmod.pod.1 | 3 xenstore-chmod - set the permissions of a Xenstore key 38 The first permission entry is the domain owning the key (the owner) 40 subsequent entries. The key owner always has full access (read, 47 Apply the permissions to the key and all its I<children>. 55 Apply the permissions to the key and all its I<parents>.
|