Changeset c3ffd24 in rtems


Ignore:
Timestamp:
10/25/99 17:41:33 (24 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c3cc0ee
Parents:
55f5c1e
Message:

+ Filled in information on IMFS_freenod and IMFS_freenodinfo
+ Filled in information on the imfs_fsunmount and imfs_unmount methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/filesystem/imfs.t

    r55f5c1e rc3ffd24  
    474474
    475475
    476 
    477476@c
    478477@c
     
    484483@subheading Corresponding Structure Element:
    485484
    486 XXX
    487 
    488 @subheading Arguments:
    489 
    490 XXX
    491 
    492 @subheading File:
    493 
    494 XXX
    495 
    496 @subheading Description:
    497 
    498 XXX
     485IMFS_freenod()
     486
     487@subheading Arguments:
     488
     489@example
     490rtems_filesystem_location_info_t      *pathloc       /* IN */
     491@end example
     492
     493@subheading File:
     494
     495imfs_free.c
     496
     497@subheading Description:
     498
     499This method is a private function to the IMFS.  It is called by IMFS routines
     500to free nodes that have been allocated.  Examples of where this routine
     501may be called from are unlink and rmnod. 
     502
     503Note:  This routine should not be confused with the filesystem callback
     504freenod.  The IMFS allocates memory until the node no longer exists.
     505
     506@c
     507@c
     508@c
     509@c @page
     510
     511@subsubsection IMFS_freenodinfo()
     512
     513@subheading Corresponding Structure Element:
     514
     515IMFS_freenodinfo()
     516
     517@subheading Arguments:
     518
     519@example
     520rtems_filesystem_location_info_t      *pathloc       /* IN */
     521@end example
     522
     523@subheading File:
     524
     525imfs_free.c
     526
     527@subheading Description:
     528
     529The In-Memory File System does not need to allocate memory during the
     530evaluate routines. Therefore, this routine simply routines PASS.
    499531
    500532
     
    682714@subheading Corresponding Structure Element:
    683715
    684 XXX
    685 
    686 @subheading Arguments:
    687 
    688 XXX
    689 
    690 @subheading File:
    691 
    692 XXX
    693 
    694 @subheading Description:
    695 
    696 XXX
    697 
    698 
    699 @c
    700 @c
    701 @c
    702 @c @page
    703 
    704 @subsubsection IMFS_fsunmount_me()
    705 
    706 @subheading Corresponding Structure Element:
    707 
    708 imfs_fsunmount_me()
     716IMFS_unmount()
    709717
    710718@subheading Arguments:
     
    716724@subheading File:
    717725
    718 imfs_fsunmount_me.c
    719 
    720 @subheading Description:
    721 
    722 XXX
    723 
     726imfs_unmount.c
     727
     728@subheading Description:
     729
     730This routine allows the IMFS to unmount a filesystem that has been
     731mounted onto a IMFS directory. 
     732
     733The mount entry mount point node access is verified to be a mounted
     734directory.  It's mt_fs is set to NULL.  This identifies to future
     735calles into the IMFS that this directory node is no longer a mount
     736point.  Additionally, it will allow any directories that were hidden
     737by the mounted system to again become visible.
     738
     739@c
     740@c
     741@c
     742@c @page
     743
     744@subsubsection IMFS_fsunmount()
     745
     746@subheading Corresponding Structure Element:
     747
     748imfs_fsunmount()
     749
     750@subheading Arguments:
     751
     752@example
     753rtems_filesystem_mount_table_entry_t   *mt_entry   
     754@end example
     755
     756@subheading File:
     757
     758imfs_init.c
     759
     760@subheading Description:
     761
     762This method unmounts this instance of the IMFS file system.  It is the
     763counterpart to the IMFS_initialize routine.  It is called by the generic
     764code under the fsunmount_me callback.
     765
     766All method loops finding the first encountered node with no children and
     767removing the node from the tree, thus returning allocated resources.  This
     768is done until all allocated nodes are returned.
    724769
    725770@c
Note: See TracChangeset for help on using the changeset viewer.