Lines Matching defs:mounts
2318 }var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,ErrnoError:null,genericErrors:{},handleFSError:function (e) {
2648 var mounts = [];
2654 mounts.push(m);
2656 check.push.apply(check, m.mounts);
2659 return mounts;
2666 var mounts = FS.getMounts(FS.root.mount);
2677 if (++completed >= mounts.length) {
2682 // sync all mounts
2683 mounts.forEach(function (mount) {
2715 mounts: []
2731 node.mount.mounts.push(mount);
2743 // destroy the nodes for this mount, and all its child mounts
2746 var mounts = FS.getMounts(mount);
2754 if (mounts.indexOf(current.mount) !== -1) {
2765 // remove this mount from the child mounts
2766 var idx = node.mount.mounts.indexOf(mount);
2768 node.mount.mounts.splice(idx, 1);