Lines Matching refs:nxfs

2677 	struct nfs_exportfs *nxfs, *nxfs2, *nxfs3;
2722 while ((nxfs = LIST_FIRST(&nfsrv_exports))) {
2723 mp = vfs_getvfs_by_mntonname(nxfs->nxfs_path);
2730 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) {
2744 LIST_REMOVE(nxfs, nxfs_next);
2745 FREE(nxfs->nxfs_path, M_TEMP);
2746 FREE(nxfs, M_TEMP);
2771 LIST_FOREACH(nxfs, &nfsrv_exports, nxfs_next) {
2772 if (nxfs->nxfs_id == unxa->nxa_fsid)
2775 if (nxfs) {
2777 if (strncmp(path, nxfs->nxfs_path, MAXPATHLEN)) {
2783 mp = vfs_getvfs_by_mntonname(nxfs->nxfs_path);
2790 UIO_SYSSPACE, CAST_USER_ADDR_T(nxfs->nxfs_path), ctx);
2849 MALLOC(nxfs, struct nfs_exportfs *, sizeof(struct nfs_exportfs), M_TEMP, M_WAITOK);
2850 if (!nxfs) {
2854 bzero(nxfs, sizeof(struct nfs_exportfs));
2855 nxfs->nxfs_id = unxa->nxa_fsid;
2856 MALLOC(nxfs->nxfs_path, char*, pathlen, M_TEMP, M_WAITOK);
2857 if (!nxfs->nxfs_path) {
2858 FREE(nxfs, M_TEMP);
2862 bcopy(path, nxfs->nxfs_path, pathlen);
2866 if (strncmp(nxfs->nxfs_path, nxfs2->nxfs_path, MAXPATHLEN) > 0)
2871 LIST_INSERT_BEFORE(nxfs2, nxfs, nxfs_next);
2873 LIST_INSERT_AFTER(nxfs3, nxfs, nxfs_next);
2875 LIST_INSERT_HEAD(&nfsrv_exports, nxfs, nxfs_next);
2886 LIST_FOREACH(nx, &nxfs->nxfs_exports, nx_next) {
2910 nx->nx_fs = nxfs;
2924 LIST_FOREACH(nx2, &nxfs->nxfs_exports, nx_next) {
2934 LIST_INSERT_HEAD(&nxfs->nxfs_exports, nx, nx_next);
2936 LIST_INSERT_HEAD(NFSRVEXPHASH(nxfs->nxfs_id, nx->nx_id), nx, nx_hash);
2953 LIST_FOREACH(nx2, &nxfs->nxfs_exports, nx_next) {
2976 nxfs->nxfs_path, nx->nx_path);
3052 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) {
3105 if (LIST_EMPTY(&nxfs->nxfs_exports)) {
3107 LIST_REMOVE(nxfs, nxfs_next);
3108 FREE(nxfs->nxfs_path, M_TEMP);
3109 FREE(nxfs, M_TEMP);
3550 struct nfs_exportfs *nxfs;
3563 LIST_FOREACH(nxfs, &nfsrv_exports, nxfs_next) {
3564 LIST_FOREACH(nx, &nxfs->nxfs_exports, nx_next) {