diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2017-08-11 18:56:25 +0300 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2017-08-30 22:29:47 -0700 |
commit | 37e84ab74e939caf52150fc3352081786ecc0c29 (patch) | |
tree | cf0cf8e10282de2aff840f47dec4f3ff18042171 /usr/src | |
parent | 216d7723a1a58124cf95c4950d51d5f99d3f4128 (diff) | |
download | illumos-joyent-37e84ab74e939caf52150fc3352081786ecc0c29.tar.gz |
8569 problem with inline functions in abd.h
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/common/fs/zfs/abd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/common/fs/zfs/abd.c b/usr/src/uts/common/fs/zfs/abd.c index 932ba800ed..4d7b2cb56a 100644 --- a/usr/src/uts/common/fs/zfs/abd.c +++ b/usr/src/uts/common/fs/zfs/abd.c @@ -157,6 +157,13 @@ extern vmem_t *zio_alloc_arena; kmem_cache_t *abd_chunk_cache; static kstat_t *abd_ksp; +extern inline boolean_t abd_is_linear(abd_t *abd); +extern inline void abd_copy(abd_t *dabd, abd_t *sabd, size_t size); +extern inline void abd_copy_from_buf(abd_t *abd, const void *buf, size_t size); +extern inline void abd_copy_to_buf(void* buf, abd_t *abd, size_t size); +extern inline int abd_cmp_buf(abd_t *abd, const void *buf, size_t size); +extern inline void abd_zero(abd_t *abd, size_t size); + static void * abd_alloc_chunk() { |