Home
last modified time | relevance | path

Searched refs:key (Results 501 – 525 of 5260) sorted by relevance

1...<<21222324252627282930>>...211

/openbmc/linux/net/sched/
H A Dem_u32.c20 struct tc_u32_key *key = (struct tc_u32_key *) em->data; in em_u32_match() local
26 ptr += (info->nexthdr & key->offmask); in em_u32_match()
29 ptr += key->off; in em_u32_match()
34 return !(((*(__be32 *) ptr) ^ key->val) & key->mask); in em_u32_match()
/openbmc/linux/Documentation/filesystems/
H A Dfscrypt.rst227 key to be derived. For example, when a per-file encryption key is
247 derivation function`_) to derive the file's key from the master key
303 SipHash key is derived from the master key) and added to the file
627 another user's key.) The key must remain added while
836 this key.
870 the key
875 - ``ENOKEY``: the raw key was specified by Linux key ID, but no key
1010 user's claim to the key was removed, not the key itself
1108 derive the key.
1120 With the key
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dgc.c133 inuma = key_inum(c, &sa->key); in data_nodes_cmp()
134 inumb = key_inum(c, &sb->key); in data_nodes_cmp()
137 unsigned int blka = key_block(c, &sa->key); in data_nodes_cmp()
138 unsigned int blkb = key_block(c, &sb->key); in data_nodes_cmp()
173 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
187 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
189 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
195 inuma = key_inum(c, &sa->key); in nondata_nodes_cmp()
196 inumb = key_inum(c, &sb->key); in nondata_nodes_cmp()
199 uint32_t hasha = key_hash(c, &sa->key); in nondata_nodes_cmp()
[all …]
/openbmc/linux/fs/smb/client/
H A Dcifs_spnego.c25 cifs_spnego_key_instantiate(struct key *key, struct key_preparsed_payload *prep) in cifs_spnego_key_instantiate() argument
36 key->payload.data[0] = payload; in cifs_spnego_key_instantiate()
44 cifs_spnego_key_destroy(struct key *key) in cifs_spnego_key_destroy() argument
46 kfree(key->payload.data[0]); in cifs_spnego_key_destroy()
86 struct key *
94 struct key *spnego_key; in cifs_get_spnego_key()
181 struct key *keyring; in init_cifs_spnego()
/openbmc/qemu/qga/vss-win32/
H A Dinstall.cpp271 _variant_t key; in COMRegister() local
315 chk(pObj->get_Key(&key)); in COMRegister()
356 chk(pObj->get_Key(&key)); in COMRegister()
435 char key[256]; in DllRegisterServer() local
444 sprintf(key, "CLSID\\%s", g_szClsid); in DllRegisterServer()
455 if (!CreateRegistryKey(key, NULL, dllPath)) { in DllRegisterServer()
463 sprintf(key, "CLSID\\%s\\ProgID", g_szClsid); in DllRegisterServer()
472 sprintf(key, "%s\\CLSID", g_szProgid); in DllRegisterServer()
518 TCHAR key[256]; in DllUnregisterServer() local
531 sprintf(key, "CLSID\\%s", g_szClsid); in DllUnregisterServer()
[all …]
/openbmc/linux/crypto/
H A Ddh.c353 __be64 *key; in dh_safe_prime_gen_privkey() local
383 if (!key) in dh_safe_prime_gen_privkey()
428 h = be64_to_cpu(key[0]); in dh_safe_prime_gen_privkey()
442 key[n] = cpu_to_be64(1); in dh_safe_prime_gen_privkey()
447 memmove(key, &key[1], *key_size); in dh_safe_prime_gen_privkey()
449 return key; in dh_safe_prime_gen_privkey()
452 kfree_sensitive(key); in dh_safe_prime_gen_privkey()
483 if (IS_ERR(key)) in dh_safe_prime_set_secret()
484 return PTR_ERR(key); in dh_safe_prime_set_secret()
485 params.key = key; in dh_safe_prime_set_secret()
[all …]
/openbmc/linux/fs/
H A Dfs_context.c131 if (!param->key) in vfs_parse_fs_param()
176 .key = key, in vfs_parse_fs_string()
209 char *options = data, *key; in vfs_parse_monolithic_sep() local
220 if (*key) { in vfs_parse_monolithic_sep()
222 char *value = strchr(key, '='); in vfs_parse_monolithic_sep()
225 if (value == key) in vfs_parse_monolithic_sep()
595 len += strlen(param->key); in legacy_parse_param()
599 param->key); in legacy_parse_param()
604 if (strchr(param->key, ',') || in legacy_parse_param()
608 param->key); in legacy_parse_param()
[all …]
/openbmc/qemu/docs/system/devices/
H A Dcanokey.rst6 CanoKey [1]_ is an open-source secure key with supports of
27 With the same software configuration as a hardware key,
28 the guest OS can use all the functionalities of a secure key as if
29 there was actually an hardware key plugged in.
34 inspect what happens inside a secure key
37 and key can be captured and analysed
42 they can see what happens inside the secure key
43 * For secure key developers, USB packets between guest OS and CanoKey
47 on code coping with secure key.
103 You may setup the key as guided in [6]_. The console for the key is at [7]_.
[all …]
/openbmc/linux/net/xdp/
H A Dxskmap.c107 u32 index = key ? *(u32 *)key : U32_MAX; in xsk_map_get_next_key()
141 static void *__xsk_map_lookup_elem(struct bpf_map *map, u32 key) in __xsk_map_lookup_elem() argument
145 if (key >= map->max_entries) in __xsk_map_lookup_elem()
148 return rcu_dereference_check(m->xsk_map[key], rcu_read_lock_bh_held()); in __xsk_map_lookup_elem()
151 static void *xsk_map_lookup_elem(struct bpf_map *map, void *key) in xsk_map_lookup_elem() argument
153 return __xsk_map_lookup_elem(map, *(u32 *)key); in xsk_map_lookup_elem()
156 static void *xsk_map_lookup_elem_sys_only(struct bpf_map *map, void *key) in xsk_map_lookup_elem_sys_only() argument
161 static long xsk_map_update_elem(struct bpf_map *map, void *key, void *value, in xsk_map_update_elem() argument
167 u32 i = *(u32 *)key, fd = *(u32 *)value; in xsk_map_update_elem()
222 static long xsk_map_delete_elem(struct bpf_map *map, void *key) in xsk_map_delete_elem() argument
[all …]
/openbmc/linux/samples/bpf/
H A Dtracex3.bpf.c20 __type(key, long);
30 struct start_key key = { in bpf_prog1() local
35 bpf_map_update_elem(&my_map, &key, &val, BPF_ANY); in bpf_prog1()
61 struct start_key key = { in bpf_prog2() local
69 value = bpf_map_lookup_elem(&my_map, &key); in bpf_prog2()
76 bpf_map_delete_elem(&my_map, &key); in bpf_prog2()
H A Dlwt_len_hist.bpf.c18 __type(key, u64);
49 __u64 *value, key, init_val = 1; in do_len_hist() local
51 key = log2l(skb->len); in do_len_hist()
53 value = bpf_map_lookup_elem(&lwt_len_hist_map, &key); in do_len_hist()
57 bpf_map_update_elem(&lwt_len_hist_map, &key, &init_val, BPF_ANY); in do_len_hist()
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dsysrq.rst29 在配置内核时,我们需要设置 'Magic SysRq key (CONFIG_MAGIC_SYSRQ)' 为 'Y'。
63 你可以按下键盘组合键 :kbd:`ALT-SysRq-<command key>`。
69 :kbd:`<command key>`,最后释放所有键。
72 你可以按下键盘组合键 :kbd:`ALT-STOP-<command key>` 。
90 这个命令键 :kbd:`<command key>` 是区分大小写的。
231 ``register_sysrq_key(int key, const struct sysrq_key_op *op_p);``,
232 该函数在表中的 'key' 对应位置内容是空的情况下,将通过 ``op_p`` 指针注册这个操作
233 函数到表中 'key' 对应位置上。在模块卸载的时候,你必须调用
234 ``unregister_sysrq_key(int key, const struct sysrq_key_op *op_p)`` 函数,该函数
235 只有在当前该键对应的处理函数被注册到了 'key' 对应位置时,才会移除 'op_p' 指针
/openbmc/linux/drivers/input/keyboard/
H A Dcypress-sf.c36 int val, key; in cypress_sf_irq_handler() local
50 for_each_set_bit(key, &changed, touchkey->num_keys) { in cypress_sf_irq_handler()
51 new_state = keystates & BIT(key); in cypress_sf_irq_handler()
53 "Key %d changed to %d", key, new_state); in cypress_sf_irq_handler()
55 touchkey->keycodes[key], new_state); in cypress_sf_irq_handler()
75 int key, error; in cypress_sf_probe() local
147 for (key = 0; key < touchkey->num_keys; ++key) in cypress_sf_probe()
149 EV_KEY, touchkey->keycodes[key]); in cypress_sf_probe()
/openbmc/phosphor-bmc-code-mgmt/
H A Dversion.cpp31 std::string key) in getValue() argument
33 std::vector<std::string> values = getRepeatedValues(manifestFilePath, key); in getValue()
41 key); in getValue()
47 const std::string& manifestFilePath, std::string key) in getRepeatedValues() argument
49 key = key + "="; in getRepeatedValues()
50 auto keySize = key.length(); in getRepeatedValues()
77 if (line.compare(0, keySize, key) == 0) in getRepeatedValues()
89 key, "ERROR", e); in getRepeatedValues()
95 info("No values found in MANIFEST file for key: {KEY}", "KEY", key); in getRepeatedValues()
/openbmc/qemu/tests/qtest/libqos/
H A Dqgraph.c78 char *key; in add_edge() local
84 key = g_strdup(source); in add_edge()
165 static void destroy_string(void *key) in destroy_string() argument
167 g_free(key); in destroy_string()
441 return search_node(key); in qos_graph_get_node()
581 void qos_node_destroy(void *key) in qos_node_destroy() argument
586 void qos_edge_destroy(void *key) in qos_edge_destroy() argument
711 const gchar *key = l->data; in qos_graph_node_set_availability() local
820 const gchar *key = l->data; in qos_dump_graph() local
822 list = get_edgelist(key); in qos_dump_graph()
[all …]
/openbmc/linux/security/keys/encrypted-keys/
H A Dencrypted.c311 struct key *ukey; in request_user_key()
419 struct key *mkey = ERR_PTR(-EINVAL); in request_master_key()
601 static struct encrypted_key_payload *encrypted_key_alloc(struct key *key, in encrypted_key_alloc() argument
684 struct key *mkey; in encrypted_key_decrypt()
813 static int encrypted_instantiate(struct key *key, in encrypted_instantiate() argument
852 rcu_assign_keypointer(key, epayload); in encrypted_instantiate()
875 static int encrypted_update(struct key *key, struct key_preparsed_payload *prep) in encrypted_update() argument
885 if (key_is_negative(key)) in encrypted_update()
933 static long encrypted_read(const struct key *key, char *buffer, in encrypted_read() argument
937 struct key *mkey; in encrypted_read()
[all …]
/openbmc/linux/Documentation/networking/
H A Ddns_resolver.rst21 by way of requesting a key of key type dns_resolver. These queries are
22 upcalled to userspace through /sbin/request-key.
25 request-key. It is under development and does not yet provide the full feature
48 To set up this facility, the /etc/request-key.conf file must be altered so that
49 /sbin/request-key can appropriately direct the upcalls. For example, to handle
121 The dnsresolver module registers a key type called "dns_resolver". Keys of
129 directed by means of configuration lines in /etc/request-key.conf that tell
130 /sbin/request-key what program to run to instantiate the key.
136 remainder of the string to the key as its payload.
145 See <file:Documentation/security/keys/request-key.rst> for further
[all …]
/openbmc/qemu/hw/mips/
H A Dfw_cfg.c19 const char *fw_cfg_arch_key_name(uint16_t key) in fw_cfg_arch_key_name() argument
22 uint16_t key; in fw_cfg_arch_key_name() member
30 if (fw_cfg_arch_wellknown_keys[i].key == key) { in fw_cfg_arch_key_name()
/openbmc/linux/arch/arm64/include/asm/
H A Djump_label.h19 static __always_inline bool arch_static_branch(struct static_key * const key, in arch_static_branch() argument
29 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch()
36 static __always_inline bool arch_static_branch_jump(struct static_key * const key, in arch_static_branch_jump() argument
46 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/openbmc/phosphor-health-monitor/
H A Dhealth_metric_config.cpp88 for (auto& [key, value] : thresholds->items()) in from_json()
90 if (!validThresholdTypesWithBound.contains(key)) in from_json()
92 warning("Invalid ThresholdType: {TYPE}", "TYPE", key); in from_json()
103 std::string typeStr = key.substr(0, key.find_first_of(keyDelimiter)); in from_json()
105 key.substr(key.find_last_of(keyDelimiter) + 1, key.length()); in from_json()
148 for (auto& [key, threshold] : config.thresholds) in printConfig()
152 "TYPE", get<ThresholdIntf::Type>(key), "BOUND", in printConfig()
153 get<ThresholdIntf::Bound>(key), "VALUE", threshold.value, in printConfig()
/openbmc/linux/net/ieee802154/6lowpan/
H A Dreassembly.c38 const struct frag_lowpan_compare_key *key = a; in lowpan_frag_init() local
40 BUILD_BUG_ON(sizeof(*key) > sizeof(q->key)); in lowpan_frag_init()
41 memcpy(&q->key, key, sizeof(*key)); in lowpan_frag_init()
69 struct frag_lowpan_compare_key key = {}; in fq_find() local
72 key.tag = cb->d_tag; in fq_find()
73 key.d_size = cb->d_size; in fq_find()
74 key.src = *src; in fq_find()
75 key.dst = *dst; in fq_find()
500 return jhash2((const u32 *)&fq->key, in lowpan_obj_hashfn()
506 const struct frag_lowpan_compare_key *key = arg->key; in lowpan_obj_cmpfn() local
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c405 vl_lookup[k].macaddr = rule->key.vl.dmac; in sja1105_init_virtual_links()
407 vl_lookup[k].vlanid = rule->key.vl.vid; in sja1105_init_virtual_links()
408 vl_lookup[k].vlanprior = rule->key.vl.pcp; in sja1105_init_virtual_links()
533 rule->key = *key; in sja1105_vl_redirect()
632 rule->key = *key; in sja1105_vl_gate()
691 if (key->type == SJA1105_KEY_VLAN_AWARE_VL) in sja1105_vl_gate()
692 ipv = key->vl.pcp; in sja1105_vl_gate()
732 struct sja1105_key *key) in sja1105_find_vlid() argument
749 vl_lookup[i].vlanid == key->vl.vid && in sja1105_find_vlid()
750 vl_lookup[i].vlanprior == key->vl.pcp) in sja1105_find_vlid()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c53 __be32 key; member
390 return key; in tavor_key_to_hw_index()
400 return (key << 24) | (key >> 8); in arbel_key_to_hw_index()
414 return arbel_key_to_hw_index(key); in key_to_hw_index()
416 return tavor_key_to_hw_index(key); in key_to_hw_index()
422 return ((key << 20) & 0x800000) | (key & 0x7fffff); in adjust_key()
424 return key; in adjust_key()
432 u32 key; in mthca_mr_alloc() local
439 if (key == -1) in mthca_mr_alloc()
441 key = adjust_key(dev, key); in mthca_mr_alloc()
[all …]
/openbmc/linux/tools/perf/ui/
H A Dbrowser.c233 return key; in ui_browser__warning()
238 int key; in ui_browser__help_window() local
243 return key; in ui_browser__help_window()
248 int key; in ui_browser__dialog_yesno() local
253 return key == K_ENTER || toupper(key) == 'Y'; in ui_browser__dialog_yesno()
390 int err, key; in ui_browser__run() local
413 if (key == K_DOWN || key == K_UP || in ui_browser__run()
415 key == K_PGDN || key == K_PGUP || in ui_browser__run()
416 key == K_HOME || key == K_END || in ui_browser__run()
421 return key; in ui_browser__run()
[all …]
/openbmc/linux/arch/loongarch/include/asm/
H A Djump_label.h23 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() argument
28 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch()
36 static __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branc… in arch_static_branch_jump() argument
41 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()

1...<<21222324252627282930>>...211