| 181 | | This function returns in the <desc> argument a pointer on a buffer descriptor contained in a File_Cache. |
| 182 | | The searched buffer is idenfified by the <inode> and <cluster_id> arguments. The <cluster_id> argument is the buffer index in the file. The <writable> argument define the behaviour in case of miss in File-Cache: |
| 183 | | * if [all clusters (from 0 to cluster_id) are already allocated in FAT] it scan the FAT to find the cluster index on device, and load the missing cluster in the File-Cache, marked as dirty if writable. |
| | 181 | This function returns in the <desc> argument a pointer on a buffer descriptor contained in a File_Cache. It can be used for a file or for a directory. |
| | 182 | The searched buffer is identified by the <inode> argument. The <cluster_id> argument is the buffer index in the file. The <writable> argument define the behaviour in case of miss in the File-Cache: |
| | 183 | * if [all clusters (from 0 to cluster_id) are already allocated in FAT] it scan the FAT to find the cluster index on device, and load the missing cluster in the File-Cache, marked as dirty if writable is set. |