keys               33 arch/arm64/include/asm/pointer_auth.h static inline void ptrauth_keys_init(struct ptrauth_keys *keys)
keys               36 arch/arm64/include/asm/pointer_auth.h 		get_random_bytes(&keys->apia, sizeof(keys->apia));
keys               37 arch/arm64/include/asm/pointer_auth.h 		get_random_bytes(&keys->apib, sizeof(keys->apib));
keys               38 arch/arm64/include/asm/pointer_auth.h 		get_random_bytes(&keys->apda, sizeof(keys->apda));
keys               39 arch/arm64/include/asm/pointer_auth.h 		get_random_bytes(&keys->apdb, sizeof(keys->apdb));
keys               43 arch/arm64/include/asm/pointer_auth.h 		get_random_bytes(&keys->apga, sizeof(keys->apga));
keys               53 arch/arm64/include/asm/pointer_auth.h static inline void ptrauth_keys_switch(struct ptrauth_keys *keys)
keys               56 arch/arm64/include/asm/pointer_auth.h 		__ptrauth_key_install(APIA, keys->apia);
keys               57 arch/arm64/include/asm/pointer_auth.h 		__ptrauth_key_install(APIB, keys->apib);
keys               58 arch/arm64/include/asm/pointer_auth.h 		__ptrauth_key_install(APDA, keys->apda);
keys               59 arch/arm64/include/asm/pointer_auth.h 		__ptrauth_key_install(APDB, keys->apdb);
keys               63 arch/arm64/include/asm/pointer_auth.h 		__ptrauth_key_install(APGA, keys->apga);
keys               12 arch/arm64/kernel/pointer_auth.c 	struct ptrauth_keys *keys = &tsk->thread.keys_user;
keys               21 arch/arm64/kernel/pointer_auth.c 		ptrauth_keys_init(keys);
keys               22 arch/arm64/kernel/pointer_auth.c 		ptrauth_keys_switch(keys);
keys               34 arch/arm64/kernel/pointer_auth.c 		get_random_bytes(&keys->apia, sizeof(keys->apia));
keys               36 arch/arm64/kernel/pointer_auth.c 		get_random_bytes(&keys->apib, sizeof(keys->apib));
keys               38 arch/arm64/kernel/pointer_auth.c 		get_random_bytes(&keys->apda, sizeof(keys->apda));
keys               40 arch/arm64/kernel/pointer_auth.c 		get_random_bytes(&keys->apdb, sizeof(keys->apdb));
keys               42 arch/arm64/kernel/pointer_auth.c 		get_random_bytes(&keys->apga, sizeof(keys->apga));
keys               44 arch/arm64/kernel/pointer_auth.c 	ptrauth_keys_switch(keys);
keys             1002 arch/arm64/kernel/ptrace.c 				     const struct ptrauth_keys *keys)
keys             1004 arch/arm64/kernel/ptrace.c 	ukeys->apiakey = pac_key_to_user(&keys->apia);
keys             1005 arch/arm64/kernel/ptrace.c 	ukeys->apibkey = pac_key_to_user(&keys->apib);
keys             1006 arch/arm64/kernel/ptrace.c 	ukeys->apdakey = pac_key_to_user(&keys->apda);
keys             1007 arch/arm64/kernel/ptrace.c 	ukeys->apdbkey = pac_key_to_user(&keys->apdb);
keys             1010 arch/arm64/kernel/ptrace.c static void pac_address_keys_from_user(struct ptrauth_keys *keys,
keys             1013 arch/arm64/kernel/ptrace.c 	keys->apia = pac_key_from_user(ukeys->apiakey);
keys             1014 arch/arm64/kernel/ptrace.c 	keys->apib = pac_key_from_user(ukeys->apibkey);
keys             1015 arch/arm64/kernel/ptrace.c 	keys->apda = pac_key_from_user(ukeys->apdakey);
keys             1016 arch/arm64/kernel/ptrace.c 	keys->apdb = pac_key_from_user(ukeys->apdbkey);
keys             1024 arch/arm64/kernel/ptrace.c 	struct ptrauth_keys *keys = &target->thread.keys_user;
keys             1030 arch/arm64/kernel/ptrace.c 	pac_address_keys_to_user(&user_keys, keys);
keys             1041 arch/arm64/kernel/ptrace.c 	struct ptrauth_keys *keys = &target->thread.keys_user;
keys             1048 arch/arm64/kernel/ptrace.c 	pac_address_keys_to_user(&user_keys, keys);
keys             1053 arch/arm64/kernel/ptrace.c 	pac_address_keys_from_user(keys, &user_keys);
keys             1059 arch/arm64/kernel/ptrace.c 				     const struct ptrauth_keys *keys)
keys             1061 arch/arm64/kernel/ptrace.c 	ukeys->apgakey = pac_key_to_user(&keys->apga);
keys             1064 arch/arm64/kernel/ptrace.c static void pac_generic_keys_from_user(struct ptrauth_keys *keys,
keys             1067 arch/arm64/kernel/ptrace.c 	keys->apga = pac_key_from_user(ukeys->apgakey);
keys             1075 arch/arm64/kernel/ptrace.c 	struct ptrauth_keys *keys = &target->thread.keys_user;
keys             1081 arch/arm64/kernel/ptrace.c 	pac_generic_keys_to_user(&user_keys, keys);
keys             1092 arch/arm64/kernel/ptrace.c 	struct ptrauth_keys *keys = &target->thread.keys_user;
keys             1099 arch/arm64/kernel/ptrace.c 	pac_generic_keys_to_user(&user_keys, keys);
keys             1104 arch/arm64/kernel/ptrace.c 	pac_generic_keys_from_user(keys, &user_keys);
keys             1792 arch/s390/kvm/kvm-s390.c 	uint8_t *keys;
keys             1807 arch/s390/kvm/kvm-s390.c 	keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL);
keys             1808 arch/s390/kvm/kvm-s390.c 	if (!keys)
keys             1820 arch/s390/kvm/kvm-s390.c 		r = get_guest_storage_key(current->mm, hva, &keys[i]);
keys             1828 arch/s390/kvm/kvm-s390.c 		r = copy_to_user((uint8_t __user *)args->skeydata_addr, keys,
keys             1834 arch/s390/kvm/kvm-s390.c 	kvfree(keys);
keys             1840 arch/s390/kvm/kvm-s390.c 	uint8_t *keys;
keys             1852 arch/s390/kvm/kvm-s390.c 	keys = kvmalloc_array(args->count, sizeof(uint8_t), GFP_KERNEL);
keys             1853 arch/s390/kvm/kvm-s390.c 	if (!keys)
keys             1856 arch/s390/kvm/kvm-s390.c 	r = copy_from_user(keys, (uint8_t __user *)args->skeydata_addr,
keys             1880 arch/s390/kvm/kvm-s390.c 		if (keys[i] & 0x01) {
keys             1885 arch/s390/kvm/kvm-s390.c 		r = set_guest_storage_key(current->mm, hva, keys[i], 0);
keys             1898 arch/s390/kvm/kvm-s390.c 	kvfree(keys);
keys              192 arch/x86/crypto/aesni-intel_glue.c 		void *keys, u8 *out, unsigned int num_bytes);
keys              194 arch/x86/crypto/aesni-intel_glue.c 		void *keys, u8 *out, unsigned int num_bytes);
keys              196 arch/x86/crypto/aesni-intel_glue.c 		void *keys, u8 *out, unsigned int num_bytes);
keys               46 crypto/authenc.c int crypto_authenc_extractkeys(struct crypto_authenc_keys *keys, const u8 *key,
keys               68 crypto/authenc.c 	keys->enckeylen = be32_to_cpu(param->enckeylen);
keys               73 crypto/authenc.c 	if (keylen < keys->enckeylen)
keys               76 crypto/authenc.c 	keys->authkeylen = keylen - keys->enckeylen;
keys               77 crypto/authenc.c 	keys->authkey = key;
keys               78 crypto/authenc.c 	keys->enckey = key + keys->authkeylen;
keys               90 crypto/authenc.c 	struct crypto_authenc_keys keys;
keys               93 crypto/authenc.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys               99 crypto/authenc.c 	err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen);
keys              109 crypto/authenc.c 	err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen);
keys              114 crypto/authenc.c 	memzero_explicit(&keys, sizeof(keys));
keys               64 crypto/authencesn.c 	struct crypto_authenc_keys keys;
keys               67 crypto/authencesn.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys               73 crypto/authencesn.c 	err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen);
keys               83 crypto/authencesn.c 	err = crypto_skcipher_setkey(enc, keys.enckey, keys.enckeylen);
keys               88 crypto/authencesn.c 	memzero_explicit(&keys, sizeof(keys));
keys              107 crypto/essiv.c 	struct crypto_authenc_keys keys;
keys              120 crypto/essiv.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) {
keys              127 crypto/essiv.c 	      crypto_shash_update(desc, keys.enckey, keys.enckeylen) ?:
keys              128 crypto/essiv.c 	      crypto_shash_finup(desc, keys.authkey, keys.authkeylen, salt);
keys             2122 drivers/crypto/atmel-aes.c 	struct crypto_authenc_keys keys;
keys             2126 drivers/crypto/atmel-aes.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys             2129 drivers/crypto/atmel-aes.c 	if (keys.enckeylen > sizeof(ctx->base.key))
keys             2135 drivers/crypto/atmel-aes.c 				       keys.authkey, keys.authkeylen,
keys             2139 drivers/crypto/atmel-aes.c 		memzero_explicit(&keys, sizeof(keys));
keys             2144 drivers/crypto/atmel-aes.c 	ctx->base.keylen = keys.enckeylen;
keys             2145 drivers/crypto/atmel-aes.c 	memcpy(ctx->base.key, keys.enckey, keys.enckeylen);
keys             2147 drivers/crypto/atmel-aes.c 	memzero_explicit(&keys, sizeof(keys));
keys             2152 drivers/crypto/atmel-aes.c 	memzero_explicit(&keys, sizeof(keys));
keys             2825 drivers/crypto/bcm/cipher.c 	struct crypto_authenc_keys keys;
keys             2832 drivers/crypto/bcm/cipher.c 	ret = crypto_authenc_extractkeys(&keys, key, keylen);
keys             2836 drivers/crypto/bcm/cipher.c 	if (keys.enckeylen > MAX_KEY_SIZE ||
keys             2837 drivers/crypto/bcm/cipher.c 	    keys.authkeylen > MAX_KEY_SIZE)
keys             2840 drivers/crypto/bcm/cipher.c 	ctx->enckeylen = keys.enckeylen;
keys             2841 drivers/crypto/bcm/cipher.c 	ctx->authkeylen = keys.authkeylen;
keys             2843 drivers/crypto/bcm/cipher.c 	memcpy(ctx->enckey, keys.enckey, keys.enckeylen);
keys             2846 drivers/crypto/bcm/cipher.c 	memcpy(ctx->authkey, keys.authkey, keys.authkeylen);
keys             2850 drivers/crypto/bcm/cipher.c 		if (verify_aead_des_key(cipher, keys.enckey, keys.enckeylen))
keys             2856 drivers/crypto/bcm/cipher.c 		if (verify_aead_des3_key(cipher, keys.enckey, keys.enckeylen))
keys              568 drivers/crypto/caam/caamalg.c 	struct crypto_authenc_keys keys;
keys              571 drivers/crypto/caam/caamalg.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys              575 drivers/crypto/caam/caamalg.c 	       keys.authkeylen + keys.enckeylen, keys.enckeylen,
keys              576 drivers/crypto/caam/caamalg.c 	       keys.authkeylen);
keys              585 drivers/crypto/caam/caamalg.c 		ctx->adata.keylen = keys.authkeylen;
keys              589 drivers/crypto/caam/caamalg.c 		if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE)
keys              592 drivers/crypto/caam/caamalg.c 		memcpy(ctx->key, keys.authkey, keys.authkeylen);
keys              593 drivers/crypto/caam/caamalg.c 		memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey,
keys              594 drivers/crypto/caam/caamalg.c 		       keys.enckeylen);
keys              597 drivers/crypto/caam/caamalg.c 					   keys.enckeylen, ctx->dir);
keys              601 drivers/crypto/caam/caamalg.c 	ret = gen_split_key(ctx->jrdev, ctx->key, &ctx->adata, keys.authkey,
keys              602 drivers/crypto/caam/caamalg.c 			    keys.authkeylen, CAAM_MAX_KEY_SIZE -
keys              603 drivers/crypto/caam/caamalg.c 			    keys.enckeylen);
keys              609 drivers/crypto/caam/caamalg.c 	memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen);
keys              611 drivers/crypto/caam/caamalg.c 				   keys.enckeylen, ctx->dir);
keys              615 drivers/crypto/caam/caamalg.c 			     ctx->adata.keylen_pad + keys.enckeylen, 1);
keys              618 drivers/crypto/caam/caamalg.c 	ctx->cdata.keylen = keys.enckeylen;
keys              619 drivers/crypto/caam/caamalg.c 	memzero_explicit(&keys, sizeof(keys));
keys              623 drivers/crypto/caam/caamalg.c 	memzero_explicit(&keys, sizeof(keys));
keys              630 drivers/crypto/caam/caamalg.c 	struct crypto_authenc_keys keys;
keys              633 drivers/crypto/caam/caamalg.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys              637 drivers/crypto/caam/caamalg.c 	err = verify_aead_des3_key(aead, keys.enckey, keys.enckeylen) ?:
keys              640 drivers/crypto/caam/caamalg.c 	memzero_explicit(&keys, sizeof(keys));
keys              193 drivers/crypto/caam/caamalg_qi.c 	struct crypto_authenc_keys keys;
keys              196 drivers/crypto/caam/caamalg_qi.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys              200 drivers/crypto/caam/caamalg_qi.c 		keys.authkeylen + keys.enckeylen, keys.enckeylen,
keys              201 drivers/crypto/caam/caamalg_qi.c 		keys.authkeylen);
keys              210 drivers/crypto/caam/caamalg_qi.c 		ctx->adata.keylen = keys.authkeylen;
keys              214 drivers/crypto/caam/caamalg_qi.c 		if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE)
keys              217 drivers/crypto/caam/caamalg_qi.c 		memcpy(ctx->key, keys.authkey, keys.authkeylen);
keys              218 drivers/crypto/caam/caamalg_qi.c 		memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey,
keys              219 drivers/crypto/caam/caamalg_qi.c 		       keys.enckeylen);
keys              222 drivers/crypto/caam/caamalg_qi.c 					   keys.enckeylen, ctx->dir);
keys              226 drivers/crypto/caam/caamalg_qi.c 	ret = gen_split_key(jrdev, ctx->key, &ctx->adata, keys.authkey,
keys              227 drivers/crypto/caam/caamalg_qi.c 			    keys.authkeylen, CAAM_MAX_KEY_SIZE -
keys              228 drivers/crypto/caam/caamalg_qi.c 			    keys.enckeylen);
keys              233 drivers/crypto/caam/caamalg_qi.c 	memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen);
keys              235 drivers/crypto/caam/caamalg_qi.c 				   ctx->adata.keylen_pad + keys.enckeylen,
keys              240 drivers/crypto/caam/caamalg_qi.c 			     ctx->adata.keylen_pad + keys.enckeylen, 1);
keys              243 drivers/crypto/caam/caamalg_qi.c 	ctx->cdata.keylen = keys.enckeylen;
keys              268 drivers/crypto/caam/caamalg_qi.c 	memzero_explicit(&keys, sizeof(keys));
keys              272 drivers/crypto/caam/caamalg_qi.c 	memzero_explicit(&keys, sizeof(keys));
keys              279 drivers/crypto/caam/caamalg_qi.c 	struct crypto_authenc_keys keys;
keys              282 drivers/crypto/caam/caamalg_qi.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys              286 drivers/crypto/caam/caamalg_qi.c 	err = verify_aead_des3_key(aead, keys.enckey, keys.enckeylen) ?:
keys              289 drivers/crypto/caam/caamalg_qi.c 	memzero_explicit(&keys, sizeof(keys));
keys              285 drivers/crypto/caam/caamalg_qi2.c 	struct crypto_authenc_keys keys;
keys              287 drivers/crypto/caam/caamalg_qi2.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys              291 drivers/crypto/caam/caamalg_qi2.c 		keys.authkeylen + keys.enckeylen, keys.enckeylen,
keys              292 drivers/crypto/caam/caamalg_qi2.c 		keys.authkeylen);
keys              296 drivers/crypto/caam/caamalg_qi2.c 	ctx->adata.keylen = keys.authkeylen;
keys              300 drivers/crypto/caam/caamalg_qi2.c 	if (ctx->adata.keylen_pad + keys.enckeylen > CAAM_MAX_KEY_SIZE)
keys              303 drivers/crypto/caam/caamalg_qi2.c 	memcpy(ctx->key, keys.authkey, keys.authkeylen);
keys              304 drivers/crypto/caam/caamalg_qi2.c 	memcpy(ctx->key + ctx->adata.keylen_pad, keys.enckey, keys.enckeylen);
keys              306 drivers/crypto/caam/caamalg_qi2.c 				   keys.enckeylen, ctx->dir);
keys              309 drivers/crypto/caam/caamalg_qi2.c 			     ctx->adata.keylen_pad + keys.enckeylen, 1);
keys              311 drivers/crypto/caam/caamalg_qi2.c 	ctx->cdata.keylen = keys.enckeylen;
keys              313 drivers/crypto/caam/caamalg_qi2.c 	memzero_explicit(&keys, sizeof(keys));
keys              317 drivers/crypto/caam/caamalg_qi2.c 	memzero_explicit(&keys, sizeof(keys));
keys              324 drivers/crypto/caam/caamalg_qi2.c 	struct crypto_authenc_keys keys;
keys              327 drivers/crypto/caam/caamalg_qi2.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys              332 drivers/crypto/caam/caamalg_qi2.c 	if (keys.enckeylen != DES3_EDE_KEY_SIZE)
keys              335 drivers/crypto/caam/caamalg_qi2.c 	err = crypto_des3_ede_verify_key(crypto_aead_tfm(aead), keys.enckey) ?:
keys              339 drivers/crypto/caam/caamalg_qi2.c 	memzero_explicit(&keys, sizeof(keys));
keys              560 drivers/crypto/ccree/cc_aead.c 		struct crypto_authenc_keys keys;
keys              562 drivers/crypto/ccree/cc_aead.c 		rc = crypto_authenc_extractkeys(&keys, key, keylen);
keys              565 drivers/crypto/ccree/cc_aead.c 		enckey = keys.enckey;
keys              566 drivers/crypto/ccree/cc_aead.c 		authkey = keys.authkey;
keys              567 drivers/crypto/ccree/cc_aead.c 		ctx->enc_keylen = keys.enckeylen;
keys              568 drivers/crypto/ccree/cc_aead.c 		ctx->auth_keylen = keys.authkeylen;
keys              651 drivers/crypto/ccree/cc_aead.c 	struct crypto_authenc_keys keys;
keys              654 drivers/crypto/ccree/cc_aead.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys              658 drivers/crypto/ccree/cc_aead.c 	err = verify_aead_des3_key(aead, keys.enckey, keys.enckeylen) ?:
keys              661 drivers/crypto/ccree/cc_aead.c 	memzero_explicit(&keys, sizeof(keys));
keys             3409 drivers/crypto/chelsio/chcr_algo.c 	struct crypto_authenc_keys keys;
keys             3430 drivers/crypto/chelsio/chcr_algo.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) {
keys             3442 drivers/crypto/chelsio/chcr_algo.c 		if (keys.enckeylen < CTR_RFC3686_NONCE_SIZE)
keys             3444 drivers/crypto/chelsio/chcr_algo.c 		memcpy(aeadctx->nonce, keys.enckey + (keys.enckeylen
keys             3446 drivers/crypto/chelsio/chcr_algo.c 		keys.enckeylen -= CTR_RFC3686_NONCE_SIZE;
keys             3448 drivers/crypto/chelsio/chcr_algo.c 	if (keys.enckeylen == AES_KEYSIZE_128) {
keys             3450 drivers/crypto/chelsio/chcr_algo.c 	} else if (keys.enckeylen == AES_KEYSIZE_192) {
keys             3452 drivers/crypto/chelsio/chcr_algo.c 	} else if (keys.enckeylen == AES_KEYSIZE_256) {
keys             3463 drivers/crypto/chelsio/chcr_algo.c 	memcpy(aeadctx->key, keys.enckey, keys.enckeylen);
keys             3464 drivers/crypto/chelsio/chcr_algo.c 	aeadctx->enckey_len = keys.enckeylen;
keys             3475 drivers/crypto/chelsio/chcr_algo.c 		memzero_explicit(&keys, sizeof(keys));
keys             3486 drivers/crypto/chelsio/chcr_algo.c 		if (keys.authkeylen > bs) {
keys             3487 drivers/crypto/chelsio/chcr_algo.c 			err = crypto_shash_digest(shash, keys.authkey,
keys             3488 drivers/crypto/chelsio/chcr_algo.c 						  keys.authkeylen,
keys             3494 drivers/crypto/chelsio/chcr_algo.c 			keys.authkeylen = max_authsize;
keys             3496 drivers/crypto/chelsio/chcr_algo.c 			memcpy(o_ptr, keys.authkey, keys.authkeylen);
keys             3499 drivers/crypto/chelsio/chcr_algo.c 		memset(pad + keys.authkeylen, 0, bs - keys.authkeylen);
keys             3500 drivers/crypto/chelsio/chcr_algo.c 		memcpy(pad, o_ptr, keys.authkeylen);
keys             3508 drivers/crypto/chelsio/chcr_algo.c 		memset(pad + keys.authkeylen, 0, bs - keys.authkeylen);
keys             3509 drivers/crypto/chelsio/chcr_algo.c 		memcpy(pad, o_ptr, keys.authkeylen);
keys             3520 drivers/crypto/chelsio/chcr_algo.c 			roundup(keys.enckeylen, 16) +
keys             3527 drivers/crypto/chelsio/chcr_algo.c 		memzero_explicit(&keys, sizeof(keys));
keys             3532 drivers/crypto/chelsio/chcr_algo.c 	memzero_explicit(&keys, sizeof(keys));
keys             3543 drivers/crypto/chelsio/chcr_algo.c 	struct crypto_authenc_keys keys;
keys             3560 drivers/crypto/chelsio/chcr_algo.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0) {
keys             3567 drivers/crypto/chelsio/chcr_algo.c 		if (keys.enckeylen < CTR_RFC3686_NONCE_SIZE)
keys             3569 drivers/crypto/chelsio/chcr_algo.c 		memcpy(aeadctx->nonce, keys.enckey + (keys.enckeylen
keys             3571 drivers/crypto/chelsio/chcr_algo.c 		keys.enckeylen -= CTR_RFC3686_NONCE_SIZE;
keys             3573 drivers/crypto/chelsio/chcr_algo.c 	if (keys.enckeylen == AES_KEYSIZE_128) {
keys             3575 drivers/crypto/chelsio/chcr_algo.c 	} else if (keys.enckeylen == AES_KEYSIZE_192) {
keys             3577 drivers/crypto/chelsio/chcr_algo.c 	} else if (keys.enckeylen == AES_KEYSIZE_256) {
keys             3580 drivers/crypto/chelsio/chcr_algo.c 		pr_err("chcr : Unsupported cipher key %d\n", keys.enckeylen);
keys             3583 drivers/crypto/chelsio/chcr_algo.c 	memcpy(aeadctx->key, keys.enckey, keys.enckeylen);
keys             3584 drivers/crypto/chelsio/chcr_algo.c 	aeadctx->enckey_len = keys.enckeylen;
keys             3590 drivers/crypto/chelsio/chcr_algo.c 	key_ctx_len =  sizeof(struct _key_ctx) + roundup(keys.enckeylen, 16);
keys             3595 drivers/crypto/chelsio/chcr_algo.c 	memzero_explicit(&keys, sizeof(keys));
keys             3599 drivers/crypto/chelsio/chcr_algo.c 	memzero_explicit(&keys, sizeof(keys));
keys              310 drivers/crypto/inside-secure/safexcel_cipher.c 	struct crypto_authenc_keys keys;
keys              314 drivers/crypto/inside-secure/safexcel_cipher.c 	if (crypto_authenc_extractkeys(&keys, key, len) != 0)
keys              319 drivers/crypto/inside-secure/safexcel_cipher.c 		if (keys.enckeylen < (AES_MIN_KEY_SIZE +
keys              323 drivers/crypto/inside-secure/safexcel_cipher.c 		ctx->nonce = *(u32 *)(keys.enckey + keys.enckeylen -
keys              326 drivers/crypto/inside-secure/safexcel_cipher.c 		keys.enckeylen -= CONTEXT_CONTROL_CRYPTO_MODE_CTR_LOAD;
keys              332 drivers/crypto/inside-secure/safexcel_cipher.c 		err = verify_aead_des3_key(ctfm, keys.enckey, keys.enckeylen);
keys              337 drivers/crypto/inside-secure/safexcel_cipher.c 		err = aes_expandkey(&aes, keys.enckey, keys.enckeylen);
keys              347 drivers/crypto/inside-secure/safexcel_cipher.c 	    memcmp(ctx->key, keys.enckey, keys.enckeylen))
keys              353 drivers/crypto/inside-secure/safexcel_cipher.c 		if (safexcel_hmac_setkey("safexcel-sha1", keys.authkey,
keys              354 drivers/crypto/inside-secure/safexcel_cipher.c 					 keys.authkeylen, &istate, &ostate))
keys              358 drivers/crypto/inside-secure/safexcel_cipher.c 		if (safexcel_hmac_setkey("safexcel-sha224", keys.authkey,
keys              359 drivers/crypto/inside-secure/safexcel_cipher.c 					 keys.authkeylen, &istate, &ostate))
keys              363 drivers/crypto/inside-secure/safexcel_cipher.c 		if (safexcel_hmac_setkey("safexcel-sha256", keys.authkey,
keys              364 drivers/crypto/inside-secure/safexcel_cipher.c 					 keys.authkeylen, &istate, &ostate))
keys              368 drivers/crypto/inside-secure/safexcel_cipher.c 		if (safexcel_hmac_setkey("safexcel-sha384", keys.authkey,
keys              369 drivers/crypto/inside-secure/safexcel_cipher.c 					 keys.authkeylen, &istate, &ostate))
keys              373 drivers/crypto/inside-secure/safexcel_cipher.c 		if (safexcel_hmac_setkey("safexcel-sha512", keys.authkey,
keys              374 drivers/crypto/inside-secure/safexcel_cipher.c 					 keys.authkeylen, &istate, &ostate))
keys              391 drivers/crypto/inside-secure/safexcel_cipher.c 	memcpy(ctx->key, keys.enckey, keys.enckeylen);
keys              392 drivers/crypto/inside-secure/safexcel_cipher.c 	ctx->key_len = keys.enckeylen;
keys              397 drivers/crypto/inside-secure/safexcel_cipher.c 	memzero_explicit(&keys, sizeof(keys));
keys              403 drivers/crypto/inside-secure/safexcel_cipher.c 	memzero_explicit(&keys, sizeof(keys));
keys             1147 drivers/crypto/ixp4xx_crypto.c 	struct crypto_authenc_keys keys;
keys             1149 drivers/crypto/ixp4xx_crypto.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys             1152 drivers/crypto/ixp4xx_crypto.c 	if (keys.authkeylen > sizeof(ctx->authkey))
keys             1155 drivers/crypto/ixp4xx_crypto.c 	if (keys.enckeylen > sizeof(ctx->enckey))
keys             1158 drivers/crypto/ixp4xx_crypto.c 	memcpy(ctx->authkey, keys.authkey, keys.authkeylen);
keys             1159 drivers/crypto/ixp4xx_crypto.c 	memcpy(ctx->enckey, keys.enckey, keys.enckeylen);
keys             1160 drivers/crypto/ixp4xx_crypto.c 	ctx->authkey_len = keys.authkeylen;
keys             1161 drivers/crypto/ixp4xx_crypto.c 	ctx->enckey_len = keys.enckeylen;
keys             1163 drivers/crypto/ixp4xx_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys             1167 drivers/crypto/ixp4xx_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys             1175 drivers/crypto/ixp4xx_crypto.c 	struct crypto_authenc_keys keys;
keys             1178 drivers/crypto/ixp4xx_crypto.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys             1183 drivers/crypto/ixp4xx_crypto.c 	if (keys.authkeylen > sizeof(ctx->authkey))
keys             1186 drivers/crypto/ixp4xx_crypto.c 	err = verify_aead_des3_key(tfm, keys.enckey, keys.enckeylen);
keys             1190 drivers/crypto/ixp4xx_crypto.c 	memcpy(ctx->authkey, keys.authkey, keys.authkeylen);
keys             1191 drivers/crypto/ixp4xx_crypto.c 	memcpy(ctx->enckey, keys.enckey, keys.enckeylen);
keys             1192 drivers/crypto/ixp4xx_crypto.c 	ctx->authkey_len = keys.authkeylen;
keys             1193 drivers/crypto/ixp4xx_crypto.c 	ctx->enckey_len = keys.enckeylen;
keys             1195 drivers/crypto/ixp4xx_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys             1198 drivers/crypto/ixp4xx_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys               64 drivers/crypto/nx/nx-aes-xcbc.c 	u8 keys[2][AES_BLOCK_SIZE];
keys               76 drivers/crypto/nx/nx-aes-xcbc.c 	memset(keys[0], 0x01, sizeof(keys[0]));
keys               77 drivers/crypto/nx/nx-aes-xcbc.c 	memset(keys[1], 0x03, sizeof(keys[1]));
keys               79 drivers/crypto/nx/nx-aes-xcbc.c 	len = sizeof(keys);
keys               81 drivers/crypto/nx/nx-aes-xcbc.c 	in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) keys, &len,
keys               84 drivers/crypto/nx/nx-aes-xcbc.c 	if (len != sizeof(keys))
keys               87 drivers/crypto/nx/nx-aes-xcbc.c 	out_sg = nx_build_sg_list(nx_ctx->out_sg, (u8 *) keys, &len,
keys               90 drivers/crypto/nx/nx-aes-xcbc.c 	if (len != sizeof(keys))
keys              102 drivers/crypto/nx/nx-aes-xcbc.c 	keys[1][0] ^= 0x80;
keys              104 drivers/crypto/nx/nx-aes-xcbc.c 	len = sizeof(keys[1]);
keys              107 drivers/crypto/nx/nx-aes-xcbc.c 	memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE);
keys              108 drivers/crypto/nx/nx-aes-xcbc.c 	in_sg = nx_build_sg_list(nx_ctx->in_sg, (u8 *) keys[1], &len,
keys              111 drivers/crypto/nx/nx-aes-xcbc.c 	if (len != sizeof(keys[1]))
keys              461 drivers/crypto/picoxcell_crypto.c 	struct crypto_authenc_keys keys;
keys              474 drivers/crypto/picoxcell_crypto.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys              477 drivers/crypto/picoxcell_crypto.c 	if (keys.enckeylen > AES_MAX_KEY_SIZE)
keys              480 drivers/crypto/picoxcell_crypto.c 	if (keys.authkeylen > sizeof(ctx->hash_ctx))
keys              483 drivers/crypto/picoxcell_crypto.c 	memcpy(ctx->cipher_key, keys.enckey, keys.enckeylen);
keys              484 drivers/crypto/picoxcell_crypto.c 	ctx->cipher_key_len = keys.enckeylen;
keys              486 drivers/crypto/picoxcell_crypto.c 	memcpy(ctx->hash_ctx, keys.authkey, keys.authkeylen);
keys              487 drivers/crypto/picoxcell_crypto.c 	ctx->hash_key_len = keys.authkeylen;
keys              489 drivers/crypto/picoxcell_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys              494 drivers/crypto/picoxcell_crypto.c 	memzero_explicit(&keys, sizeof(keys));
keys              295 drivers/crypto/qat/qat_common/qat_algs.c 					 struct crypto_authenc_keys *keys,
keys              304 drivers/crypto/qat/qat_common/qat_algs.c 		sizeof(struct icp_qat_hw_auth_setup) + keys->enckeylen);
keys              314 drivers/crypto/qat/qat_common/qat_algs.c 	memcpy(cipher->aes.key, keys->enckey, keys->enckeylen);
keys              321 drivers/crypto/qat/qat_common/qat_algs.c 	if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen))
keys              337 drivers/crypto/qat/qat_common/qat_algs.c 	cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3;
keys              376 drivers/crypto/qat/qat_common/qat_algs.c 					 struct crypto_authenc_keys *keys,
keys              400 drivers/crypto/qat/qat_common/qat_algs.c 	memcpy(cipher->aes.key, keys->enckey, keys->enckeylen);
keys              408 drivers/crypto/qat/qat_common/qat_algs.c 	if (qat_alg_do_precomputes(hash, ctx, keys->authkey, keys->authkeylen))
keys              424 drivers/crypto/qat/qat_common/qat_algs.c 	cipher_cd_ctrl->cipher_key_sz = keys->enckeylen >> 3;
keys              554 drivers/crypto/qat/qat_common/qat_algs.c 	struct crypto_authenc_keys keys;
keys              557 drivers/crypto/qat/qat_common/qat_algs.c 	if (crypto_authenc_extractkeys(&keys, key, keylen))
keys              560 drivers/crypto/qat/qat_common/qat_algs.c 	if (qat_alg_validate_key(keys.enckeylen, &alg, mode))
keys              563 drivers/crypto/qat/qat_common/qat_algs.c 	if (qat_alg_aead_init_enc_session(tfm, alg, &keys, mode))
keys              566 drivers/crypto/qat/qat_common/qat_algs.c 	if (qat_alg_aead_init_dec_session(tfm, alg, &keys, mode))
keys              569 drivers/crypto/qat/qat_common/qat_algs.c 	memzero_explicit(&keys, sizeof(keys));
keys              573 drivers/crypto/qat/qat_common/qat_algs.c 	memzero_explicit(&keys, sizeof(keys));
keys              576 drivers/crypto/qat/qat_common/qat_algs.c 	memzero_explicit(&keys, sizeof(keys));
keys              893 drivers/crypto/talitos.c 	struct crypto_authenc_keys keys;
keys              895 drivers/crypto/talitos.c 	if (crypto_authenc_extractkeys(&keys, key, keylen) != 0)
keys              898 drivers/crypto/talitos.c 	if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE)
keys              904 drivers/crypto/talitos.c 	memcpy(ctx->key, keys.authkey, keys.authkeylen);
keys              905 drivers/crypto/talitos.c 	memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen);
keys              907 drivers/crypto/talitos.c 	ctx->keylen = keys.authkeylen + keys.enckeylen;
keys              908 drivers/crypto/talitos.c 	ctx->enckeylen = keys.enckeylen;
keys              909 drivers/crypto/talitos.c 	ctx->authkeylen = keys.authkeylen;
keys              913 drivers/crypto/talitos.c 	memzero_explicit(&keys, sizeof(keys));
keys              918 drivers/crypto/talitos.c 	memzero_explicit(&keys, sizeof(keys));
keys              927 drivers/crypto/talitos.c 	struct crypto_authenc_keys keys;
keys              930 drivers/crypto/talitos.c 	err = crypto_authenc_extractkeys(&keys, key, keylen);
keys              935 drivers/crypto/talitos.c 	if (keys.authkeylen + keys.enckeylen > TALITOS_MAX_KEY_SIZE)
keys              938 drivers/crypto/talitos.c 	err = verify_aead_des3_key(authenc, keys.enckey, keys.enckeylen);
keys              945 drivers/crypto/talitos.c 	memcpy(ctx->key, keys.authkey, keys.authkeylen);
keys              946 drivers/crypto/talitos.c 	memcpy(&ctx->key[keys.authkeylen], keys.enckey, keys.enckeylen);
keys              948 drivers/crypto/talitos.c 	ctx->keylen = keys.authkeylen + keys.enckeylen;
keys              949 drivers/crypto/talitos.c 	ctx->enckeylen = keys.enckeylen;
keys              950 drivers/crypto/talitos.c 	ctx->authkeylen = keys.authkeylen;
keys              955 drivers/crypto/talitos.c 	memzero_explicit(&keys, sizeof(keys));
keys              727 drivers/hid/hid-debug.c static const char *keys[KEY_MAX + 1] = {
keys              999 drivers/hid/hid-debug.c 	[EV_SYN] = syncs,			[EV_KEY] = keys,
keys              519 drivers/hid/hid-prodikeys.c 	static const unsigned int keys[] = {
keys              535 drivers/hid/hid-prodikeys.c 	const unsigned int *pkeys = &keys[0];
keys               62 drivers/hid/hid-wiimote-modules.c static void wiimod_keys_in_keys(struct wiimote_data *wdata, const __u8 *keys)
keys               65 drivers/hid/hid-wiimote-modules.c 							!!(keys[0] & 0x01));
keys               67 drivers/hid/hid-wiimote-modules.c 							!!(keys[0] & 0x02));
keys               69 drivers/hid/hid-wiimote-modules.c 							!!(keys[0] & 0x04));
keys               71 drivers/hid/hid-wiimote-modules.c 							!!(keys[0] & 0x08));
keys               73 drivers/hid/hid-wiimote-modules.c 							!!(keys[0] & 0x10));
keys               75 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x01));
keys               77 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x02));
keys               79 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x04));
keys               81 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x08));
keys               83 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x10));
keys               85 drivers/hid/hid-wiimote-modules.c 							!!(keys[1] & 0x80));
keys             1290 drivers/hid/hid-wiimote-modules.c static void wiimod_bboard_in_keys(struct wiimote_data *wdata, const __u8 *keys)
keys             1293 drivers/hid/hid-wiimote-modules.c 			 !!(keys[1] & 0x08));
keys              195 drivers/hid/hid-wiimote.h 	void (*in_keys) (struct wiimote_data *wdata, const __u8 *keys);
keys              894 drivers/hid/usbhid/hid-pidff.c static int pidff_find_special_keys(int *keys, struct hid_field *fld,
keys              904 drivers/hid/usbhid/hid-pidff.c 				keys[i] = j + 1;
keys              913 drivers/hid/usbhid/hid-pidff.c #define PIDFF_FIND_SPECIAL_KEYS(keys, field, name) \
keys              914 drivers/hid/usbhid/hid-pidff.c 	pidff_find_special_keys(pidff->keys, pidff->field, pidff_ ## name, \
keys              482 drivers/hid/wacom_wac.c 	int keys = 0, nkeys = 0;
keys              514 drivers/hid/wacom_wac.c 		keys = ((data[3] & 0x1C) ? 1<<2 : 0) |
keys              530 drivers/hid/wacom_wac.c 		keys = data[2] & 0x07;
keys              587 drivers/hid/wacom_wac.c 				keys = data[9] & 0x07;
keys              602 drivers/hid/wacom_wac.c 	prox = (buttons & ~(~0U << nbuttons)) | (keys & ~(~0U << nkeys)) |
keys              608 drivers/hid/wacom_wac.c 		input_report_key(input, KEY_PROG1 + i, keys & (1 << i));
keys              921 drivers/input/keyboard/atkbd.c 	const unsigned int *keys = data;
keys              925 drivers/input/keyboard/atkbd.c 		for (i = 0; keys[i] != -1U; i++)
keys              926 drivers/input/keyboard/atkbd.c 			__set_bit(keys[i], atkbd->force_release_mask);
keys              300 drivers/input/keyboard/gpio_keys.c ATTR_SHOW_FN(keys, EV_KEY, false);
keys              311 drivers/input/keyboard/gpio_keys.c static DEVICE_ATTR(keys, S_IRUGO, gpio_keys_show_keys, NULL);
keys               43 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys = data;
keys               50 drivers/input/keyboard/ipaq-micro-keys.c 		input_report_key(keys->input, keys->codes[key], down);
keys               51 drivers/input/keyboard/ipaq-micro-keys.c 		input_sync(keys->input);
keys               55 drivers/input/keyboard/ipaq-micro-keys.c static void micro_key_start(struct ipaq_micro_keys *keys)
keys               57 drivers/input/keyboard/ipaq-micro-keys.c 	spin_lock(&keys->micro->lock);
keys               58 drivers/input/keyboard/ipaq-micro-keys.c 	keys->micro->key = micro_key_receive;
keys               59 drivers/input/keyboard/ipaq-micro-keys.c 	keys->micro->key_data = keys;
keys               60 drivers/input/keyboard/ipaq-micro-keys.c 	spin_unlock(&keys->micro->lock);
keys               63 drivers/input/keyboard/ipaq-micro-keys.c static void micro_key_stop(struct ipaq_micro_keys *keys)
keys               65 drivers/input/keyboard/ipaq-micro-keys.c 	spin_lock(&keys->micro->lock);
keys               66 drivers/input/keyboard/ipaq-micro-keys.c 	keys->micro->key = NULL;
keys               67 drivers/input/keyboard/ipaq-micro-keys.c 	keys->micro->key_data = NULL;
keys               68 drivers/input/keyboard/ipaq-micro-keys.c 	spin_unlock(&keys->micro->lock);
keys               73 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys = input_get_drvdata(input);
keys               75 drivers/input/keyboard/ipaq-micro-keys.c 	micro_key_start(keys);
keys               82 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys = input_get_drvdata(input);
keys               84 drivers/input/keyboard/ipaq-micro-keys.c 	micro_key_stop(keys);
keys               89 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys;
keys               93 drivers/input/keyboard/ipaq-micro-keys.c 	keys = devm_kzalloc(&pdev->dev, sizeof(*keys), GFP_KERNEL);
keys               94 drivers/input/keyboard/ipaq-micro-keys.c 	if (!keys)
keys               97 drivers/input/keyboard/ipaq-micro-keys.c 	keys->micro = dev_get_drvdata(pdev->dev.parent);
keys               99 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input = devm_input_allocate_device(&pdev->dev);
keys              100 drivers/input/keyboard/ipaq-micro-keys.c 	if (!keys->input)
keys              103 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->keycodesize = sizeof(micro_keycodes[0]);
keys              104 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->keycodemax = ARRAY_SIZE(micro_keycodes);
keys              105 drivers/input/keyboard/ipaq-micro-keys.c 	keys->codes = devm_kmemdup(&pdev->dev, micro_keycodes,
keys              106 drivers/input/keyboard/ipaq-micro-keys.c 			   keys->input->keycodesize * keys->input->keycodemax,
keys              108 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->keycode = keys->codes;
keys              110 drivers/input/keyboard/ipaq-micro-keys.c 	__set_bit(EV_KEY, keys->input->evbit);
keys              112 drivers/input/keyboard/ipaq-micro-keys.c 		__set_bit(micro_keycodes[i], keys->input->keybit);
keys              114 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->name = "h3600 micro keys";
keys              115 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->open = micro_key_open;
keys              116 drivers/input/keyboard/ipaq-micro-keys.c 	keys->input->close = micro_key_close;
keys              117 drivers/input/keyboard/ipaq-micro-keys.c 	input_set_drvdata(keys->input, keys);
keys              119 drivers/input/keyboard/ipaq-micro-keys.c 	error = input_register_device(keys->input);
keys              123 drivers/input/keyboard/ipaq-micro-keys.c 	platform_set_drvdata(pdev, keys);
keys              129 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys = dev_get_drvdata(dev);
keys              131 drivers/input/keyboard/ipaq-micro-keys.c 	micro_key_stop(keys);
keys              138 drivers/input/keyboard/ipaq-micro-keys.c 	struct ipaq_micro_keys *keys = dev_get_drvdata(dev);
keys              139 drivers/input/keyboard/ipaq-micro-keys.c 	struct input_dev *input = keys->input;
keys              144 drivers/input/keyboard/ipaq-micro-keys.c 		micro_key_start(keys);
keys               79 drivers/input/keyboard/lm8333.c 	u8 keys[LM8333_FIFO_TRANSFER_SIZE];
keys               84 drivers/input/keyboard/lm8333.c 				LM8333_FIFO_TRANSFER_SIZE, keys);
keys               91 drivers/input/keyboard/lm8333.c 	for (i = 0; i < LM8333_FIFO_TRANSFER_SIZE && keys[i]; i++) {
keys               92 drivers/input/keyboard/lm8333.c 		pressed = keys[i] & 0x80;
keys               93 drivers/input/keyboard/lm8333.c 		code = keys[i] & 0x7f;
keys               78 drivers/input/keyboard/mtk-pmic-keys.c 	struct mtk_pmic_keys *keys;
keys               89 drivers/input/keyboard/mtk-pmic-keys.c 	struct mtk_pmic_keys_info keys[MTK_PMIC_MAX_KEY_COUNT];
keys               98 drivers/input/keyboard/mtk-pmic-keys.c static void mtk_pmic_keys_lp_reset_setup(struct mtk_pmic_keys *keys,
keys              104 drivers/input/keyboard/mtk-pmic-keys.c 	ret = of_property_read_u32(keys->dev->of_node,
keys              109 drivers/input/keyboard/mtk-pmic-keys.c 	regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              113 drivers/input/keyboard/mtk-pmic-keys.c 	ret = of_property_read_u32(keys->dev->of_node,
keys              120 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              123 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              128 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              131 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              136 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              139 drivers/input/keyboard/mtk-pmic-keys.c 		regmap_update_bits(keys->regmap, pmic_rst_reg,
keys              153 drivers/input/keyboard/mtk-pmic-keys.c 	regmap_read(info->keys->regmap, info->regs->deb_reg, &key_deb);
keys              159 drivers/input/keyboard/mtk-pmic-keys.c 	input_report_key(info->keys->input_dev, info->keycode, pressed);
keys              160 drivers/input/keyboard/mtk-pmic-keys.c 	input_sync(info->keys->input_dev);
keys              162 drivers/input/keyboard/mtk-pmic-keys.c 	dev_dbg(info->keys->dev, "(%s) key =%d using PMIC\n",
keys              168 drivers/input/keyboard/mtk-pmic-keys.c static int mtk_pmic_key_setup(struct mtk_pmic_keys *keys,
keys              173 drivers/input/keyboard/mtk-pmic-keys.c 	info->keys = keys;
keys              175 drivers/input/keyboard/mtk-pmic-keys.c 	ret = regmap_update_bits(keys->regmap, info->regs->intsel_reg,
keys              181 drivers/input/keyboard/mtk-pmic-keys.c 	ret = devm_request_threaded_irq(keys->dev, info->irq, NULL,
keys              186 drivers/input/keyboard/mtk-pmic-keys.c 		dev_err(keys->dev, "Failed to request IRQ: %d: %d\n",
keys              191 drivers/input/keyboard/mtk-pmic-keys.c 	input_set_capability(keys->input_dev, EV_KEY, info->keycode);
keys              198 drivers/input/keyboard/mtk-pmic-keys.c 	struct mtk_pmic_keys *keys = dev_get_drvdata(dev);
keys              202 drivers/input/keyboard/mtk-pmic-keys.c 		if (keys->keys[index].wakeup)
keys              203 drivers/input/keyboard/mtk-pmic-keys.c 			enable_irq_wake(keys->keys[index].irq);
keys              211 drivers/input/keyboard/mtk-pmic-keys.c 	struct mtk_pmic_keys *keys = dev_get_drvdata(dev);
keys              215 drivers/input/keyboard/mtk-pmic-keys.c 		if (keys->keys[index].wakeup)
keys              216 drivers/input/keyboard/mtk-pmic-keys.c 			disable_irq_wake(keys->keys[index].irq);
keys              244 drivers/input/keyboard/mtk-pmic-keys.c 	struct mtk_pmic_keys *keys;
keys              250 drivers/input/keyboard/mtk-pmic-keys.c 	keys = devm_kzalloc(&pdev->dev, sizeof(*keys), GFP_KERNEL);
keys              251 drivers/input/keyboard/mtk-pmic-keys.c 	if (!keys)
keys              254 drivers/input/keyboard/mtk-pmic-keys.c 	keys->dev = &pdev->dev;
keys              255 drivers/input/keyboard/mtk-pmic-keys.c 	keys->regmap = pmic_chip->regmap;
keys              258 drivers/input/keyboard/mtk-pmic-keys.c 	keys->input_dev = input_dev = devm_input_allocate_device(keys->dev);
keys              260 drivers/input/keyboard/mtk-pmic-keys.c 		dev_err(keys->dev, "input allocate device fail.\n");
keys              272 drivers/input/keyboard/mtk-pmic-keys.c 		dev_err(keys->dev, "too many keys defined (%d)\n", keycount);
keys              277 drivers/input/keyboard/mtk-pmic-keys.c 		keys->keys[index].regs = &mtk_pmic_regs->keys_regs[index];
keys              279 drivers/input/keyboard/mtk-pmic-keys.c 		keys->keys[index].irq = platform_get_irq(pdev, index);
keys              280 drivers/input/keyboard/mtk-pmic-keys.c 		if (keys->keys[index].irq < 0) {
keys              282 drivers/input/keyboard/mtk-pmic-keys.c 			return keys->keys[index].irq;
keys              286 drivers/input/keyboard/mtk-pmic-keys.c 			"linux,keycodes", &keys->keys[index].keycode);
keys              288 drivers/input/keyboard/mtk-pmic-keys.c 			dev_err(keys->dev,
keys              296 drivers/input/keyboard/mtk-pmic-keys.c 			keys->keys[index].wakeup = true;
keys              298 drivers/input/keyboard/mtk-pmic-keys.c 		error = mtk_pmic_key_setup(keys, &keys->keys[index]);
keys              314 drivers/input/keyboard/mtk-pmic-keys.c 	mtk_pmic_keys_lp_reset_setup(keys, mtk_pmic_regs->pmic_rst_reg);
keys              316 drivers/input/keyboard/mtk-pmic-keys.c 	platform_set_drvdata(pdev, keys);
keys              118 drivers/input/keyboard/qt1050.c 	struct qt1050_key	keys[QT1050_MAX_KEYS];
keys              277 drivers/input/keyboard/qt1050.c 		input_report_key(input, ts->keys[i].keycode,
keys              304 drivers/input/keyboard/qt1050.c 	struct qt1050_key *button = &ts->keys[0];
keys              418 drivers/input/keyboard/qt1050.c 		ts->keys[button.num] = button;
keys              490 drivers/input/keyboard/qt1050.c 		ts->keycodes[i] = ts->keys[i].keycode;
keys               88 drivers/input/keyboard/sh_keysc.c 	DECLARE_BITMAP(keys, SH_KEYSC_MAXKEYS);
keys              100 drivers/input/keyboard/sh_keysc.c 		bitmap_zero(keys, SH_KEYSC_MAXKEYS);
keys              116 drivers/input/keyboard/sh_keysc.c 					__set_bit(n + k, keys);
keys              125 drivers/input/keyboard/sh_keysc.c 		bitmap_complement(keys, keys, SH_KEYSC_MAXKEYS);
keys              126 drivers/input/keyboard/sh_keysc.c 		bitmap_and(keys1, keys1, keys, SH_KEYSC_MAXKEYS);
keys              127 drivers/input/keyboard/sh_keysc.c 		bitmap_or(keys0, keys0, keys, SH_KEYSC_MAXKEYS);
keys              129 drivers/input/keyboard/sh_keysc.c 		sh_keysc_map_dbg(&pdev->dev, keys, "keys");
keys               76 drivers/input/matrix-keymap.c 	u32 *keys;
keys               97 drivers/input/matrix-keymap.c 	keys = kmalloc_array(size, sizeof(u32), GFP_KERNEL);
keys               98 drivers/input/matrix-keymap.c 	if (!keys)
keys              101 drivers/input/matrix-keymap.c 	retval = device_property_read_u32_array(dev, propname, keys, size);
keys              110 drivers/input/matrix-keymap.c 					   row_shift, keys[i])) {
keys              119 drivers/input/matrix-keymap.c 	kfree(keys);
keys              102 drivers/input/misc/dm355evm_keys.c 	struct dm355evm_keys *keys = _keys;
keys              115 drivers/input/misc/dm355evm_keys.c 			dev_dbg(keys->dev, "input high err %d\n",
keys              123 drivers/input/misc/dm355evm_keys.c 			dev_dbg(keys->dev, "input low err %d\n",
keys              152 drivers/input/misc/dm355evm_keys.c 		ke = sparse_keymap_entry_from_scancode(keys->input, event);
keys              154 drivers/input/misc/dm355evm_keys.c 		dev_dbg(keys->dev,
keys              159 drivers/input/misc/dm355evm_keys.c 		input_report_key(keys->input, keycode, 1);
keys              160 drivers/input/misc/dm355evm_keys.c 		input_sync(keys->input);
keys              161 drivers/input/misc/dm355evm_keys.c 		input_report_key(keys->input, keycode, 0);
keys              162 drivers/input/misc/dm355evm_keys.c 		input_sync(keys->input);
keys              172 drivers/input/misc/dm355evm_keys.c 	struct dm355evm_keys	*keys;
keys              177 drivers/input/misc/dm355evm_keys.c 	keys = devm_kzalloc(&pdev->dev, sizeof (*keys), GFP_KERNEL);
keys              178 drivers/input/misc/dm355evm_keys.c 	if (!keys)
keys              185 drivers/input/misc/dm355evm_keys.c 	keys->dev = &pdev->dev;
keys              186 drivers/input/misc/dm355evm_keys.c 	keys->input = input;
keys              209 drivers/input/misc/dm355evm_keys.c 					  dev_name(&pdev->dev), keys);
keys              714 drivers/input/touchscreen/hideep.c 	const u8 *keys = &ts->xfer_buf[HIDEEP_KEY_EVENT_INDEX];
keys              730 drivers/input/touchscreen/hideep.c 		u8 key_data = keys[i * 2];
keys              243 drivers/md/bcache/bcache.h 	struct rb_root		keys;
keys               29 drivers/md/bcache/bset.c 		       (unsigned int) ((u64 *) k - i->d), i->keys);
keys              160 drivers/md/bcache/bset.c 	struct bkey *k = l->keys;
keys              173 drivers/md/bcache/bset.c 	l->top_p -= bkey_u64s(l->keys);
keys              175 drivers/md/bcache/bset.c 	memmove(l->keys,
keys              176 drivers/md/bcache/bset.c 		bkey_next(l->keys),
keys              604 drivers/md/bcache/bset.c 		? bset_bkey_idx(t->data, t->data->keys - bkey_u64s(&t->end))
keys              677 drivers/md/bcache/bset.c 	i->keys		= 0;
keys              867 drivers/md/bcache/bset.c 	       __set_bytes(t->data, t->data->keys + bkey_u64s(insert)) >
keys              874 drivers/md/bcache/bset.c 	t->data->keys += bkey_u64s(insert);
keys             1237 drivers/md/bcache/bset.c 	out->keys = last ? (uint64_t *) bkey_next(last) - out->d : 0;
keys             1239 drivers/md/bcache/bset.c 	pr_debug("sorted %i keys", out->keys);
keys             1278 drivers/md/bcache/bset.c 		b->set[start].data->keys = out->keys;
keys             1297 drivers/md/bcache/bset.c 	size_t order = b->page_order, keys = 0;
keys             1307 drivers/md/bcache/bset.c 			keys += b->set[i].data->keys;
keys             1309 drivers/md/bcache/bset.c 		order = get_order(__set_bytes(b->set->data, keys));
keys             1354 drivers/md/bcache/bset.c 		if (b->set[i].data->keys < crit) {
keys             1377 drivers/md/bcache/bset.c 		size_t bytes = t->data->keys * sizeof(uint64_t);
keys              207 drivers/md/bcache/bset.h 	void		(*key_dump)(struct btree_keys *keys,
keys              262 drivers/md/bcache/bset.h #define set_bytes(i)		__set_bytes(i, i->keys)
keys              267 drivers/md/bcache/bset.h 	__set_blocks(i, (i)->keys, block_bytes)
keys              401 drivers/md/bcache/bset.h 					 (unsigned int)(i)->keys)
keys              487 drivers/md/bcache/bset.h 		struct bkey		*keys;
keys              507 drivers/md/bcache/bset.h 	l->keys = k;
keys              524 drivers/md/bcache/bset.h 	return l->top == l->keys;
keys              529 drivers/md/bcache/bset.h 	l->top = l->keys;
keys              171 drivers/md/bcache/btree.c 	if (b->level && b->keys.nsets)
keys              172 drivers/md/bcache/btree.c 		bch_btree_sort(&b->keys, &b->c->sort);
keys              174 drivers/md/bcache/btree.c 		bch_btree_sort_lazy(&b->keys, &b->c->sort);
keys              177 drivers/md/bcache/btree.c 		bch_bset_init_next(&b->keys, write_block(b),
keys              220 drivers/md/bcache/btree.c 	iter->b = &b->keys;
keys              227 drivers/md/bcache/btree.c 	     b->written < btree_blocks(b) && i->seq == b->keys.set[0].data->seq;
keys              255 drivers/md/bcache/btree.c 		if (i != b->keys.set[0].data && !i->keys)
keys              265 drivers/md/bcache/btree.c 	     bset_sector_offset(&b->keys, i) < KEY_SIZE(&b->key);
keys              267 drivers/md/bcache/btree.c 		if (i->seq == b->keys.set[0].data->seq)
keys              270 drivers/md/bcache/btree.c 	bch_btree_sort_and_fix_extents(&b->keys, iter, &b->c->sort);
keys              272 drivers/md/bcache/btree.c 	i = b->keys.set[0].data;
keys              274 drivers/md/bcache/btree.c 	if (b->keys.set[0].size &&
keys              275 drivers/md/bcache/btree.c 	    bkey_cmp(&b->key, &b->keys.set[0].end) < 0)
keys              279 drivers/md/bcache/btree.c 		bch_bset_init_next(&b->keys, write_block(b),
keys              288 drivers/md/bcache/btree.c 			    bset_block_offset(b, i), i->keys);
keys              315 drivers/md/bcache/btree.c 	bch_bio_map(bio, b->keys.set[0].data);
keys              429 drivers/md/bcache/btree.c 		       bset_sector_offset(&b->keys, i));
keys              469 drivers/md/bcache/btree.c 	BUG_ON(b->written && !i->keys);
keys              471 drivers/md/bcache/btree.c 	bch_check_keys(&b->keys, "writing");
keys              492 drivers/md/bcache/btree.c 	unsigned int nsets = b->keys.nsets;
keys              502 drivers/md/bcache/btree.c 	if (nsets && !b->keys.nsets)
keys              539 drivers/md/bcache/btree.c 	BUG_ON(!i->keys);
keys              579 drivers/md/bcache/btree.c 	bch_btree_keys_free(&b->keys);
keys              601 drivers/md/bcache/btree.c 	if (!bch_btree_keys_alloc(&b->keys,
keys              648 drivers/md/bcache/btree.c 	BUG_ON(btree_node_dirty(b) && !b->keys.set[0].data);
keys              650 drivers/md/bcache/btree.c 	if (b->keys.page_order < min_order)
keys              848 drivers/md/bcache/btree.c 	    c->verify_data->keys.set->data)
keys              963 drivers/md/bcache/btree.c 			if (!b->keys.set[0].data)
keys              974 drivers/md/bcache/btree.c 	if (!b->keys.set->data)
keys              991 drivers/md/bcache/btree.c 		bch_btree_keys_init(&b->keys, &bch_extent_keys_ops,
keys              994 drivers/md/bcache/btree.c 		bch_btree_keys_init(&b->keys, &bch_btree_keys_ops,
keys             1065 drivers/md/bcache/btree.c 	for (; i <= b->keys.nsets && b->keys.set[i].size; i++) {
keys             1066 drivers/md/bcache/btree.c 		prefetch(b->keys.set[i].tree);
keys             1067 drivers/md/bcache/btree.c 		prefetch(b->keys.set[i].data);
keys             1070 drivers/md/bcache/btree.c 	for (; i <= b->keys.nsets; i++)
keys             1071 drivers/md/bcache/btree.c 		prefetch(b->keys.set[i].data);
keys             1156 drivers/md/bcache/btree.c 	bch_bset_init_next(&b->keys, b->keys.set->data, bset_magic(&b->c->sb));
keys             1185 drivers/md/bcache/btree.c 		bch_btree_sort_into(&b->keys, &n->keys, &b->c->sort);
keys             1318 drivers/md/bcache/btree.c 	unsigned int keys = 0, good_keys = 0;
keys             1325 drivers/md/bcache/btree.c 	for_each_key_filter(&b->keys, k, &iter, bch_ptr_invalid) {
keys             1327 drivers/md/bcache/btree.c 		keys++;
keys             1329 drivers/md/bcache/btree.c 		if (bch_ptr_bad(&b->keys, k))
keys             1339 drivers/md/bcache/btree.c 	for (t = b->keys.set; t <= &b->keys.set[b->keys.nsets]; t++)
keys             1341 drivers/md/bcache/btree.c 			     bset_written(&b->keys, t) &&
keys             1351 drivers/md/bcache/btree.c 	if ((keys - good_keys) * 2 > keys)
keys             1361 drivers/md/bcache/btree.c 	unsigned int	keys;
keys             1372 drivers/md/bcache/btree.c 	unsigned int i, nodes = 0, keys = 0, blocks;
keys             1387 drivers/md/bcache/btree.c 		keys += r[nodes++].keys;
keys             1392 drivers/md/bcache/btree.c 	    __set_blocks(b->keys.set[0].data, keys,
keys             1419 drivers/md/bcache/btree.c 		keys = 0;
keys             1425 drivers/md/bcache/btree.c 				if (__set_blocks(n1, n1->keys + keys +
keys             1431 drivers/md/bcache/btree.c 				keys += bkey_u64s(k);
keys             1442 drivers/md/bcache/btree.c 			if (__set_blocks(n1, n1->keys + n2->keys,
keys             1447 drivers/md/bcache/btree.c 			keys = n2->keys;
keys             1452 drivers/md/bcache/btree.c 		BUG_ON(__set_blocks(n1, n1->keys + keys, block_bytes(b->c)) >
keys             1460 drivers/md/bcache/btree.c 		       (void *) bset_bkey_idx(n2, keys) - (void *) n2->start);
keys             1462 drivers/md/bcache/btree.c 		n1->keys += keys;
keys             1463 drivers/md/bcache/btree.c 		r[i].keys = n1->keys;
keys             1466 drivers/md/bcache/btree.c 			bset_bkey_idx(n2, keys),
keys             1468 drivers/md/bcache/btree.c 			(void *) bset_bkey_idx(n2, keys));
keys             1470 drivers/md/bcache/btree.c 		n2->keys -= keys;
keys             1486 drivers/md/bcache/btree.c 	BUG_ON(btree_bset_first(new_nodes[0])->keys);
keys             1539 drivers/md/bcache/btree.c 	struct keylist keys;
keys             1556 drivers/md/bcache/btree.c 	bch_keylist_init(&keys);
keys             1557 drivers/md/bcache/btree.c 	bch_keylist_add(&keys, &n->key);
keys             1559 drivers/md/bcache/btree.c 	make_btree_freeing_key(replace, keys.top);
keys             1560 drivers/md/bcache/btree.c 	bch_keylist_push(&keys);
keys             1562 drivers/md/bcache/btree.c 	bch_btree_insert_node(b, op, &keys, NULL, NULL);
keys             1563 drivers/md/bcache/btree.c 	BUG_ON(!bch_keylist_empty(&keys));
keys             1578 drivers/md/bcache/btree.c 	for_each_key_filter(&b->keys, k, &iter, bch_ptr_bad)
keys             1620 drivers/md/bcache/btree.c 	bch_btree_iter_init(&b->keys, &iter, &b->c->gc_done);
keys             1626 drivers/md/bcache/btree.c 		k = bch_btree_iter_next_filter(&iter, &b->keys, bch_ptr_bad);
keys             1635 drivers/md/bcache/btree.c 			r->keys = btree_gc_count_keys(r->b);
keys             1791 drivers/md/bcache/btree.c 					&dc->writeback_keys.keys, node)
keys             1805 drivers/md/bcache/btree.c 		for (i = ca->sb.d; i < ca->sb.d + ca->sb.keys; i++)
keys             1923 drivers/md/bcache/btree.c 	for_each_key_filter(&b->keys, k, &iter, bch_ptr_invalid)
keys             1929 drivers/md/bcache/btree.c 		bch_btree_iter_init(&b->keys, &iter, NULL);
keys             1932 drivers/md/bcache/btree.c 			k = bch_btree_iter_next_filter(&iter, &b->keys,
keys             2010 drivers/md/bcache/btree.c 	status = bch_btree_insert_key(&b->keys, k, replace_key);
keys             2012 drivers/md/bcache/btree.c 		bch_check_keys(&b->keys, "%u for %s", status,
keys             2024 drivers/md/bcache/btree.c 	long ret = bch_btree_keys_u64s_remaining(&b->keys);
keys             2029 drivers/md/bcache/btree.c 	if (b->keys.ops->is_extents)
keys             2040 drivers/md/bcache/btree.c 	int oldsize = bch_count_data(&b->keys);
keys             2043 drivers/md/bcache/btree.c 		struct bkey *k = insert_keys->keys;
keys             2056 drivers/md/bcache/btree.c 			bkey_copy(&temp.key, insert_keys->keys);
keys             2059 drivers/md/bcache/btree.c 			bch_cut_front(&b->key, insert_keys->keys);
keys             2073 drivers/md/bcache/btree.c 	BUG_ON(bch_count_data(&b->keys) < oldsize);
keys             2105 drivers/md/bcache/btree.c 		unsigned int keys = 0;
keys             2107 drivers/md/bcache/btree.c 		trace_bcache_btree_node_split(b, btree_bset_first(n1)->keys);
keys             2129 drivers/md/bcache/btree.c 		while (keys < (btree_bset_first(n1)->keys * 3) / 5)
keys             2130 drivers/md/bcache/btree.c 			keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1),
keys             2131 drivers/md/bcache/btree.c 							keys));
keys             2134 drivers/md/bcache/btree.c 			      bset_bkey_idx(btree_bset_first(n1), keys));
keys             2135 drivers/md/bcache/btree.c 		keys += bkey_u64s(bset_bkey_idx(btree_bset_first(n1), keys));
keys             2137 drivers/md/bcache/btree.c 		btree_bset_first(n2)->keys = btree_bset_first(n1)->keys - keys;
keys             2138 drivers/md/bcache/btree.c 		btree_bset_first(n1)->keys = keys;
keys             2142 drivers/md/bcache/btree.c 		       btree_bset_first(n2)->keys * sizeof(uint64_t));
keys             2151 drivers/md/bcache/btree.c 		trace_bcache_btree_node_compact(b, btree_bset_first(n1)->keys);
keys             2225 drivers/md/bcache/btree.c 	    b->keys.last_set_unwritten)
keys             2307 drivers/md/bcache/btree.c 	struct keylist	*keys;
keys             2317 drivers/md/bcache/btree.c 	int ret = bch_btree_insert_node(b, &op->op, op->keys,
keys             2319 drivers/md/bcache/btree.c 	if (ret && !bch_keylist_empty(op->keys))
keys             2325 drivers/md/bcache/btree.c int bch_btree_insert(struct cache_set *c, struct keylist *keys,
keys             2332 drivers/md/bcache/btree.c 	BUG_ON(bch_keylist_empty(keys));
keys             2335 drivers/md/bcache/btree.c 	op.keys		= keys;
keys             2339 drivers/md/bcache/btree.c 	while (!ret && !bch_keylist_empty(keys)) {
keys             2342 drivers/md/bcache/btree.c 					       &START_KEY(keys->keys),
keys             2351 drivers/md/bcache/btree.c 		while ((k = bch_keylist_pop(keys)))
keys             2395 drivers/md/bcache/btree.c 		bch_btree_iter_init(&b->keys, &iter, from);
keys             2397 drivers/md/bcache/btree.c 		while ((k = bch_btree_iter_next_filter(&iter, &b->keys,
keys             2428 drivers/md/bcache/btree.c 	bch_btree_iter_init(&b->keys, &iter, from);
keys             2430 drivers/md/bcache/btree.c 	while ((k = bch_btree_iter_next_filter(&iter, &b->keys, bch_ptr_bad))) {
keys             2508 drivers/md/bcache/btree.c 		if (RB_INSERT(&buf->keys, w, node, keybuf_cmp))
keys             2547 drivers/md/bcache/btree.c 	if (!RB_EMPTY_ROOT(&buf->keys)) {
keys             2550 drivers/md/bcache/btree.c 		w = RB_FIRST(&buf->keys, struct keybuf_key, node);
keys             2553 drivers/md/bcache/btree.c 		w = RB_LAST(&buf->keys, struct keybuf_key, node);
keys             2565 drivers/md/bcache/btree.c 	rb_erase(&w->node, &buf->keys);
keys             2589 drivers/md/bcache/btree.c 	w = RB_GREATER(&buf->keys, s, node, keybuf_nonoverlapping_cmp);
keys             2611 drivers/md/bcache/btree.c 	w = RB_FIRST(&buf->keys, struct keybuf_key, node);
keys             2649 drivers/md/bcache/btree.c 	buf->keys		= RB_ROOT;
keys              137 drivers/md/bcache/btree.h 	struct btree_keys	keys;
keys              181 drivers/md/bcache/btree.h 	return b->keys.set->data;
keys              186 drivers/md/bcache/btree.h 	return bset_tree_last(&b->keys)->data;
keys              191 drivers/md/bcache/btree.h 	return bset_sector_offset(&b->keys, i) >> b->c->block_bits;
keys              257 drivers/md/bcache/btree.h int bch_btree_insert(struct cache_set *c, struct keylist *keys,
keys               44 drivers/md/bcache/debug.c 	sorted = b->c->verify_data->keys.set->data;
keys               45 drivers/md/bcache/debug.c 	inmemory = b->keys.set->data;
keys               50 drivers/md/bcache/debug.c 	v->keys.ops = b->keys.ops;
keys               65 drivers/md/bcache/debug.c 	sorted = v->keys.set->data;
keys               67 drivers/md/bcache/debug.c 	if (inmemory->keys != sorted->keys ||
keys               78 drivers/md/bcache/debug.c 		bch_dump_bset(&b->keys, inmemory, 0);
keys               81 drivers/md/bcache/debug.c 		bch_dump_bset(&v->keys, sorted, 0);
keys               88 drivers/md/bcache/debug.c 			bch_dump_bset(&b->keys, i, block);
keys               94 drivers/md/bcache/debug.c 		for (j = 0; j < inmemory->keys; j++)
keys              163 drivers/md/bcache/debug.c 	struct keybuf		keys;
keys              194 drivers/md/bcache/debug.c 		w = bch_keybuf_next_rescan(i->c, &i->keys, &MAX_KEY, dump_pred);
keys              200 drivers/md/bcache/debug.c 		bch_keybuf_del(&i->keys, w);
keys              217 drivers/md/bcache/debug.c 	bch_keybuf_init(&i->keys);
keys              218 drivers/md/bcache/debug.c 	i->keys.last_scanned = KEY(0, 0, 0);
keys              126 drivers/md/bcache/extents.c static void bch_bkey_dump(struct btree_keys *keys, const struct bkey *k)
keys              128 drivers/md/bcache/extents.c 	struct btree *b = container_of(keys, struct btree, keys);
keys              168 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              207 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              232 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              328 drivers/md/bcache/extents.c 	struct cache_set *c = container_of(b, struct btree, keys)->c;
keys              502 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              539 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              585 drivers/md/bcache/extents.c 	struct btree *b = container_of(bk, struct btree, keys);
keys              360 drivers/md/bcache/journal.c 	int ret = 0, keys = 0, entries = 0;
keys              395 drivers/md/bcache/journal.c 			keys++;
keys              407 drivers/md/bcache/journal.c 		keys, entries, end);
keys              719 drivers/md/bcache/journal.c 	j->cur->data->keys	= 0;
keys              814 drivers/md/bcache/journal.c 		trace_bcache_journal_write(bio, w->data->keys);
keys              876 drivers/md/bcache/journal.c 		sectors = __set_blocks(w->data, w->data->keys + nkeys,
keys              897 drivers/md/bcache/journal.c 			BUG_ON(!w->data->keys);
keys              935 drivers/md/bcache/journal.c 		      struct keylist *keys,
keys              948 drivers/md/bcache/journal.c 	w = journal_wait_for_write(c, bch_keylist_nkeys(keys));
keys              950 drivers/md/bcache/journal.c 	memcpy(bset_bkey_last(w->data), keys->keys, bch_keylist_bytes(keys));
keys              951 drivers/md/bcache/journal.c 	w->data->keys += bch_keylist_nkeys(keys);
keys              974 drivers/md/bcache/journal.c 	struct keylist keys;
keys              977 drivers/md/bcache/journal.c 	bch_keylist_init(&keys);
keys              979 drivers/md/bcache/journal.c 	ref = bch_journal(c, &keys, cl);
keys              175 drivers/md/bcache/journal.h 		      struct keylist *keys,
keys              164 drivers/md/bcache/request.c 	struct bkey *src = op->insert_keys.keys, *dst = op->insert_keys.keys;
keys               87 drivers/md/bcache/super.c 	sb->keys		= le16_to_cpu(s->keys);
keys               93 drivers/md/bcache/super.c 		 sb->version, sb->flags, sb->seq, sb->keys);
keys              103 drivers/md/bcache/super.c 	if (sb->keys > SB_JOURNAL_BUCKETS)
keys              171 drivers/md/bcache/super.c 		for (i = 0; i < sb->keys; i++)
keys              176 drivers/md/bcache/super.c 		if (sb->first_bucket + sb->keys > sb->nbuckets)
keys              231 drivers/md/bcache/super.c 	out->keys		= cpu_to_le16(sb->keys);
keys              233 drivers/md/bcache/super.c 	for (i = 0; i < sb->keys; i++)
keys             1967 drivers/md/bcache/super.c 			ca->sb.keys = clamp_t(int, ca->sb.nbuckets >> 7,
keys             1970 drivers/md/bcache/super.c 			for (j = 0; j < ca->sb.keys; j++)
keys              601 drivers/md/bcache/sysfs.c 	bch_btree_keys_stats(&b->keys, &op->stats);
keys              648 drivers/md/bcache/sysfs.c 	for_each_key_filter(&b->keys, k, &iter, bch_ptr_bad)
keys              663 drivers/md/bcache/sysfs.c 		ret += 1 << (b->keys.page_order + PAGE_SHIFT);
keys              282 drivers/md/bcache/writeback.c 		struct keylist keys;
keys              284 drivers/md/bcache/writeback.c 		bch_keylist_init(&keys);
keys              286 drivers/md/bcache/writeback.c 		bkey_copy(keys.top, &w->key);
keys              287 drivers/md/bcache/writeback.c 		SET_KEY_DIRTY(keys.top, false);
keys              288 drivers/md/bcache/writeback.c 		bch_keylist_push(&keys);
keys              293 drivers/md/bcache/writeback.c 		ret = bch_btree_insert(dc->disk.c, &keys, NULL, &w->key);
keys              396 drivers/md/bcache/writeback.c 	struct keybuf_key *next, *keys[MAX_WRITEBACKS_IN_PASS], *w;
keys              446 drivers/md/bcache/writeback.c 			if ((nk != 0) && bkey_cmp(&keys[nk-1]->key,
keys              451 drivers/md/bcache/writeback.c 			keys[nk++] = next;
keys              456 drivers/md/bcache/writeback.c 			w = keys[i];
keys              691 drivers/md/bcache/writeback.c 		    RB_EMPTY_ROOT(&dc->writeback_keys.keys)) {
keys              862 drivers/md/dm-era-target.c 	uint64_t keys[1];
keys              875 drivers/md/dm-era-target.c 	keys[0] = md->current_era;
keys              878 drivers/md/dm-era-target.c 			    keys, &value, &md->writeset_tree_root);
keys             1494 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
keys             1502 drivers/md/dm-thin-metadata.c 	r = dm_btree_lookup(info, pmd->root, keys, &value);
keys             1534 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
keys             1536 drivers/md/dm-thin-metadata.c 	r = dm_btree_lookup_next(&pmd->info, pmd->root, keys, vblock, &value);
keys             1613 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
keys             1618 drivers/md/dm-thin-metadata.c 	r = dm_btree_insert_notify(&pmd->info, pmd->root, keys, &value,
keys             1647 drivers/md/dm-thin-metadata.c 	dm_block_t keys[2] = { td->id, block };
keys             1649 drivers/md/dm-thin-metadata.c 	r = dm_btree_remove(&pmd->info, pmd->root, keys, &pmd->root);
keys             1664 drivers/md/dm-thin-metadata.c 	dm_block_t keys[1] = { td->id };
keys             1671 drivers/md/dm-thin-metadata.c 	r = dm_btree_lookup(&pmd->tl_info, pmd->root, keys, &value);
keys             1681 drivers/md/dm-thin-metadata.c 	r = dm_btree_remove(&pmd->tl_info, pmd->root, keys, &pmd->root);
keys             1715 drivers/md/dm-thin-metadata.c 	return dm_btree_insert(&pmd->tl_info, pmd->root, keys, &value, &pmd->root);
keys              855 drivers/md/persistent-data/dm-array.c static int walk_ablock(void *context, uint64_t *keys, void *leaf)
keys              874 drivers/md/persistent-data/dm-array.c 		r = wi->fn(wi->context, keys[0] * max_entries + i,
keys               41 drivers/md/persistent-data/dm-btree-internal.h 	__le64 keys[0];
keys              110 drivers/md/persistent-data/dm-btree-internal.h 	return n->keys + index;
keys              115 drivers/md/persistent-data/dm-btree-internal.h 	return &n->keys[le32_to_cpu(n->header.max_entries)];
keys              233 drivers/md/persistent-data/dm-btree-remove.c 		*key_ptr(parent, r->index) = right->keys[0];
keys              288 drivers/md/persistent-data/dm-btree-remove.c 	*key_ptr(parent, r->index) = right->keys[0];
keys              343 drivers/md/persistent-data/dm-btree-remove.c 	*key_ptr(parent, c->index) = center->keys[0];
keys              344 drivers/md/persistent-data/dm-btree-remove.c 	*key_ptr(parent, r->index) = right->keys[0];
keys              457 drivers/md/persistent-data/dm-btree-remove.c 	    (le64_to_cpu(n->keys[i]) != key))
keys              519 drivers/md/persistent-data/dm-btree-remove.c 		    uint64_t *keys, dm_block_t *new_root)
keys              533 drivers/md/persistent-data/dm-btree-remove.c 			       root, keys[level], (unsigned *)&index);
keys              615 drivers/md/persistent-data/dm-btree-remove.c 		      uint64_t *keys, uint64_t end_key,
keys              629 drivers/md/persistent-data/dm-btree-remove.c 			       root, keys[level], (unsigned *) &index);
keys              638 drivers/md/persistent-data/dm-btree-remove.c 			   root, keys[last_level], &index);
keys              652 drivers/md/persistent-data/dm-btree-remove.c 	k = le64_to_cpu(n->keys[index]);
keys              653 drivers/md/persistent-data/dm-btree-remove.c 	if (k >= keys[last_level] && k < end_key) {
keys              659 drivers/md/persistent-data/dm-btree-remove.c 		keys[last_level] = k + 1ull;
keys               47 drivers/md/persistent-data/dm-btree.c 		uint64_t mid_key = le64_to_cpu(n->keys[mid]);
keys              101 drivers/md/persistent-data/dm-btree.c 	array_insert(node->keys, sizeof(*node->keys), nr_entries, index, &key_le);
keys              368 drivers/md/persistent-data/dm-btree.c 	*result_key = le64_to_cpu(ro_node(s)->keys[i]);
keys              375 drivers/md/persistent-data/dm-btree.c 		    uint64_t *keys, void *value_le)
keys              397 drivers/md/persistent-data/dm-btree.c 		r = btree_lookup_raw(&spine, root, keys[level],
keys              402 drivers/md/persistent-data/dm-btree.c 			if (rkey != keys[level]) {
keys              462 drivers/md/persistent-data/dm-btree.c 		*rkey = le64_to_cpu(n->keys[i]);
keys              471 drivers/md/persistent-data/dm-btree.c 			 uint64_t *keys, uint64_t *rkey, void *value_le)
keys              480 drivers/md/persistent-data/dm-btree.c 		r = btree_lookup_raw(&spine, root, keys[level],
keys              486 drivers/md/persistent-data/dm-btree.c 		if (*rkey != keys[level]) {
keys              494 drivers/md/persistent-data/dm-btree.c 	r = dm_btree_lookup_next_single(info, root, keys[level], rkey, value_le);
keys              560 drivers/md/persistent-data/dm-btree.c 	memcpy(rn->keys, ln->keys + nr_left, nr_right * sizeof(rn->keys[0]));
keys              582 drivers/md/persistent-data/dm-btree.c 		      le64_to_cpu(rn->keys[0]), &location);
keys              588 drivers/md/persistent-data/dm-btree.c 	if (key < le64_to_cpu(rn->keys[0])) {
keys              647 drivers/md/persistent-data/dm-btree.c 	memcpy(ln->keys, pn->keys, nr_left * sizeof(pn->keys[0]));
keys              664 drivers/md/persistent-data/dm-btree.c 	memcpy(rn->keys, pn->keys + nr_left, nr_right * sizeof(pn->keys[0]));
keys              679 drivers/md/persistent-data/dm-btree.c 	pn->keys[0] = ln->keys[0];
keys              684 drivers/md/persistent-data/dm-btree.c 	pn->keys[1] = rn->keys[0];
keys              740 drivers/md/persistent-data/dm-btree.c 			node->keys[0] = cpu_to_le64(key);
keys              748 drivers/md/persistent-data/dm-btree.c 	if (i < 0 || le64_to_cpu(node->keys[i]) != key)
keys              755 drivers/md/persistent-data/dm-btree.c static bool need_insert(struct btree_node *node, uint64_t *keys,
keys              759 drivers/md/persistent-data/dm-btree.c 		(le64_to_cpu(node->keys[index]) != keys[level]));
keys              763 drivers/md/persistent-data/dm-btree.c 		  uint64_t *keys, void *value, dm_block_t *new_root,
keys              778 drivers/md/persistent-data/dm-btree.c 		r = btree_insert_raw(&spine, block, &le64_type, keys[level], &index);
keys              784 drivers/md/persistent-data/dm-btree.c 		if (need_insert(n, keys, level, index)) {
keys              796 drivers/md/persistent-data/dm-btree.c 				      keys[level], &new_le);
keys              806 drivers/md/persistent-data/dm-btree.c 			     keys[level], &index);
keys              812 drivers/md/persistent-data/dm-btree.c 	if (need_insert(n, keys, level, index)) {
keys              817 drivers/md/persistent-data/dm-btree.c 			      keys[level], value);
keys              850 drivers/md/persistent-data/dm-btree.c 		    uint64_t *keys, void *value, dm_block_t *new_root)
keys              853 drivers/md/persistent-data/dm-btree.c 	return insert(info, root, keys, value, new_root, NULL);
keys              858 drivers/md/persistent-data/dm-btree.c 			   uint64_t *keys, void *value, dm_block_t *new_root,
keys              862 drivers/md/persistent-data/dm-btree.c 	return insert(info, root, keys, value, new_root, inserted);
keys              887 drivers/md/persistent-data/dm-btree.c 			*result_key = le64_to_cpu(ro_node(s)->keys[i]);
keys              889 drivers/md/persistent-data/dm-btree.c 			*result_key = le64_to_cpu(ro_node(s)->keys[0]);
keys              950 drivers/md/persistent-data/dm-btree.c 		     int (*fn)(void *context, uint64_t *keys, void *leaf),
keys              957 drivers/md/persistent-data/dm-btree.c 	uint64_t keys;
keys              972 drivers/md/persistent-data/dm-btree.c 			keys = le64_to_cpu(*key_ptr(n, i));
keys              973 drivers/md/persistent-data/dm-btree.c 			r = fn(context, &keys, value_ptr(n, i));
keys              985 drivers/md/persistent-data/dm-btree.c 		  int (*fn)(void *context, uint64_t *keys, void *leaf),
keys              110 drivers/md/persistent-data/dm-btree.h 		    uint64_t *keys, void *value_le);
keys              117 drivers/md/persistent-data/dm-btree.h 			 uint64_t *keys, uint64_t *rkey, void *value_le);
keys              123 drivers/md/persistent-data/dm-btree.h 		    uint64_t *keys, void *value, dm_block_t *new_root)
keys              132 drivers/md/persistent-data/dm-btree.h 			   uint64_t *keys, void *value, dm_block_t *new_root,
keys              142 drivers/md/persistent-data/dm-btree.h 		    uint64_t *keys, dm_block_t *new_root);
keys              151 drivers/md/persistent-data/dm-btree.h 			   uint64_t *keys, uint64_t end_key,
keys              176 drivers/md/persistent-data/dm-btree.h 		  int (*fn)(void *context, uint64_t *keys, void *leaf),
keys              257 drivers/mfd/adp5520.c 	if (pdata->keys) {
keys              259 drivers/mfd/adp5520.c 				chip->id, pdata->keys, sizeof(*pdata->keys));
keys               41 drivers/mfd/ucb1x00-assabet.c 	struct gpio_keys_platform_data keys;
keys               46 drivers/mfd/ucb1x00-assabet.c 	memset(&keys, 0, sizeof(keys));
keys               55 drivers/mfd/ucb1x00-assabet.c 	keys.buttons = buttons;
keys               56 drivers/mfd/ucb1x00-assabet.c 	keys.nbuttons = ARRAY_SIZE(buttons);
keys               57 drivers/mfd/ucb1x00-assabet.c 	keys.poll_interval = 50;
keys               58 drivers/mfd/ucb1x00-assabet.c 	keys.name = "ucb1x00";
keys               61 drivers/mfd/ucb1x00-assabet.c 		&keys, sizeof(keys));
keys             4611 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	struct flow_keys *keys = &fltr->fkeys;
keys             4632 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	req.ip_protocol = keys->basic.ip_proto;
keys             4634 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (keys->basic.n_proto == htons(ETH_P_IPV6)) {
keys             4641 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			keys->addrs.v6addrs.src;
keys             4643 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			keys->addrs.v6addrs.dst;
keys             4649 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		req.src_ipaddr[0] = keys->addrs.v4addrs.src;
keys             4651 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		req.dst_ipaddr[0] = keys->addrs.v4addrs.dst;
keys             4654 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	if (keys->control.flags & FLOW_DIS_ENCAPSULATION) {
keys             4660 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	req.src_port = keys->ports.src;
keys             4662 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	req.dst_port = keys->ports.dst;
keys               55 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 		off = cls->knode.sel->keys[i].off;
keys               56 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 		val = cls->knode.sel->keys[i].val;
keys               57 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 		mask = cls->knode.sel->keys[i].mask;
keys               61 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 			if (!cls->knode.sel->keys[i].offmask)
keys               65 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 			if (cls->knode.sel->keys[i].offmask)
keys              244 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 				off = cls->knode.sel->keys[j].off;
keys              245 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 				val = cls->knode.sel->keys[j].val;
keys              246 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c 				mask = cls->knode.sel->keys[j].mask;
keys              113 drivers/net/ethernet/cisco/enic/enic.h 	struct flow_keys keys;
keys               21 drivers/net/ethernet/cisco/enic/enic_clsf.c int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq)
keys               26 drivers/net/ethernet/cisco/enic/enic_clsf.c 	switch (keys->basic.ip_proto) {
keys               38 drivers/net/ethernet/cisco/enic/enic_clsf.c 	data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src);
keys               39 drivers/net/ethernet/cisco/enic/enic_clsf.c 	data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst);
keys               40 drivers/net/ethernet/cisco/enic/enic_clsf.c 	data.u.ipv4.src_port = ntohs(keys->ports.src);
keys               41 drivers/net/ethernet/cisco/enic/enic_clsf.c 	data.u.ipv4.dst_port = ntohs(keys->ports.dst);
keys              162 drivers/net/ethernet/cisco/enic/enic_clsf.c 		if (tpos->keys.addrs.v4addrs.src == k->addrs.v4addrs.src &&
keys              163 drivers/net/ethernet/cisco/enic/enic_clsf.c 		    tpos->keys.addrs.v4addrs.dst == k->addrs.v4addrs.dst &&
keys              164 drivers/net/ethernet/cisco/enic/enic_clsf.c 		    tpos->keys.ports.ports == k->ports.ports &&
keys              165 drivers/net/ethernet/cisco/enic/enic_clsf.c 		    tpos->keys.basic.ip_proto == k->basic.ip_proto &&
keys              166 drivers/net/ethernet/cisco/enic/enic_clsf.c 		    tpos->keys.basic.n_proto == k->basic.n_proto)
keys              174 drivers/net/ethernet/cisco/enic/enic_clsf.c 	struct flow_keys keys;
keys              181 drivers/net/ethernet/cisco/enic/enic_clsf.c 	res = skb_flow_dissect_flow_keys(skb, &keys, 0);
keys              182 drivers/net/ethernet/cisco/enic/enic_clsf.c 	if (!res || keys.basic.n_proto != htons(ETH_P_IP) ||
keys              183 drivers/net/ethernet/cisco/enic/enic_clsf.c 	    (keys.basic.ip_proto != IPPROTO_TCP &&
keys              184 drivers/net/ethernet/cisco/enic/enic_clsf.c 	     keys.basic.ip_proto != IPPROTO_UDP))
keys              189 drivers/net/ethernet/cisco/enic/enic_clsf.c 	n = htbl_key_search(&enic->rfs_h.ht_head[tbl_idx], &keys);
keys              214 drivers/net/ethernet/cisco/enic/enic_clsf.c 			res = enic_addfltr_5t(enic, &keys, rxq_index);
keys              224 drivers/net/ethernet/cisco/enic/enic_clsf.c 			res = enic_addfltr_5t(enic, &keys, rxq_index);
keys              267 drivers/net/ethernet/cisco/enic/enic_clsf.c 		res = enic_addfltr_5t(enic, &keys, rxq_index);
keys              276 drivers/net/ethernet/cisco/enic/enic_clsf.c 		n->keys = keys;
keys               10 drivers/net/ethernet/cisco/enic/enic_clsf.h int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq);
keys              448 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	switch (n->keys.basic.ip_proto) {
keys              460 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	fsp->h_u.tcp_ip4_spec.ip4src = flow_get_u32_src(&n->keys);
keys              463 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	fsp->h_u.tcp_ip4_spec.ip4dst = flow_get_u32_dst(&n->keys);
keys              466 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	fsp->h_u.tcp_ip4_spec.psrc = n->keys.ports.src;
keys              469 drivers/net/ethernet/cisco/enic/enic_ethtool.c 	fsp->h_u.tcp_ip4_spec.pdst = n->keys.ports.dst;
keys             2761 drivers/net/ethernet/intel/ice/ice_common.c 		   struct ice_aqc_get_set_rss_keys *keys)
keys             2763 drivers/net/ethernet/intel/ice/ice_common.c 	if (!ice_is_vsi_valid(hw, vsi_handle) || !keys)
keys             2767 drivers/net/ethernet/intel/ice/ice_common.c 					keys, true);
keys               61 drivers/net/ethernet/intel/ice/ice_common.h 		   struct ice_aqc_get_set_rss_keys *keys);
keys               64 drivers/net/ethernet/intel/ice/ice_common.h 		   struct ice_aqc_get_set_rss_keys *keys);
keys             9363 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		off = cls->knode.sel->keys[i].off;
keys             9364 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		val = cls->knode.sel->keys[i].val;
keys             9365 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 		m = cls->knode.sel->keys[i].mask;
keys             9378 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			if (nexthdr->off == cls->knode.sel->keys[i].off &&
keys             9380 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			    (__force u32)cls->knode.sel->keys[i].val &&
keys             9382 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 			    (__force u32)cls->knode.sel->keys[i].mask)
keys               79 drivers/net/ethernet/netronome/nfp/abm/cls.c 	k = &knode->sel->keys[0];
keys              185 drivers/net/ethernet/netronome/nfp/abm/cls.c 	val = be32_to_cpu(knode->sel->keys[0].val) >> tos_off & 0xff;
keys              186 drivers/net/ethernet/netronome/nfp/abm/cls.c 	mask = be32_to_cpu(knode->sel->keys[0].mask) >> tos_off & 0xff;
keys             1097 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	sel->keys[0].off = 6;
keys             1098 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	sel->keys[0].val = htonl(0xdeadbeef);
keys             1099 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	sel->keys[0].mask = ~0x0;
keys             1416 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	} __aligned(BITS_PER_LONG / 8) keys;
keys             1448 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	dissector->offset[FLOW_DISSECTOR_KEY_PORTS] = offsetof(typeof(keys), key);
keys             1467 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	rule->match.key = (void *)&keys;
keys             1470 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	keys.bkey.ip_proto = udp ? IPPROTO_UDP : IPPROTO_TCP;
keys             1471 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	keys.key.src = htons(src);
keys             1472 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	keys.key.dst = htons(dst);
keys              104 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	off = sel->keys[0].off << sel->offshift;
keys              105 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	data = sel->keys[0].val;
keys              106 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c 	mask = sel->keys[0].mask;
keys              402 drivers/net/wireless/ath/ath10k/core.h 	struct ieee80211_key_conf *keys[WMI_MAX_KEY_INDEX + 1];
keys             2305 drivers/net/wireless/ath/ath10k/htt_rx.c 			for (i = 0; i < ARRAY_SIZE(peer->keys); i++) {
keys             2306 drivers/net/wireless/ath/ath10k/htt_rx.c 				if (peer->keys[i] &&
keys             2307 drivers/net/wireless/ath/ath10k/htt_rx.c 				    peer->keys[i]->flags & IEEE80211_KEY_FLAG_PAIRWISE)
keys             2308 drivers/net/wireless/ath/ath10k/htt_rx.c 					keyidx = peer->keys[i]->keyidx;
keys              367 drivers/net/wireless/ath/ath10k/mac.c 		peer->keys[i] = arvif->wep_keys[i];
keys              417 drivers/net/wireless/ath/ath10k/mac.c 	for (i = 0; i < ARRAY_SIZE(peer->keys); i++) {
keys              418 drivers/net/wireless/ath/ath10k/mac.c 		if (peer->keys[i] == NULL)
keys              422 drivers/net/wireless/ath/ath10k/mac.c 		ret = ath10k_install_key(arvif, peer->keys[i],
keys              432 drivers/net/wireless/ath/ath10k/mac.c 		peer->keys[i] = NULL;
keys              456 drivers/net/wireless/ath/ath10k/mac.c 	for (i = 0; i < ARRAY_SIZE(peer->keys); i++) {
keys              457 drivers/net/wireless/ath/ath10k/mac.c 		if (peer->keys[i] && peer->keys[i]->keyidx == keyidx)
keys              484 drivers/net/wireless/ath/ath10k/mac.c 			for (i = 0; i < ARRAY_SIZE(peer->keys); i++) {
keys              485 drivers/net/wireless/ath/ath10k/mac.c 				if (peer->keys[i] == key) {
keys              487 drivers/net/wireless/ath/ath10k/mac.c 					peer->keys[i] = NULL;
keys              492 drivers/net/wireless/ath/ath10k/mac.c 			if (i < ARRAY_SIZE(peer->keys))
keys              497 drivers/net/wireless/ath/ath10k/mac.c 		if (i == ARRAY_SIZE(peer->keys))
keys              528 drivers/net/wireless/ath/ath10k/mac.c 		if (peer->keys[key->keyidx] == key)
keys             6234 drivers/net/wireless/ath/ath10k/mac.c 		peer->keys[key->keyidx] = key;
keys             6236 drivers/net/wireless/ath/ath10k/mac.c 		peer->keys[key->keyidx] = NULL;
keys              576 drivers/net/wireless/ath/ath6kl/cfg80211.c 		key = &vif->keys[sme->key_idx];
keys             1155 drivers/net/wireless/ath/ath6kl/cfg80211.c 	key = &vif->keys[key_index];
keys             1270 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (!vif->keys[key_index].key_len) {
keys             1276 drivers/net/wireless/ath/ath6kl/cfg80211.c 	vif->keys[key_index].key_len = 0;
keys             1303 drivers/net/wireless/ath/ath6kl/cfg80211.c 	key = &vif->keys[key_index];
keys             1339 drivers/net/wireless/ath/ath6kl/cfg80211.c 	if (!vif->keys[key_index].key_len) {
keys             1346 drivers/net/wireless/ath/ath6kl/cfg80211.c 	key = &vif->keys[vif->def_txkey_index];
keys              624 drivers/net/wireless/ath/ath6kl/core.h 	struct ath6kl_key keys[WMI_MAX_KEY_INDEX + 1];
keys             2071 drivers/net/wireless/ath/wcn36xx/hal.h 	struct wcn36xx_hal_keys keys[WCN36XX_HAL_MAC_MAX_NUM_OF_DEFAULT_KEYS];
keys             1783 drivers/net/wireless/ath/wcn36xx/smd.c 	msg_body.keys[0].id = keyidx;
keys             1784 drivers/net/wireless/ath/wcn36xx/smd.c 	msg_body.keys[0].unicast = 0;
keys             1785 drivers/net/wireless/ath/wcn36xx/smd.c 	msg_body.keys[0].direction = WCN36XX_HAL_RX_ONLY;
keys             1786 drivers/net/wireless/ath/wcn36xx/smd.c 	msg_body.keys[0].pae_role = 0;
keys             1787 drivers/net/wireless/ath/wcn36xx/smd.c 	msg_body.keys[0].length = keylen;
keys             1788 drivers/net/wireless/ath/wcn36xx/smd.c 	memcpy(msg_body.keys[0].key, key, keylen);
keys             5519 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				memset(priv->ieee->sec.keys[i], 0, WEP_KEY_LEN);
keys             5523 drivers/net/wireless/intel/ipw2x00/ipw2100.c 						      priv->ieee->sec.keys[i],
keys             5581 drivers/net/wireless/intel/ipw2x00/ipw2100.c 				memcpy(priv->ieee->sec.keys[i], sec->keys[i],
keys             5902 drivers/net/wireless/intel/ipw2x00/ipw2200.c 	memcpy(key.key, priv->ieee->sec.keys[index], SCM_TEMPORAL_KEY_LENGTH);
keys             5931 drivers/net/wireless/intel/ipw2x00/ipw2200.c 		memcpy(key.key, priv->ieee->sec.keys[i], key.key_size);
keys             10702 drivers/net/wireless/intel/ipw2x00/ipw2200.c 				memcpy(priv->ieee->sec.keys[i], sec->keys[i],
keys              311 drivers/net/wireless/intel/ipw2x00/libipw.h 	u8 keys[WEP_KEYS][SCM_KEY_LEN];
keys              398 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
keys              400 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			memset(sec.keys[key] + erq->length, 0,
keys              403 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				   key, len, sec.keys[key],
keys              407 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			(*crypt)->ops->set_key(sec.keys[key], len, NULL,
keys              417 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 			len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
keys              423 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				memset(sec.keys[key], 0, 13);
keys              424 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 				(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
keys              489 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 	memcpy(keybuf, sec->keys[key], len);
keys              636 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(sec.keys[idx], ext->key, ext->key_len);
keys              707 drivers/net/wireless/intel/ipw2x00/libipw_wx.c 		memcpy(ext->key, sec->keys[idx], ext->key_len);
keys              828 drivers/net/wireless/intersil/orinoco/hw.c 		struct orinoco_key keys[ORINOCO_MAX_KEYS];
keys              830 drivers/net/wireless/intersil/orinoco/hw.c 		memset(&keys, 0, sizeof(keys));
keys              832 drivers/net/wireless/intersil/orinoco/hw.c 			int len = min(priv->keys[i].key_len,
keys              834 drivers/net/wireless/intersil/orinoco/hw.c 			memcpy(&keys[i].data, priv->keys[i].key, len);
keys              836 drivers/net/wireless/intersil/orinoco/hw.c 				keys[i].len = cpu_to_le16(LARGE_KEY_SIZE);
keys              838 drivers/net/wireless/intersil/orinoco/hw.c 				keys[i].len = cpu_to_le16(SMALL_KEY_SIZE);
keys              840 drivers/net/wireless/intersil/orinoco/hw.c 				keys[i].len = cpu_to_le16(0);
keys              845 drivers/net/wireless/intersil/orinoco/hw.c 					  &keys);
keys              862 drivers/net/wireless/intersil/orinoco/hw.c 			keylen = priv->keys[priv->tx_key].key_len;
keys              879 drivers/net/wireless/intersil/orinoco/hw.c 				memcpy(key, priv->keys[i].key,
keys              880 drivers/net/wireless/intersil/orinoco/hw.c 				       priv->keys[i].key_len);
keys              366 drivers/net/wireless/intersil/orinoco/main.c 	key = (struct orinoco_tkip_key *) priv->keys[priv->tx_key].key;
keys              975 drivers/net/wireless/intersil/orinoco/main.c 		key = (struct orinoco_tkip_key *) priv->keys[key_id].key;
keys              121 drivers/net/wireless/intersil/orinoco/orinoco.h 	struct key_params keys[ORINOCO_MAX_KEYS];
keys               34 drivers/net/wireless/intersil/orinoco/wext.c 	kzfree(priv->keys[index].key);
keys               35 drivers/net/wireless/intersil/orinoco/wext.c 	kzfree(priv->keys[index].seq);
keys               38 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC);
keys               39 drivers/net/wireless/intersil/orinoco/wext.c 		if (!priv->keys[index].key)
keys               42 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].key = NULL;
keys               45 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC);
keys               46 drivers/net/wireless/intersil/orinoco/wext.c 		if (!priv->keys[index].seq)
keys               49 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].seq = NULL;
keys               51 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].key_len = key_len;
keys               52 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].seq_len = seq_len;
keys               55 drivers/net/wireless/intersil/orinoco/wext.c 		memcpy((void *)priv->keys[index].key, key, key_len);
keys               57 drivers/net/wireless/intersil/orinoco/wext.c 		memcpy((void *)priv->keys[index].seq, seq, seq_len);
keys               61 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].cipher = WLAN_CIPHER_SUITE_TKIP;
keys               65 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].cipher = (key_len > SMALL_KEY_SIZE) ?
keys               71 drivers/net/wireless/intersil/orinoco/wext.c 		priv->keys[index].cipher = 0;
keys               78 drivers/net/wireless/intersil/orinoco/wext.c 	kfree(priv->keys[index].key);
keys               79 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].key = NULL;
keys               82 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].key_len = 0;
keys               83 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].seq_len = 0;
keys               84 drivers/net/wireless/intersil/orinoco/wext.c 	priv->keys[index].cipher = 0;
keys              287 drivers/net/wireless/intersil/orinoco/wext.c 			if (priv->keys[index].key_len == 0) {
keys              354 drivers/net/wireless/intersil/orinoco/wext.c 	erq->length = priv->keys[index].key_len;
keys              356 drivers/net/wireless/intersil/orinoco/wext.c 	memcpy(keybuf, priv->keys[index].key, erq->length);
keys              794 drivers/net/wireless/intersil/orinoco/wext.c 				 priv->keys[idx].key,
keys              852 drivers/net/wireless/intersil/orinoco/wext.c 		ext->key_len = min(priv->keys[idx].key_len, max_key_len);
keys              853 drivers/net/wireless/intersil/orinoco/wext.c 		memcpy(ext->key, priv->keys[idx].key, ext->key_len);
keys              858 drivers/net/wireless/intersil/orinoco/wext.c 		ext->key_len = min(priv->keys[idx].key_len, max_key_len);
keys              859 drivers/net/wireless/intersil/orinoco/wext.c 		memcpy(ext->key, priv->keys[idx].key, ext->key_len);
keys              240 drivers/net/wireless/st/cw1200/cw1200.h 	struct wsm_add_key	keys[WSM_KEY_MAX_INDEX + 1];
keys              695 drivers/net/wireless/st/cw1200/sta.c 		struct wsm_add_key *wsm_key = &priv->keys[idx];
keys             1238 drivers/net/wireless/st/cw1200/txrx.c 	priv->keys[idx].index = idx;
keys             1245 drivers/net/wireless/st/cw1200/txrx.c 	memset(&priv->keys[idx], 0, sizeof(priv->keys[idx]));
keys             1251 drivers/net/wireless/st/cw1200/txrx.c 	memset(&priv->keys, 0, sizeof(priv->keys));
keys             1260 drivers/net/wireless/st/cw1200/txrx.c 			ret = wsm_add_key(priv, &priv->keys[idx]);
keys             1765 drivers/net/wireless/wl3501_cs.c 	u8 implemented, restricted, keys[100], len_keys, tocopy;
keys             1787 drivers/net/wireless/wl3501_cs.c 				  keys, len_keys);
keys             1793 drivers/net/wireless/wl3501_cs.c 	memcpy(extra, keys, tocopy);
keys              667 drivers/staging/rtl8192e/rtllib.h 	u8 keys[NUM_WEP_KEYS][SCM_KEY_LEN];
keys              388 drivers/staging/rtl8192e/rtllib_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
keys              390 drivers/staging/rtl8192e/rtllib_wx.c 			memset(sec.keys[key] + erq->length, 0,
keys              393 drivers/staging/rtl8192e/rtllib_wx.c 			   key, escape_essid(sec.keys[key], len), erq->length,
keys              396 drivers/staging/rtl8192e/rtllib_wx.c 		(*crypt)->ops->set_key(sec.keys[key], len, NULL,
keys              407 drivers/staging/rtl8192e/rtllib_wx.c 		len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
keys              414 drivers/staging/rtl8192e/rtllib_wx.c 			memset(sec.keys[key], 0, 13);
keys              415 drivers/staging/rtl8192e/rtllib_wx.c 			(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
keys              831 drivers/staging/rtl8192u/ieee80211/ieee80211.h 	u8 keys[WEP_KEYS][SCM_KEY_LEN];
keys             2900 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c 	memcpy(sec.keys[param->u.crypt.idx],
keys              370 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		memcpy(sec.keys[key], keybuf, erq->length);
keys              372 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			memset(sec.keys[key] + erq->length, 0,
keys              375 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 				   key, escape_essid(sec.keys[key], len),
keys              378 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		(*crypt)->ops->set_key(sec.keys[key], len, NULL,
keys              389 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 		len = (*crypt)->ops->get_key(sec.keys[key], WEP_KEY_LEN,
keys              398 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			memset(sec.keys[key], 0, 13);
keys              399 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c 			(*crypt)->ops->set_key(sec.keys[key], 13, NULL,
keys              485 drivers/staging/rtl8712/ieee80211.h 	u8 keys[WEP_KEYS][WEP_KEY_LEN];
keys              641 drivers/staging/rtl8723bs/include/ieee80211.h 	u8 keys[WEP_KEYS][WEP_KEY_LEN];
keys              389 drivers/tty/serial/8250/8250_fintek.c 	static const u8 keys[] = {0x77, 0xa0, 0x87, 0x67};
keys              395 drivers/tty/serial/8250/8250_fintek.c 		for (j = 0; j < ARRAY_SIZE(keys); j++) {
keys              397 drivers/tty/serial/8250/8250_fintek.c 			pdata->key = keys[j];
keys              399 drivers/tty/serial/8250/8250_fintek.c 			if (fintek_8250_enter_key(addr[i], keys[j]))
keys              704 fs/btrfs/delayed-inode.c 	struct btrfs_key *keys;
keys              752 fs/btrfs/delayed-inode.c 	keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS);
keys              753 fs/btrfs/delayed-inode.c 	if (!keys) {
keys              767 fs/btrfs/delayed-inode.c 		keys[i] = next->key;
keys              773 fs/btrfs/delayed-inode.c 	setup_items_for_insert(root, path, keys, data_size,
keys              793 fs/btrfs/delayed-inode.c 	kfree(keys);
keys              151 fs/btrfs/disk-io.c 	struct lock_class_key	keys[BTRFS_MAX_LEVEL + 1];
keys              187 fs/btrfs/disk-io.c 	BUG_ON(level >= ARRAY_SIZE(ks->keys));
keys              195 fs/btrfs/disk-io.c 				   &ks->keys[level], ks->names[level]);
keys              794 fs/crypto/keyring.c 	if (mk->mk_users && mk->mk_users->keys.nr_leaves_on_tree != 0) {
keys              803 fs/crypto/keyring.c 		if (mk->mk_users->keys.nr_leaves_on_tree != 0) {
keys              934 fs/crypto/keyring.c 		arg.user_count = mk->mk_users->keys.nr_leaves_on_tree;
keys               59 fs/ext4/fsmap.c 				      struct ext4_fsmap *keys,
keys              253 fs/ext4/fsmap.c static int ext4_getfsmap_logdev(struct super_block *sb, struct ext4_fsmap *keys,
keys              260 fs/ext4/fsmap.c 	info->gfi_low = keys[0];
keys              275 fs/ext4/fsmap.c 	if (keys[0].fmr_physical > 0)
keys              464 fs/ext4/fsmap.c 				 struct ext4_fsmap *keys,
keys              480 fs/ext4/fsmap.c 	if (keys[0].fmr_physical >= eofs)
keys              482 fs/ext4/fsmap.c 	else if (keys[0].fmr_physical < bofs)
keys              483 fs/ext4/fsmap.c 		keys[0].fmr_physical = bofs;
keys              484 fs/ext4/fsmap.c 	if (keys[1].fmr_physical >= eofs)
keys              485 fs/ext4/fsmap.c 		keys[1].fmr_physical = eofs - 1;
keys              486 fs/ext4/fsmap.c 	start_fsb = keys[0].fmr_physical;
keys              487 fs/ext4/fsmap.c 	end_fsb = keys[1].fmr_physical;
keys              498 fs/ext4/fsmap.c 	info->gfi_low = keys[0];
keys              518 fs/ext4/fsmap.c 			info->gfi_high = keys[1];
keys              100 fs/nilfs2/bmap.c 	__u64 keys[NILFS_BMAP_SMALL_HIGH + 1];
keys              108 fs/nilfs2/bmap.c 				bmap, keys, ptrs, NILFS_BMAP_SMALL_HIGH + 1);
keys              112 fs/nilfs2/bmap.c 				bmap, key, ptr, keys, ptrs, n);
keys              155 fs/nilfs2/bmap.c 	__u64 keys[NILFS_BMAP_LARGE_LOW + 1];
keys              163 fs/nilfs2/bmap.c 				bmap, keys, ptrs, NILFS_BMAP_LARGE_LOW + 1);
keys              167 fs/nilfs2/bmap.c 				bmap, key, keys, ptrs, n);
keys              163 fs/nilfs2/btree.c 				  const __u64 *keys, const __u64 *ptrs)
keys              176 fs/nilfs2/btree.c 		dkeys[i] = cpu_to_le64(keys[i]);
keys             1677 fs/nilfs2/btree.c 				   __u64 *keys, __u64 *ptrs, int nitems)
keys             1715 fs/nilfs2/btree.c 		keys[i] = le64_to_cpu(dkeys[i]);
keys             1781 fs/nilfs2/btree.c 				      const __u64 *keys, const __u64 *ptrs,
keys             1809 fs/nilfs2/btree.c 		nilfs_btree_node_init(node, 0, 1, n, ncblk, keys, ptrs);
keys             1823 fs/nilfs2/btree.c 				      &keys[0], &tmpptr);
keys             1831 fs/nilfs2/btree.c 				      keys, ptrs);
keys             1853 fs/nilfs2/btree.c 				   const __u64 *keys, const __u64 *ptrs, int n)
keys             1877 fs/nilfs2/btree.c 	nilfs_btree_commit_convert_and_insert(btree, key, ptr, keys, ptrs, n,
keys              203 fs/nilfs2/direct.c 				    __u64 *keys, __u64 *ptrs, int nitems)
keys              215 fs/nilfs2/direct.c 			keys[n] = key;
keys              224 fs/nilfs2/direct.c 				    __u64 key, __u64 *keys, __u64 *ptrs, int n)
keys              243 fs/nilfs2/direct.c 		if ((j < n) && (i == keys[j])) {
keys              117 fs/xfs/libxfs/xfs_iext_tree.c 	uint64_t		keys[KEYS_PER_NODE];
keys              281 fs/xfs/libxfs/xfs_iext_tree.c 	if (node->keys[n] > offset)
keys              283 fs/xfs/libxfs/xfs_iext_tree.c 	if (node->keys[n] < offset)
keys              366 fs/xfs/libxfs/xfs_iext_tree.c 		if (node->keys[i] == XFS_IEXT_KEY_INVALID)
keys              407 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[0] = xfs_iext_leaf_key(prev, 0);
keys              414 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[0] = prev->keys[0];
keys              419 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[i] = XFS_IEXT_KEY_INVALID;
keys              440 fs/xfs/libxfs/xfs_iext_tree.c 			if (node->keys[i] == old_offset)
keys              441 fs/xfs/libxfs/xfs_iext_tree.c 				node->keys[i] = new_offset;
keys              472 fs/xfs/libxfs/xfs_iext_tree.c 		new->keys[i] = node->keys[nr_keep + i];
keys              475 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[nr_keep + i] = XFS_IEXT_KEY_INVALID;
keys              488 fs/xfs/libxfs/xfs_iext_tree.c 		new->keys[i] = XFS_IEXT_KEY_INVALID;
keys              522 fs/xfs/libxfs/xfs_iext_tree.c 		xfs_iext_update_node(ifp, node->keys[0], offset, level, node);
keys              525 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[i] = node->keys[i - 1];
keys              528 fs/xfs/libxfs/xfs_iext_tree.c 	node->keys[pos] = offset;
keys              532 fs/xfs/libxfs/xfs_iext_tree.c 		offset = new->keys[0];
keys              692 fs/xfs/libxfs/xfs_iext_tree.c 				prev->keys[nr_prev + i] = node->keys[i];
keys              710 fs/xfs/libxfs/xfs_iext_tree.c 				node->keys[nr_entries + i] = next->keys[i];
keys              740 fs/xfs/libxfs/xfs_iext_tree.c 	offset = node->keys[0];
keys              742 fs/xfs/libxfs/xfs_iext_tree.c 		node->keys[i] = node->keys[i + 1];
keys              745 fs/xfs/libxfs/xfs_iext_tree.c 	node->keys[nr_entries] = XFS_IEXT_KEY_INVALID;
keys              749 fs/xfs/libxfs/xfs_iext_tree.c 		xfs_iext_update_node(ifp, offset, node->keys[0], level, node);
keys              750 fs/xfs/libxfs/xfs_iext_tree.c 		offset = node->keys[0];
keys             1032 fs/xfs/libxfs/xfs_iext_tree.c 			if (node->keys[i] == XFS_IEXT_KEY_INVALID)
keys             1072 fs/xfs/libxfs/xfs_rtbitmap.c 	struct xfs_rtalloc_rec		keys[2];
keys             1074 fs/xfs/libxfs/xfs_rtbitmap.c 	keys[0].ar_startext = 0;
keys             1075 fs/xfs/libxfs/xfs_rtbitmap.c 	keys[1].ar_startext = tp->t_mountp->m_sb.sb_rextents - 1;
keys             1076 fs/xfs/libxfs/xfs_rtbitmap.c 	keys[0].ar_extcount = keys[1].ar_extcount = 0;
keys             1078 fs/xfs/libxfs/xfs_rtbitmap.c 	return xfs_rtalloc_query_range(tp, &keys[0], &keys[1], fn, priv);
keys              173 fs/xfs/xfs_fsmap.c 				      struct xfs_fsmap *keys,
keys              395 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              403 fs/xfs/xfs_fsmap.c 	info->low.rm_startblock = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical);
keys              404 fs/xfs/xfs_fsmap.c 	info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset);
keys              405 fs/xfs/xfs_fsmap.c 	error = xfs_fsmap_owner_to_rmap(&info->low, keys);
keys              409 fs/xfs/xfs_fsmap.c 	xfs_getfsmap_set_irec_flags(&info->low, &keys[0]);
keys              411 fs/xfs/xfs_fsmap.c 	error = xfs_fsmap_owner_to_rmap(&info->high, keys + 1);
keys              424 fs/xfs/xfs_fsmap.c 	if (keys[0].fmr_physical > 0)
keys              464 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              476 fs/xfs/xfs_fsmap.c 	if (keys[0].fmr_physical >= eofs)
keys              478 fs/xfs/xfs_fsmap.c 	if (keys[1].fmr_physical >= eofs)
keys              479 fs/xfs/xfs_fsmap.c 		keys[1].fmr_physical = eofs - 1;
keys              480 fs/xfs/xfs_fsmap.c 	start_fsb = XFS_BB_TO_FSBT(mp, keys[0].fmr_physical);
keys              481 fs/xfs/xfs_fsmap.c 	end_fsb = XFS_BB_TO_FSB(mp, keys[1].fmr_physical);
keys              485 fs/xfs/xfs_fsmap.c 	error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]);
keys              488 fs/xfs/xfs_fsmap.c 	info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset);
keys              490 fs/xfs/xfs_fsmap.c 	xfs_getfsmap_set_irec_flags(&info->low, &keys[0]);
keys              493 fs/xfs/xfs_fsmap.c 	error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]);
keys              496 fs/xfs/xfs_fsmap.c 	info->high.rm_offset = XFS_BB_TO_FSBT(mp, keys[1].fmr_offset);
keys              498 fs/xfs/xfs_fsmap.c 	xfs_getfsmap_set_irec_flags(&info->high, &keys[1]);
keys              542 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              546 fs/xfs/xfs_fsmap.c 	return __xfs_getfsmap_rtdev(tp, keys, xfs_getfsmap_rtdev_rtbitmap_query,
keys              555 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              573 fs/xfs/xfs_fsmap.c 	if (keys[0].fmr_physical >= eofs)
keys              575 fs/xfs/xfs_fsmap.c 	if (keys[1].fmr_physical >= eofs)
keys              576 fs/xfs/xfs_fsmap.c 		keys[1].fmr_physical = eofs - 1;
keys              577 fs/xfs/xfs_fsmap.c 	start_fsb = XFS_DADDR_TO_FSB(mp, keys[0].fmr_physical);
keys              578 fs/xfs/xfs_fsmap.c 	end_fsb = XFS_DADDR_TO_FSB(mp, keys[1].fmr_physical);
keys              586 fs/xfs/xfs_fsmap.c 	info->low.rm_offset = XFS_BB_TO_FSBT(mp, keys[0].fmr_offset);
keys              587 fs/xfs/xfs_fsmap.c 	error = xfs_fsmap_owner_to_rmap(&info->low, &keys[0]);
keys              591 fs/xfs/xfs_fsmap.c 	xfs_getfsmap_set_irec_flags(&info->low, &keys[0]);
keys              612 fs/xfs/xfs_fsmap.c 					keys[1].fmr_offset);
keys              613 fs/xfs/xfs_fsmap.c 			error = xfs_fsmap_owner_to_rmap(&info->high, &keys[1]);
keys              616 fs/xfs/xfs_fsmap.c 			xfs_getfsmap_set_irec_flags(&info->high, &keys[1]);
keys              692 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              696 fs/xfs/xfs_fsmap.c 	return __xfs_getfsmap_datadev(tp, keys, info,
keys              727 fs/xfs/xfs_fsmap.c 	struct xfs_fsmap		*keys,
keys              733 fs/xfs/xfs_fsmap.c 	return __xfs_getfsmap_datadev(tp, keys, info,
keys               29 include/crypto/authenc.h int crypto_authenc_extractkeys(struct crypto_authenc_keys *keys, const u8 *key,
keys              239 include/linux/key.h 			struct assoc_array keys;
keys              277 include/linux/mfd/adp5520.h 	struct adp5520_keys_platform_data *keys;
keys             1240 include/linux/skbuff.h 		   const struct flow_keys_basic *keys, int hlen);
keys             1350 include/linux/skbuff.h 		struct flow_keys keys;
keys             1351 include/linux/skbuff.h 		__u32 hash = __get_hash_from_flowi6(fl6, &keys);
keys             1353 include/linux/skbuff.h 		__skb_set_sw_hash(skb, hash, flow_keys_have_l4(&keys));
keys             2531 include/linux/skbuff.h 	struct flow_keys_basic keys;
keys             2536 include/linux/skbuff.h 	if (skb_flow_dissect_flow_keys_basic(NULL, skb, &keys,
keys             2538 include/linux/skbuff.h 		skb_set_transport_header(skb, keys.control.thoff);
keys               80 include/linux/virtio_net.h 			struct flow_keys_basic keys;
keys               85 include/linux/virtio_net.h 			if (!skb_flow_dissect_flow_keys_basic(NULL, skb, &keys,
keys               97 include/linux/virtio_net.h 			p_off = keys.control.thoff + thlen;
keys               99 include/linux/virtio_net.h 			    keys.basic.ip_proto != ip_proto)
keys              102 include/linux/virtio_net.h 			skb_set_transport_header(skb, keys.control.thoff);
keys              185 include/net/bluetooth/mgmt.h 	struct	mgmt_link_key_info keys[0];
keys              208 include/net/bluetooth/mgmt.h 	struct	mgmt_ltk_info keys[0];
keys             4960 include/net/cfg80211.h 		struct cfg80211_cached_keys *keys;
keys              281 include/net/cfg802154.h 	struct list_head keys;
keys              305 include/net/cfg802154.h 	struct list_head keys;
keys              225 include/net/flow.h __u32 __get_hash_from_flowi6(const struct flowi6 *fl6, struct flow_keys *keys);
keys              315 include/net/flow_dissector.h static inline bool flow_keys_have_l4(const struct flow_keys *keys)
keys              317 include/net/flow_dissector.h 	return (keys->ports.ports || keys->tags.flow_label);
keys              320 include/net/flow_dissector.h u32 flow_hash_from_keys(struct flow_keys *keys);
keys               72 include/net/sctp/auth.h void sctp_auth_destroy_keys(struct list_head *keys);
keys              225 include/trace/events/bcache.h 	TP_PROTO(struct bio *bio, u32 keys),
keys              226 include/trace/events/bcache.h 	TP_ARGS(bio, keys),
keys              240 include/trace/events/bcache.h 		__entry->nr_keys	= keys;
keys              269 include/trace/events/bcache.h 		__field(unsigned,	keys			)
keys              275 include/trace/events/bcache.h 		__entry->keys	= b->keys.set[b->keys.nsets].data->keys;
keys              365 include/trace/events/bcache.h 	TP_PROTO(struct btree *b, unsigned keys),
keys              366 include/trace/events/bcache.h 	TP_ARGS(b, keys),
keys              370 include/trace/events/bcache.h 		__field(unsigned,	keys			)
keys              375 include/trace/events/bcache.h 		__entry->keys	= keys;
keys              378 include/trace/events/bcache.h 	TP_printk("bucket %zu keys %u", __entry->bucket, __entry->keys)
keys              382 include/trace/events/bcache.h 	TP_PROTO(struct btree *b, unsigned keys),
keys              383 include/trace/events/bcache.h 	TP_ARGS(b, keys)
keys              387 include/trace/events/bcache.h 	TP_PROTO(struct btree *b, unsigned keys),
keys              388 include/trace/events/bcache.h 	TP_ARGS(b, keys)
keys              205 include/uapi/linux/bcache.h 		__u16		keys;
keys              282 include/uapi/linux/bcache.h 	__u32			keys;
keys              356 include/uapi/linux/bcache.h 	__u32			keys;
keys              225 include/uapi/linux/pkt_cls.h 	struct tc_u32_key	keys[0];
keys               65 include/uapi/linux/tc_act/tc_pedit.h 	struct tc_pedit_key     keys[0];
keys               55 lib/test_static_keys.c static void invert_keys(struct test_key *keys, int size)
keys               61 lib/test_static_keys.c 		if (previous != keys[i].key) {
keys               62 lib/test_static_keys.c 			invert_key(keys[i].key);
keys               63 lib/test_static_keys.c 			previous = keys[i].key;
keys               68 lib/test_static_keys.c static int verify_keys(struct test_key *keys, int size, bool invert)
keys               74 lib/test_static_keys.c 		ret = static_key_enabled(keys[i].key);
keys               75 lib/test_static_keys.c 		init = keys[i].init_state;
keys               78 lib/test_static_keys.c 		ret = keys[i].test_key();
keys               79 lib/test_static_keys.c 		if (static_key_enabled(keys[i].key)) {
keys              181 net/bluetooth/hidp/core.c 	unsigned char *keys = session->keys;
keys              197 net/bluetooth/hidp/core.c 			if (keys[i] > 3 && memscan(udata + 2, keys[i], 6) == udata + 8) {
keys              198 net/bluetooth/hidp/core.c 				if (hidp_keycode[keys[i]])
keys              199 net/bluetooth/hidp/core.c 					input_report_key(dev, hidp_keycode[keys[i]], 0);
keys              201 net/bluetooth/hidp/core.c 					BT_ERR("Unknown key (scancode %#x) released.", keys[i]);
keys              204 net/bluetooth/hidp/core.c 			if (udata[i] > 3 && memscan(keys + 2, udata[i], 6) == keys + 8) {
keys              212 net/bluetooth/hidp/core.c 		memcpy(keys, udata, 8);
keys              171 net/bluetooth/hidp/hidp.h 	unsigned char keys[8];
keys             2304 net/bluetooth/mgmt.c 	expected_len = struct_size(cp, keys, key_count);
keys             2320 net/bluetooth/mgmt.c 		struct mgmt_link_key_info *key = &cp->keys[i];
keys             2342 net/bluetooth/mgmt.c 		struct mgmt_link_key_info *key = &cp->keys[i];
keys             5110 net/bluetooth/mgmt.c 	expected_len = struct_size(cp, keys, key_count);
keys             5121 net/bluetooth/mgmt.c 		struct mgmt_ltk_info *key = &cp->keys[i];
keys             5134 net/bluetooth/mgmt.c 		struct mgmt_ltk_info *key = &cp->keys[i];
keys              555 net/ceph/auth_x.c 		req->keys = cpu_to_le32(need);
keys               46 net/ceph/auth_x_protocol.h 	__le32 keys;
keys             1458 net/core/flow_dissector.c static inline void __flow_hash_consistentify(struct flow_keys *keys)
keys             1462 net/core/flow_dissector.c 	switch (keys->control.addr_type) {
keys             1464 net/core/flow_dissector.c 		addr_diff = (__force u32)keys->addrs.v4addrs.dst -
keys             1465 net/core/flow_dissector.c 			    (__force u32)keys->addrs.v4addrs.src;
keys             1468 net/core/flow_dissector.c 		     ((__force u16)keys->ports.dst <
keys             1469 net/core/flow_dissector.c 		      (__force u16)keys->ports.src))) {
keys             1470 net/core/flow_dissector.c 			swap(keys->addrs.v4addrs.src, keys->addrs.v4addrs.dst);
keys             1471 net/core/flow_dissector.c 			swap(keys->ports.src, keys->ports.dst);
keys             1475 net/core/flow_dissector.c 		addr_diff = memcmp(&keys->addrs.v6addrs.dst,
keys             1476 net/core/flow_dissector.c 				   &keys->addrs.v6addrs.src,
keys             1477 net/core/flow_dissector.c 				   sizeof(keys->addrs.v6addrs.dst));
keys             1480 net/core/flow_dissector.c 		     ((__force u16)keys->ports.dst <
keys             1481 net/core/flow_dissector.c 		      (__force u16)keys->ports.src))) {
keys             1483 net/core/flow_dissector.c 				swap(keys->addrs.v6addrs.src.s6_addr32[i],
keys             1484 net/core/flow_dissector.c 				     keys->addrs.v6addrs.dst.s6_addr32[i]);
keys             1485 net/core/flow_dissector.c 			swap(keys->ports.src, keys->ports.dst);
keys             1491 net/core/flow_dissector.c static inline u32 __flow_hash_from_keys(struct flow_keys *keys,
keys             1496 net/core/flow_dissector.c 	__flow_hash_consistentify(keys);
keys             1498 net/core/flow_dissector.c 	hash = siphash(flow_keys_hash_start(keys),
keys             1499 net/core/flow_dissector.c 		       flow_keys_hash_length(keys), keyval);
keys             1506 net/core/flow_dissector.c u32 flow_hash_from_keys(struct flow_keys *keys)
keys             1509 net/core/flow_dissector.c 	return __flow_hash_from_keys(keys, &hashrnd);
keys             1514 net/core/flow_dissector.c 				  struct flow_keys *keys,
keys             1517 net/core/flow_dissector.c 	skb_flow_dissect_flow_keys(skb, keys,
keys             1520 net/core/flow_dissector.c 	return __flow_hash_from_keys(keys, keyval);
keys             1554 net/core/flow_dissector.c 	struct flow_keys keys;
keys             1558 net/core/flow_dissector.c 	memset(&keys, 0, sizeof(keys));
keys             1560 net/core/flow_dissector.c 			   &keys, NULL, 0, 0, 0,
keys             1563 net/core/flow_dissector.c 	return __flow_hash_from_keys(&keys, &hashrnd);
keys             1578 net/core/flow_dissector.c 	struct flow_keys keys;
keys             1583 net/core/flow_dissector.c 	hash = ___skb_get_hash(skb, &keys, &hashrnd);
keys             1585 net/core/flow_dissector.c 	__skb_set_sw_hash(skb, hash, flow_keys_have_l4(&keys));
keys             1592 net/core/flow_dissector.c 	struct flow_keys keys;
keys             1594 net/core/flow_dissector.c 	return ___skb_get_hash(skb, &keys, perturb);
keys             1599 net/core/flow_dissector.c 		   const struct flow_keys_basic *keys, int hlen)
keys             1601 net/core/flow_dissector.c 	u32 poff = keys->control.thoff;
keys             1604 net/core/flow_dissector.c 	if ((keys->control.flags & FLOW_DIS_IS_FRAGMENT) &&
keys             1605 net/core/flow_dissector.c 	    !(keys->control.flags & FLOW_DIS_FIRST_FRAG))
keys             1608 net/core/flow_dissector.c 	switch (keys->basic.ip_proto) {
keys             1660 net/core/flow_dissector.c 	struct flow_keys_basic keys;
keys             1662 net/core/flow_dissector.c 	if (!skb_flow_dissect_flow_keys_basic(NULL, skb, &keys,
keys             1666 net/core/flow_dissector.c 	return __skb_get_poff(skb, skb->data, &keys, skb_headlen(skb));
keys             1669 net/core/flow_dissector.c __u32 __get_hash_from_flowi6(const struct flowi6 *fl6, struct flow_keys *keys)
keys             1671 net/core/flow_dissector.c 	memset(keys, 0, sizeof(*keys));
keys             1673 net/core/flow_dissector.c 	memcpy(&keys->addrs.v6addrs.src, &fl6->saddr,
keys             1674 net/core/flow_dissector.c 	    sizeof(keys->addrs.v6addrs.src));
keys             1675 net/core/flow_dissector.c 	memcpy(&keys->addrs.v6addrs.dst, &fl6->daddr,
keys             1676 net/core/flow_dissector.c 	    sizeof(keys->addrs.v6addrs.dst));
keys             1677 net/core/flow_dissector.c 	keys->control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
keys             1678 net/core/flow_dissector.c 	keys->ports.src = fl6->fl6_sport;
keys             1679 net/core/flow_dissector.c 	keys->ports.dst = fl6->fl6_dport;
keys             1680 net/core/flow_dissector.c 	keys->keyid.keyid = fl6->fl6_gre_key;
keys             1681 net/core/flow_dissector.c 	keys->tags.flow_label = (__force u32)flowi6_get_flowlabel(fl6);
keys             1682 net/core/flow_dissector.c 	keys->basic.ip_proto = fl6->flowi6_proto;
keys             1684 net/core/flow_dissector.c 	return flow_hash_from_keys(keys);
keys              129 net/ethernet/eth.c 	struct flow_keys_basic keys;
keys              136 net/ethernet/eth.c 	if (!skb_flow_dissect_flow_keys_basic(dev_net(dev), NULL, &keys, data,
keys              139 net/ethernet/eth.c 		return max_t(u32, keys.control.thoff, sizeof(*eth));
keys              142 net/ethernet/eth.c 	return min_t(u32, __skb_get_poff(NULL, data, &keys, len), len);
keys              953 net/ieee802154/nl-mac.c 	list_for_each_entry(pos, &data->table->keys, list) {
keys             1194 net/ieee802154/nl-mac.c 		list_for_each_entry(kpos, &dpos->keys, list) {
keys             1521 net/ieee802154/nl802154.c 	list_for_each_entry(key, &table->keys, list) {
keys             1858 net/ieee802154/nl802154.c 		list_for_each_entry(kpos, &dpos->keys, list) {
keys             1938 net/ipv4/route.c 			struct flow_keys keys;
keys             1947 net/ipv4/route.c 				skb_flow_dissect_flow_keys(skb, &keys, flag);
keys             1948 net/ipv4/route.c 				flkeys = &keys;
keys             1971 net/ipv4/route.c 			struct flow_keys keys;
keys             1973 net/ipv4/route.c 			skb_flow_dissect_flow_keys(skb, &keys, 0);
keys             1975 net/ipv4/route.c 			if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
keys             1977 net/ipv4/route.c 				hash_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src;
keys             1978 net/ipv4/route.c 				hash_keys.addrs.v4addrs.dst = keys.addrs.v4addrs.dst;
keys             1979 net/ipv4/route.c 			} else if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
keys             1981 net/ipv4/route.c 				hash_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src;
keys             1982 net/ipv4/route.c 				hash_keys.addrs.v6addrs.dst = keys.addrs.v6addrs.dst;
keys             1983 net/ipv4/route.c 				hash_keys.tags.flow_label = keys.tags.flow_label;
keys             1984 net/ipv4/route.c 				hash_keys.basic.ip_proto = keys.basic.ip_proto;
keys             2303 net/ipv6/route.c 				  struct flow_keys *keys,
keys             2338 net/ipv6/route.c 		keys->addrs.v6addrs.src = _flkeys->addrs.v6addrs.src;
keys             2339 net/ipv6/route.c 		keys->addrs.v6addrs.dst = _flkeys->addrs.v6addrs.dst;
keys             2340 net/ipv6/route.c 		keys->tags.flow_label = _flkeys->tags.flow_label;
keys             2341 net/ipv6/route.c 		keys->basic.ip_proto = _flkeys->basic.ip_proto;
keys             2343 net/ipv6/route.c 		keys->addrs.v6addrs.src = key_iph->saddr;
keys             2344 net/ipv6/route.c 		keys->addrs.v6addrs.dst = key_iph->daddr;
keys             2345 net/ipv6/route.c 		keys->tags.flow_label = ip6_flowlabel(key_iph);
keys             2346 net/ipv6/route.c 		keys->basic.ip_proto = key_iph->nexthdr;
keys             2373 net/ipv6/route.c 			struct flow_keys keys;
keys             2382 net/ipv6/route.c 				skb_flow_dissect_flow_keys(skb, &keys, flag);
keys             2383 net/ipv6/route.c 				flkeys = &keys;
keys             2405 net/ipv6/route.c 			struct flow_keys keys;
keys             2408 net/ipv6/route.c 				skb_flow_dissect_flow_keys(skb, &keys, 0);
keys             2409 net/ipv6/route.c 				flkeys = &keys;
keys              525 net/mac80211/cfg.c 		key = key_mtx_dereference(local, sdata->keys[key_idx]);
keys              574 net/mac80211/cfg.c 		key = rcu_dereference(sdata->keys[key_idx]);
keys              423 net/mac80211/debugfs.c 	local->debugfs.keys = debugfs_create_dir("keys", phyd);
keys              333 net/mac80211/debugfs_key.c 	if (!key->local->debugfs.keys)
keys              340 net/mac80211/debugfs_key.c 					key->local->debugfs.keys);
keys              907 net/mac80211/ieee80211_i.h 	struct ieee80211_key __rcu *keys[NUM_DEFAULT_KEYS + NUM_DEFAULT_MGMT_KEYS];
keys             1382 net/mac80211/ieee80211_i.h 		struct dentry *keys;
keys              355 net/mac80211/key.c 		key = key_mtx_dereference(sdata->local, sdata->keys[idx]);
keys              387 net/mac80211/key.c 		key = key_mtx_dereference(sdata->local, sdata->keys[idx]);
keys              480 net/mac80211/key.c 		rcu_assign_pointer(sdata->keys[idx], new);
keys              795 net/mac80211/key.c 		old_key = key_mtx_dereference(sdata->local, sdata->keys[idx]);
keys              961 net/mac80211/key.c 				      struct list_head *keys)
keys              975 net/mac80211/key.c 		list_add_tail(&key->list, keys);
keys              988 net/mac80211/key.c 	LIST_HEAD(keys);
keys              994 net/mac80211/key.c 	ieee80211_free_keys_iface(sdata, &keys);
keys              998 net/mac80211/key.c 			ieee80211_free_keys_iface(vlan, &keys);
keys             1001 net/mac80211/key.c 	if (!list_empty(&keys) || force_synchronize)
keys             1003 net/mac80211/key.c 	list_for_each_entry_safe(key, tmp, &keys, list)
keys             1959 net/mac80211/rx.c 			rx->key = rcu_dereference(rx->sdata->keys[mmie_keyidx]);
keys             1985 net/mac80211/rx.c 					key = rcu_dereference(sdata->keys[i]);
keys             2019 net/mac80211/rx.c 			rx->key = rcu_dereference(rx->sdata->keys[keyidx]);
keys               35 net/mac802154/llsec.c 	INIT_LIST_HEAD(&sec->table.keys);
keys               63 net/mac802154/llsec.c 	list_for_each_entry_safe(key, kn, &sec->table.keys, list) {
keys              223 net/mac802154/llsec.c 	list_for_each_entry(pos, &sec->table.keys, list) {
keys              259 net/mac802154/llsec.c 	list_add_rcu(&new->list, &sec->table.keys);
keys              273 net/mac802154/llsec.c 	list_for_each_entry(pos, &sec->table.keys, list) {
keys              339 net/mac802154/llsec.c 	list_for_each_entry_safe(pos, pn, &dev->dev.keys, list) {
keys              370 net/mac802154/llsec.c 	INIT_LIST_HEAD(&entry->dev.keys);
keys              410 net/mac802154/llsec.c 	list_for_each_entry_rcu(devkey, &dev->dev.keys, list) {
keys              441 net/mac802154/llsec.c 	list_add_tail_rcu(&devkey->devkey.list, &dev->dev.keys);
keys              562 net/mac802154/llsec.c 	list_for_each_entry_rcu(key_entry, &sec->table.keys, list) {
keys              927 net/mac802154/llsec.c 			list_add_rcu(&next->devkey.list, &dev->dev.keys);
keys               83 net/openvswitch/actions.c 	struct action_flow_keys *keys = this_cpu_ptr(flow_keys);
keys               88 net/openvswitch/actions.c 		key = &keys->key[level - 1];
keys              145 net/sched/act_pedit.c 	struct tc_pedit_key *keys = NULL;
keys              219 net/sched/act_pedit.c 		keys = kmalloc(ksize, GFP_ATOMIC);
keys              220 net/sched/act_pedit.c 		if (!keys) {
keys              226 net/sched/act_pedit.c 		p->tcfp_keys = keys;
keys              229 net/sched/act_pedit.c 	memcpy(p->tcfp_keys, parm->keys, ksize);
keys              258 net/sched/act_pedit.c 	struct tc_pedit_key *keys = p->tcfp_keys;
keys              260 net/sched/act_pedit.c 	kfree(keys);
keys              420 net/sched/act_pedit.c 	s = struct_size(opt, keys, p->tcfp_nkeys);
keys              428 net/sched/act_pedit.c 	memcpy(opt->keys, p->tcfp_keys,
keys              306 net/sched/cls_flow.c 		u32 keys[FLOW_KEY_MAX + 1];
keys              319 net/sched/cls_flow.c 			keys[n] = flow_key_get(skb, key, &flow_keys);
keys              323 net/sched/cls_flow.c 			classid = jhash2(keys, f->nkeys, f->hashrnd);
keys              325 net/sched/cls_flow.c 			classid = keys[0];
keys             1303 net/sched/cls_flower.c #define FL_KEY_SET(keys, cnt, id, member)					\
keys             1305 net/sched/cls_flower.c 		keys[cnt].key_id = id;						\
keys             1306 net/sched/cls_flower.c 		keys[cnt].offset = FL_KEY_MEMBER_OFFSET(member);		\
keys             1310 net/sched/cls_flower.c #define FL_KEY_SET_IF_MASKED(mask, keys, cnt, id, member)			\
keys             1313 net/sched/cls_flower.c 			FL_KEY_SET(keys, cnt, id, member);			\
keys             1319 net/sched/cls_flower.c 	struct flow_dissector_key keys[FLOW_DISSECTOR_KEY_MAX];
keys             1322 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1324 net/sched/cls_flower.c 	FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_CONTROL, control);
keys             1325 net/sched/cls_flower.c 	FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_BASIC, basic);
keys             1326 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1328 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1330 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1332 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1334 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1336 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1338 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1340 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1342 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1344 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1346 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1348 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1350 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1352 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1354 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1358 net/sched/cls_flower.c 		FL_KEY_SET(keys, cnt, FLOW_DISSECTOR_KEY_ENC_CONTROL,
keys             1360 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1362 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1364 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1366 net/sched/cls_flower.c 	FL_KEY_SET_IF_MASKED(mask, keys, cnt,
keys             1369 net/sched/cls_flower.c 	skb_flow_dissector_init(dissector, keys, cnt);
keys              127 net/sched/cls_u32.c 		struct tc_u32_key *key = n->sel.keys;
keys              833 net/sched/cls_u32.c 	memcpy(&new->sel, s, struct_size(s, keys, s->nkeys));
keys             1021 net/sched/cls_u32.c 	sel_size = struct_size(s, keys, s->nkeys);
keys              588 net/sched/sch_cake.c static void cake_update_flowkeys(struct flow_keys *keys,
keys              601 net/sched/sch_cake.c 	keys->addrs.v4addrs.src = rev ? tuple.dst.u3.ip : tuple.src.u3.ip;
keys              602 net/sched/sch_cake.c 	keys->addrs.v4addrs.dst = rev ? tuple.src.u3.ip : tuple.dst.u3.ip;
keys              604 net/sched/sch_cake.c 	if (keys->ports.ports) {
keys              605 net/sched/sch_cake.c 		keys->ports.src = rev ? tuple.dst.u.all : tuple.src.u.all;
keys              606 net/sched/sch_cake.c 		keys->ports.dst = rev ? tuple.src.u.all : tuple.dst.u.all;
keys              630 net/sched/sch_cake.c 	struct flow_keys keys, host_keys;
keys              640 net/sched/sch_cake.c 	skb_flow_dissect_flow_keys(skb, &keys,
keys              644 net/sched/sch_cake.c 		cake_update_flowkeys(&keys, skb);
keys              650 net/sched/sch_cake.c 	host_keys = keys;
keys              660 net/sched/sch_cake.c 		host_keys.addrs.v4addrs.src = keys.addrs.v4addrs.src;
keys              669 net/sched/sch_cake.c 		host_keys.addrs.v6addrs.src = keys.addrs.v6addrs.src;
keys              684 net/sched/sch_cake.c 		flow_hash = flow_hash_from_keys(&keys);
keys              136 net/sched/sch_choke.c 	struct			flow_keys_digest keys;
keys              166 net/sched/sch_choke.c 		make_flow_keys_digest(&choke_skb_cb(skb1)->keys, &temp);
keys              172 net/sched/sch_choke.c 		make_flow_keys_digest(&choke_skb_cb(skb2)->keys, &temp);
keys              175 net/sched/sch_choke.c 	return !memcmp(&choke_skb_cb(skb1)->keys,
keys              176 net/sched/sch_choke.c 		       &choke_skb_cb(skb2)->keys,
keys              177 net/sched/sch_choke.c 		       sizeof(choke_skb_cb(skb1)->keys));
keys               53 net/sctp/auth.c 		SCTP_DBG_OBJCNT_DEC(keys);
keys               73 net/sctp/auth.c 	SCTP_DBG_OBJCNT_INC(keys);
keys              118 net/sctp/auth.c void sctp_auth_destroy_keys(struct list_head *keys)
keys              123 net/sctp/auth.c 	if (list_empty(keys))
keys              126 net/sctp/auth.c 	key_for_each_safe(ep_key, tmp, keys) {
keys               40 net/sctp/objcnt.c SCTP_DBG_OBJCNT(keys);
keys               55 net/sctp/objcnt.c 	SCTP_DBG_OBJCNT_ENTRY(keys),
keys             1104 net/wireless/core.c 	kzfree(wdev->wext.keys);
keys             1105 net/wireless/core.c 	wdev->wext.keys = NULL;
keys              289 net/wireless/ibss.c 	if (wdev->wext.keys)
keys              290 net/wireless/ibss.c 		wdev->wext.keys->def = wdev->wext.default_key;
keys              294 net/wireless/ibss.c 	if (wdev->wext.keys && wdev->wext.keys->def != -1) {
keys              295 net/wireless/ibss.c 		ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL);
keys             1198 net/wireless/nl80211.c 	struct nlattr *keys = info->attrs[NL80211_ATTR_KEYS];
keys             1205 net/wireless/nl80211.c 	nla_for_each_nested(key, keys, rem) {
keys             1219 net/wireless/nl80211.c 	nla_for_each_nested(key, keys, rem) {
keys              412 net/wireless/wext-compat.c 	if (!wdev->wext.keys) {
keys              413 net/wireless/wext-compat.c 		wdev->wext.keys = kzalloc(sizeof(*wdev->wext.keys),
keys              415 net/wireless/wext-compat.c 		if (!wdev->wext.keys)
keys              418 net/wireless/wext-compat.c 			wdev->wext.keys->params[i].key =
keys              419 net/wireless/wext-compat.c 				wdev->wext.keys->data[i];
keys              467 net/wireless/wext-compat.c 				memset(wdev->wext.keys->data[idx], 0,
keys              468 net/wireless/wext-compat.c 				       sizeof(wdev->wext.keys->data[idx]));
keys              469 net/wireless/wext-compat.c 				wdev->wext.keys->params[idx].key_len = 0;
keys              470 net/wireless/wext-compat.c 				wdev->wext.keys->params[idx].cipher = 0;
keys              506 net/wireless/wext-compat.c 		wdev->wext.keys->params[idx] = *params;
keys              507 net/wireless/wext-compat.c 		memcpy(wdev->wext.keys->data[idx],
keys              509 net/wireless/wext-compat.c 		wdev->wext.keys->params[idx].key =
keys              510 net/wireless/wext-compat.c 			wdev->wext.keys->data[idx];
keys              738 net/wireless/wext-compat.c 	if (!wdev->wext.keys || !wdev->wext.keys->params[idx].cipher) {
keys              745 net/wireless/wext-compat.c 			    wdev->wext.keys->params[idx].key_len);
keys              746 net/wireless/wext-compat.c 	memcpy(keybuf, wdev->wext.keys->params[idx].key, erq->length);
keys               37 net/wireless/wext-sme.c 	if (wdev->wext.keys) {
keys               38 net/wireless/wext-sme.c 		wdev->wext.keys->def = wdev->wext.default_key;
keys               46 net/wireless/wext-sme.c 	if (wdev->wext.keys && wdev->wext.keys->def != -1) {
keys               47 net/wireless/wext-sme.c 		ck = kmemdup(wdev->wext.keys, sizeof(*ck), GFP_KERNEL);
keys              171 samples/bpf/test_lru_dist.c 			      unsigned long long **keys)
keys              203 samples/bpf/test_lru_dist.c 	*keys = retkeys;
keys              220 scripts/kconfig/lxdialog/dialog.h 		   int initial_width, int *keys, int *_vscroll, int *_hscroll,
keys               44 scripts/kconfig/lxdialog/textbox.c 		   int initial_width, int *keys, int *_vscroll, int *_hscroll,
keys              237 scripts/kconfig/lxdialog/textbox.c 			for (i = 0; keys[i]; i++) {
keys              238 scripts/kconfig/lxdialog/textbox.c 				if (key == keys[i]) {
keys              289 scripts/kconfig/mconf.c 			    int *keys, int *vscroll, int *hscroll,
keys              360 scripts/kconfig/mconf.c 	int *keys;
keys              377 scripts/kconfig/mconf.c 				data->keys[k] = key;
keys              387 scripts/kconfig/mconf.c 	data->keys[k] = 0;
keys              435 scripts/kconfig/mconf.c 		int keys[JUMP_NB + 1], i;
keys              439 scripts/kconfig/mconf.c 			.keys = keys,
keys              446 scripts/kconfig/mconf.c 					str_get(&res), 0, 0, keys, &vscroll,
keys              450 scripts/kconfig/mconf.c 		for (i = 0; i < JUMP_NB && keys[i]; i++)
keys              451 scripts/kconfig/mconf.c 			if (dres == keys[i]) {
keys              755 scripts/kconfig/mconf.c 			    *keys, int *vscroll, int *hscroll, update_text_fn
keys              759 scripts/kconfig/mconf.c 	return dialog_textbox(title, text, r, c, keys, vscroll, hscroll,
keys              122 security/keys/gc.c static noinline void key_gc_unused_keys(struct list_head *keys)
keys              124 security/keys/gc.c 	while (!list_empty(keys)) {
keys              126 security/keys/gc.c 			list_entry(keys->next, struct key, graveyard_link);
keys              143 security/keys/keyring.c 	assoc_array_init(&keyring->keys);
keys              431 security/keys/keyring.c 	assoc_array_destroy(&keyring->keys, &keyring_assoc_array_ops);
keys              445 security/keys/keyring.c 		if (keyring->keys.nr_leaves_on_tree != 0)
keys              446 security/keys/keyring.c 			seq_printf(m, ": %lu", keyring->keys.nr_leaves_on_tree);
keys              497 security/keys/keyring.c 		ret = assoc_array_iterate(&keyring->keys,
keys              506 security/keys/keyring.c 	ret = keyring->keys.nr_leaves_on_tree * sizeof(key_serial_t);
keys              651 security/keys/keyring.c 		object = assoc_array_find(&keyring->keys,
keys              656 security/keys/keyring.c 	return assoc_array_iterate(&keyring->keys, ctx->iterator, ctx);
keys              732 security/keys/keyring.c 	ptr = READ_ONCE(keyring->keys.root);
keys             1107 security/keys/keyring.c 	object = assoc_array_find(&keyring->keys, &keyring_assoc_array_ops,
keys             1312 security/keys/keyring.c 	edit = assoc_array_insert(&keyring->keys,
keys             1487 security/keys/keyring.c 	edit = assoc_array_delete(&keyring->keys, &keyring_assoc_array_ops,
keys             1652 security/keys/keyring.c 	edit = assoc_array_clear(&keyring->keys, &keyring_assoc_array_ops);
keys             1676 security/keys/keyring.c 	edit = assoc_array_clear(&keyring->keys, &keyring_assoc_array_ops);
keys             1722 security/keys/keyring.c 	result = assoc_array_iterate(&keyring->keys,
keys             1734 security/keys/keyring.c 	assoc_array_gc(&keyring->keys, &keyring_assoc_array_ops,
keys              183 tools/include/uapi/linux/pkt_cls.h 	struct tc_u32_key	keys[0];
keys              486 tools/perf/builtin-kvm.c static struct kvm_event_key keys[] = {
keys              496 tools/perf/builtin-kvm.c 	for (i = 0; keys[i].name; i++) {
keys              497 tools/perf/builtin-kvm.c 		if (!strcmp(keys[i].name, kvm->sort_key)) {
keys              498 tools/perf/builtin-kvm.c 			kvm->compare = keys[i].key;
keys              253 tools/perf/builtin-lock.c struct lock_key keys[] = {
keys              270 tools/perf/builtin-lock.c 	for (i = 0; keys[i].name; i++) {
keys              271 tools/perf/builtin-lock.c 		if (!strcmp(keys[i].name, sort_key)) {
keys              272 tools/perf/builtin-lock.c 			compare = keys[i].key;
keys             2797 tools/perf/util/sort.c static char *setup_overhead(char *keys)
keys             2800 tools/perf/util/sort.c 		return keys;
keys             2802 tools/perf/util/sort.c 	keys = prefix_if_not_in("overhead", keys);
keys             2805 tools/perf/util/sort.c 		keys = prefix_if_not_in("overhead_children", keys);
keys             2807 tools/perf/util/sort.c 	return keys;
keys               17 tools/testing/selftests/bpf/flow_dissector_load.h 	struct bpf_map *prog_array, *keys;
keys               43 tools/testing/selftests/bpf/flow_dissector_load.h 		keys = bpf_object__find_map_by_name(*obj, keys_map_name);
keys               44 tools/testing/selftests/bpf/flow_dissector_load.h 		if (!keys)
keys               47 tools/testing/selftests/bpf/flow_dissector_load.h 		*keys_fd = bpf_map__fd(keys);
keys               97 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 	struct bpf_flow_keys keys;
keys              115 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              135 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              157 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              179 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              202 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              228 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              249 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              275 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              297 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              319 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              346 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              374 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		.keys = {
keys              480 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		CHECK_FLOW_KEYS(tests[i].name, flow_keys, tests[i].keys);
keys              503 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		__u32 key = (__u32)(tests[i].keys.sport) << 16 |
keys              504 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			    tests[i].keys.dport;
keys              520 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 		CHECK_FLOW_KEYS(tests[i].name, flow_keys, tests[i].keys);
keys               74 tools/testing/selftests/bpf/progs/bpf_flow.c static __always_inline int export_flow_keys(struct bpf_flow_keys *keys,
keys               77 tools/testing/selftests/bpf/progs/bpf_flow.c 	__u32 key = (__u32)(keys->sport) << 16 | keys->dport;
keys               80 tools/testing/selftests/bpf/progs/bpf_flow.c 	memcpy(&val, keys, sizeof(val));
keys              117 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              136 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              139 tools/testing/selftests/bpf/progs/bpf_flow.c 	return export_flow_keys(keys, BPF_DROP);
keys              145 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              147 tools/testing/selftests/bpf/progs/bpf_flow.c 	return parse_eth_proto(skb, keys->n_proto);
keys              153 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              165 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              166 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_OK);
keys              168 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->is_encap = true;
keys              169 tools/testing/selftests/bpf/progs/bpf_flow.c 		if (keys->flags & BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP)
keys              170 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_OK);
keys              174 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->is_encap = true;
keys              175 tools/testing/selftests/bpf/progs/bpf_flow.c 		if (keys->flags & BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP)
keys              176 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_OK);
keys              182 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              186 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_OK);
keys              188 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */
keys              190 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over chksum and Padding */
keys              192 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over key */
keys              194 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over sequence number */
keys              196 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->is_encap = true;
keys              197 tools/testing/selftests/bpf/progs/bpf_flow.c 		if (keys->flags & BPF_FLOW_DISSECTOR_F_STOP_AT_ENCAP)
keys              198 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_OK);
keys              204 tools/testing/selftests/bpf/progs/bpf_flow.c 				return export_flow_keys(keys, BPF_DROP);
keys              206 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += sizeof(*eth);
keys              215 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              218 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              221 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              223 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->sport = tcp->source;
keys              224 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->dport = tcp->dest;
keys              225 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_OK);
keys              230 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              232 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->sport = udp->source;
keys              233 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->dport = udp->dest;
keys              234 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_OK);
keys              236 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              239 tools/testing/selftests/bpf/progs/bpf_flow.c 	return export_flow_keys(keys, BPF_DROP);
keys              244 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              258 tools/testing/selftests/bpf/progs/bpf_flow.c 	return export_flow_keys(keys, BPF_DROP);
keys              264 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              271 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              275 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              277 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->addr_proto = ETH_P_IP;
keys              278 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ipv4_src = iph->saddr;
keys              279 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ipv4_dst = iph->daddr;
keys              280 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ip_proto = iph->protocol;
keys              282 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += iph->ihl << 2;
keys              283 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (data + keys->thoff > data_end)
keys              284 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              287 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->is_frag = true;
keys              294 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->is_first_frag = true;
keys              298 tools/testing/selftests/bpf/progs/bpf_flow.c 			if (!(keys->flags &
keys              305 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_OK);
keys              312 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              317 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              319 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->addr_proto = ETH_P_IPV6;
keys              320 tools/testing/selftests/bpf/progs/bpf_flow.c 	memcpy(&keys->ipv6_src, &ip6h->saddr, 2*sizeof(ip6h->saddr));
keys              322 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(struct ipv6hdr);
keys              323 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ip_proto = ip6h->nexthdr;
keys              324 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->flow_label = ip6_flowlabel(ip6h);
keys              326 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (keys->flags & BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL)
keys              327 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_OK);
keys              334 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              339 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              344 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += (1 + ip6h->hdrlen) << 3;
keys              345 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ip_proto = ip6h->nexthdr;
keys              352 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              357 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              359 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(*fragh);
keys              360 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->is_frag = true;
keys              361 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->ip_proto = fragh->nexthdr;
keys              364 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->is_first_frag = true;
keys              369 tools/testing/selftests/bpf/progs/bpf_flow.c 		if (!(keys->flags & BPF_FLOW_DISSECTOR_F_PARSE_1ST_FRAG))
keys              370 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_OK);
keys              378 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              383 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              385 tools/testing/selftests/bpf/progs/bpf_flow.c 	return export_flow_keys(keys, BPF_OK);
keys              390 tools/testing/selftests/bpf/progs/bpf_flow.c 	struct bpf_flow_keys *keys = skb->flow_keys;
keys              394 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (keys->n_proto == bpf_htons(ETH_P_8021AD)) {
keys              397 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              400 tools/testing/selftests/bpf/progs/bpf_flow.c 			return export_flow_keys(keys, BPF_DROP);
keys              402 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->nhoff += sizeof(*vlan);
keys              403 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->thoff += sizeof(*vlan);
keys              408 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              410 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->nhoff += sizeof(*vlan);
keys              411 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(*vlan);
keys              415 tools/testing/selftests/bpf/progs/bpf_flow.c 		return export_flow_keys(keys, BPF_DROP);
keys              417 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->n_proto = vlan->h_vlan_encapsulated_proto;
keys               51 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void get_keys(int fd, uint32_t *keys)
keys               57 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		if (getsockopt(fd, SOL_TCP, TCP_FASTOPEN_KEY, keys, &len))
keys               64 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	if (sscanf(buf, "%x-%x-%x-%x,%x-%x-%x-%x", keys, keys + 1, keys + 2,
keys               65 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	    keys + 3, keys + 4, keys + 5, keys + 6, keys + 7) != 8)
keys               69 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void set_keys(int fd, uint32_t *keys)
keys               74 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		if (setsockopt(fd, SOL_TCP, TCP_FASTOPEN_KEY, keys,
keys               81 tools/testing/selftests/net/tcp_fastopen_backup_key.c 			 keys[0], keys[1], keys[2], keys[3], keys[4], keys[5],
keys               82 tools/testing/selftests/net/tcp_fastopen_backup_key.c 			 keys[6], keys[7]);
keys               85 tools/testing/selftests/net/tcp_fastopen_backup_key.c 			 keys[0], keys[1], keys[2], keys[3]);
keys               98 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	uint32_t keys[8];
keys              123 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	for (i = 0; i < ARRAY_SIZE(keys); i++)
keys              124 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		keys[i] = rand();
keys              137 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		set_keys(rcv_fds[i], keys);
keys              217 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	uint32_t keys[8];
keys              227 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		get_keys(fd, keys);
keys              228 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		memcpy(keys + 4, new_key, KEY_LENGTH);
keys              229 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		set_keys(fd, keys);
keys              232 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		get_keys(fd, keys);
keys              233 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		memcpy(tmp_key, keys + 4, KEY_LENGTH);
keys              234 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		memcpy(keys + 4, keys, KEY_LENGTH);
keys              235 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		memcpy(keys, tmp_key, KEY_LENGTH);
keys              236 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		set_keys(fd, keys);