#pragma once namespace vm { using namespace ps3; } struct CellFsDirectoryEntry { CellFsStat attribute; CellFsDirent entry_name; }; // CellFsRingBuffer.copy enum : s32 { CELL_FS_ST_COPY = 0, CELL_FS_ST_COPYLESS = 1, }; struct CellFsRingBuffer { be_t ringbuf_size; be_t block_size; be_t transfer_rate; be_t copy; }; // cellFsStReadGetStatus status enum : u64 { CELL_FS_ST_INITIALIZED = 0x0001, CELL_FS_ST_NOT_INITIALIZED = 0x0002, CELL_FS_ST_STOP = 0x0100, CELL_FS_ST_PROGRESS = 0x0200, }; enum : s32 { CELL_FS_AIO_MAX_FS = 10, // cellFsAioInit limit CELL_FS_AIO_MAX_REQUEST = 32, // cellFsAioRead request limit per mount point }; struct CellFsAio { be_t fd; be_t offset; vm::bptr buf; be_t size; be_t user_data; };