klist             404 fs/xattr.c     	char *klist = NULL;
klist             409 fs/xattr.c     		klist = kmalloc(size, GFP_KERNEL);
klist             410 fs/xattr.c     		if (!klist)
klist             414 fs/xattr.c     	error = vfs_listxattr(d, klist, size);
klist             416 fs/xattr.c     		if (size && copy_to_user(list, klist, error))
klist             423 fs/xattr.c     	kfree(klist);
klist              18 include/linux/attribute_container.h 	struct klist		containers;
klist             117 include/linux/device.h extern struct klist *bus_get_device_klist(struct bus_type *bus);
klist             365 include/linux/device.h 	struct klist		klist_children;
klist              35 include/linux/klist.h 	struct klist _name = KLIST_INIT(_name, _get, _put)
klist              59 include/linux/klist.h 	struct klist		*i_klist;
klist              47 lib/klist.c    static struct klist *knode_klist(struct klist_node *knode)
klist              49 lib/klist.c    	return (struct klist *)
klist              60 lib/klist.c    	knode->n_klist = klist;
klist             149 lib/klist.c    	struct klist *k = knode_klist(pos);
klist             165 lib/klist.c    	struct klist *k = knode_klist(pos);
klist             191 lib/klist.c    	struct klist *k = knode_klist(n);
klist             140 security/keys/keyring.c 	struct keyring_list *klist;
klist             153 security/keys/keyring.c 	klist = rcu_dereference(keyring->payload.subscriptions);
klist             154 security/keys/keyring.c 	if (klist) {
klist             155 security/keys/keyring.c 		for (loop = klist->nkeys - 1; loop >= 0; loop--)
klist             156 security/keys/keyring.c 			key_put(klist->keys[loop]);
klist             157 security/keys/keyring.c 		kfree(klist);
klist             168 security/keys/keyring.c 	struct keyring_list *klist;
klist             178 security/keys/keyring.c 	klist = rcu_dereference(keyring->payload.subscriptions);
klist             179 security/keys/keyring.c 	if (klist)
klist             180 security/keys/keyring.c 		seq_printf(m, ": %u/%u", klist->nkeys, klist->maxkeys);
klist             195 security/keys/keyring.c 	struct keyring_list *klist;
klist             201 security/keys/keyring.c 	klist = rcu_dereference(keyring->payload.subscriptions);
klist             203 security/keys/keyring.c 	if (klist) {
klist             205 security/keys/keyring.c 		qty = klist->nkeys * sizeof(key_serial_t);
klist             215 security/keys/keyring.c 			for (loop = 0; loop < klist->nkeys; loop++) {
klist             216 security/keys/keyring.c 				key = klist->keys[loop];
klist             479 security/keys/keyring.c 	struct keyring_list *klist;
klist             489 security/keys/keyring.c 	klist = rcu_dereference(keyring->payload.subscriptions);
klist             490 security/keys/keyring.c 	if (klist) {
klist             491 security/keys/keyring.c 		for (loop = 0; loop < klist->nkeys; loop++) {
klist             492 security/keys/keyring.c 			key = klist->keys[loop];
klist             661 security/keys/keyring.c 	struct keyring_list *klist =
klist             664 security/keys/keyring.c 	kfree(klist);
klist             675 security/keys/keyring.c 	struct keyring_list *klist =
klist             678 security/keys/keyring.c 	key_put(klist->keys[klist->delkey]);
klist             679 security/keys/keyring.c 	kfree(klist);
klist             691 security/keys/keyring.c 	struct keyring_list *klist, *nklist;
klist             717 security/keys/keyring.c 	klist = keyring->payload.subscriptions;
klist             719 security/keys/keyring.c 	if (klist && klist->nkeys > 0) {
klist             722 security/keys/keyring.c 		for (loop = klist->nkeys - 1; loop >= 0; loop--) {
klist             723 security/keys/keyring.c 			if (klist->keys[loop]->type == type &&
klist             724 security/keys/keyring.c 			    strcmp(klist->keys[loop]->description,
klist             728 security/keys/keyring.c 				size = sizeof(struct key *) * klist->maxkeys;
klist             729 security/keys/keyring.c 				size += sizeof(*klist);
klist             733 security/keys/keyring.c 				nklist = kmemdup(klist, size, GFP_KERNEL);
klist             747 security/keys/keyring.c 				klist->delkey = loop;
klist             748 security/keys/keyring.c 				call_rcu(&klist->rcu,
klist             762 security/keys/keyring.c 	klist = keyring->payload.subscriptions;
klist             764 security/keys/keyring.c 	if (klist && klist->nkeys < klist->maxkeys) {
klist             768 security/keys/keyring.c 		klist->keys[klist->nkeys] = key;
klist             770 security/keys/keyring.c 		klist->nkeys++;
klist             776 security/keys/keyring.c 		if (klist)
klist             777 security/keys/keyring.c 			max += klist->maxkeys;
klist             782 security/keys/keyring.c 		size = sizeof(*klist) + sizeof(struct key *) * max;
klist             793 security/keys/keyring.c 		if (klist) {
klist             794 security/keys/keyring.c 			nklist->nkeys = klist->nkeys;
klist             796 security/keys/keyring.c 			       klist->keys,
klist             797 security/keys/keyring.c 			       sizeof(struct key *) * klist->nkeys);
klist             807 security/keys/keyring.c 		if (klist)
klist             808 security/keys/keyring.c 			call_rcu(&klist->rcu, keyring_link_rcu_disposal);
klist             853 security/keys/keyring.c 	struct keyring_list *klist, *nklist;
klist             865 security/keys/keyring.c 	klist = keyring->payload.subscriptions;
klist             866 security/keys/keyring.c 	if (klist) {
klist             868 security/keys/keyring.c 		for (loop = 0; loop < klist->nkeys; loop++)
klist             869 security/keys/keyring.c 			if (klist->keys[loop] == key)
klist             879 security/keys/keyring.c 	nklist = kmalloc(sizeof(*klist) +
klist             880 security/keys/keyring.c 			 sizeof(struct key *) * klist->maxkeys,
klist             884 security/keys/keyring.c 	nklist->maxkeys = klist->maxkeys;
klist             885 security/keys/keyring.c 	nklist->nkeys = klist->nkeys - 1;
klist             889 security/keys/keyring.c 		       &klist->keys[0],
klist             894 security/keys/keyring.c 		       &klist->keys[loop + 1],
klist             906 security/keys/keyring.c 	klist->delkey = loop;
klist             907 security/keys/keyring.c 	call_rcu(&klist->rcu, keyring_unlink_rcu_disposal);
klist             929 security/keys/keyring.c 	struct keyring_list *klist;
klist             932 security/keys/keyring.c 	klist = container_of(rcu, struct keyring_list, rcu);
klist             934 security/keys/keyring.c 	for (loop = klist->nkeys - 1; loop >= 0; loop--)
klist             935 security/keys/keyring.c 		key_put(klist->keys[loop]);
klist             937 security/keys/keyring.c 	kfree(klist);
klist             948 security/keys/keyring.c 	struct keyring_list *klist;
klist             956 security/keys/keyring.c 		klist = keyring->payload.subscriptions;
klist             957 security/keys/keyring.c 		if (klist) {
klist             969 security/keys/keyring.c 		if (klist)
klist             970 security/keys/keyring.c 			call_rcu(&klist->rcu, keyring_clear_rcu_disposal);
klist             988 security/keys/keyring.c 	struct keyring_list *klist = keyring->payload.subscriptions;
klist             993 security/keys/keyring.c 	if (klist) {
klist             995 security/keys/keyring.c 		call_rcu(&klist->rcu, keyring_clear_rcu_disposal);