Changeset ff62c6d in mainline for uspace/lib/libblock/libblock.h
- Timestamp:
- 2009-08-27T20:00:17Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ee00b7, b7b3fda, cfa8738
- Parents:
- f2f89315 (diff), 402a18f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.h
rf2f89315 rff62c6d 69 69 /** If true, the block needs to be written back to the block device. */ 70 70 bool dirty; 71 /** If true, the blcok does not contain valid data. */ 72 bool toxic; 71 73 /** Readers / Writer lock protecting the contents of the block. */ 72 74 fibril_rwlock_t contents_lock; … … 101 103 extern int block_cache_init(dev_handle_t, size_t, unsigned, enum cache_mode); 102 104 103 extern block_t *block_get(dev_handle_t, bn_t, int);104 extern voidblock_put(block_t *);105 extern int block_get(block_t **, dev_handle_t, bn_t, int); 106 extern int block_put(block_t *); 105 107 106 108 extern int block_seqread(dev_handle_t, off_t *, size_t *, off_t *, void *,
Note:
See TracChangeset
for help on using the changeset viewer.