MCPcopy Index your code
hub / github.com/FDOS/kernel / link_fat

Function link_fat

kernel/fattab.c:161–375  ·  view source on GitHub ↗

either read the value at Cluster1 (if Cluster2 is READ_CLUSTER) */ or write the Cluster2 value to the FAT entry at Cluster1 */ Read is always via next_cluster wrapper which has extra checks */ It might make sense to manually check old values before a write */ returns: the cluster number (or 1 on error) for read mode */ returns: SUCCESS (or 1 on error) for write mode *

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

wipe_out_clustersFunction · 0.85
dos_mkdirFunction · 0.85
extendFunction · 0.85
shrink_fileFunction · 0.85
next_clusterFunction · 0.85
is_free_clusterFunction · 0.85

Calls 7

ISFAT32Function · 0.85
clusterMessageFunction · 0.85
getFATblockFunction · 0.85
fgetwordFunction · 0.85
fputwordFunction · 0.85
put_stringFunction · 0.85
write_fsinfoFunction · 0.85

Tested by

no test coverage detected