Home
last modified time | relevance | path

Searched refs:fsloc (Results 1 – 1 of 1) sorted by relevance

/linux/fs/nfsd/
H A Dexport.c317 static void nfsd4_fslocs_free(struct nfsd4_fs_locations *fsloc) in nfsd4_fslocs_free() argument
319 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()
464 fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) in fsloc_parse() argument
470 if (fsloc->locations) in fsloc_parse()
474 err = get_uint(mesg, &fsloc->locations_count); in fsloc_parse()
477 if (fsloc->locations_count > MAX_FS_LOCATIONS) in fsloc_parse()
479 if (fsloc->locations_count == 0) in fsloc_parse()
482 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()
[all …]