Lines Matching refs:fs_locations
409 struct nfs4_fs_locations *fs_locations = NULL; in nfs_do_refmount() local
418 fs_locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL); in nfs_do_refmount()
419 if (!fs_locations) in nfs_do_refmount()
421 fs_locations->fattr = nfs_alloc_fattr(); in nfs_do_refmount()
422 if (!fs_locations->fattr) in nfs_do_refmount()
431 err = nfs4_proc_fs_locations(client, d_inode(parent), &dentry->d_name, fs_locations, page); in nfs_do_refmount()
437 if (fs_locations->nlocations <= 0 || in nfs_do_refmount()
438 fs_locations->fs_path.ncomponents <= 0) in nfs_do_refmount()
441 err = nfs_follow_referral(fc, fs_locations); in nfs_do_refmount()
443 kfree(fs_locations->fattr); in nfs_do_refmount()
445 kfree(fs_locations); in nfs_do_refmount()