Collaboration diagram for PHAT32 Support:
![]() |
Defines | |
#define | PHAT32CMASK 0x0FFFFFFF |
Functions | |
int | Phat32GetClusterLink (NUTDEVICE *dev, u_long clust, u_long *link) |
Get link value of a specified cluster. | |
int | Phat32SetClusterLink (NUTDEVICE *dev, u_long clust, u_long link) |
Set link value of a specified cluster. | |
int | Phat32ReleaseChain (NUTDEVICE *dev, u_long first) |
Release a cluster chain. |
#define PHAT32CMASK 0x0FFFFFFF |
Definition at line 55 of file phat32.h.
Referenced by AllocFirstCluster(), Phat32GetClusterLink(), Phat32ReleaseChain(), Phat32SetClusterLink(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Get link value of a specified cluster.
dev | Specifies the file system device. | |
clust | Get the link of this cluster. | |
link | Pointer to a variable which will receive the link. |
Definition at line 100 of file phat32.c.
References _NUTDEVICE::dev_dcb, PHAT32CMASK, PHATEOC, PhatSectorLoad(), _PHATSECTBUF::sect_data, and _PHATVOL::vol_buf.
Referenced by Phat32ReleaseChain(), PhatFilePosSet(), PhatFileRead(), and PhatFileWrite().
Set link value of a specified cluster.
dev | Specifies the file system device. | |
clust | This cluster will be linked. | |
link | Link to this cluster. |
Definition at line 135 of file phat32.c.
References _NUTDEVICE::dev_dcb, PHAT32CMASK, PhatSectorLoad(), and _PHATVOL::vol_tab_sect.
Referenced by AllocFirstCluster(), and Phat32ReleaseChain().
Release a cluster chain.
dev | Specifies the file system device. | |
first | First cluster of the chain to release. |
Definition at line 167 of file phat32.c.
References _NUTDEVICE::dev_dcb, PHAT32CMASK, Phat32GetClusterLink(), Phat32SetClusterLink(), PHATEOC, and _PHATVOL::vol_numfree.
Referenced by PhatDirReleaseChain().