Rev 3535 | Rev 3588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3535 | Rev 3561 | ||
---|---|---|---|
Line 65... | Line 65... | ||
65 | link_t hash_link; |
65 | link_t hash_link; |
66 | /** Buffer with the block data. */ |
66 | /** Buffer with the block data. */ |
67 | void *data; |
67 | void *data; |
68 | } block_t; |
68 | } block_t; |
69 | 69 | ||
70 | extern int block_init(dev_handle_t, size_t, off_t, size_t); |
70 | extern int block_init(dev_handle_t, size_t); |
71 | extern void block_fini(dev_handle_t); |
71 | extern void block_fini(dev_handle_t); |
- | 72 | ||
- | 73 | extern int block_bb_read(dev_handle_t, off_t, size_t); |
|
72 | extern void *block_bb_get(dev_handle_t); |
74 | extern void *block_bb_get(dev_handle_t); |
73 | 75 | ||
- | 76 | extern int block_cache_init(dev_handle_t, size_t, unsigned); |
|
- | 77 | ||
74 | extern block_t *block_get(dev_handle_t, off_t, size_t); |
78 | extern block_t *block_get(dev_handle_t, off_t); |
75 | extern void block_put(block_t *); |
79 | extern void block_put(block_t *); |
76 | 80 | ||
77 | extern bool block_read(int, off_t *, size_t *, off_t *, void *, size_t, size_t); |
81 | extern int block_read(int, off_t *, size_t *, off_t *, void *, size_t, size_t); |
78 | 82 | ||
79 | #endif |
83 | #endif |
80 | 84 | ||
81 | /** @} |
85 | /** @} |
82 | */ |
86 | */ |