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()
896 if (ctx->auth_info.flavor_len > 0) { in nfs_try_mount_request()
985 !nfs_auth_info_match(&ctx->auth_info, nfss->client->cl_auth->au_flavor) || in nfs_compare_remount_data()
Dfs_context.c352 struct nfs_auth_info *auth_info, in nfs_auth_info_add() argument
356 unsigned int max_flavor_len = ARRAY_SIZE(auth_info->flavors); in nfs_auth_info_add()
359 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_add()
360 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()
364 if (auth_info->flavor_len + 1 >= max_flavor_len) in nfs_auth_info_add()
367 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()
425 ret = nfs_auth_info_add(fc, &ctx->auth_info, pseudoflavor); in nfs_parse_security_flavors()
Dnfs4client.c1146 server->auth_info = ctx->auth_info; in nfs4_init_server()
1151 if (ctx->auth_info.flavor_len >= 1) in nfs4_init_server()
1152 ctx->selected_flavor = ctx->auth_info.flavors[0]; in nfs4_init_server()
1203 auth_probe = ctx->auth_info.flavor_len < 1; in nfs4_create_server()
1285 auth_probe = parent_server->auth_info.flavor_len < 1; in nfs4_create_referral_server()
Dclient.c726 server->auth_info = ctx->auth_info; in nfs_init_server()
909 target->auth_info = source->auth_info; in nfs_server_copy_userdata()
Dnfs4namespace.c223 nfs_auth_info_match(&server->auth_info, pflavor)) { in nfs_find_best_sec()
Dinternal.h102 struct nfs_auth_info auth_info; member
Dnfs4proc.c4167 if (server->auth_info.flavor_len > 0) { in nfs4_find_root_sec()
4169 for (i = 0; i < server->auth_info.flavor_len; i++) { in nfs4_find_root_sec()
4171 server->auth_info.flavors[i]); in nfs4_find_root_sec()
10202 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()