Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfs/
Dfs_context.c334 if (ctx->mount_server.protocol == XPRT_TRANSPORT_UDP || in nfs_set_mount_transport_protocol()
335 ctx->mount_server.protocol == XPRT_TRANSPORT_TCP) in nfs_set_mount_transport_protocol()
339 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_set_mount_transport_protocol()
343 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_set_mount_transport_protocol()
664 ctx->mount_server.port = result.uint_32; in nfs_fs_context_parse_param()
670 ctx->mount_server.version = result.uint_32; in nfs_fs_context_parse_param()
748 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param()
754 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param()
780 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param()
781 ctx->mount_server.hostname = param->string; in nfs_fs_context_parse_param()
[all …]
Dsuper.c825 .sap = &ctx->mount_server._address, in nfs_request_mount()
827 .protocol = ctx->mount_server.protocol, in nfs_request_mount()
836 if (ctx->mount_server.version == 0) { in nfs_request_mount()
839 ctx->mount_server.version = NFS_MNT3_VERSION; in nfs_request_mount()
842 ctx->mount_server.version = NFS_MNT_VERSION; in nfs_request_mount()
845 request.version = ctx->mount_server.version; in nfs_request_mount()
847 if (ctx->mount_server.hostname) in nfs_request_mount()
848 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
855 if (ctx->mount_server.address.sa_family == AF_UNSPEC) { in nfs_request_mount()
858 ctx->mount_server.addrlen = ctx->nfs_server.addrlen; in nfs_request_mount()
[all …]
Dclient.c734 if (ctx->mount_server.addrlen) { in nfs_init_server()
735 memcpy(&server->mountd_address, &ctx->mount_server.address, in nfs_init_server()
736 ctx->mount_server.addrlen); in nfs_init_server()
737 server->mountd_addrlen = ctx->mount_server.addrlen; in nfs_init_server()
739 server->mountd_version = ctx->mount_server.version; in nfs_init_server()
740 server->mountd_port = ctx->mount_server.port; in nfs_init_server()
741 server->mountd_protocol = ctx->mount_server.protocol; in nfs_init_server()
Dinternal.h122 } mount_server; member