Lines Matching refs:locations
294 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free() local
297 if (!locations) in nfsd4_fslocs_free()
301 kfree(locations[i].path); in nfsd4_fslocs_free()
302 kfree(locations[i].hosts); in nfsd4_fslocs_free()
305 kfree(locations); in nfsd4_fslocs_free()
306 fsloc->locations = NULL; in nfsd4_fslocs_free()
394 if (fsloc->locations) in fsloc_parse()
406 fsloc->locations = kzalloc(fsloc->locations_count in fsloc_parse()
408 if (!fsloc->locations) in fsloc_parse()
417 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
418 if (!fsloc->locations[i].hosts) in fsloc_parse()
426 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
427 if (!fsloc->locations[i].path) in fsloc_parse()
706 new->ex_fslocs.locations = NULL; in svc_export_init()
728 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
729 item->ex_fslocs.locations = NULL; in export_update()
1241 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); in exp_flags()
1243 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); in exp_flags()
1246 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); in exp_flags()
1248 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\"); in exp_flags()