Home
last modified time | relevance | path

Searched refs:auth_info (Results 1 – 7 of 7) sorted by relevance

/fs/nfs/
Dsuper.c748 bool nfs_auth_info_match(const struct nfs_auth_info *auth_info, in nfs_auth_info_match() argument
753 if (!auth_info->flavor_len) in nfs_auth_info_match()
756 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_match()
757 if (auth_info->flavors[i] == match) in nfs_auth_info_match()
792 if (nfs_auth_info_match(&ctx->auth_info, flavor)) in nfs_verify_authflavors()
800 flavor = ctx->auth_info.flavors[0]; in nfs_verify_authflavors()
897 if (ctx->auth_info.flavor_len > 0) { in nfs_try_mount_request()
986 !nfs_auth_info_match(&ctx->auth_info, nfss->client->cl_auth->au_flavor) || in nfs_compare_remount_data()
Dfs_context.c348 struct nfs_auth_info *auth_info, in nfs_auth_info_add() argument
352 unsigned int max_flavor_len = ARRAY_SIZE(auth_info->flavors); in nfs_auth_info_add()
355 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_add()
356 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()
360 if (auth_info->flavor_len + 1 >= max_flavor_len) in nfs_auth_info_add()
363 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()
421 ret = nfs_auth_info_add(fc, &ctx->auth_info, pseudoflavor); in nfs_parse_security_flavors()
Dnfs4client.c1147 server->auth_info = ctx->auth_info; in nfs4_init_server()
1152 if (ctx->auth_info.flavor_len >= 1) in nfs4_init_server()
1153 ctx->selected_flavor = ctx->auth_info.flavors[0]; in nfs4_init_server()
1204 auth_probe = ctx->auth_info.flavor_len < 1; in nfs4_create_server()
1286 auth_probe = parent_server->auth_info.flavor_len < 1; in nfs4_create_referral_server()
Dclient.c730 server->auth_info = ctx->auth_info; in nfs_init_server()
888 target->auth_info = source->auth_info; in nfs_server_copy_userdata()
Dnfs4namespace.c222 nfs_auth_info_match(&server->auth_info, pflavor)) { in nfs_find_best_sec()
Dinternal.h102 struct nfs_auth_info auth_info; member
Dnfs4proc.c4127 if (server->auth_info.flavor_len > 0) { in nfs4_find_root_sec()
4129 for (i = 0; i < server->auth_info.flavor_len; i++) { in nfs4_find_root_sec()
4131 server->auth_info.flavors[i]); in nfs4_find_root_sec()
10136 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()