diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/arc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sys/arc.h b/include/sys/arc.h index 6328392be..215c75b6d 100644 --- a/include/sys/arc.h +++ b/include/sys/arc.h @@ -125,15 +125,15 @@ typedef struct arc_buf_info { void arc_space_consume(uint64_t space, arc_space_type_t type); void arc_space_return(uint64_t space, arc_space_type_t type); -arc_buf_t *arc_buf_alloc(spa_t *spa, int size, void *tag, +arc_buf_t *arc_buf_alloc(spa_t *spa, uint64_t size, void *tag, arc_buf_contents_t type); -arc_buf_t *arc_loan_buf(spa_t *spa, int size); +arc_buf_t *arc_loan_buf(spa_t *spa, uint64_t size); void arc_return_buf(arc_buf_t *buf, void *tag); void arc_loan_inuse_buf(arc_buf_t *buf, void *tag); void arc_buf_add_ref(arc_buf_t *buf, void *tag); boolean_t arc_buf_remove_ref(arc_buf_t *buf, void *tag); void arc_buf_info(arc_buf_t *buf, arc_buf_info_t *abi, int state_index); -int arc_buf_size(arc_buf_t *buf); +uint64_t arc_buf_size(arc_buf_t *buf); void arc_release(arc_buf_t *buf, void *tag); int arc_released(arc_buf_t *buf); void arc_buf_sigsegv(int sig, siginfo_t *si, void *unused); |