|
| | | | D O S _ A L P _ M A I N
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct dos_alp_main
{
void *am_cluster;
void *am_fcluster;
struct MinList am_links;
struct MinList am_clilist;
UBYTE *am_devname;
struct DosList *am_dol;
struct DosList am_vol;
struct DosPacket *am_dp;
void *am_last;
struct dos_alp_file am_af;
LONG am_isfs;
LONG am_wrprot;
LONG am_dfiles;
LONG am_filenull;
UBYTE am_fileline[QDEV_DOS_PRV_MAXARGLEN];
UBYTE am_argline[QDEV_DOS_PRV_MAXARGLEN];
};
am_cluster
- Memory cluster where all the clients live. Consider this memory
pool where each allocation is of fixed size, requires no global
arbitration and is incredibly fast upon chunk request.
am_fcluster
- Memory cluster that files use. Can auto expand at any point as
opposed to am_cluster.
am_links - List of all links(wrapped files, dos_alp_file).
am_clilist
- A list of all callers who were granted access to real files.
am_devname
- This member points at the device name. The name is colonless.
am_dol - This Doslist pointer is here just to make inter-function access
quicker. It really points at the device node!
am_vol - Virtual device volume that is really a copy of am_dol, but acts
as a fully qualified volume.
am_dp - Main DOS packet pointer, also here to make it all look simplier
when dealing with nested calls.
am_last - As linkpoint really tries to maintain consistent file list that
never changes on addressation this member is serves as a list
terminator.
am_af - Root object(ST_ROOT). This file although not on the file list
is a kickstart for other files.
am_isfs - Dynamic filesystem indicator. This toggles when linkpoint is to
be stream device only.
am_wrprot
- Write protection indicator.
am_dfiles
- Discarded files count. This is used to tell the used that some
of the files could not be mapped. The info can be obtained by
using 'Info' command, where Errors field will reflect this
member.
am_filenull
- NULL in am_fileline position indicator.
am_fileline
- This buffer is used to store real file locations while making
a list of wrapped files.
am_argline
- This buffer is used to store LPX arguments who then get parsed
by ReadArgs().
| |
| | | | |
|