index_key          75 fs/fscache/cookie.c 			   const void *index_key, size_t index_key_len)
index_key          93 fs/fscache/cookie.c 	memcpy(buf, index_key, index_key_len);
index_key         138 fs/fscache/cookie.c 	const void *index_key, size_t index_key_len,
index_key         153 fs/fscache/cookie.c 	if (fscache_set_key(cookie, index_key, index_key_len) < 0)
index_key         252 fs/fscache/cookie.c 	const void *index_key, size_t index_key_len,
index_key         266 fs/fscache/cookie.c 	if (!index_key || !index_key_len || index_key_len > 255 || aux_data_len > 255)
index_key         289 fs/fscache/cookie.c 					 index_key, index_key_len,
index_key          32 include/linux/assoc_array.h 	unsigned long (*get_key_chunk)(const void *index_key, int level);
index_key          38 include/linux/assoc_array.h 	bool (*compare_object)(const void *object, const void *index_key);
index_key          43 include/linux/assoc_array.h 	int (*diff_objects)(const void *object, const void *index_key);
index_key          66 include/linux/assoc_array.h 			      const void *index_key);
index_key          71 include/linux/assoc_array.h 						   const void *index_key,
index_key          77 include/linux/assoc_array.h 						   const void *index_key);
index_key          68 include/linux/assoc_array_priv.h 	unsigned long		index_key[];
index_key         325 include/linux/fscache.h 	const void *index_key,
index_key         335 include/linux/fscache.h 						index_key, index_key_len,
index_key         220 include/linux/key.h 		struct keyring_index_key index_key;
index_key         172 lib/assoc_array.c 		 const void *index_key,
index_key         199 lib/assoc_array.c 	segments = ops->get_key_chunk(index_key, level);
index_key         253 lib/assoc_array.c 			segments = ops->get_key_chunk(index_key, sc_level);
index_key         255 lib/assoc_array.c 		sc_segments = shortcut->index_key[sc_level >> ASSOC_ARRAY_KEY_CHUNK_SHIFT];
index_key         306 lib/assoc_array.c 		       const void *index_key)
index_key         314 lib/assoc_array.c 	if (assoc_array_walk(array, ops, index_key, &result) !=
index_key         331 lib/assoc_array.c 			if (ops->compare_object(leaf, index_key))
index_key         476 lib/assoc_array.c 						  const void *index_key,
index_key         512 lib/assoc_array.c 					index_key)) {
index_key         732 lib/assoc_array.c 					  index_key);
index_key         764 lib/assoc_array.c 		new_s0->index_key[i] =
index_key         765 lib/assoc_array.c 			ops->get_key_chunk(index_key, i * ASSOC_ARRAY_KEY_CHUNK_SIZE);
index_key         770 lib/assoc_array.c 		new_s0->index_key[keylen - 1] &= ~blank;
index_key         784 lib/assoc_array.c 	base_seg = ops->get_key_chunk(index_key, level);
index_key         866 lib/assoc_array.c 		memcpy(new_s0->index_key, shortcut->index_key,
index_key         871 lib/assoc_array.c 		new_s0->index_key[keylen - 1] &= ~blank;
index_key         915 lib/assoc_array.c 		memcpy(new_s1->index_key, shortcut->index_key,
index_key         966 lib/assoc_array.c 					    const void *index_key,
index_key         989 lib/assoc_array.c 	switch (assoc_array_walk(array, ops, index_key, &result)) {
index_key        1001 lib/assoc_array.c 		if (!assoc_array_insert_into_terminal_node(edit, ops, index_key,
index_key        1081 lib/assoc_array.c 					    const void *index_key)
index_key        1100 lib/assoc_array.c 	switch (assoc_array_walk(array, ops, index_key, &result)) {
index_key        1113 lib/assoc_array.c 						index_key))
index_key         336 net/rxrpc/ar-internal.h 		u64		index_key;
index_key          44 net/rxrpc/conn_service.c 			if (conn->proto.index_key < k.index_key)
index_key          46 net/rxrpc/conn_service.c 			else if (conn->proto.index_key > k.index_key)
index_key          79 net/rxrpc/conn_service.c 		if (cursor->proto.index_key < k.index_key)
index_key          81 net/rxrpc/conn_service.c 		else if (cursor->proto.index_key > k.index_key)
index_key          90 security/keys/internal.h extern void key_set_index_key(struct keyring_index_key *index_key);
index_key          95 security/keys/internal.h 			   const struct keyring_index_key *index_key);
index_key          97 security/keys/internal.h 			   const struct keyring_index_key *index_key);
index_key          99 security/keys/internal.h 			    const struct keyring_index_key *index_key,
index_key         104 security/keys/internal.h 			   const struct keyring_index_key *index_key,
index_key         108 security/keys/internal.h 				    const struct keyring_index_key *index_key);
index_key         118 security/keys/internal.h 	struct keyring_index_key index_key;
index_key         280 security/keys/key.c 	key->index_key.desc_len = desclen;
index_key         281 security/keys/key.c 	key->index_key.description = kmemdup(desc, desclen + 1, GFP_KERNEL);
index_key         282 security/keys/key.c 	if (!key->index_key.description)
index_key         284 security/keys/key.c 	key->index_key.type = type;
index_key         285 security/keys/key.c 	key_set_index_key(&key->index_key);
index_key         516 security/keys/key.c 		ret = __key_link_lock(keyring, &key->index_key);
index_key         520 security/keys/key.c 		ret = __key_link_begin(keyring, &key->index_key, &edit);
index_key         538 security/keys/key.c 		__key_link_end(keyring, &key->index_key, edit);
index_key         588 security/keys/key.c 		link_ret = __key_link_lock(keyring, &key->index_key);
index_key         590 security/keys/key.c 			link_ret = __key_link_begin(keyring, &key->index_key, &edit);
index_key         592 security/keys/key.c 				__key_link_end(keyring, &key->index_key, edit);
index_key         623 security/keys/key.c 		__key_link_end(keyring, &key->index_key, edit);
index_key         816 security/keys/key.c 	struct keyring_index_key index_key = {
index_key         829 security/keys/key.c 	index_key.type = key_type_lookup(type);
index_key         830 security/keys/key.c 	if (IS_ERR(index_key.type)) {
index_key         836 security/keys/key.c 	if (!index_key.type->instantiate ||
index_key         837 security/keys/key.c 	    (!index_key.description && !index_key.type->preparse))
index_key         854 security/keys/key.c 	prep.quotalen = index_key.type->def_datalen;
index_key         856 security/keys/key.c 	if (index_key.type->preparse) {
index_key         857 security/keys/key.c 		ret = index_key.type->preparse(&prep);
index_key         862 security/keys/key.c 		if (!index_key.description)
index_key         863 security/keys/key.c 			index_key.description = prep.description;
index_key         865 security/keys/key.c 		if (!index_key.description)
index_key         868 security/keys/key.c 	index_key.desc_len = strlen(index_key.description);
index_key         869 security/keys/key.c 	key_set_index_key(&index_key);
index_key         871 security/keys/key.c 	ret = __key_link_lock(keyring, &index_key);
index_key         877 security/keys/key.c 	ret = __key_link_begin(keyring, &index_key, &edit);
index_key         884 security/keys/key.c 		ret = restrict_link->check(keyring, index_key.type,
index_key         904 security/keys/key.c 	if (index_key.type->update) {
index_key         905 security/keys/key.c 		key_ref = find_key_to_update(keyring_ref, &index_key);
index_key         915 security/keys/key.c 		if (index_key.type->read)
index_key         918 security/keys/key.c 		if (index_key.type == &key_type_keyring ||
index_key         919 security/keys/key.c 		    index_key.type->update)
index_key         924 security/keys/key.c 	key = key_alloc(index_key.type, index_key.description,
index_key         942 security/keys/key.c 	__key_link_end(keyring, &index_key, edit);
index_key         944 security/keys/key.c 	if (index_key.type->preparse)
index_key         945 security/keys/key.c 		index_key.type->free_preparse(&prep);
index_key         947 security/keys/key.c 	key_type_put(index_key.type);
index_key         955 security/keys/key.c 	__key_link_end(keyring, &index_key, edit);
index_key         163 security/keys/keyring.c static void hash_key_type_and_desc(struct keyring_index_key *index_key)
index_key         167 security/keys/keyring.c 	const char *description = index_key->description;
index_key         171 security/keys/keyring.c 	int n, desc_len = index_key->desc_len;
index_key         173 security/keys/keyring.c 	type = (unsigned long)index_key->type;
index_key         176 security/keys/keyring.c 	piece = (unsigned long)index_key->domain_tag;
index_key         203 security/keys/keyring.c 	if (index_key->type != &key_type_keyring && (hash & fan_mask) == 0)
index_key         205 security/keys/keyring.c 	else if (index_key->type == &key_type_keyring && (hash & fan_mask) != 0)
index_key         207 security/keys/keyring.c 	index_key->hash = hash;
index_key         214 security/keys/keyring.c void key_set_index_key(struct keyring_index_key *index_key)
index_key         217 security/keys/keyring.c 	size_t n = min_t(size_t, index_key->desc_len, sizeof(index_key->desc));
index_key         219 security/keys/keyring.c 	memcpy(index_key->desc, index_key->description, n);
index_key         221 security/keys/keyring.c 	if (!index_key->domain_tag) {
index_key         222 security/keys/keyring.c 		if (index_key->type->flags & KEY_TYPE_NET_DOMAIN)
index_key         223 security/keys/keyring.c 			index_key->domain_tag = current->nsproxy->net_ns->key_domain;
index_key         225 security/keys/keyring.c 			index_key->domain_tag = &default_domain_tag;
index_key         228 security/keys/keyring.c 	hash_key_type_and_desc(index_key);
index_key         270 security/keys/keyring.c 	const struct keyring_index_key *index_key = data;
index_key         273 security/keys/keyring.c 	int desc_len = index_key->desc_len, n = sizeof(chunk);
index_key         278 security/keys/keyring.c 		return index_key->hash;
index_key         280 security/keys/keyring.c 		return index_key->x;
index_key         282 security/keys/keyring.c 		return (unsigned long)index_key->type;
index_key         284 security/keys/keyring.c 		return (unsigned long)index_key->domain_tag;
index_key         287 security/keys/keyring.c 		if (desc_len <= sizeof(index_key->desc))
index_key         290 security/keys/keyring.c 		d = index_key->description + sizeof(index_key->desc);
index_key         292 security/keys/keyring.c 		desc_len -= sizeof(index_key->desc);
index_key         306 security/keys/keyring.c 	return keyring_get_key_chunk(&key->index_key, level);
index_key         311 security/keys/keyring.c 	const struct keyring_index_key *index_key = data;
index_key         314 security/keys/keyring.c 	return key->index_key.type == index_key->type &&
index_key         315 security/keys/keyring.c 		key->index_key.domain_tag == index_key->domain_tag &&
index_key         316 security/keys/keyring.c 		key->index_key.desc_len == index_key->desc_len &&
index_key         317 security/keys/keyring.c 		memcmp(key->index_key.description, index_key->description,
index_key         318 security/keys/keyring.c 		       index_key->desc_len) == 0;
index_key         328 security/keys/keyring.c 	const struct keyring_index_key *a = &key_a->index_key;
index_key         584 security/keys/keyring.c 	if (key->type != ctx->index_key.type) {
index_key         653 security/keys/keyring.c 					  &ctx->index_key);
index_key         680 security/keys/keyring.c 	       ctx->index_key.type->name,
index_key         681 security/keys/keyring.c 	       ctx->index_key.description);
index_key         687 security/keys/keyring.c 	if (ctx->index_key.description)
index_key         688 security/keys/keyring.c 		key_set_index_key(&ctx->index_key);
index_key         694 security/keys/keyring.c 	    keyring_compare_object(keyring, &ctx->index_key)) {
index_key         742 security/keys/keyring.c 		if ((shortcut->index_key[0] & ASSOC_ARRAY_FAN_MASK) != 0)
index_key         943 security/keys/keyring.c 		.index_key.type		= type,
index_key         944 security/keys/keyring.c 		.index_key.description	= description,
index_key         945 security/keys/keyring.c 		.index_key.desc_len	= strlen(description),
index_key        1097 security/keys/keyring.c 			     const struct keyring_index_key *index_key)
index_key        1105 security/keys/keyring.c 	       keyring->serial, index_key->type->name, index_key->description);
index_key        1108 security/keys/keyring.c 				  index_key);
index_key        1214 security/keys/keyring.c 		.index_key		= A->index_key,
index_key        1235 security/keys/keyring.c 		    const struct keyring_index_key *index_key)
index_key        1247 security/keys/keyring.c 	if (index_key->type == &key_type_keyring)
index_key        1257 security/keys/keyring.c 		    const struct keyring_index_key *index_key)
index_key        1281 security/keys/keyring.c 	if (index_key->type == &key_type_keyring)
index_key        1291 security/keys/keyring.c 		     const struct keyring_index_key *index_key,
index_key        1298 security/keys/keyring.c 	       keyring->serial, index_key->type->name, index_key->description);
index_key        1300 security/keys/keyring.c 	BUG_ON(index_key->desc_len == 0);
index_key        1314 security/keys/keyring.c 				  index_key,
index_key        1379 security/keys/keyring.c 		    const struct keyring_index_key *index_key,
index_key        1384 security/keys/keyring.c 	BUG_ON(index_key->type == NULL);
index_key        1385 security/keys/keyring.c 	kenter("%d,%s,", keyring->serial, index_key->type->name);
index_key        1396 security/keys/keyring.c 	if (index_key->type == &key_type_keyring)
index_key        1441 security/keys/keyring.c 	ret = __key_link_lock(keyring, &key->index_key);
index_key        1445 security/keys/keyring.c 	ret = __key_link_begin(keyring, &key->index_key, &edit);
index_key        1457 security/keys/keyring.c 	__key_link_end(keyring, &key->index_key, edit);
index_key        1488 security/keys/keyring.c 				  &key->index_key);
index_key        1602 security/keys/keyring.c 	ret = __key_move_lock(from_keyring, to_keyring, &key->index_key);
index_key        1608 security/keys/keyring.c 	ret = __key_link_begin(to_keyring, &key->index_key, &to_edit);
index_key        1626 security/keys/keyring.c 	__key_link_end(to_keyring, &key->index_key, to_edit);
index_key          41 security/keys/persistent.c 				       struct keyring_index_key *index_key)
index_key          52 security/keys/persistent.c 		persistent_ref = find_key_to_update(reg_ref, index_key);
index_key          57 security/keys/persistent.c 	persistent = keyring_alloc(index_key->description,
index_key          76 security/keys/persistent.c 	struct keyring_index_key index_key;
index_key          83 security/keys/persistent.c 	memset(&index_key, 0, sizeof(index_key));
index_key          84 security/keys/persistent.c 	index_key.type = &key_type_keyring;
index_key          85 security/keys/persistent.c 	index_key.description = buf;
index_key          86 security/keys/persistent.c 	index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid));
index_key          87 security/keys/persistent.c 	key_set_index_key(&index_key);
index_key          92 security/keys/persistent.c 		persistent_ref = find_key_to_update(reg_ref, &index_key);
index_key         103 security/keys/persistent.c 	persistent_ref = key_create_persistent(ns, uid, &index_key);
index_key         166 security/keys/proc.c 		.index_key		= key->index_key,
index_key         192 security/keys/process_keys.c 		.index_key.type		= &key_type_keyring,
index_key         193 security/keys/process_keys.c 		.index_key.description	= buf,
index_key         204 security/keys/process_keys.c 	ctx.index_key.desc_len = snprintf(buf, sizeof(buf), "_uid_ses.%u",
index_key         555 security/keys/process_keys.c 	    ctx->index_key.type != &key_type_request_key_auth
index_key         758 security/keys/process_keys.c 		ctx.index_key			= key->index_key;
index_key         379 security/keys/request_key.c 	       ctx->index_key.type->name, ctx->index_key.description);
index_key         386 security/keys/request_key.c 	if (ctx->index_key.type->read)
index_key         388 security/keys/request_key.c 	if (ctx->index_key.type == &key_type_keyring ||
index_key         389 security/keys/request_key.c 	    ctx->index_key.type->update)
index_key         392 security/keys/request_key.c 	key = key_alloc(ctx->index_key.type, ctx->index_key.description,
index_key         401 security/keys/request_key.c 		ret = __key_link_lock(dest_keyring, &ctx->index_key);
index_key         404 security/keys/request_key.c 		ret = __key_link_begin(dest_keyring, &ctx->index_key, &edit);
index_key         425 security/keys/request_key.c 		__key_link_end(dest_keyring, &ctx->index_key, edit);
index_key         441 security/keys/request_key.c 		__key_link_end(dest_keyring, &ctx->index_key, edit);
index_key         457 security/keys/request_key.c 	__key_link_end(dest_keyring, &ctx->index_key, edit);
index_key         486 security/keys/request_key.c 	if (ctx->index_key.type == &key_type_keyring)
index_key         568 security/keys/request_key.c 		.index_key.type		= type,
index_key         569 security/keys/request_key.c 		.index_key.domain_tag	= domain_tag,
index_key         570 security/keys/request_key.c 		.index_key.description	= description,
index_key         571 security/keys/request_key.c 		.index_key.desc_len	= strlen(description),
index_key         585 security/keys/request_key.c 	       ctx.index_key.type->name, ctx.index_key.description,
index_key         771 security/keys/request_key.c 		.index_key.type		= type,
index_key         772 security/keys/request_key.c 		.index_key.domain_tag	= domain_tag,
index_key         773 security/keys/request_key.c 		.index_key.description	= description,
index_key         774 security/keys/request_key.c 		.index_key.desc_len	= strlen(description),
index_key         250 security/keys/request_key_auth.c 		.index_key.type		= &key_type_request_key_auth,
index_key         251 security/keys/request_key_auth.c 		.index_key.description	= description,
index_key         262 security/keys/request_key_auth.c 	ctx.index_key.desc_len = sprintf(description, "%x", target_id);