Searched refs:auth_info (Results 1 – 7 of 7) sorted by relevance
1027 static bool nfs_auth_info_add(struct nfs_auth_info *auth_info, in nfs_auth_info_add() argument1031 unsigned int max_flavor_len = ARRAY_SIZE(auth_info->flavors); in nfs_auth_info_add()1034 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_add()1035 if (flavor == auth_info->flavors[i]) in nfs_auth_info_add()1039 if (auth_info->flavor_len + 1 >= max_flavor_len) { in nfs_auth_info_add()1044 auth_info->flavors[auth_info->flavor_len++] = flavor; in nfs_auth_info_add()1052 bool nfs_auth_info_match(const struct nfs_auth_info *auth_info, in nfs_auth_info_match() argument1057 if (!auth_info->flavor_len) in nfs_auth_info_match()1060 for (i = 0; i < auth_info->flavor_len; i++) { in nfs_auth_info_match()1061 if (auth_info->flavors[i] == match) in nfs_auth_info_match()[all …]
985 server->auth_info = data->auth_info; in nfs4_init_server()990 if (data->auth_info.flavor_len >= 1) in nfs4_init_server()991 data->selected_flavor = data->auth_info.flavors[0]; in nfs4_init_server()1049 auth_probe = mount_info->parsed->auth_info.flavor_len < 1; in nfs4_create_server()1110 auth_probe = parent_server->auth_info.flavor_len < 1; in nfs4_create_referral_server()
796 server->auth_info = data->auth_info; in nfs_init_server()940 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
3058 if (server->auth_info.flavor_len > 0) { in nfs4_find_root_sec()3060 for (i = 0; i < server->auth_info.flavor_len; i++) { in nfs4_find_root_sec()3062 server->auth_info.flavors[i]); in nfs4_find_root_sec()8225 if (!nfs_auth_info_match(&server->auth_info, flavor)) in nfs41_find_root_sec()
159 struct nfs_auth_info auth_info; /* parsed auth flavors */ member