Lines Matching refs:info
138 * @info: pointer to mount request arguments
146 int nfs_mount(struct nfs_mount_request *info, int timeo, int retrans)
150 .fh = info->fh,
151 .auth_count = info->auth_flav_len,
152 .auth_flavors = info->auth_flavs,
155 .rpc_argp = info->dirpath,
159 .net = info->net,
160 .protocol = info->protocol,
161 .address = (struct sockaddr *)info->sap,
162 .addrsize = info->salen,
164 .servername = info->hostname,
166 .version = info->version,
174 (info->hostname ? info->hostname : "server"),
175 info->dirpath);
177 if (strlen(info->dirpath) > MNTPATHLEN)
180 if (info->noresvport)
183 nfs_init_timeout_values(&mnt_timeout, info->protocol, timeo, retrans);
188 if (info->version == NFS_MNT3_VERSION)
208 if (info->version != NFS_MNT3_VERSION || *info->auth_flav_len == 0) {
210 info->auth_flavs[0] = RPC_AUTH_NULL;
211 *info->auth_flav_len = 1;
233 * @info: pointer to umount request arguments
238 void nfs_umount(const struct nfs_mount_request *info)
246 .net = info->net,
248 .address = (struct sockaddr *)info->sap,
249 .addrsize = info->salen,
251 .servername = info->hostname,
253 .version = info->version,
259 .rpc_argp = info->dirpath,
264 if (strlen(info->dirpath) > MNTPATHLEN)
267 if (info->noresvport)
275 (info->hostname ? info->hostname : "server"), info->dirpath);
277 if (info->version == NFS_MNT3_VERSION)