Lines Matching refs:locations
308 struct nfsd4_fs_location *locations = fsloc->locations; in nfsd4_fslocs_free() local
311 if (!locations) in nfsd4_fslocs_free()
315 kfree(locations[i].path); in nfsd4_fslocs_free()
316 kfree(locations[i].hosts); in nfsd4_fslocs_free()
319 kfree(locations); in nfsd4_fslocs_free()
320 fsloc->locations = NULL; in nfsd4_fslocs_free()
408 if (fsloc->locations) in fsloc_parse()
420 fsloc->locations = kcalloc(fsloc->locations_count, in fsloc_parse()
423 if (!fsloc->locations) in fsloc_parse()
432 fsloc->locations[i].hosts = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
433 if (!fsloc->locations[i].hosts) in fsloc_parse()
441 fsloc->locations[i].path = kstrdup(buf, GFP_KERNEL); in fsloc_parse()
442 if (!fsloc->locations[i].path) in fsloc_parse()
721 new->ex_fslocs.locations = NULL; in svc_export_init()
743 new->ex_fslocs.locations = item->ex_fslocs.locations; in export_update()
744 item->ex_fslocs.locations = NULL; in export_update()
1202 seq_escape(m, fsloc->locations[0].path, ",;@ \t\n\\"); in exp_flags()
1204 seq_escape(m, fsloc->locations[0].hosts, ",;@ \t\n\\"); in exp_flags()
1207 seq_escape(m, fsloc->locations[i].path, ",;@ \t\n\\"); in exp_flags()
1209 seq_escape(m, fsloc->locations[i].hosts, ",;@ \t\n\\"); in exp_flags()