Searched refs:key (Results 26 - 50 of 201) sorted by relevance

123456789

/u-boot/fs/btrfs/common/
H A Drbtree-utils.h30 typedef int (*rb_compare_keys)(struct rb_node *node, void *key);
39 struct rb_node *rb_search(struct rb_root *root, void *key, rb_compare_keys comp,
/u-boot/fs/btrfs/
H A Dbtrfs.c23 struct btrfs_key key; local
44 btrfs_dir_item_key_to_cpu(eb, di, &key);
46 if (key.type == BTRFS_ROOT_ITEM_KEY) {
50 subvol = btrfs_read_fs_root(fs_info, &key);
53 error("Can't find root %llu", key.objectid);
62 ret = btrfs_search_slot(NULL, root, &key, &path, 0, 0);
66 error("Can't find inode %llu", key.objectid);
82 key.objectid);
85 ret = btrfs_readlink(root, key.objectid, target);
87 error("Failed to read symlink %llu", key
188 struct btrfs_key key; local
[all...]
H A Dctree.c105 struct btrfs_disk_key key; local
114 btrfs_node_key(buf, &key, 0);
115 if (memcmp(parent_key, &key, sizeof(key)))
120 btrfs_node_key(buf, &key, i);
122 if (btrfs_comp_keys(&key, &cpukey) >= 0)
136 struct btrfs_disk_key key; local
163 btrfs_item_key(buf, &key, 0);
165 memcmp(parent_key, &key, sizeof(key))) {
218 struct btrfs_disk_key key; local
247 generic_bin_search(struct extent_buffer *eb, unsigned long p, int item_size, const struct btrfs_key *key, int max, int *slot) argument
282 btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, int *slot) argument
333 struct btrfs_key key; local
389 btrfs_search_slot(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int ins_len, int cow) argument
496 btrfs_search_slot_for_read(struct btrfs_root *root, const struct btrfs_key *key, struct btrfs_path *p, int find_higher, int return_any) argument
[all...]
/u-boot/fs/ubifs/
H A Dtnc_misc.c117 * @key: key to search for
120 * This is a helper function which search branch with key @key in @znode using
126 * greater than @key, then %-1 is returned in @n.
130 const union ubifs_key *key, int *n)
140 cmp = keys_cmp(c, key, &zbr[mid].key);
156 ubifs_assert(keys_cmp(c, key, &zbr[0].key) <
128 ubifs_search_zbranch(const struct ubifs_info *c, const struct ubifs_znode *znode, const union ubifs_key *key, int *n) argument
454 union ubifs_key key1, *key = &zbr->key; local
[all...]
H A Dtnc.c55 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key,
326 ubifs_assert(is_hash_key(c, &zbr->key));
388 * @zbr: key and position of the node
401 ubifs_assert(is_hash_key(c, &zbr->key));
411 err = fallible_read_node(c, &zbr->key, zbr, node);
496 * @key: key of node to read
503 static int fallible_read_node(struct ubifs_info *c, const union ubifs_key *key, argument
508 dbg_tnck(key, "LEB %d:%d, key ", zb
707 resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct qstr *nm) argument
895 fallible_resolve_collision(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, const struct qstr *nm, int adding) argument
1039 resolve_collision_directly(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n, int lnum, int offs) argument
1175 ubifs_lookup_level0(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) argument
1311 lookup_level0_dirty(struct ubifs_info *c, const union ubifs_key *key, struct ubifs_znode **zn, int *n) argument
1450 ubifs_tnc_locate(struct ubifs_info *c, const union ubifs_key *key, void *node, int *lnum, int *offs) argument
1556 union ubifs_key *key; local
1812 do_lookup_nm(struct ubifs_info *c, const union ubifs_key *key, void *node, const struct qstr *nm) argument
1860 ubifs_tnc_lookup_nm(struct ubifs_info *c, const union ubifs_key *key, void *node, const struct qstr *nm) argument
1897 union ubifs_key *key, *key1; local
1983 union ubifs_key *key = &zbr->key, *key1; local
2170 ubifs_tnc_add(struct ubifs_info *c, const union ubifs_key *key, int lnum, int offs, int len) argument
2219 ubifs_tnc_replace(struct ubifs_info *c, const union ubifs_key *key, int old_lnum, int old_offs, int lnum, int offs, int len) argument
2302 ubifs_tnc_add_nm(struct ubifs_info *c, const union ubifs_key *key, int lnum, int offs, int len, const struct qstr *nm) argument
2507 ubifs_tnc_remove(struct ubifs_info *c, const union ubifs_key *key) argument
2537 ubifs_tnc_remove_nm(struct ubifs_info *c, const union ubifs_key *key, const struct qstr *nm) argument
2587 key_in_range(struct ubifs_info *c, union ubifs_key *key, union ubifs_key *from_key, union ubifs_key *to_key) argument
2612 union ubifs_key *key; local
2769 ubifs_tnc_next_ent(struct ubifs_info *c, union ubifs_key *key, const struct qstr *nm) argument
2996 lookup_znode(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
3125 is_idx_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
3152 is_leaf_node_in_tnc(struct ubifs_info *c, union ubifs_key *key, int lnum, int offs) argument
3222 ubifs_tnc_has_node(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs, int is_idx) argument
3262 ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level, int lnum, int offs) argument
3302 union ubifs_key from_key, to_key, *key; local
[all...]
H A Dgc.c130 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY);
131 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY);
135 inuma = key_inum(c, &sa->key);
136 inumb = key_inum(c, &sb->key);
139 unsigned int blka = key_block(c, &sa->key);
140 unsigned int blkb = key_block(c, &sb->key);
174 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY &&
175 key_type(c, &sb->key) != UBIFS_DATA_KEY);
188 ubifs_assert(key_type(c, &sa->key) == UBIFS_DENT_KEY ||
189 key_type(c, &sa->key)
[all...]
/u-boot/lib/libavb/
H A Davb_rsa.h29 /* Using the key given by |key|, verify a RSA signature |sig| of
34 * The data in |key| must match the format defined in
37 * serialized key.
41 bool avb_rsa_verify(const uint8_t* key,
/u-boot/scripts/kconfig/lxdialog/
H A Dmenubox.c176 int key = 0, button = 0, scroll = 0, choice = 0; local
269 while (key != KEY_ESC) {
270 key = wgetch(menu);
272 if (key < 256 && isalpha(key))
273 key = tolower(key);
275 if (strchr("ynmh", key))
281 if (key == tolower(item_str()[j]))
288 if (key
[all...]
H A Dchecklist.c108 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; local
195 while (key != KEY_ESC) {
196 key = wgetch(dialog);
200 if (toupper(key) == toupper(item_str()[0]))
204 if (i < max_choice || key == KEY_UP || key == KEY_DOWN ||
205 key == '+' || key == '-') {
206 if (key == KEY_UP || key
[all...]
H A Dinputbox.c35 int input_x = 0, key = 0, button = -1; local
106 while (key != KEY_ESC) {
107 key = wgetch(dialog);
110 switch (key) {
184 if (key < 0x100 && isprint(key)) {
190 instr[pos] = key;
192 instr[len] = key;
220 switch (key) {
274 key
[all...]
/u-boot/drivers/serial/
H A Dserial_efi.c23 struct efi_input_key key; member in struct:serial_efi_priv
41 ret = priv->con_in->read_key_stroke(priv->con_in, &priv->key);
63 ch = priv->key.unicode_char;
67 * key scan code of 8. Handle this so that backspace works correctly
70 if (!ch && priv->key.scan_code < sizeof(conv_scan)) {
71 ch = conv_scan[priv->key.scan_code];
75 debug(" [%x %x %x] ", ch, priv->key.unicode_char, priv->key.scan_code);
/u-boot/arch/arm/mach-tegra/
H A Dcrypto.c44 * \param key Input AES key, length AES128_KEY_LENGTH
45 * \param key_schedule Expanded key to use
50 static void sign_object(u8 *key, u8 *key_schedule, u8 *src, u8 *dst, argument
98 * \param key Input AES key, length AES128_KEY_LENGTH
104 static int tegra_crypto_core(u8 *key, enum security_op oper, u8 *src, argument
113 aes_expand_key(key, AES128_KEY_LENGTH, key_schedule);
136 sign_object(key, key_schedule, src, sig_dst, num_aes_blocks);
152 int sign_enc_data_block(u8 *source, unsigned int length, u8 *signature, u8 *key) argument
158 encrypt_data_block(u8 *source, unsigned int length, u8 *key) argument
164 decrypt_data_block(u8 *source, unsigned int length, u8 *key) argument
[all...]
/u-boot/lib/
H A Dhashtable.c62 static void _hdelete(const char *key, struct hsearch_data *htab,
155 free((void *)ep->key);
171 * The argument item.key has to be a pointer to an zero terminated, most
211 if (!strncmp(match, htab->table[idx].entry.key, key_len)) {
234 * Compare an existing entry with the desired key, and overwrite if the action
243 && strcmp(item.key, htab->table[idx].entry.key) == 0) {
251 "%s, skipping it!\n", item.key);
258 if (do_callback(&htab->table[idx].entry, item.key,
261 "%s, skipping it!\n", item.key);
442 _hdelete(const char *key, struct hsearch_data *htab, struct env_entry *ep, int idx) argument
455 hdelete_r(const char *key, struct hsearch_data *htab, int flag) argument
[all...]
H A Drc4.c12 void rc4_encode(unsigned char *buf, unsigned int len, const unsigned char key[16]) argument
22 k[i] = key[j];
/u-boot/arch/sandbox/include/asm/
H A Dsdl.h52 * @key: Array to receive keycodes
56 int sandbox_sdl_scan_keys(int key[], int max_keys);
59 * sandbox_sdl_key_pressed() - check if a particular key is pressed
124 static inline int sandbox_sdl_scan_keys(int key[], int max_keys) argument
/u-boot/lib/aes/
H A Daes-decrypt.c27 memcpy(&key_exp[0], info->key, key_len);
29 /* First we expand the key. */
30 aes_expand_key((u8 *)info->key, key_len, key_exp);
/u-boot/lib/efi_loader/
H A Defi_console.c659 * @key: key to notify
664 struct efi_key_data key; member in struct:efi_cin_notify_function
736 * efi_cin_read_key() - read a key from the console input
738 * @key: - key received
741 static efi_status_t efi_cin_read_key(struct efi_key_data *key) argument
752 key->key_state.key_shift_state = EFI_SHIFT_STATE_INVALID;
753 key->key_state.key_toggle_state = EFI_TOGGLE_STATE_INVALID;
762 * If a second key i
1225 efi_cin_read_key_stroke(struct efi_simple_text_input_protocol *this, struct efi_input_key *key) argument
1380 struct efi_input_key key; local
[all...]
/u-boot/board/imgtec/malta/
H A Dsuperio.c27 u8 key; member in struct:__anon135
56 outb(sio_config[i].key, SIO_CONF_PORT);
/u-boot/drivers/mtd/
H A Dstm32_flash.h3 u32 key; member in struct:stm32_flash_regs
/u-boot/include/u-boot/
H A Dblake2.h83 int blake2b_init_key( blake2b_state *S, size_t outlen, const void *key, size_t keylen );
89 int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
92 int blake2( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
/u-boot/boot/
H A Dbootflow_menu.c80 char str[2], *label, *key; local
89 key = strdup(str);
90 if (!key)
91 return log_msg_ret("key", -ENOMEM);
94 free(key);
107 ret |= scene_txt_str(scn, "key", ITEM_KEY + i, STR_KEY + i, key,
216 int ichar, key; local
235 key = 0;
237 key
[all...]
/u-boot/lib/efi_selftest/
H A Defi_selftest_textinputex.c28 * efi_key_notify_function() - key notification function
30 * This function is called when the registered key is hit.
32 * @key_data: next key
55 .key = {
144 /* Wait for next key */
161 (unsigned int)input_key.key.unicode_char,
162 efi_st_translate_char(input_key.key.unicode_char),
163 (unsigned int)input_key.key.scan_code);
185 efi_st_translate_code(input_key.key.scan_code));
/u-boot/scripts/kconfig/
H A Dnconf.c47 "<n> to remove it. You may press the <Space> key to cycle through the\n"
78 "Unless in a data entry window, key <1> may be used instead of <F1>,\n"
149 "For verbose global help use key <1>.\n"
289 typedef void (*function_key_handler_t)(int *key, struct menu *menu);
290 static void handle_f1(int *key, struct menu *current_item);
291 static void handle_f2(int *key, struct menu *current_item);
292 static void handle_f3(int *key, struct menu *current_item);
293 static void handle_f4(int *key, struct menu *current_item);
294 static void handle_f5(int *key, struct menu *current_item);
295 static void handle_f6(int *key, struc
303 function_key key; member in struct:function_keys
388 handle_f1(int *key, struct menu *current_item) argument
396 handle_f2(int *key, struct menu *current_item) argument
403 handle_f3(int *key, struct menu *current_item) argument
412 handle_f4(int *key, struct menu *current_item) argument
428 handle_f5(int *key, struct menu *current_item) argument
435 handle_f6(int *key, struct menu *current_item) argument
442 handle_f7(int *key, struct menu *current_item) argument
449 handle_f8(int *key, struct menu *current_item) argument
456 handle_f9(int *key, struct menu *current_item) argument
463 process_special_keys(int *key, struct menu *menu) argument
1021 do_match(int key, struct match_state *state, int *ans) argument
[all...]
/u-boot/drivers/input/
H A Dkey_matrix.c17 * Determine if the current keypress configuration can cause key ghosting
38 * Find 2 keys such that one key is in the same row
39 * and the other is in the same column as the i-th key.
65 struct key_matrix_key *key = &keys[upto]; local
67 debug(" valid=%d, row=%d, col=%d\n", key->valid, key->row,
68 key->col);
69 if (!key->valid)
71 pos = key->row * config->num_cols + key
[all...]
H A Dinput.c3 * Translate key codes into ASCII
28 /* Special flag ORed with key code to indicate release */
34 * These takes map key codes to ASCII. 0xff means no key, or special key.
36 * 'modifier' key is pressed and one for when the ctrl modifier key is
173 * The table contains conversions from scan key codes to ECMA-48 escape
248 * Process a modifier/special key press or release and decide which key
258 process_modifier(struct input_config *config, int key, int release) argument
327 array_search(int *array, int count, int key) argument
480 int key = keycode[i] & KEY_MASK; local
490 int key = keycode[i]; local
[all...]

Completed in 99 milliseconds

123456789