Lines Matching refs:mountdata
237 static struct vfsmount *try_location(struct nfs_clone_mount *mountdata, in try_location() argument
242 struct net *net = rpc_net_ns(NFS_SB(mountdata->sb)->client); in try_location()
251 mountdata->mnt_path = mnt_path; in try_location()
254 mountdata->addr = kmalloc(addr_bufsize, GFP_KERNEL); in try_location()
255 if (mountdata->addr == NULL) in try_location()
267 mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, in try_location()
268 mountdata->addr, addr_bufsize, net); in try_location()
269 if (mountdata->addrlen == 0) in try_location()
272 rpc_set_port(mountdata->addr, NFS_PORT); 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_kern_mount(&nfs4_referral_fs_type, 0, 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()