Searched refs:key (Results 1 - 25 of 598) sorted by relevance

1234567891011>>

/drivers/macintosh/
H A Dvia-pmu-event.h6 extern void via_pmu_event(int key, int down);
/drivers/s390/crypto/
H A Dzcrypt_cca_key.h36 * mapping for the cca private ME key token.
40 * mapping for the cca key token header
75 * In a private key, the modulus doesn't appear in the public
86 unsigned short modulus_byte_len; /* In a private key, this is 0 */
90 * mapping for the cca private CRT key 'token'
127 * Set up private key fields of a type6 MEX message.
128 * Note that all numerics in the key token are big-endian,
129 * while the entries in the key block header are little-endian.
132 * @p: pointer to memory area for the key
134 * Returns the size of the key are
160 } __attribute__((packed)) *key = p; local
222 } __attribute__((packed)) *key = p; local
288 } __attribute__((packed)) *key = p; local
[all...]
/drivers/input/
H A Dsparse-keymap.c29 struct key_entry *key; local
32 for (key = dev->keycode; key->type != KE_END; key++) {
33 if (key->type == KE_KEY) {
34 if (key == k)
46 struct key_entry *key; local
49 for (key = dev->keycode; key->type != KE_END; key
68 struct key_entry *key; local
89 struct key_entry *key; local
102 struct key_entry *key; local
118 const struct key_entry *key; local
140 struct key_entry *key; local
[all...]
/drivers/gpu/drm/
H A Ddrm_hashtab.c59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) argument
66 hashed_key = hash_long(key, ht->order);
67 DRM_DEBUG("Key is 0x%08lx, Hashed key is 0x%08x\n", key, hashed_key);
70 DRM_DEBUG("count %d, key: 0x%08lx\n", count++, entry->key);
74 unsigned long key)
80 hashed_key = hash_long(key, ht->order);
83 if (entry->key == key)
73 drm_ht_find_key(struct drm_open_hash *ht, unsigned long key) argument
91 drm_ht_find_key_rcu(struct drm_open_hash *ht, unsigned long key) argument
115 unsigned long key = item->key; local
165 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
179 drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key) argument
[all...]
/drivers/staging/vt6656/
H A Dkey.c20 * File: key.c
35 #include "key.h"
51 struct ieee80211_key_conf *key, u32 key_type, u32 mode,
59 u8 key_inx = key->keyidx;
72 key->hw_key_idx = i;
73 entry = key->hw_key_idx;
82 /* default key last entry */
84 key->hw_key_idx = entry;
98 /* Don't save entry for pairwise key for station mode */
110 if (key
50 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) argument
121 vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_key_conf *key) argument
174 vnt_set_keymode(hw, (u8 *)conf->bssid, key, local
[all...]
/drivers/infiniband/hw/cxgb3/
H A Diwch_user.h49 __u64 key; member in struct:iwch_create_cq_resp_v0
55 __u64 key; member in struct:iwch_create_cq_resp
63 __u64 key; member in struct:iwch_create_qp_resp
/drivers/sfi/
H A Dsfi_acpi.c99 struct sfi_table_key key = SFI_ANY_KEY; local
106 ret = sfi_check_table(xsdt_va->table_offset_entry[i], &key);
127 static struct acpi_table_header *sfi_acpi_get_table(struct sfi_table_key *key) argument
134 ret = sfi_check_table(xsdt_va->table_offset_entry[i], key);
156 struct sfi_table_key key; local
162 key.sig = signature;
163 key.oem_id = oem_id;
164 key.oem_table_id = oem_table_id;
166 table = sfi_acpi_get_table(&key);
182 struct sfi_table_key key; local
[all...]
H A Dsfi_core.h77 struct sfi_table_key *key);
78 struct sfi_table_header *sfi_get_table(struct sfi_table_key *key);
H A Dsfi_core.c200 struct sfi_table_key *key)
203 if (strncmp(th->sig, key->sig, SFI_SIGNATURE_SIZE)
204 || (key->oem_id && strncmp(th->oem_id,
205 key->oem_id, SFI_OEM_ID_SIZE))
206 || (key->oem_table_id && strncmp(th->oem_table_id,
207 key->oem_table_id, SFI_OEM_TABLE_ID_SIZE)))
226 * NULL: when can't find a table matching the key
231 __ref sfi_check_table(u64 pa, struct sfi_table_key *key) argument
240 if (!key->sig) {
245 if (!sfi_table_check_key(th, key))
199 sfi_table_check_key(struct sfi_table_header *th, struct sfi_table_key *key) argument
259 sfi_get_table(struct sfi_table_key *key) argument
284 struct sfi_table_key key; local
313 struct sfi_table_key key = SFI_ANY_KEY; local
396 struct sfi_table_key key; local
[all...]
/drivers/crypto/qat/qat_common/
H A Dqat_crypto.c155 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
159 strlcpy(key, ADF_NUM_CY, sizeof(key));
161 if (adf_cfg_get_param_value(accel_dev, SEC, key, val))
177 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i);
178 if (adf_cfg_get_param_value(accel_dev, SEC, key, val))
183 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i);
184 if (adf_cfg_get_param_value(accel_dev, SEC, key, va
[all...]
/drivers/staging/lustre/lustre/llite/
H A Dllite_rmtacl.c77 static struct rmtacl_ctl_entry *rce_alloc(pid_t key, int ops) argument
86 rce->rce_key = key;
101 pid_t key)
104 struct list_head *head = &rct->rct_entries[rce_hashfunc(key)];
107 if (rce->rce_key == key)
113 struct rmtacl_ctl_entry *rct_search(struct rmtacl_ctl_table *rct, pid_t key) argument
118 rce = __rct_search(rct, key);
123 int rct_add(struct rmtacl_ctl_table *rct, pid_t key, int ops) argument
127 rce = rce_alloc(key, ops);
132 e = __rct_search(rct, key);
100 __rct_search(struct rmtacl_ctl_table *rct, pid_t key) argument
144 rct_del(struct rmtacl_ctl_table *rct, pid_t key) argument
182 ee_alloc(pid_t key, struct lu_fid *fid, int type, ext_acl_xattr_header *header) argument
211 __et_search_del(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type) argument
230 et_search_del(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type) argument
241 et_search_free(struct eacl_table *et, pid_t key) argument
254 ee_add(struct eacl_table *et, pid_t key, struct lu_fid *fid, int type, ext_acl_xattr_header *header) argument
[all...]
/drivers/net/ethernet/cisco/enic/
H A Dvnic_rss.h22 /* RSS key array */
27 } key[4]; member in union:vnic_rss_key
/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_ccmp.c40 u8 key[CCMP_TK_LEN]; member in struct:ieee80211_ccmp_data
197 struct ieee80211_ccmp_data *key = priv; local
216 key->tx_pn[i]++;
217 if (key->tx_pn[i] != 0)
222 *pos++ = key->tx_pn[5];
223 *pos++ = key->tx_pn[4];
225 *pos++ = (key->key_idx << 6) | (1 << 5) /* Ext IV included */;
226 *pos++ = key->tx_pn[3];
227 *pos++ = key->tx_pn[2];
228 *pos++ = key
272 struct ieee80211_ccmp_data *key = priv; local
375 ieee80211_ccmp_set_key(void *key, int len, u8 *seq, void *priv) argument
406 ieee80211_ccmp_get_key(void *key, int len, u8 *seq, void *priv) argument
[all...]
H A Dieee80211_crypt_wep.c33 u8 key[WEP_KEY_LEN + 1]; member in struct:prism2_wep_data
100 * WEP frame payload: IV + TX key idx, RC4(data), ICV = RC4(CRC32(data))
106 u8 key[WEP_KEY_LEN + 3]; local
126 /* Fluhrer, Mantin, and Shamir have reported weaknesses in the key
135 /* Prepend 24-bit IV to RC4 key and TX frame */
136 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
137 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
138 *pos++ = key[2] = wep->iv & 0xff;
141 /* Copy rest of the WEP key (the secret part) */
142 memcpy(key
176 u8 key[WEP_KEY_LEN + 3]; local
229 prism2_wep_set_key(void *key, int len, u8 *seq, void *priv) argument
243 prism2_wep_get_key(void *key, int len, u8 *seq, void *priv) argument
[all...]
/drivers/tty/
H A Dsysrq.c8 * overhauled to use key registration
87 static void sysrq_handle_loglevel(int key) argument
91 i = key - '0';
104 static void sysrq_handle_SAK(int key) argument
120 static void sysrq_handle_unraw(int key) argument
135 static void sysrq_handle_crash(int key) argument
150 static void sysrq_handle_reboot(int key) argument
163 static void sysrq_handle_sync(int key) argument
174 static void sysrq_handle_show_timers(int key) argument
185 static void sysrq_handle_mountro(int key) argument
197 sysrq_handle_showlocks(int key) argument
235 sysrq_handle_showallcpus(int key) argument
261 sysrq_handle_showregs(int key) argument
275 sysrq_handle_showstate(int key) argument
286 sysrq_handle_showstate_blocked(int key) argument
300 sysrq_ftrace_dump(int key) argument
314 sysrq_handle_showmem(int key) argument
344 sysrq_handle_term(int key) argument
364 sysrq_handle_moom(int key) argument
376 sysrq_handle_thaw(int key) argument
388 sysrq_handle_kill(int key) argument
400 sysrq_handle_unrt(int key) argument
473 sysrq_key_table_key2index(int key) argument
489 __sysrq_get_key_op(int key) argument
501 __sysrq_put_key_op(int key, struct sysrq_key_op *op_p) argument
509 __handle_sysrq(int key, bool check_mask) argument
562 handle_sysrq(int key) argument
609 unsigned short key; local
690 u32 key; local
950 unsigned short key; local
1044 __sysrq_swap_key_ops(int key, struct sysrq_key_op *insert_op_p, struct sysrq_key_op *remove_op_p) argument
1068 register_sysrq_key(int key, struct sysrq_key_op *op_p) argument
1074 unregister_sysrq_key(int key, struct sysrq_key_op *op_p) argument
[all...]
/drivers/staging/rtl8192e/
H A Drtllib_crypt_ccmp.c35 u8 key[CCMP_TK_LEN]; member in struct:rtllib_ccmp_data
191 struct rtllib_ccmp_data *key = priv; local
209 key->tx_pn[i]++;
210 if (key->tx_pn[i] != 0)
215 *pos++ = key->tx_pn[5];
216 *pos++ = key->tx_pn[4];
218 *pos++ = (key->key_idx << 6) | (1 << 5) /* Ext IV included */;
219 *pos++ = key->tx_pn[3];
220 *pos++ = key->tx_pn[2];
221 *pos++ = key
264 struct rtllib_ccmp_data *key = priv; local
362 rtllib_ccmp_set_key(void *key, int len, u8 *seq, void *priv) argument
393 rtllib_ccmp_get_key(void *key, int len, u8 *seq, void *priv) argument
[all...]
H A Drtllib_crypt_wep.c28 u8 key[WEP_KEY_LEN + 1]; member in struct:prism2_wep_data
94 * WEP frame payload: IV + TX key idx, RC4(data), ICV = RC4(CRC32(data))
100 u8 key[WEP_KEY_LEN + 3]; local
125 /* Fluhrer, Mantin, and Shamir have reported weaknesses in the key
135 /* Prepend 24-bit IV to RC4 key and TX frame */
136 *pos++ = key[0] = (wep->iv >> 16) & 0xff;
137 *pos++ = key[1] = (wep->iv >> 8) & 0xff;
138 *pos++ = key[2] = wep->iv & 0xff;
141 /* Copy rest of the WEP key (the secret part) */
142 memcpy(key
174 u8 key[WEP_KEY_LEN + 3]; local
226 prism2_wep_set_key(void *key, int len, u8 *seq, void *priv) argument
240 prism2_wep_get_key(void *key, int len, u8 *seq, void *priv) argument
[all...]
/drivers/crypto/qat/qat_dh895xcc/
H A Dadf_drv.c127 char key[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; local
137 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i);
139 key, (void *)&val, ADF_DEC))
142 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY,
145 key, (void *)&val, ADF_DEC))
148 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i);
151 key, (voi
[all...]
/drivers/hid/
H A Dhid-zydacron.c117 unsigned key; local
124 key = zc->last_key[index];
125 if (key) {
126 input_event(zc->input_ep81, EV_KEY, key, 0);
131 key = 0;
137 key = KEY_MODE;
141 key = KEY_SCREEN;
145 key = KEY_INFO;
149 key = KEY_RADIO;
154 if (key) {
[all...]
/drivers/md/
H A Ddm-bio-prison.c104 static uint32_t hash_key(struct dm_bio_prison *prison, struct dm_cell_key *key) argument
107 uint64_t hash = key->block * BIG_PRIME;
120 struct dm_cell_key *key)
122 return prison->buckets + hash_key(prison, key);
126 struct dm_cell_key *key)
131 if (keys_equal(&cell->key, key))
138 struct dm_cell_key *key,
142 memcpy(&cell->key, key, sizeo
119 get_bucket(struct dm_bio_prison *prison, struct dm_cell_key *key) argument
125 __search_bucket(struct bucket *b, struct dm_cell_key *key) argument
137 __setup_new_cell(struct bucket *b, struct dm_cell_key *key, struct bio *holder, struct dm_bio_prison_cell *cell) argument
148 __bio_detain(struct bucket *b, struct dm_cell_key *key, struct bio *inmate, struct dm_bio_prison_cell *cell_prealloc, struct dm_bio_prison_cell **cell_result) argument
169 bio_detain(struct dm_bio_prison *prison, struct dm_cell_key *key, struct bio *inmate, struct dm_bio_prison_cell *cell_prealloc, struct dm_bio_prison_cell **cell_result) argument
186 dm_bio_detain(struct dm_bio_prison *prison, struct dm_cell_key *key, struct bio *inmate, struct dm_bio_prison_cell *cell_prealloc, struct dm_bio_prison_cell **cell_result) argument
196 dm_get_cell(struct dm_bio_prison *prison, struct dm_cell_key *key, struct dm_bio_prison_cell *cell_prealloc, struct dm_bio_prison_cell **cell_result) argument
[all...]
/drivers/power/
H A Dtest_power.c225 char const *key; member in struct:battery_property_map
268 static int map_get_value(struct battery_property_map *map, const char *key, argument
274 strncpy(buf, key, MAX_KEYLENGTH);
281 while (map->key) {
282 if (strncasecmp(map->key, buf, MAX_KEYLENGTH) == 0)
294 while (map->key) {
296 return map->key;
309 static int param_set_ac_online(const char *key, const struct kernel_param *kp) argument
311 ac_online = map_get_value(map_ac_online, key, ac_online);
322 static int param_set_usb_online(const char *key, cons argument
335 param_set_battery_status(const char *key, const struct kernel_param *kp) argument
349 param_set_battery_health(const char *key, const struct kernel_param *kp) argument
363 param_set_battery_present(const char *key, const struct kernel_param *kp) argument
378 param_set_battery_technology(const char *key, const struct kernel_param *kp) argument
395 param_set_battery_capacity(const char *key, const struct kernel_param *kp) argument
410 param_set_battery_voltage(const char *key, const struct kernel_param *kp) argument
[all...]
/drivers/net/wireless/orinoco/
H A Dmic.h18 int orinoco_mic(struct crypto_hash *tfm_michael, u8 *key,
/drivers/staging/lustre/lustre/include/
H A Dlustre_param.h58 int class_find_param(char *buf, char *key, char **valp);
62 int class_match_param(char *buf, char *key, char **valp);
66 int class_match_nid(char *buf, char *key, lnet_nid_t nid);
67 int class_match_net(char *buf, char *key, __u32 net);
/drivers/staging/speakup/
H A Dkeyhelp.c65 u_short *p_key = key_data, key; local
102 key = (state_tbl[i] << 8) + ch;
108 *p_key = key;
113 static void say_key(int key) argument
115 int i, state = key >> 8;
117 key &= 0xff;
122 if ((key > 0) && (key <= num_key_names))
124 spk_msg_get(MSG_KEYNAMES_START + (key - 1)));
145 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
[all...]
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_hash.h73 /** expensive, check key validation */
149 /** rehash item by new key */
205 * During rehashing, a (key,object) pair may be in one of two buckets,
300 /** return hashed value from @key */
301 unsigned (*hs_hash)(struct cfs_hash *hs, const void *key, unsigned mask);
302 /** return key address of @hnode */
304 /** copy key from @hnode to @key */
305 void (*hs_keycpy)(struct hlist_node *hnode, void *key);
307 * compare @key wit
460 cfs_hash_id(struct cfs_hash *hs, const void *key, unsigned mask) argument
472 cfs_hash_keycpy(struct cfs_hash *hs, struct hlist_node *hnode, void *key) argument
482 cfs_hash_keycmp(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument
557 cfs_hash_bd_get_and_lock(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bd, int excl) argument
656 cfs_hash_dual_bd_get_and_lock(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bds, int excl) argument
732 cfs_hash_key_validate(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument
753 cfs_hash_key_validate(struct cfs_hash *hs, const void *key, struct hlist_node *hnode) argument
[all...]

Completed in 523 milliseconds

1234567891011>>