Lines Matching defs:info
138 * @info: pointer to mount request arguments
145 int nfs_mount(struct nfs_mount_request *info)
148 .fh = info->fh,
149 .auth_count = info->auth_flav_len,
150 .auth_flavors = info->auth_flavs,
153 .rpc_argp = info->dirpath,
157 .net = info->net,
158 .protocol = info->protocol,
159 .address = info->sap,
160 .addrsize = info->salen,
161 .servername = info->hostname,
163 .version = info->version,
171 (info->hostname ? info->hostname : "server"),
172 info->dirpath);
174 if (strlen(info->dirpath) > MNTPATHLEN)
177 if (info->noresvport)
184 if (info->version == NFS_MNT3_VERSION)
204 if (info->version != NFS_MNT3_VERSION || *info->auth_flav_len == 0) {
206 info->auth_flavs[0] = RPC_AUTH_NULL;
207 *info->auth_flav_len = 1;
229 * @info: pointer to umount request arguments
234 void nfs_umount(const struct nfs_mount_request *info)
242 .net = info->net,
244 .address = info->sap,
245 .addrsize = info->salen,
247 .servername = info->hostname,
249 .version = info->version,
255 .rpc_argp = info->dirpath,
260 if (strlen(info->dirpath) > MNTPATHLEN)
263 if (info->noresvport)
271 (info->hostname ? info->hostname : "server"), info->dirpath);
273 if (info->version == NFS_MNT3_VERSION)