fsloc 306 fs/nfsd/export.c static void nfsd4_fslocs_free(struct nfsd4_fs_locations *fsloc) fsloc 308 fs/nfsd/export.c struct nfsd4_fs_location *locations = fsloc->locations; fsloc 314 fs/nfsd/export.c for (i = 0; i < fsloc->locations_count; i++) { fsloc 320 fs/nfsd/export.c fsloc->locations = NULL; fsloc 402 fs/nfsd/export.c fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc) fsloc 408 fs/nfsd/export.c if (fsloc->locations) fsloc 412 fs/nfsd/export.c err = get_uint(mesg, &fsloc->locations_count); fsloc 415 fs/nfsd/export.c if (fsloc->locations_count > MAX_FS_LOCATIONS) fsloc 417 fs/nfsd/export.c if (fsloc->locations_count == 0) fsloc 420 fs/nfsd/export.c fsloc->locations = kcalloc(fsloc->locations_count, fsloc 423 fs/nfsd/export.c if (!fsloc->locations) fsloc 425 fs/nfsd/export.c for (i=0; i < fsloc->locations_count; i++) { fsloc 432 fs/nfsd/export.c fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); fsloc 433 fs/nfsd/export.c if (!fsloc->locations[i].hosts) fsloc 441 fs/nfsd/export.c fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); fsloc 442 fs/nfsd/export.c if (!fsloc->locations[i].path) fsloc 452 fs/nfsd/export.c fsloc->migrated = migrated; fsloc 455 fs/nfsd/export.c nfsd4_fslocs_free(fsloc); fsloc 498 fs/nfsd/export.c fsloc_parse(char **mesg, char *buf, struct nfsd4_fs_locations *fsloc){return 0;} fsloc 1184 fs/nfsd/export.c kuid_t anonu, kgid_t anong, struct nfsd4_fs_locations *fsloc) fsloc 1197 fs/nfsd/export.c if (fsloc && fsloc->locations_count > 0) { fsloc 1198 fs/nfsd/export.c char *loctype = (fsloc->migrated) ? "refer" : "replicas"; fsloc 1202 fs/nfsd/export.c seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); fsloc 1204 fs/nfsd/export.c seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); fsloc 1205 fs/nfsd/export.c for (i = 1; i < fsloc->locations_count; i++) { fsloc 1207 fs/nfsd/export.c seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); fsloc 1209 fs/nfsd/export.c seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\");