Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfs/
Dfs_context.c330 if (ctx->mount_server.protocol == XPRT_TRANSPORT_UDP || in nfs_set_mount_transport_protocol()
331 ctx->mount_server.protocol == XPRT_TRANSPORT_TCP) in nfs_set_mount_transport_protocol()
335 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_set_mount_transport_protocol()
339 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_set_mount_transport_protocol()
654 ctx->mount_server.port = result.uint_32; in nfs_fs_context_parse_param()
660 ctx->mount_server.version = result.uint_32; in nfs_fs_context_parse_param()
729 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param()
735 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param()
758 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param()
759 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param()
[all …]
Dsuper.c826 &ctx->mount_server.address, in nfs_request_mount()
828 .protocol = ctx->mount_server.protocol, in nfs_request_mount()
837 if (ctx->mount_server.version == 0) { in nfs_request_mount()
840 ctx->mount_server.version = NFS_MNT3_VERSION; in nfs_request_mount()
843 ctx->mount_server.version = NFS_MNT_VERSION; in nfs_request_mount()
846 request.version = ctx->mount_server.version; in nfs_request_mount()
848 if (ctx->mount_server.hostname) in nfs_request_mount()
849 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
856 if (ctx->mount_server.address.sa_family == AF_UNSPEC) { in nfs_request_mount()
859 ctx->mount_server.addrlen = ctx->nfs_server.addrlen; in nfs_request_mount()
[all …]
Dclient.c738 if (ctx->mount_server.addrlen) { in nfs_init_server()
739 memcpy(&server->mountd_address, &ctx->mount_server.address, in nfs_init_server()
740 ctx->mount_server.addrlen); in nfs_init_server()
741 server->mountd_addrlen = ctx->mount_server.addrlen; in nfs_init_server()
743 server->mountd_version = ctx->mount_server.version; in nfs_init_server()
744 server->mountd_port = ctx->mount_server.port; in nfs_init_server()
745 server->mountd_protocol = ctx->mount_server.protocol; in nfs_init_server()
Dinternal.h112 } mount_server; member