Searched refs:auth_info (Results 1 – 7 of 7) sorted by relevance
1030 static bool nfs_auth_info_add(struct nfs_auth_info *auth_info, in nfs_auth_info_add() argument1034 unsigned int max_flavor_len = ARRAY_SIZE(auth_info->flavors); in nfs_auth_info_add()1037 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_add()1038 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()1042 if (auth_info->flavor_len + 1 >= max_flavor_len) { in nfs_auth_info_add()1047 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()1055 bool nfs_auth_info_match(const struct nfs_auth_info *auth_info, in nfs_auth_info_match() argument1060 if (!auth_info->flavor_len) in nfs_auth_info_match()1063 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_match()1064 if (auth_info->flavors[i] == match) in nfs_auth_info_match()[all …]
981 server->auth_info = data->auth_info; in nfs4_init_server()986 if (data->auth_info.flavor_len >= 1) in nfs4_init_server()987 data->selected_flavor = data->auth_info.flavors[0]; in nfs4_init_server()1045 auth_probe = mount_info->parsed->auth_info.flavor_len < 1; in nfs4_create_server()1106 auth_probe = parent_server->auth_info.flavor_len < 1; in nfs4_create_referral_server()
687 server->auth_info = data->auth_info; in nfs_init_server()831 target->auth_info = source->auth_info; in nfs_server_copy_userdata()
172 nfs_auth_info_match(&server->auth_info, pflavor)) { in nfs_find_best_sec()
90 struct nfs_auth_info auth_info; member
3211 if (server->auth_info.flavor_len > 0) { in nfs4_find_root_sec()3213 for (i = 0; i < server->auth_info.flavor_len; i++) { in nfs4_find_root_sec()3215 server->auth_info.flavors[i]); in nfs4_find_root_sec()8382 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()
160 struct nfs_auth_info auth_info; /* parsed auth flavors */ member