Lines Matching full:locations
319 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free() local
322 if (!locations) in nfsd4_fslocs_free()
326 kfree(locations[i].path); in nfsd4_fslocs_free()
327 kfree(locations[i].hosts); in nfsd4_fslocs_free()
330 kfree(locations); in nfsd4_fslocs_free()
331 fsloc->locations = NULL; in nfsd4_fslocs_free()
458 if (fsloc->locations) in fsloc_parse()
470 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()
473 if (!fsloc->locations) in fsloc_parse()
482 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
483 if (!fsloc->locations[i].hosts) in fsloc_parse()
491 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
492 if (!fsloc->locations[i].path) in fsloc_parse()
823 new->ex_fslocs.locations = NULL; in svc_export_init()
846 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
847 item->ex_fslocs.locations = NULL; in export_update()
1341 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); in exp_flags()
1343 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); in exp_flags()
1346 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); in exp_flags()
1348 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\"); in exp_flags()