Searched refs:fsloc (Results 1 – 1 of 1) sorted by relevance
306 static void nfsd4_fslocs_free(struct nfsd4_fs_locations *fsloc) in nfsd4_fslocs_free() argument308 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free()314 for (i = 0; i < fsloc->locations_count; i++) { in nfsd4_fslocs_free()320 fsloc->locations = NULL; in nfsd4_fslocs_free()402 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument408 if (fsloc->locations) in fsloc_parse()412 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()415 if (fsloc->locations_count > MAX_FS_LOCATIONS) in fsloc_parse()417 if (fsloc->locations_count == 0) in fsloc_parse()420 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()[all …]