Searched refs:idmap (Results 1 - 59 of 59) sorted by relevance

/linux-4.4.14/fs/nfs/
H A Dnfs4idmap.c2 * 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 Dnfs4_fs.h26 struct idmap;
/linux-4.4.14/arch/arm/include/asm/
H A Didmap.h8 #define __idmap __section(.idmap.text) noinline notrace
H A Dmemory.h280 * physical memory for idmap purposes. Most cases should leave these
/linux-4.4.14/arch/arm64/include/asm/
H A Dkernel-pgtable.h36 * 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 Dkvm_mmu.h38 * Our virtual mapping for the idmap-ed MMU-enable code. Must be
289 * extended idmap.
/linux-4.4.14/arch/arm/mm/
H A Didmap.c6 #include <asm/idmap.h>
14 * are not supported on any CPU using the idmap tables as its current
H A Dproc-arm9tdmi.S48 .pushsection .idmap.text, "ax"
H A Dproc-arm7tdmi.S48 .pushsection .idmap.text, "ax"
H A Dpv-fixup-asm.S17 .section ".idmap.text", "ax"
H A DMakefile8 obj-$(CONFIG_MMU) += fault-armv.o flush.o idmap.o ioremap.o \
H A Dproc-arm740.S52 .pushsection .idmap.text, "ax"
H A Dproc-sa110.S65 .pushsection .idmap.text, "ax"
H A Dproc-arm720.S104 .pushsection .idmap.text, "ax"
H A Dproc-fa526.S59 .pushsection .idmap.text, "ax"
H A Dproc-sa1100.S73 .pushsection .idmap.text, "ax"
H A Dproc-arm1022.S87 .pushsection .idmap.text, "ax"
H A Dproc-arm1026.S87 .pushsection .idmap.text, "ax"
H A Dproc-arm940.S51 .pushsection .idmap.text, "ax"
H A Dproc-arm946.S58 .pushsection .idmap.text, "ax"
H A Dproc-v6.S58 .pushsection .idmap.text, "ax"
H A Dproc-arm1020.S96 .pushsection .idmap.text, "ax"
H A Dproc-arm1020e.S96 .pushsection .idmap.text, "ax"
H A Dproc-arm920.S88 .pushsection .idmap.text, "ax"
H A Dproc-arm922.S90 .pushsection .idmap.text, "ax"
H A Dproc-arm925.S111 .pushsection .idmap.text, "ax"
H A Dproc-arm926.S80 .pushsection .idmap.text, "ax"
H A Dproc-mohawk.S72 .pushsection .idmap.text, "ax"
H A Dproc-feroceon.S101 .pushsection .idmap.text, "ax"
H A Dproc-v7.S53 .pushsection .idmap.text, "ax"
H A Dproc-xsc3.S108 .pushsection .idmap.text, "ax"
H A Dproc-xscale.S145 .pushsection .idmap.text, "ax"
H A Dmmu.c1507 * Fixup the page tables - this must be in the idmap region as early_paging_init()
/linux-4.4.14/arch/arm64/kernel/
H A Dvmlinux.lds.S37 *(.hyp.idmap.text) \
46 *(.idmap.text) \
H A Dhead.S317 * 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 Dsuspend.c91 * idmap to enable the MMU; set the TTBR0 to the reserved cpu_suspend()
H A Dsleep.S131 .pushsection ".idmap.text", "ax"
/linux-4.4.14/arch/arm/kernel/
H A Dhibernate.c21 #include <asm/idmap.h>
H A Dsuspend.c5 #include <asm/idmap.h>
H A Dvmlinux.lds.S24 *(.idmap.text) \
28 *(.hyp.idmap.text) \
H A Dreboot.c14 #include <asm/idmap.h>
H A Dsleep.S101 .pushsection .idmap.text,"ax"
H A Dsmp.c37 #include <asm/idmap.h>
H A Dhead.S489 .pushsection .idmap.text, "ax"
/linux-4.4.14/arch/arm/mach-keystone/
H A Dkeystone.c93 /* Populate the arch idmap hook */ keystone_pv_fixup()
/linux-4.4.14/include/linux/
H A Dnfs_fs_sb.h35 #define NFS_CS_IDMAP 2 /* - idmap started */
75 struct idmap * cl_idmap;
/linux-4.4.14/arch/arm64/kvm/
H A Dhyp-init.S26 .pushsection .hyp.idmap.text, "ax"
/linux-4.4.14/arch/arm/mach-tegra/
H A Dsleep.S126 .pushsection .idmap.text, "ax"
H A Dpm.c35 #include <asm/idmap.h>
/linux-4.4.14/arch/arm/kvm/
H A Dinit.S55 .pushsection .hyp.idmap.text,"ax"
H A Dmmu.c1674 /* 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 Dmcpm_entry.c19 #include <asm/idmap.h>
/linux-4.4.14/fs/cifs/
H A Dcifsacl.c82 .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 Dnfs4idmap.c41 #include "idmap.h"
H A Dnfsctl.c19 #include "idmap.h"
H A Dnfs4proc.c39 #include "idmap.h"
H A Dvfs.c40 #include "idmap.h"
H A Dnfs4xdr.c44 #include "idmap.h"
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_common.c1000 sprintf(istatbuf, "idmap:\t"); isdn_statstr()

Completed in 959 milliseconds