public FileSystemAccessor(FileSystemClient fsClient, U8Span name, IMultiCommitTarget multiCommitTarget, IFileSystem fileSystem, ICommonMountNameGenerator mountNameGenerator, ISaveDataAttributeGetter saveAttributeGetter) { FsClient = fsClient; _fileSystem = fileSystem; _openFiles = new LinkedList <FileAccessor>(); _openDirectories = new LinkedList <DirectoryAccessor>(); _openListLock.Initialize(); _mountNameGenerator = mountNameGenerator; _saveDataAttributeGetter = saveAttributeGetter; _multiCommitTarget = multiCommitTarget; if (name.IsEmpty()) { Abort.DoAbort(ResultFs.InvalidMountName.Log()); } if (StringUtils.GetLength(name, PathTool.MountNameLengthMax + 1) > PathTool.MountNameLengthMax) { Abort.DoAbort(ResultFs.InvalidMountName.Log()); } StringUtils.Copy(_mountName.Name.Slice(0, PathTool.MountNameLengthMax), name); _mountName.Name[PathTool.MountNameLengthMax] = 0; }
public SaveDataOpenTypeSetFileStorage(FileSystemServer fsServer, SaveDataSpaceId spaceId, ulong saveDataId) { _fsServer = fsServer; _spaceId = spaceId; _saveDataId = saveDataId; _mutex.Initialize(); }
public TimeServiceImpl(FileSystemServer fsServer) { _fsServer = fsServer; _basePosixTime = 0; _timeDifference = 0; _mutex.Initialize(); }
public MountTable(FileSystemClient fsClient) { _fileSystemList = new LinkedList <FileSystemAccessor>(); _mutex = new SdkMutexType(); _mutex.Initialize(); }
public void Initialize(FileSystemClient _) { MutexForAccessLogInitialization.Initialize(); }
public LocationResolverSet(FileSystemServer fsServer) { _resolvers = new LocationResolver[LocationResolverCount]; _mutex.Initialize(); _fsServer = fsServer; }
public void Initialize(FileSystemServer fsServer) { Mutex.Initialize(); SaveDataFileStorageHolder = new SaveDataFileStorageHolder(fsServer); }
public void Initialize(FileSystemClient fsClient) { SynchronizeDirectoryMutex.Initialize(); }