Home
last modified time | relevance | path

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

/Linux-v6.6/fs/nfs/
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 …]
Dsuper.c828 .sap = &ctx->mount_server._address, in nfs_request_mount()
830 .protocol = ctx->mount_server.protocol, in nfs_request_mount()
839 if (ctx->mount_server.version == 0) { in nfs_request_mount()
842 ctx->mount_server.version = NFS_MNT3_VERSION; in nfs_request_mount()
845 ctx->mount_server.version = NFS_MNT_VERSION; in nfs_request_mount()
848 request.version = ctx->mount_server.version; in nfs_request_mount()
850 if (ctx->mount_server.hostname) in nfs_request_mount()
851 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
858 if (ctx->mount_server.address.sa_family == AF_UNSPEC) { in nfs_request_mount()
861 ctx->mount_server.addrlen = ctx->nfs_server.addrlen; in nfs_request_mount()
[all …]
Dclient.c748 if (ctx->mount_server.addrlen) { in nfs_init_server()
749 memcpy(&server->mountd_address, &ctx->mount_server.address, in nfs_init_server()
750 ctx->mount_server.addrlen); in nfs_init_server()
751 server->mountd_addrlen = ctx->mount_server.addrlen; in nfs_init_server()
753 server->mountd_version = ctx->mount_server.version; in nfs_init_server()
754 server->mountd_port = ctx->mount_server.port; in nfs_init_server()
755 server->mountd_protocol = ctx->mount_server.protocol; in nfs_init_server()
Dinternal.h126 } mount_server; member