Home
last modified time | relevance | path

Searched refs:mount_server (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dfs_context.c365 if (ctx->mount_server.protocol == XPRT_TRANSPORT_UDP || in nfs_set_mount_transport_protocol()
366 ctx->mount_server.protocol == XPRT_TRANSPORT_TCP) in nfs_set_mount_transport_protocol()
370 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_set_mount_transport_protocol()
374 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_set_mount_transport_protocol()
718 ctx->mount_server.port = result.uint_32; in nfs_fs_context_parse_param()
724 ctx->mount_server.version = result.uint_32; in nfs_fs_context_parse_param()
807 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param()
813 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param()
839 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param()
840 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param()
[all …]
H A Dsuper.c830 .sap = &ctx->mount_server._address, in nfs_request_mount()
832 .protocol = ctx->mount_server.protocol, in nfs_request_mount()
841 if (ctx->mount_server.version == 0) { in nfs_request_mount()
844 ctx->mount_server.version = NFS_MNT3_VERSION; in nfs_request_mount()
847 ctx->mount_server.version = NFS_MNT_VERSION; in nfs_request_mount()
850 request.version = ctx->mount_server.version; in nfs_request_mount()
852 if (ctx->mount_server.hostname) in nfs_request_mount()
853 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
860 if (ctx->mount_server.address.sa_family == AF_UNSPEC) { in nfs_request_mount()
863 ctx->mount_server.addrlen = ctx->nfs_server.addrlen; in nfs_request_mount()
[all …]
H A Dclient.c749 if (ctx->mount_server.addrlen) { in nfs_init_server()
750 memcpy(&server->mountd_address, &ctx->mount_server.address, in nfs_init_server()
751 ctx->mount_server.addrlen); in nfs_init_server()
752 server->mountd_addrlen = ctx->mount_server.addrlen; in nfs_init_server()
754 server->mountd_version = ctx->mount_server.version; in nfs_init_server()
755 server->mountd_port = ctx->mount_server.port; in nfs_init_server()
756 server->mountd_protocol = ctx->mount_server.protocol; in nfs_init_server()
H A Dinternal.h126 } mount_server; member