/linux-4.4.14/fs/nfs/ |
H A D | nfs4idmap.c | 2 * fs/nfs/idmap.c 63 struct idmap *idmap; member in struct:idmap_legacy_upcalldata 66 struct idmap { struct 270 const char *type, struct idmap *idmap) nfs_idmap_request_key() 282 mutex_lock(&idmap->idmap_mutex); nfs_idmap_request_key() 284 desc, "", 0, idmap); nfs_idmap_request_key() 285 mutex_unlock(&idmap->idmap_mutex); nfs_idmap_request_key() 296 size_t data_size, struct idmap *idmap) nfs_idmap_get_key() 304 rkey = nfs_idmap_request_key(name, namelen, type, idmap); nfs_idmap_get_key() 340 size_t buflen, struct idmap *idmap) nfs_idmap_lookup_name() 347 ret = nfs_idmap_get_key(id_str, id_len, type, buf, buflen, idmap); nfs_idmap_lookup_name() 355 __u32 *id, struct idmap *idmap) nfs_idmap_lookup_id() 362 data_size = nfs_idmap_get_key(name, namelen, type, id_str, NFS_UINT_MAXLEN, idmap); nfs_idmap_lookup_id() 372 /* idmap classic begins here */ 414 struct idmap *idmap = pdo->pdo_data; nfs_idmap_pipe_destroy() local 415 struct rpc_pipe *pipe = idmap->idmap_pipe; nfs_idmap_pipe_destroy() 426 struct idmap *idmap = pdo->pdo_data; nfs_idmap_pipe_create() local 427 struct rpc_pipe *pipe = idmap->idmap_pipe; nfs_idmap_pipe_create() 430 dentry = rpc_mkpipe_dentry(dir, "idmap", idmap, pipe); nfs_idmap_pipe_create() 445 struct idmap *idmap; nfs_idmap_new() local 449 idmap = kzalloc(sizeof(*idmap), GFP_KERNEL); nfs_idmap_new() 450 if (idmap == NULL) nfs_idmap_new() 453 rpc_init_pipe_dir_object(&idmap->idmap_pdo, nfs_idmap_new() 455 idmap); nfs_idmap_new() 462 idmap->idmap_pipe = pipe; nfs_idmap_new() 463 mutex_init(&idmap->idmap_mutex); nfs_idmap_new() 467 &idmap->idmap_pdo); nfs_idmap_new() 471 clp->cl_idmap = idmap; nfs_idmap_new() 474 rpc_destroy_pipe_data(idmap->idmap_pipe); nfs_idmap_new() 476 kfree(idmap); nfs_idmap_new() 483 struct idmap *idmap = clp->cl_idmap; nfs_idmap_delete() local 485 if (!idmap) nfs_idmap_delete() 490 &idmap->idmap_pdo); nfs_idmap_delete() 491 rpc_destroy_pipe_data(idmap->idmap_pipe); nfs_idmap_delete() 492 kfree(idmap); nfs_idmap_delete() 495 static int nfs_idmap_prepare_message(char *desc, struct idmap *idmap, nfs_idmap_prepare_message() argument 533 nfs_idmap_prepare_pipe_upcall(struct idmap *idmap, nfs_idmap_prepare_pipe_upcall() argument 536 if (idmap->idmap_upcall_data != NULL) { nfs_idmap_prepare_pipe_upcall() 540 idmap->idmap_upcall_data = data; nfs_idmap_prepare_pipe_upcall() 545 nfs_idmap_complete_pipe_upcall_locked(struct idmap *idmap, int ret) nfs_idmap_complete_pipe_upcall_locked() argument 547 struct key_construction *cons = idmap->idmap_upcall_data->key_cons; nfs_idmap_complete_pipe_upcall_locked() 549 kfree(idmap->idmap_upcall_data); nfs_idmap_complete_pipe_upcall_locked() 550 idmap->idmap_upcall_data = NULL; nfs_idmap_complete_pipe_upcall_locked() 555 nfs_idmap_abort_pipe_upcall(struct idmap *idmap, int ret) nfs_idmap_abort_pipe_upcall() argument 557 if (idmap->idmap_upcall_data != NULL) nfs_idmap_abort_pipe_upcall() 558 nfs_idmap_complete_pipe_upcall_locked(idmap, ret); nfs_idmap_abort_pipe_upcall() 568 struct idmap *idmap = (struct idmap *)aux; nfs_idmap_legacy_upcall() local 579 data->idmap = idmap; nfs_idmap_legacy_upcall() 582 ret = nfs_idmap_prepare_message(key->description, idmap, im, msg); nfs_idmap_legacy_upcall() 587 if (!nfs_idmap_prepare_pipe_upcall(idmap, data)) nfs_idmap_legacy_upcall() 590 ret = rpc_queue_upcall(idmap->idmap_pipe, msg); nfs_idmap_legacy_upcall() 592 nfs_idmap_abort_pipe_upcall(idmap, ret); nfs_idmap_legacy_upcall() 645 struct idmap *idmap = (struct idmap *)rpci->private; idmap_pipe_downcall() local 655 if (idmap->idmap_upcall_data == NULL) idmap_pipe_downcall() 658 cons = idmap->idmap_upcall_data->key_cons; idmap_pipe_downcall() 682 &idmap->idmap_upcall_data->idmap_msg, idmap_pipe_downcall() 690 nfs_idmap_complete_pipe_upcall_locked(idmap, ret); idmap_pipe_downcall() 701 struct idmap *idmap = data->idmap; idmap_pipe_destroy_msg() local 704 nfs_idmap_abort_pipe_upcall(idmap, msg->errno); idmap_pipe_destroy_msg() 711 struct idmap *idmap = (struct idmap *)rpci->private; idmap_release_pipe() local 713 nfs_idmap_abort_pipe_upcall(idmap, -EPIPE); idmap_release_pipe() 718 struct idmap *idmap = server->nfs_client->cl_idmap; nfs_map_name_to_uid() local 723 ret = nfs_idmap_lookup_id(name, namelen, "uid", &id, idmap); nfs_map_name_to_uid() 735 struct idmap *idmap = server->nfs_client->cl_idmap; nfs_map_group_to_gid() local 740 ret = nfs_idmap_lookup_id(name, namelen, "gid", &id, idmap); nfs_map_group_to_gid() 752 struct idmap *idmap = server->nfs_client->cl_idmap; nfs_map_uid_to_name() local 758 ret = nfs_idmap_lookup_name(id, "user", buf, buflen, idmap); nfs_map_uid_to_name() 766 struct idmap *idmap = server->nfs_client->cl_idmap; nfs_map_gid_to_group() local 772 ret = nfs_idmap_lookup_name(id, "group", buf, buflen, idmap); nfs_map_gid_to_group() 269 nfs_idmap_request_key(const char *name, size_t namelen, const char *type, struct idmap *idmap) nfs_idmap_request_key() argument 294 nfs_idmap_get_key(const char *name, size_t namelen, const char *type, void *data, size_t data_size, struct idmap *idmap) nfs_idmap_get_key() argument 339 nfs_idmap_lookup_name(__u32 id, const char *type, char *buf, size_t buflen, struct idmap *idmap) nfs_idmap_lookup_name() argument 354 nfs_idmap_lookup_id(const char *name, size_t namelen, const char *type, __u32 *id, struct idmap *idmap) nfs_idmap_lookup_id() argument
|
H A D | nfs4_fs.h | 26 struct idmap;
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | idmap.h | 8 #define __idmap __section(.idmap.text) noinline notrace
|
H A D | memory.h | 280 * physical memory for idmap purposes. Most cases should leave these
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | kernel-pgtable.h | 36 * The idmap and swapper page tables need some space reserved in the kernel 38 * map the kernel. With the 64K page configuration, swapper and idmap need to
|
H A D | kvm_mmu.h | 38 * Our virtual mapping for the idmap-ed MMU-enable code. Must be 289 * extended idmap.
|
/linux-4.4.14/arch/arm/mm/ |
H A D | idmap.c | 6 #include <asm/idmap.h> 14 * are not supported on any CPU using the idmap tables as its current
|
H A D | proc-arm9tdmi.S | 48 .pushsection .idmap.text, "ax"
|
H A D | proc-arm7tdmi.S | 48 .pushsection .idmap.text, "ax"
|
H A D | pv-fixup-asm.S | 17 .section ".idmap.text", "ax"
|
H A D | Makefile | 8 obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
|
H A D | proc-arm740.S | 52 .pushsection .idmap.text, "ax"
|
H A D | proc-sa110.S | 65 .pushsection .idmap.text, "ax"
|
H A D | proc-arm720.S | 104 .pushsection .idmap.text, "ax"
|
H A D | proc-fa526.S | 59 .pushsection .idmap.text, "ax"
|
H A D | proc-sa1100.S | 73 .pushsection .idmap.text, "ax"
|
H A D | proc-arm1022.S | 87 .pushsection .idmap.text, "ax"
|
H A D | proc-arm1026.S | 87 .pushsection .idmap.text, "ax"
|
H A D | proc-arm940.S | 51 .pushsection .idmap.text, "ax"
|
H A D | proc-arm946.S | 58 .pushsection .idmap.text, "ax"
|
H A D | proc-v6.S | 58 .pushsection .idmap.text, "ax"
|
H A D | proc-arm1020.S | 96 .pushsection .idmap.text, "ax"
|
H A D | proc-arm1020e.S | 96 .pushsection .idmap.text, "ax"
|
H A D | proc-arm920.S | 88 .pushsection .idmap.text, "ax"
|
H A D | proc-arm922.S | 90 .pushsection .idmap.text, "ax"
|
H A D | proc-arm925.S | 111 .pushsection .idmap.text, "ax"
|
H A D | proc-arm926.S | 80 .pushsection .idmap.text, "ax"
|
H A D | proc-mohawk.S | 72 .pushsection .idmap.text, "ax"
|
H A D | proc-feroceon.S | 101 .pushsection .idmap.text, "ax"
|
H A D | proc-v7.S | 53 .pushsection .idmap.text, "ax"
|
H A D | proc-xsc3.S | 108 .pushsection .idmap.text, "ax"
|
H A D | proc-xscale.S | 145 .pushsection .idmap.text, "ax"
|
H A D | mmu.c | 1507 * Fixup the page tables - this must be in the idmap region as early_paging_init()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | vmlinux.lds.S | 37 *(.hyp.idmap.text) \ 46 *(.idmap.text) \
|
H A D | head.S | 317 * Invalidate the idmap and swapper page tables to avoid potential 325 * Clear the idmap and swapper page tables. 400 * accesses (MMU disabled), invalidate the idmap and swapper page 629 .section ".idmap.text", "ax"
|
H A D | suspend.c | 91 * idmap to enable the MMU; set the TTBR0 to the reserved cpu_suspend()
|
H A D | sleep.S | 131 .pushsection ".idmap.text", "ax"
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | hibernate.c | 21 #include <asm/idmap.h>
|
H A D | suspend.c | 5 #include <asm/idmap.h>
|
H A D | vmlinux.lds.S | 24 *(.idmap.text) \ 28 *(.hyp.idmap.text) \
|
H A D | reboot.c | 14 #include <asm/idmap.h>
|
H A D | sleep.S | 101 .pushsection .idmap.text,"ax"
|
H A D | smp.c | 37 #include <asm/idmap.h>
|
H A D | head.S | 489 .pushsection .idmap.text, "ax"
|
/linux-4.4.14/arch/arm/mach-keystone/ |
H A D | keystone.c | 93 /* Populate the arch idmap hook */ keystone_pv_fixup()
|
/linux-4.4.14/include/linux/ |
H A D | nfs_fs_sb.h | 35 #define NFS_CS_IDMAP 2 /* - idmap started */ 75 struct idmap * cl_idmap;
|
/linux-4.4.14/arch/arm64/kvm/ |
H A D | hyp-init.S | 26 .pushsection .hyp.idmap.text, "ax"
|
/linux-4.4.14/arch/arm/mach-tegra/ |
H A D | sleep.S | 126 .pushsection .idmap.text, "ax"
|
H A D | pm.c | 35 #include <asm/idmap.h>
|
/linux-4.4.14/arch/arm/kvm/ |
H A D | init.S | 55 .pushsection .hyp.idmap.text,"ax"
|
H A D | mmu.c | 1674 /* Create the idmap in the boot page tables */ kvm_mmu_init() 1681 kvm_err("Failed to idmap %lx-%lx\n", kvm_mmu_init()
|
/linux-4.4.14/arch/arm/common/ |
H A D | mcpm_entry.c | 19 #include <asm/idmap.h>
|
/linux-4.4.14/fs/cifs/ |
H A D | cifsacl.c | 82 .name = "cifs.idmap", 380 cifs_dbg(FYI, "cifs idmap keyring: %d\n", key_serial(keyring)); init_cifs_idmap()
|
/linux-4.4.14/fs/nfsd/ |
H A D | nfs4idmap.c | 41 #include "idmap.h"
|
H A D | nfsctl.c | 19 #include "idmap.h"
|
H A D | nfs4proc.c | 39 #include "idmap.h"
|
H A D | vfs.c | 40 #include "idmap.h"
|
H A D | nfs4xdr.c | 44 #include "idmap.h"
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_common.c | 1000 sprintf(istatbuf, "idmap:\t"); isdn_statstr()
|