From 37e84ab74e939caf52150fc3352081786ecc0c29 Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Fri, 11 Aug 2017 18:56:25 +0300 Subject: [PATCH] 8569 problem with inline functions in abd.h Reviewed by: Matt Ahrens Approved by: Robert Mustacchi --- usr/src/uts/common/fs/zfs/abd.c | 7 +++++++ 1 file changed, 7 insertions(+) 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() { -- 2.11.4.GIT