Home
last modified time | relevance | path

Searched refs:mount_server (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/nfs/
H A Dfs_context.c295 if (ctx->mount_server.protocol == XPRT_TRANSPORT_UDP || in nfs_set_mount_transport_protocol()
296 ctx->mount_server.protocol == XPRT_TRANSPORT_TCP) in nfs_set_mount_transport_protocol()
300 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_set_mount_transport_protocol()
304 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_set_mount_transport_protocol()
617 ctx->mount_server.port = result.uint_32; in nfs_fs_context_parse_param()
623 ctx->mount_server.version = result.uint_32; in nfs_fs_context_parse_param()
690 ctx->mount_server.protocol = XPRT_TRANSPORT_UDP; in nfs_fs_context_parse_param()
696 ctx->mount_server.protocol = XPRT_TRANSPORT_TCP; in nfs_fs_context_parse_param()
719 kfree(ctx->mount_server.hostname); in nfs_fs_context_parse_param()
720 ctx->mount_server in nfs_fs_context_parse_param()
[all...]
H A Dsuper.c809 &ctx->mount_server.address, in nfs_request_mount()
811 .protocol = ctx->mount_server.protocol, in nfs_request_mount()
820 if (ctx->mount_server.version == 0) { in nfs_request_mount()
823 ctx->mount_server.version = NFS_MNT3_VERSION; in nfs_request_mount()
826 ctx->mount_server.version = NFS_MNT_VERSION; in nfs_request_mount()
829 request.version = ctx->mount_server.version; in nfs_request_mount()
831 if (ctx->mount_server.hostname) in nfs_request_mount()
832 request.hostname = ctx->mount_server.hostname; in nfs_request_mount()
839 if (ctx->mount_server.address.sa_family == AF_UNSPEC) { in nfs_request_mount()
842 ctx->mount_server in nfs_request_mount()
[all...]
H A Dclient.c729 /* Preserve the values of mount_server-related mount options */ in nfs_init_server()
730 if (ctx->mount_server.addrlen) { in nfs_init_server()
731 memcpy(&server->mountd_address, &ctx->mount_server.address, in nfs_init_server()
732 ctx->mount_server.addrlen); in nfs_init_server()
733 server->mountd_addrlen = ctx->mount_server.addrlen; in nfs_init_server()
735 server->mountd_version = ctx->mount_server.version; in nfs_init_server()
736 server->mountd_port = ctx->mount_server.port; in nfs_init_server()
737 server->mountd_protocol = ctx->mount_server.protocol; in nfs_init_server()
H A Dinternal.h126 } mount_server; member
/kernel/linux/linux-6.6/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 in nfs_fs_context_parse_param()
[all...]
H A 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 in nfs_request_mount()
[all...]
H A Dclient.c747 /* Preserve the values of mount_server-related mount options */ in nfs_init_server()
748 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()
H A Dinternal.h126 } mount_server; member

Completed in 12 milliseconds