idmap             113 fs/nfs/idmap.c 	struct idmap *idmap;
idmap             118 fs/nfs/idmap.c 	idmap = kzalloc(sizeof(*idmap), GFP_KERNEL);
idmap             119 fs/nfs/idmap.c 	if (idmap == NULL)
idmap             122 fs/nfs/idmap.c 	idmap->idmap_dentry = rpc_mkpipe(clp->cl_rpcclient->cl_dentry, "idmap",
idmap             123 fs/nfs/idmap.c 					 idmap, &idmap_upcall_ops, 0);
idmap             124 fs/nfs/idmap.c 	if (IS_ERR(idmap->idmap_dentry)) {
idmap             125 fs/nfs/idmap.c 		error = PTR_ERR(idmap->idmap_dentry);
idmap             126 fs/nfs/idmap.c 		kfree(idmap);
idmap             130 fs/nfs/idmap.c 	mutex_init(&idmap->idmap_lock);
idmap             131 fs/nfs/idmap.c 	mutex_init(&idmap->idmap_im_lock);
idmap             132 fs/nfs/idmap.c 	init_waitqueue_head(&idmap->idmap_wq);
idmap             133 fs/nfs/idmap.c 	idmap->idmap_user_hash.h_type = IDMAP_TYPE_USER;
idmap             134 fs/nfs/idmap.c 	idmap->idmap_group_hash.h_type = IDMAP_TYPE_GROUP;
idmap             136 fs/nfs/idmap.c 	clp->cl_idmap = idmap;
idmap             143 fs/nfs/idmap.c 	struct idmap *idmap = clp->cl_idmap;
idmap             145 fs/nfs/idmap.c 	if (!idmap)
idmap             147 fs/nfs/idmap.c 	rpc_unlink(idmap->idmap_dentry);
idmap             149 fs/nfs/idmap.c 	kfree(idmap);
idmap             231 fs/nfs/idmap.c 	im = &idmap->idmap_im;
idmap             247 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_lock);
idmap             248 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             267 fs/nfs/idmap.c 	add_wait_queue(&idmap->idmap_wq, &wq);
idmap             268 fs/nfs/idmap.c 	if (rpc_queue_upcall(idmap->idmap_dentry->d_inode, &msg) < 0) {
idmap             269 fs/nfs/idmap.c 		remove_wait_queue(&idmap->idmap_wq, &wq);
idmap             274 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             277 fs/nfs/idmap.c 	remove_wait_queue(&idmap->idmap_wq, &wq);
idmap             278 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             287 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             288 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_lock);
idmap             306 fs/nfs/idmap.c 	im = &idmap->idmap_im;
idmap             308 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_lock);
idmap             309 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             327 fs/nfs/idmap.c 	add_wait_queue(&idmap->idmap_wq, &wq);
idmap             329 fs/nfs/idmap.c 	if (rpc_queue_upcall(idmap->idmap_dentry->d_inode, &msg) < 0) {
idmap             330 fs/nfs/idmap.c 		remove_wait_queue(&idmap->idmap_wq, &wq);
idmap             335 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             338 fs/nfs/idmap.c 	remove_wait_queue(&idmap->idmap_wq, &wq);
idmap             339 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             350 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             351 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_lock);
idmap             380 fs/nfs/idmap.c 	struct idmap *idmap = (struct idmap *)rpci->private;
idmap             381 fs/nfs/idmap.c 	struct idmap_msg im_in, *im = &idmap->idmap_im;
idmap             393 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             399 fs/nfs/idmap.c 		wake_up(&idmap->idmap_wq);
idmap             411 fs/nfs/idmap.c 			h = &idmap->idmap_user_hash;
idmap             414 fs/nfs/idmap.c 			h = &idmap->idmap_group_hash;
idmap             429 fs/nfs/idmap.c 			wake_up(&idmap->idmap_wq);
idmap             440 fs/nfs/idmap.c 			wake_up(&idmap->idmap_wq);
idmap             453 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             461 fs/nfs/idmap.c 	struct idmap *idmap = container_of(im, struct idmap, idmap_im); 
idmap             465 fs/nfs/idmap.c 	mutex_lock(&idmap->idmap_im_lock);
idmap             467 fs/nfs/idmap.c 	wake_up(&idmap->idmap_wq);
idmap             468 fs/nfs/idmap.c 	mutex_unlock(&idmap->idmap_im_lock);
idmap             494 fs/nfs/idmap.c 	struct idmap *idmap = clp->cl_idmap;
idmap             496 fs/nfs/idmap.c 	return nfs_idmap_id(idmap, &idmap->idmap_user_hash, name, namelen, uid);
idmap             501 fs/nfs/idmap.c 	struct idmap *idmap = clp->cl_idmap;
idmap             503 fs/nfs/idmap.c 	return nfs_idmap_id(idmap, &idmap->idmap_group_hash, name, namelen, uid);
idmap             508 fs/nfs/idmap.c 	struct idmap *idmap = clp->cl_idmap;
idmap             510 fs/nfs/idmap.c 	return nfs_idmap_name(idmap, &idmap->idmap_user_hash, uid, buf);
idmap             514 fs/nfs/idmap.c 	struct idmap *idmap = clp->cl_idmap;
idmap             516 fs/nfs/idmap.c 	return nfs_idmap_name(idmap, &idmap->idmap_group_hash, uid, buf);
idmap              14 fs/nfs/nfs4_fs.h struct idmap;
idmap              65 include/linux/nfs_fs_sb.h 	struct idmap *		cl_idmap;