Lines Matching refs:abd_t
186 extern inline boolean_t abd_is_linear(abd_t *abd);
187 extern inline void abd_copy(abd_t *dabd, abd_t *sabd, size_t size);
188 extern inline void abd_copy_from_buf(abd_t *abd, const void *buf, size_t size);
189 extern inline void abd_copy_to_buf(void* buf, abd_t *abd, size_t size);
190 extern inline int abd_cmp_buf(abd_t *abd, const void *buf, size_t size);
191 extern inline void abd_zero(abd_t *abd, size_t size);
250 abd_scatter_chunkcnt(abd_t *abd) in abd_scatter_chunkcnt()
258 abd_verify(abd_t *abd) in abd_verify()
279 static inline abd_t *
282 size_t size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_alloc_struct()
283 abd_t *abd = kmem_alloc(size, KM_PUSHPAGE); in abd_alloc_struct()
291 abd_free_struct(abd_t *abd) in abd_free_struct()
294 int size = offsetof(abd_t, abd_u.abd_scatter.abd_chunks[chunkcnt]); in abd_free_struct()
303 abd_t *
313 abd_t *abd = abd_alloc_struct(n); in abd_alloc()
341 abd_free_scatter(abd_t *abd) in abd_free_scatter()
362 abd_t *
365 abd_t *abd = abd_alloc_struct(0); in abd_alloc_linear()
390 abd_free_linear(abd_t *abd) in abd_free_linear()
410 abd_free(abd_t *abd) in abd_free()
425 abd_t *
426 abd_alloc_sametype(abd_t *sabd, size_t size) in abd_alloc_sametype()
446 abd_t *
458 static inline abd_t *
459 abd_get_offset_impl(abd_t *sabd, size_t off, size_t size) in abd_get_offset_impl()
461 abd_t *abd; in abd_get_offset_impl()
511 abd_t *
512 abd_get_offset(abd_t *sabd, size_t off) in abd_get_offset()
521 abd_t *
522 abd_get_offset_size(abd_t *sabd, size_t off, size_t size) in abd_get_offset_size()
534 abd_t *
537 abd_t *abd = abd_alloc_struct(0); in abd_get_from_buf()
561 abd_put(abd_t *abd) in abd_put()
579 abd_to_buf(abd_t *abd) in abd_to_buf()
593 abd_borrow_buf(abd_t *abd, size_t n) in abd_borrow_buf()
611 abd_borrow_buf_copy(abd_t *abd, size_t n) in abd_borrow_buf_copy()
627 abd_return_buf(abd_t *abd, void *buf, size_t n) in abd_return_buf()
644 abd_return_buf_copy(abd_t *abd, void *buf, size_t n) in abd_return_buf_copy()
659 abd_take_ownership_of_buf(abd_t *abd, boolean_t is_metadata) in abd_take_ownership_of_buf()
675 abd_release_ownership_of_buf(abd_t *abd) in abd_release_ownership_of_buf()
690 abd_t *iter_abd; /* ABD being iterated through */
716 abd_iter_init(struct abd_iter *aiter, abd_t *abd) in abd_iter_init()
797 abd_iterate_func(abd_t *abd, size_t off, size_t size, in abd_iterate_func()
848 abd_copy_to_buf_off(void *buf, abd_t *abd, size_t off, size_t size) in abd_copy_to_buf_off()
872 abd_cmp_buf_off(abd_t *abd, const void *buf, size_t off, size_t size) in abd_cmp_buf_off()
894 abd_copy_from_buf_off(abd_t *abd, const void *buf, size_t off, size_t size) in abd_copy_from_buf_off()
914 abd_zero_off(abd_t *abd, size_t off, size_t size) in abd_zero_off()
925 abd_iterate_func2(abd_t *dabd, abd_t *sabd, size_t doff, size_t soff, in abd_iterate_func2()
980 abd_copy_off(abd_t *dabd, abd_t *sabd, size_t doff, size_t soff, size_t size) in abd_copy_off()
997 abd_cmp(abd_t *dabd, abd_t *sabd, size_t size) in abd_cmp()
1011 abd_raidz_gen_iterate(abd_t **cabds, abd_t *dabd, in abd_raidz_gen_iterate()
1109 abd_raidz_rec_iterate(abd_t **cabds, abd_t **tabds, in abd_raidz_rec_iterate()