Lines Matching defs:hdr

616 #define	HDR_IN_HASH_TABLE(hdr)	((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE)  argument
617 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) argument
618 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR) argument
619 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_FLAG_PREFETCH) argument
620 #define HDR_PRESCIENT_PREFETCH(hdr) \ argument
622 #define HDR_COMPRESSION_ENABLED(hdr) \ argument
625 #define HDR_L2CACHE(hdr) ((hdr)->b_flags & ARC_FLAG_L2CACHE) argument
626 #define HDR_L2_READING(hdr) \ argument
629 #define HDR_L2_WRITING(hdr) ((hdr)->b_flags & ARC_FLAG_L2_WRITING) argument
630 #define HDR_L2_EVICTED(hdr) ((hdr)->b_flags & ARC_FLAG_L2_EVICTED) argument
631 #define HDR_L2_WRITE_HEAD(hdr) ((hdr)->b_flags & ARC_FLAG_L2_WRITE_HEAD) argument
632 #define HDR_PROTECTED(hdr) ((hdr)->b_flags & ARC_FLAG_PROTECTED) argument
633 #define HDR_NOAUTH(hdr) ((hdr)->b_flags & ARC_FLAG_NOAUTH) argument
634 #define HDR_SHARED_DATA(hdr) ((hdr)->b_flags & ARC_FLAG_SHARED_DATA) argument
636 #define HDR_ISTYPE_METADATA(hdr) \ argument
638 #define HDR_ISTYPE_DATA(hdr) (!HDR_ISTYPE_METADATA(hdr)) argument
640 #define HDR_HAS_L1HDR(hdr) ((hdr)->b_flags & ARC_FLAG_HAS_L1HDR) argument
641 #define HDR_HAS_L2HDR(hdr) ((hdr)->b_flags & ARC_FLAG_HAS_L2HDR) argument
642 #define HDR_HAS_RABD(hdr) \ argument
645 #define HDR_ENCRYPTED(hdr) \ argument
647 #define HDR_AUTHENTICATED(hdr) \ argument
653 #define HDR_GET_COMPRESS(hdr) ((enum zio_compress)BF32_GET((hdr)->b_flags, \ argument
655 #define HDR_SET_COMPRESS(hdr, cmp) BF32_SET((hdr)->b_flags, \ argument
697 #define HDR_LOCK(hdr) \ argument
811 #define l2arc_hdr_arcstats_increment(hdr) \ argument
813 #define l2arc_hdr_arcstats_decrement(hdr) \ argument
815 #define l2arc_hdr_arcstats_increment_state(hdr) \ argument
817 #define l2arc_hdr_arcstats_decrement_state(hdr) \ argument
845 #define HDR_EMPTY(hdr) \ argument
849 #define HDR_EMPTY_OR_LOCKED(hdr) \ argument
852 #define HDR_EQUAL(spa, dva, birth, hdr) \ argument
858 buf_discard_identity(arc_buf_hdr_t *hdr) in buf_discard_identity()
872 arc_buf_hdr_t *hdr; in buf_hash_find() local
895 buf_hash_insert(arc_buf_hdr_t *hdr, kmutex_t **lockp) in buf_hash_insert()
939 buf_hash_remove(arc_buf_hdr_t *hdr) in buf_hash_remove()
1002 arc_buf_hdr_t *hdr = vbuf; in hdr_full_cons() local
1019 arc_buf_hdr_t *hdr = vbuf; in hdr_full_crypt_cons() local
1032 arc_buf_hdr_t *hdr = vbuf; in hdr_l2only_cons() local
1061 arc_buf_hdr_t *hdr = vbuf; in hdr_full_dest() local
1075 arc_buf_hdr_t *hdr = vbuf; in hdr_full_crypt_dest() local
1085 arc_buf_hdr_t *hdr = vbuf; in hdr_l2only_dest() local
1205 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_get_raw_params() local
1237 arc_hdr_get_compress(arc_buf_hdr_t *hdr) in arc_hdr_get_compress()
1267 arc_cksum_free(arc_buf_hdr_t *hdr) in arc_cksum_free()
1284 arc_hdr_has_uncompressed_buf(arc_buf_hdr_t *hdr) in arc_hdr_has_uncompressed_buf()
1304 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_cksum_verify() local
1334 arc_cksum_is_equal(arc_buf_hdr_t *hdr, zio_t *zio) in arc_cksum_is_equal()
1366 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_cksum_compute() local
1433 arc_buf_type(arc_buf_hdr_t *hdr) in arc_buf_type()
1470 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_thaw() local
1522 arc_hdr_set_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) in arc_hdr_set_flags()
1529 arc_hdr_clear_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) in arc_hdr_clear_flags()
1543 arc_hdr_set_compress(arc_buf_hdr_t *hdr, enum zio_compress cmp) in arc_hdr_set_compress()
1573 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_try_copy_decompressed_data() local
1614 arc_hdr_size(arc_buf_hdr_t *hdr) in arc_hdr_size()
1629 arc_hdr_authenticate(arc_buf_hdr_t *hdr, spa_t *spa, uint64_t dsobj) in arc_hdr_authenticate()
1700 arc_hdr_decrypt(arc_buf_hdr_t *hdr, spa_t *spa, const zbookmark_phys_t *zb) in arc_hdr_decrypt()
1771 arc_fill_hdr_crypt(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, spa_t *spa, in arc_fill_hdr_crypt()
1824 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_untransform_in_place() local
1856 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_fill() local
2064 arc_evictable_space_increment(arc_buf_hdr_t *hdr, arc_state_t *state) in arc_evictable_space_increment()
2104 arc_evictable_space_decrement(arc_buf_hdr_t *hdr, arc_state_t *state) in arc_evictable_space_decrement()
2145 add_reference(arc_buf_hdr_t *hdr, void *tag) in add_reference()
2179 remove_reference(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, void *tag) in remove_reference()
2206 arc_change_state(arc_state_t *new_state, arc_buf_hdr_t *hdr, in arc_change_state()
2496 arc_can_share(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_can_share()
2537 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, spa_t *spa, const zbookmark_phys_t *zb, in arc_buf_alloc_impl()
2743 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_return_buf() local
2757 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_loan_inuse_buf() local
2781 arc_hdr_free_on_write(arc_buf_hdr_t *hdr, boolean_t free_rdata) in arc_hdr_free_on_write()
2816 arc_share_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_share_buf()
2850 arc_unshare_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_unshare_buf()
2886 arc_buf_remove(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_buf_remove()
2928 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_destroy_impl() local
3033 arc_hdr_alloc_pabd(arc_buf_hdr_t *hdr, int alloc_flags) in arc_hdr_alloc_pabd()
3063 arc_hdr_free_pabd(arc_buf_hdr_t *hdr, boolean_t free_rdata) in arc_hdr_free_pabd()
3106 arc_buf_hdr_t *hdr; in arc_hdr_alloc() local
3153 arc_hdr_realloc(arc_buf_hdr_t *hdr, kmem_cache_t *old, kmem_cache_t *new) in arc_hdr_realloc()
3271 arc_hdr_realloc_crypt(arc_buf_hdr_t *hdr, boolean_t need_crypt) in arc_hdr_realloc_crypt()
3409 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_convert_to_raw() local
3440 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), size, size, in arc_alloc_buf() local
3463 arc_buf_hdr_t *hdr; in arc_buf_alloc_l2only() local
3502 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), psize, lsize, in arc_alloc_compressed_buf() local
3532 arc_buf_hdr_t *hdr; in arc_alloc_raw_buf() local
3568 l2arc_hdr_arcstats_update(arc_buf_hdr_t *hdr, boolean_t incr, in l2arc_hdr_arcstats_update()
3638 arc_hdr_l2hdr_destroy(arc_buf_hdr_t *hdr) in arc_hdr_l2hdr_destroy()
3659 arc_hdr_destroy(arc_buf_hdr_t *hdr) in arc_hdr_destroy()
3740 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_destroy() local
3777 arc_evict_hdr(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) in arc_evict_hdr()
3913 arc_buf_hdr_t *hdr; in arc_evict_state_impl() local
4934 arc_get_data_abd(arc_buf_hdr_t *hdr, uint64_t size, void *tag, in arc_get_data_abd()
4949 arc_get_data_buf(arc_buf_hdr_t *hdr, uint64_t size, void *tag) in arc_get_data_buf()
4969 arc_get_data_impl(arc_buf_hdr_t *hdr, uint64_t size, void *tag, in arc_get_data_impl()
5058 arc_free_data_abd(arc_buf_hdr_t *hdr, abd_t *abd, uint64_t size, void *tag) in arc_free_data_abd()
5065 arc_free_data_buf(arc_buf_hdr_t *hdr, void *buf, uint64_t size, void *tag) in arc_free_data_buf()
5082 arc_free_data_impl(arc_buf_hdr_t *hdr, uint64_t size, void *tag) in arc_free_data_impl()
5111 arc_access(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) in arc_access()
5258 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_access() local
5325 arc_hdr_verify(arc_buf_hdr_t *hdr, const blkptr_t *bp) in arc_hdr_verify()
5346 arc_hdr_verify_checksum(spa_t *spa, arc_buf_hdr_t *hdr, const blkptr_t *bp) in arc_hdr_verify_checksum()
5388 arc_buf_hdr_t *hdr = zio->io_private; in arc_read_done() local
5631 arc_buf_hdr_t *hdr = NULL; in arc_read() local
6103 arc_buf_hdr_t *hdr; in arc_freed() local
6163 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_release() local
6406 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write_ready() local
6579 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write_done() local
6665 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write() local
6940 arc_buf_hdr_t *hdr = obj; in arc_state_multilist_index_func() local
7521 l2arc_write_eligible(uint64_t spa_guid, arc_buf_hdr_t *hdr) in l2arc_write_eligible()
7701 arc_buf_hdr_t *head, *hdr, *hdr_prev; in l2arc_write_done() local
7873 arc_buf_hdr_t *hdr = cb->l2rcb_hdr; in l2arc_untransform() local
7969 arc_buf_hdr_t *hdr; in l2arc_read_done() local
8180 arc_buf_hdr_t *hdr, *hdr_prev; in l2arc_evict() local
8366 l2arc_apply_transforms(spa_t *spa, arc_buf_hdr_t *hdr, uint64_t asize, in l2arc_apply_transforms()
8503 arc_buf_hdr_t *hdr, *hdr_prev, *head; in l2arc_write_buffers() local
9658 arc_buf_hdr_t *hdr, *exists; in l2arc_hdr_restore() local
9980 l2arc_log_blk_insert(l2arc_dev_t *dev, const arc_buf_hdr_t *hdr) in l2arc_log_blk_insert()