Changeset b72efe8 in mainline for uspace/srv/vfs/vfs.h


Ignore:
Timestamp:
2011-06-19T14:38:59Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
74464e8
Parents:
1d1bb0f
Message:

Separate list_t typedef from link_t (user-space part).

  • list_t represents lists
  • Use list_first(), list_last(), list_empty() where appropriate
  • Use list_foreach() where possible
  • assert_link_not_used()
  • usb_hid_report_path_free() shall not unlink the path, caller must do it
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs.h

    r1d1bb0f rb72efe8  
    145145extern fibril_mutex_t nodes_mutex;
    146146
    147 extern fibril_condvar_t fs_head_cv;
    148 extern fibril_mutex_t fs_head_lock;
    149 extern link_t fs_head;          /**< List of registered file systems. */
     147extern fibril_condvar_t fs_list_cv;
     148extern fibril_mutex_t fs_list_lock;
     149extern list_t fs_list;          /**< List of registered file systems. */
    150150
    151151extern vfs_pair_t rootfs;       /**< Root file system. */
     
    158158} plb_entry_t;
    159159
    160 extern fibril_mutex_t plb_mutex;/**< Mutex protecting plb and plb_head. */
     160extern fibril_mutex_t plb_mutex;/**< Mutex protecting plb and plb_entries. */
    161161extern uint8_t *plb;            /**< Path Lookup Buffer */
    162 extern link_t plb_head;         /**< List of active PLB entries. */
     162extern list_t plb_entries;      /**< List of active PLB entries. */
    163163
    164164#define MAX_MNTOPTS_LEN         256
Note: See TracChangeset for help on using the changeset viewer.