Lines Matching refs:mountdata
239 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument
244 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location()
253 mountdata->mnt_path = mnt_path; in try_location()
256 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location()
257 if (mountdata->addr == NULL) in try_location()
269 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location()
270 mountdata->addr, addr_bufsize, net); in try_location()
271 if (mountdata->addrlen == 0) in try_location()
276 mountdata->hostname = page2; in try_location()
279 mountdata->hostname, in try_location()
280 mountdata->mnt_path); in try_location()
282 mnt = vfs_submount(mountdata->dentry, &nfs4_referral_fs_type, page, mountdata); in try_location()
286 kfree(mountdata->addr); in try_location()
300 struct nfs_clone_mount mountdata = { in nfs_follow_referral() local
335 mnt = try_location(&mountdata, page, page2, location); in nfs_follow_referral()