Searched refs:fsloc (Results 1 – 1 of 1) sorted by relevance
317 static void nfsd4_fslocs_free(struct nfsd4_fs_locations *fsloc) in nfsd4_fslocs_free() argument319 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free()325 for (i = 0; i < fsloc->locations_count; i++) { in nfsd4_fslocs_free()331 fsloc->locations = NULL; in nfsd4_fslocs_free()418 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument424 if (fsloc->locations) in fsloc_parse()428 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()431 if (fsloc->locations_count > MAX_FS_LOCATIONS) in fsloc_parse()433 if (fsloc->locations_count == 0) in fsloc_parse()436 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()[all …]