Lines Matching defs:hdr

1176 #define	HDR_IN_HASH_TABLE(hdr)	((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE)  argument
1177 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) argument
1178 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR) argument
1179 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_FLAG_PREFETCH) argument
1180 #define HDR_COMPRESSION_ENABLED(hdr) \ argument
1183 #define HDR_L2CACHE(hdr) ((hdr)->b_flags & ARC_FLAG_L2CACHE) argument
1184 #define HDR_L2_READING(hdr) \ argument
1187 #define HDR_L2_WRITING(hdr) ((hdr)->b_flags & ARC_FLAG_L2_WRITING) argument
1188 #define HDR_L2_EVICTED(hdr) ((hdr)->b_flags & ARC_FLAG_L2_EVICTED) argument
1189 #define HDR_L2_WRITE_HEAD(hdr) ((hdr)->b_flags & ARC_FLAG_L2_WRITE_HEAD) argument
1190 #define HDR_SHARED_DATA(hdr) ((hdr)->b_flags & ARC_FLAG_SHARED_DATA) argument
1192 #define HDR_ISTYPE_METADATA(hdr) \ argument
1194 #define HDR_ISTYPE_DATA(hdr) (!HDR_ISTYPE_METADATA(hdr)) argument
1196 #define HDR_HAS_L1HDR(hdr) ((hdr)->b_flags & ARC_FLAG_HAS_L1HDR) argument
1197 #define HDR_HAS_L2HDR(hdr) ((hdr)->b_flags & ARC_FLAG_HAS_L2HDR) argument
1202 #define HDR_GET_COMPRESS(hdr) ((enum zio_compress)BF32_GET((hdr)->b_flags, \ argument
1204 #define HDR_SET_COMPRESS(hdr, cmp) BF32_SET((hdr)->b_flags, \ argument
1242 #define HDR_LOCK(hdr) \ argument
1409 l2arc_trim(const arc_buf_hdr_t *hdr) in l2arc_trim()
1439 #define HDR_EMPTY(hdr) \ argument
1443 #define HDR_EQUAL(spa, dva, birth, hdr) \ argument
1449 buf_discard_identity(arc_buf_hdr_t *hdr) in buf_discard_identity()
1463 arc_buf_hdr_t *hdr; in buf_hash_find() local
1486 buf_hash_insert(arc_buf_hdr_t *hdr, kmutex_t **lockp) in buf_hash_insert()
1530 buf_hash_remove(arc_buf_hdr_t *hdr) in buf_hash_remove()
1584 arc_buf_hdr_t *hdr = vbuf; in hdr_full_cons() local
1600 arc_buf_hdr_t *hdr = vbuf; in hdr_l2only_cons() local
1629 arc_buf_hdr_t *hdr = vbuf; in hdr_full_dest() local
1643 arc_buf_hdr_t *hdr = vbuf; in hdr_l2only_dest() local
1730 arc_cksum_free(arc_buf_hdr_t *hdr) in arc_cksum_free()
1744 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_cksum_verify() local
1764 arc_cksum_is_equal(arc_buf_hdr_t *hdr, zio_t *zio) in arc_cksum_is_equal()
1834 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_cksum_compute() local
1901 arc_buf_type(arc_buf_hdr_t *hdr) in arc_buf_type()
1932 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_thaw() local
1964 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_freeze() local
1990 arc_hdr_set_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) in arc_hdr_set_flags()
1997 arc_hdr_clear_flags(arc_buf_hdr_t *hdr, arc_flags_t flags) in arc_hdr_clear_flags()
2011 arc_hdr_set_compress(arc_buf_hdr_t *hdr, enum zio_compress cmp) in arc_hdr_set_compress()
2038 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_decompress() local
2080 arc_hdr_size(arc_buf_hdr_t *hdr) in arc_hdr_size()
2100 arc_evictable_space_increment(arc_buf_hdr_t *hdr, arc_state_t *state) in arc_evictable_space_increment()
2136 arc_evitable_space_decrement(arc_buf_hdr_t *hdr, arc_state_t *state) in arc_evitable_space_decrement()
2175 add_reference(arc_buf_hdr_t *hdr, void *tag) in add_reference()
2205 remove_reference(arc_buf_hdr_t *hdr, kmutex_t *hash_lock, void *tag) in remove_reference()
2232 arc_change_state(arc_state_t *new_state, arc_buf_hdr_t *hdr, in arc_change_state()
2493 arc_buf_alloc_impl(arc_buf_hdr_t *hdr, void *tag) in arc_buf_alloc_impl()
2551 arc_buf_hdr_t *hdr = from->b_hdr; in arc_buf_clone() local
2595 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_return_buf() local
2609 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_loan_inuse_buf() local
2633 arc_hdr_free_on_write(arc_buf_hdr_t *hdr) in arc_hdr_free_on_write()
2664 arc_share_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_share_buf()
2693 arc_unshare_buf(arc_buf_hdr_t *hdr, arc_buf_t *buf) in arc_unshare_buf()
2727 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_destroy_impl() local
2822 arc_hdr_alloc_pdata(arc_buf_hdr_t *hdr) in arc_hdr_alloc_pdata()
2838 arc_hdr_free_pdata(arc_buf_hdr_t *hdr) in arc_hdr_free_pdata()
2867 arc_buf_hdr_t *hdr; in arc_hdr_alloc() local
2908 arc_hdr_realloc(arc_buf_hdr_t *hdr, kmem_cache_t *old, kmem_cache_t *new) in arc_hdr_realloc()
3013 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), size, size, in arc_alloc_buf() local
3022 arc_hdr_l2hdr_destroy(arc_buf_hdr_t *hdr) in arc_hdr_l2hdr_destroy()
3043 arc_hdr_destroy(arc_buf_hdr_t *hdr) in arc_hdr_destroy()
3113 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_buf_destroy() local
3155 arc_evict_hdr(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) in arc_evict_hdr()
3272 arc_buf_hdr_t *hdr; in arc_evict_state_impl() local
4374 arc_get_data_buf(arc_buf_hdr_t *hdr, uint64_t size, void *tag) in arc_get_data_buf()
4468 arc_free_data_buf(arc_buf_hdr_t *hdr, void *data, uint64_t size, void *tag) in arc_free_data_buf()
4499 arc_access(arc_buf_hdr_t *hdr, kmutex_t *hash_lock) in arc_access()
4657 arc_hdr_verify(arc_buf_hdr_t *hdr, blkptr_t *bp) in arc_hdr_verify()
4675 arc_buf_hdr_t *hdr = zio->io_private; in arc_read_done() local
4850 arc_buf_hdr_t *hdr = NULL; in arc_read() local
5222 arc_buf_hdr_t *hdr; in arc_freed() local
5274 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_release() local
5502 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write_ready() local
5610 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write_done() local
5695 arc_buf_hdr_t *hdr = buf->b_hdr; in arc_write() local
5903 arc_buf_hdr_t *hdr = obj; in arc_state_multilist_index_func() local
6469 l2arc_write_eligible(uint64_t spa_guid, arc_buf_hdr_t *hdr) in l2arc_write_eligible()
6643 arc_buf_hdr_t *head, *hdr, *hdr_prev; in l2arc_write_done() local
6758 arc_buf_hdr_t *hdr; in l2arc_read_done() local
6904 arc_buf_hdr_t *hdr, *hdr_prev; in l2arc_evict() local
7021 arc_buf_hdr_t *hdr, *hdr_prev, *head; in l2arc_write_buffers() local