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()455 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument461 if (fsloc->locations) in fsloc_parse()465 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()468 if (fsloc->locations_count > MAX_FS_LOCATIONS) in fsloc_parse()470 if (fsloc->locations_count == 0) in fsloc_parse()473 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()[all …]