| /drivers/tty/ |
| A D | sysrq.c | 117 static void sysrq_handle_SAK(u8 key) in sysrq_handle_SAK() 134 static void sysrq_handle_unraw(u8 key) in sysrq_handle_unraw() 149 static void sysrq_handle_crash(u8 key) in sysrq_handle_crash() 178 static void sysrq_handle_sync(u8 key) in sysrq_handle_sync() 329 static void sysrq_ftrace_dump(u8 key) in sysrq_ftrace_dump() 373 static void sysrq_handle_term(u8 key) in sysrq_handle_term() 404 static void sysrq_handle_moom(u8 key) in sysrq_handle_moom() 416 static void sysrq_handle_thaw(u8 key) in sysrq_handle_thaw() 640 void handle_sysrq(u8 key) in handle_sysrq() 690 unsigned short key; in sysrq_parse_reset_sequence() local [all …]
|
| /drivers/net/wireless/silabs/wfx/ |
| A D | key.c | 34 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_wep_pair() 44 struct ieee80211_key_conf *key) in fill_wep_group() 54 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_tkip_pair() 91 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_ccmp_pair() 100 struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq) in fill_ccmp_group() 111 struct ieee80211_key_conf *key, u8 *peer_addr) in fill_sms4_pair() 126 struct ieee80211_key_conf *key) in fill_sms4_group() 140 struct ieee80211_key_conf *key, struct ieee80211_key_seq *seq) in fill_aes_cmac_group() 151 struct ieee80211_key_conf *key) in wfx_add_key() 207 static int wfx_remove_key(struct wfx_vif *wvif, struct ieee80211_key_conf *key) in wfx_remove_key() [all …]
|
| /drivers/nvdimm/ |
| A D | security.c | 27 static void *key_data(struct key *key) in key_data() 52 struct key *key = NULL; in nvdimm_request_key() local 81 struct key **key) in nvdimm_get_key_payload() 94 struct key *key; in nvdimm_lookup_user_key() local 141 struct key *key; in nvdimm_key_revalidate() local 169 struct key *key; in __nvdimm_security_unlock() local 253 struct key *key; in security_disable() local 302 struct key *key, *newkey; in security_update() local 351 struct key *key = NULL; in security_erase() local 394 struct key *key = NULL; in security_overwrite() local [all …]
|
| /drivers/input/ |
| A D | sparse-keymap.c | 25 struct key_entry *key; in sparse_keymap_get_key_index() local 42 struct key_entry *key; in sparse_keymap_entry_by_index() local 64 struct key_entry *key; in sparse_keymap_entry_from_scancode() local 85 struct key_entry *key; in sparse_keymap_entry_from_keycode() local 98 struct key_entry *key; in sparse_keymap_locate() local 114 const struct key_entry *key; in sparse_keymap_getkeycode() local 136 struct key_entry *key; in sparse_keymap_setkeycode() local
|
| /drivers/crypto/caam/ |
| A D | caampkc.c | 67 struct caam_rsa_key *key = &ctx->key; in rsa_pub_unmap() local 79 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f1_unmap() local 91 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f2_unmap() local 108 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f3_unmap() local 159 struct caam_rsa_key *key = &ctx->key; in rsa_priv_f_done() local 256 struct caam_rsa_key *key = &ctx->key; in rsa_edesc_alloc() local 410 struct caam_rsa_key *key = &ctx->key; in set_rsa_pub_pdb() local 455 struct caam_rsa_key *key = &ctx->key; in set_rsa_priv_f1_pdb() local 502 struct caam_rsa_key *key = &ctx->key; in set_rsa_priv_f2_pdb() local 579 struct caam_rsa_key *key = &ctx->key; in set_rsa_priv_f3_pdb() local [all …]
|
| /drivers/net/wireguard/ |
| A D | allowedips.c | 36 static inline u8 choose(struct allowedips_node *node, const u8 *key) in choose() 87 static u8 common_bits(const struct allowedips_node *node, const u8 *key, in common_bits() 99 static bool prefix_matches(const struct allowedips_node *node, const u8 *key, in prefix_matches() 112 const u8 *key) in find_node() 149 static bool node_placement(struct allowedips_node __rcu *trie, const u8 *key, in node_placement() 181 static int add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in add() 283 static int remove(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in remove() 331 u8 key[4] __aligned(__alignof(u32)); in wg_allowedips_insert_v4() local 342 u8 key[16] __aligned(__alignof(u64)); in wg_allowedips_insert_v6() local 353 u8 key[4] __aligned(__alignof(u32)); in wg_allowedips_remove_v4() local [all …]
|
| /drivers/power/supply/ |
| A D | test_power.c | 401 char const *key; member 444 static int map_get_value(struct battery_property_map *map, const char *key, in map_get_value() 512 static int param_set_battery_status(const char *key, in param_set_battery_status() 526 static int param_set_battery_health(const char *key, in param_set_battery_health() 540 static int param_set_battery_present(const char *key, in param_set_battery_present() 555 static int param_set_battery_technology(const char *key, in param_set_battery_technology() 572 static int param_set_battery_capacity(const char *key, in param_set_battery_capacity() 587 static int param_set_battery_voltage(const char *key, in param_set_battery_voltage() 602 static int param_set_battery_charge_counter(const char *key, in param_set_battery_charge_counter() 617 static int param_set_battery_current(const char *key, in param_set_battery_current() [all …]
|
| /drivers/crypto/starfive/ |
| A D | jh7110-rsa.c | 45 static void starfive_rsa_free_key(struct starfive_rsa_key *key) in starfive_rsa_free_key() 173 struct starfive_rsa_key *key = &ctx->rsa_key; in starfive_rsa_cpu_start() local 252 struct starfive_rsa_key *key = &ctx->rsa_key; in starfive_rsa_enc_core() local 291 struct starfive_rsa_key *key = &ctx->rsa_key; in starfive_rsa_enc() local 322 struct starfive_rsa_key *key = &ctx->rsa_key; in starfive_rsa_dec() local 451 static int starfive_rsa_setkey(struct crypto_akcipher *tfm, const void *key, in starfive_rsa_setkey() 502 static int starfive_rsa_set_pub_key(struct crypto_akcipher *tfm, const void *key, in starfive_rsa_set_pub_key() 515 static int starfive_rsa_set_priv_key(struct crypto_akcipher *tfm, const void *key, in starfive_rsa_set_priv_key() 559 struct starfive_rsa_key *key = (struct starfive_rsa_key *)&ctx->rsa_key; in starfive_rsa_exit_tfm() local
|
| /drivers/md/dm-vdo/ |
| A D | int-map.c | 82 u64 key; member 136 static u64 hash_key(u64 key) in hash_key() 293 static struct bucket *select_bucket(const struct int_map *map, u64 key) in select_bucket() 323 static struct bucket *search_hop_list(struct bucket *bucket, u64 key, in search_hop_list() 355 void *vdo_int_map_get(struct int_map *map, u64 key) in vdo_int_map_get() 522 static bool update_mapping(struct bucket *neighborhood, u64 key, void *new_value, in update_mapping() 604 int vdo_int_map_put(struct int_map *map, u64 key, void *new_value, bool update, in vdo_int_map_put() 669 void *vdo_int_map_remove(struct int_map *map, u64 key) in vdo_int_map_remove()
|
| /drivers/gpio/ |
| A D | gpio-macsmc.c | 79 static int macsmc_gpio_nr(smc_key key) in macsmc_gpio_nr() 98 smc_key key = macsmc_gpio_key(0); in macsmc_gpio_find_first_gpio_index() local 145 smc_key key = macsmc_gpio_key(offset); in macsmc_gpio_get_direction() local 165 smc_key key = macsmc_gpio_key(offset); in macsmc_gpio_get() local 188 smc_key key = macsmc_gpio_key(offset); in macsmc_gpio_set() local 213 smc_key key; in macsmc_gpio_init_valid_mask() local 238 smc_key key; in macsmc_gpio_probe() local
|
| /drivers/crypto/amcc/ |
| A D | crypto4xx_alg.c | 119 const u8 *key, in crypto4xx_setkey_aes() 175 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_cbc() 182 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_ecb() 189 const u8 *key, unsigned int keylen) in crypto4xx_setkey_rfc3686() 272 const u8 *key, in crypto4xx_sk_setup_fallback() 283 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_ctr() 351 const u8 *key, in crypto4xx_aead_setup_fallback() 364 int crypto4xx_setkey_aes_ccm(struct crypto_aead *cipher, const u8 *key, in crypto4xx_setkey_aes_ccm() 491 static int crypto4xx_compute_gcm_hash_key_sw(__le32 *hash_start, const u8 *key, in crypto4xx_compute_gcm_hash_key_sw() 511 const u8 *key, unsigned int keylen) in crypto4xx_setkey_aes_gcm()
|
| /drivers/platform/cznic/ |
| A D | turris-signing-key.c | 25 static int turris_signing_key_instantiate(struct key *key, in turris_signing_key_instantiate() 31 static void turris_signing_key_describe(const struct key *key, struct seq_file *m) in turris_signing_key_describe() 42 static long turris_signing_key_read(const struct key *key, char *buffer, size_t buflen) in turris_signing_key_read() 128 static void turris_signing_key_release(void *key) in turris_signing_key_release() 138 struct key *key; in devm_turris_signing_key_create() local
|
| /drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_router_hw.c | 62 static bool prestera_nh_neigh_key_is_valid(struct prestera_nh_neigh_key *key) in prestera_nh_neigh_key_is_valid() 299 struct prestera_nh_neigh_key *key) in __prestera_nh_neigh_create() 327 struct prestera_nh_neigh_key *key) in prestera_nh_neigh_find() 338 struct prestera_nh_neigh_key *key) in prestera_nh_neigh_get() 394 struct prestera_nexthop_group_key *key) in __prestera_nexthop_group_create() 481 struct prestera_nexthop_group_key *key) in __prestera_nexthop_group_find() 492 struct prestera_nexthop_group_key *key) in prestera_nexthop_group_get() 569 prestera_fib_node_find(struct prestera_switch *sw, struct prestera_fib_key *key) in prestera_fib_node_find() 622 struct prestera_fib_key *key, in prestera_fib_node_create()
|
| /drivers/net/wireless/intel/iwlwifi/mld/ |
| A D | key.c | 13 struct ieee80211_key_conf *key) in iwl_mld_get_key_flags() 62 struct ieee80211_key_conf *key) in iwl_mld_get_key_sta_mask() 120 u32 key_flags, struct ieee80211_key_conf *key) in iwl_mld_add_key_to_fw() 183 struct ieee80211_key_conf *key) in iwl_mld_remove_key() 221 struct ieee80211_key_conf *key) in iwl_mld_add_key() 284 struct ieee80211_key_conf *key, in iwl_mld_remove_ap_keys_iter() 329 struct ieee80211_key_conf *key, in iwl_mld_update_sta_key_iter()
|
| /drivers/net/wireless/intel/ipw2x00/ |
| A D | libipw_crypto_wep.c | 26 u8 key[WEP_KEY_LEN + 1]; member 58 u8 *key, int keylen, void *priv) in libipw_wep_build_iv() 104 u8 key[WEP_KEY_LEN + 3]; in libipw_wep_encrypt() local 149 u8 key[WEP_KEY_LEN + 3]; in libipw_wep_decrypt() local 192 static int libipw_wep_set_key(void *key, int len, u8 * seq, void *priv) in libipw_wep_set_key() 205 static int libipw_wep_get_key(void *key, int len, u8 * seq, void *priv) in libipw_wep_get_key()
|
| /drivers/thunderbolt/ |
| A D | property.c | 74 static bool tb_property_key_valid(const char *key) in tb_property_key_valid() 80 tb_property_alloc(const char *key, enum tb_property_type type) in tb_property_alloc() 98 char key[TB_PROPERTY_KEY_SIZE + 1]; in tb_property_parse() local 581 int tb_property_add_immediate(struct tb_property_dir *parent, const char *key, in tb_property_add_immediate() 610 int tb_property_add_data(struct tb_property_dir *parent, const char *key, in tb_property_add_data() 646 int tb_property_add_text(struct tb_property_dir *parent, const char *key, in tb_property_add_text() 680 int tb_property_add_dir(struct tb_property_dir *parent, const char *key, in tb_property_add_dir() 723 const char *key, enum tb_property_type type) in tb_property_find()
|
| /drivers/firewire/ |
| A D | core-device.c | 54 int key, value; in search_directory() local 70 int last_key = 0, key, value; in search_leaf() local 139 int key, value; in get_ids() local 278 u32 key; member 310 int key, val; in show_immediate() local 326 #define IMMEDIATE_ATTR(name, key) \ argument 394 #define TEXT_LEAF_ATTR(name, key) \ argument 494 int key, value; in units_sprintf() local 518 int key, value, i = 0; in units_show() local 583 u32 sp, key; in read_config_rom() local [all …]
|
| /drivers/crypto/ |
| A D | padlock-aes.c | 111 const __le32 *key = (const __le32 *)in_key; in aes_set_key() local 194 static inline void rep_xcrypt_ecb(const u8 *input, u8 *output, void *key, in rep_xcrypt_ecb() 202 static inline u8 *rep_xcrypt_cbc(const u8 *input, u8 *output, void *key, in rep_xcrypt_cbc() 211 static void ecb_crypt_copy(const u8 *in, u8 *out, u32 *key, in ecb_crypt_copy() 225 static u8 *cbc_crypt_copy(const u8 *in, u8 *out, u32 *key, in cbc_crypt_copy() 239 static inline void ecb_crypt(const u8 *in, u8 *out, u32 *key, in ecb_crypt() 253 static inline u8 *cbc_crypt(const u8 *in, u8 *out, u32 *key, in cbc_crypt() 263 static inline void padlock_xcrypt_ecb(const u8 *input, u8 *output, void *key, in padlock_xcrypt_ecb() 285 static inline u8 *padlock_xcrypt_cbc(const u8 *input, u8 *output, void *key, in padlock_xcrypt_cbc()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum1_mr_tcam.c | 30 struct mlxsw_sp_mr_route_key *key, in mlxsw_sp1_mr_tcam_route_replace() 62 struct mlxsw_sp_mr_route_key *key) in mlxsw_sp1_mr_tcam_route_remove() 92 struct mlxsw_sp_mr_route_key *key, in mlxsw_sp1_mr_tcam_route_parman_item_add() 112 struct mlxsw_sp_mr_route_key *key) in mlxsw_sp1_mr_tcam_route_parman_item_remove() 124 struct mlxsw_sp_mr_route_key *key, in mlxsw_sp1_mr_tcam_route_create() 151 struct mlxsw_sp_mr_route_key *key) in mlxsw_sp1_mr_tcam_route_destroy() 163 struct mlxsw_sp_mr_route_key *key, in mlxsw_sp1_mr_tcam_route_update()
|
| /drivers/tty/vt/ |
| A D | ucs.c | 23 static int interval16_cmp(const void *key, const void *element) in interval16_cmp() 35 static int interval32_cmp(const void *key, const void *element) in interval32_cmp() 116 static int recomposition_cmp(const void *key, const void *element) in recomposition_cmp() 151 struct compare_key key = { base, mark }; in ucs_recompose() local 178 static int ucs_page_desc_cmp(const void *key, const void *element) in ucs_page_desc_cmp() 190 static int ucs_page_entry_cmp(const void *key, const void *element) in ucs_page_entry_cmp()
|
| /drivers/crypto/hisilicon/sec/ |
| A D | sec_algs.c | 143 const u8 *key, in sec_alg_skcipher_init_context() 228 const u8 *key, unsigned int keylen, in sec_alg_skcipher_setkey() 254 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_ecb() 276 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_cbc() 298 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_ctr() 320 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_aes_xts() 344 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_des_ecb() 351 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_des_cbc() 358 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_3des_ecb() 366 const u8 *key, unsigned int keylen) in sec_alg_skcipher_setkey_3des_cbc()
|
| /drivers/hid/bpf/progs/ |
| A D | hid_bpf_async.h | 98 static int __start_wq_timer_cb(void *map, int *key, void *value) in __start_wq_timer_cb() 113 int key = i; in hid_bpf_async_find_empty_key() local 135 int key = hid_bpf_async_find_empty_key(); in hid_bpf_async_get_ctx() local 168 static int hid_bpf_async_delayed_call(struct hid_bpf_ctx *hctx, u64 milliseconds, int key, in hid_bpf_async_delayed_call() 213 static inline int hid_bpf_async_call(struct hid_bpf_ctx *ctx, int key, in hid_bpf_async_call()
|
| /drivers/md/persistent-data/ |
| A D | dm-btree.c | 64 int lower_bound(struct btree_node *n, uint64_t key) in lower_bound() 69 static int upper_bound(struct btree_node *n, uint64_t key) in upper_bound() 87 uint64_t key, void *value) in insert_at() 655 struct dm_btree_value_type *vt, uint64_t key) in split_one_into_two() 738 struct dm_btree_value_type *vt, uint64_t key) in split_two_into_three() 916 unsigned int parent_index, uint64_t key) in rebalance_left() 945 unsigned int parent_index, uint64_t key) in rebalance_right() 1002 unsigned int parent_index, uint64_t key) in rebalance_or_split() 1094 uint64_t key, unsigned int *index) in btree_insert_raw() 1157 uint64_t key, int *index) in __btree_get_overwrite_leaf() [all …]
|
| /drivers/tee/optee/ |
| A D | notif.c | 18 u_int key; member 21 static bool have_key(struct optee *optee, u_int key) in have_key() 32 int optee_notif_wait(struct optee *optee, u_int key, u32 timeout) in optee_notif_wait() 90 int optee_notif_send(struct optee *optee, u_int key) in optee_notif_send()
|
| /drivers/mfd/ |
| A D | macsmc.c | 110 static int apple_smc_rw_locked(struct apple_smc *smc, smc_key key, in apple_smc_rw_locked() 168 int apple_smc_read(struct apple_smc *smc, smc_key key, void *buf, size_t size) in apple_smc_read() 176 int apple_smc_write(struct apple_smc *smc, smc_key key, void *buf, size_t size) in apple_smc_write() 184 int apple_smc_rw(struct apple_smc *smc, smc_key key, void *wbuf, size_t wsize, in apple_smc_rw() 193 int apple_smc_get_key_by_index(struct apple_smc *smc, int index, smc_key *key) in apple_smc_get_key_by_index() 204 int apple_smc_get_key_info(struct apple_smc *smc, smc_key key, struct apple_smc_key_info *info) in apple_smc_get_key_info() 242 int apple_smc_write_atomic(struct apple_smc *smc, smc_key key, void *buf, size_t size) in apple_smc_write_atomic()
|