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()
461 if (fsloc->locations) in fsloc_parse()
473 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()
476 if (!fsloc->locations) in fsloc_parse()
485 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
486 if (!fsloc->locations[i].hosts) in fsloc_parse()
494 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
495 if (!fsloc->locations[i].path) in fsloc_parse()
826 new->ex_fslocs.locations = NULL; in svc_export_init()
849 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
850 item->ex_fslocs.locations = NULL; in export_update()
1381 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); in exp_flags()
1383 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); in exp_flags()
1386 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); in exp_flags()
1388 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\"); in exp_flags()