Changes between Version 34 and Version 35 of file_system


Ignore:
Timestamp:
Jan 14, 2016, 1:55:10 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • file_system

    v34 v35  
    301301It returns 0 on success.It returns 1 if one name length > NAME_MAX_SIZE characters.
    302302
    303 //////////////////////////////////////////////////////////////////////////////////
    304 // The following function accesses the Fat-Cache and returns in the "value"
    305 // argument the content of the FAT slot identified by the "cluster" argument.
    306 // It loads the missing cluster from block device into cache in case of miss.
    307 // It returns 0 on success.
    308 // It returns 1 on error.
    309 //////////////////////////////////////////////////////////////////////////////////
    310 
    311 static unsigned int _get_fat_entry( unsigned int  cluster,
    312                                     unsigned int* value );
    313 
    314 //////////////////////////////////////////////////////////////////////////////////
    315 // The following function writes a new "value" in the Fat-Cache, in the slot
    316 // identified by the "cluster" argument. 
    317 // It loads the missing cluster from block device into cache in case of miss.
    318 // It returns 0 on success,
    319 // It returns 1 on error.
    320 //////////////////////////////////////////////////////////////////////////////////
    321 
    322 static unsigned int _set_fat_entry( unsigned int  cluster,
    323                                     unsigned int  value );
     303=== __unsigned int '''_get_fat_entry'''( unsigned int  cluster , unsigned int* value )__ ===
     304This function accesses the Fat-Cache and returns in the <value> argument the content of the FAT slot identified by the <cluster> argument. It loads the missing cluster from block device in the Fat-Cache in case of miss. It returns 0 on success. It returns 1 on error.
     305
     306=== __unsigned int '''_set_fat_entry'''( unsigned int  cluster , unsigned int  value )__ ===
     307This function writes a new <value> in the Fat-Cache, in the slot identified by the <cluster> argument. 
     308It loads the missing cluster from block device in the Fat-Cache in case of miss.
     309It returns 0 on success, It returns 1 on error.
    324310
    325311//////////////////////////////////////////////////////////////////////////////////
     
    649635
    650636
    651