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()
470 if (fsloc->locations) in fsloc_parse()
482 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()
485 if (!fsloc->locations) in fsloc_parse()
494 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
495 if (!fsloc->locations[i].hosts) in fsloc_parse()
503 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
504 if (!fsloc->locations[i].path) in fsloc_parse()
835 new->ex_fslocs.locations = NULL; in svc_export_init()
858 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
859 item->ex_fslocs.locations = NULL; in export_update()
1409 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); in exp_flags()
1411 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); in exp_flags()
1414 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); in exp_flags()
1416 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\"); in exp_flags()