H A D | arc.c | 208 * arc_buf_hdr_t is cached. If the hdr is cached then the ARC allocates a new 210 * existing uncompressed arc_buf_t, decompresses the hdr's b_pabd buffer into a 211 * new data buffer, or shares the hdr's b_pabd buffer, depending on whether the 212 * hdr is compressed and the desired compression characteristics of the 215 * the last buffer in the hdr's b_buf list, however a shared compressed buf can 216 * be anywhere in the hdr's list. 218 * The diagram below shows an example of an uncompressed ARC hdr that is 249 * Writing to the ARC requires that the ARC first discard the hdr's b_pabd 256 * buffers which have been released (and hence have their own hdr, if there 257 * were originally other readers of the buf's original hdr) 699 HDR_IN_HASH_TABLE(hdr) global() argument 700 HDR_IO_IN_PROGRESS(hdr) global() argument 701 HDR_IO_ERROR(hdr) global() argument 702 HDR_PREFETCH(hdr) global() argument 703 HDR_PRESCIENT_PREFETCH(hdr) global() argument 705 HDR_COMPRESSION_ENABLED(hdr) global() argument 708 HDR_L2CACHE(hdr) global() argument 709 HDR_UNCACHED(hdr) global() argument 710 HDR_L2_READING(hdr) global() argument 713 HDR_L2_WRITING(hdr) global() argument 714 HDR_L2_EVICTED(hdr) global() argument 715 HDR_L2_WRITE_HEAD(hdr) global() argument 716 HDR_PROTECTED(hdr) global() argument 717 HDR_NOAUTH(hdr) global() argument 718 HDR_SHARED_DATA(hdr) global() argument 720 HDR_ISTYPE_METADATA(hdr) global() argument 722 HDR_ISTYPE_DATA(hdr) global() argument 724 HDR_HAS_L1HDR(hdr) global() argument 725 HDR_HAS_L2HDR(hdr) global() argument 726 HDR_HAS_RABD(hdr) global() argument 729 HDR_ENCRYPTED(hdr) global() argument 731 HDR_AUTHENTICATED(hdr) global() argument 737 HDR_GET_COMPRESS(hdr) global() argument 739 HDR_SET_COMPRESS(hdr,cmp) global() argument 770 HDR_LOCK(hdr) global() argument 891 l2arc_hdr_arcstats_increment(hdr) global() argument 893 l2arc_hdr_arcstats_decrement(hdr) global() argument 895 l2arc_hdr_arcstats_increment_state(hdr) global() argument 897 l2arc_hdr_arcstats_decrement_state(hdr) global() argument 993 HDR_EMPTY(hdr) global() argument 997 HDR_EMPTY_OR_LOCKED(hdr) global() argument 1000 HDR_EQUAL(spa,dva,birth,hdr) global() argument 1006 buf_discard_identity(arc_buf_hdr_t * hdr) buf_discard_identity() argument 1020 arc_buf_hdr_t *hdr; buf_hash_find() local 1043 buf_hash_insert(arc_buf_hdr_t * hdr,kmutex_t ** lockp) buf_hash_insert() argument 1087 buf_hash_remove(arc_buf_hdr_t * hdr) buf_hash_remove() argument 1149 arc_buf_hdr_t *hdr = vbuf; hdr_full_cons() local 1168 arc_buf_hdr_t *hdr = vbuf; hdr_l2only_cons() local 1196 arc_buf_hdr_t *hdr = vbuf; hdr_full_dest() local 1211 arc_buf_hdr_t *hdr = vbuf; hdr_l2only_dest() local 1320 arc_buf_hdr_t *hdr = buf->b_hdr; arc_get_raw_params() local 1349 arc_hdr_get_compress(arc_buf_hdr_t * hdr) arc_hdr_get_compress() argument 1385 arc_cksum_free(arc_buf_hdr_t * hdr) arc_cksum_free() argument 1404 arc_hdr_has_uncompressed_buf(arc_buf_hdr_t * hdr) arc_hdr_has_uncompressed_buf() argument 1426 arc_buf_hdr_t *hdr = buf->b_hdr; arc_cksum_verify() local 1457 arc_cksum_is_equal(arc_buf_hdr_t * hdr,zio_t * zio) arc_cksum_is_equal() argument 1493 arc_buf_hdr_t *hdr = buf->b_hdr; arc_cksum_compute() local 1547 arc_buf_type(arc_buf_hdr_t * hdr) arc_buf_type() argument 1584 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_thaw() local 1624 arc_hdr_set_flags(arc_buf_hdr_t * hdr,arc_flags_t flags) arc_hdr_set_flags() argument 1631 arc_hdr_clear_flags(arc_buf_hdr_t * hdr,arc_flags_t flags) arc_hdr_clear_flags() argument 1645 arc_hdr_set_compress(arc_buf_hdr_t * hdr,enum zio_compress cmp) arc_hdr_set_compress() argument 1673 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_try_copy_decompressed_data() local 1718 arc_buf_hdr_t *hdr; arc_buf_alloc_l2only() local 1749 arc_hdr_size(arc_buf_hdr_t * hdr) arc_hdr_size() argument 1764 arc_hdr_authenticate(arc_buf_hdr_t * hdr,spa_t * spa,uint64_t dsobj) arc_hdr_authenticate() argument 1835 arc_hdr_decrypt(arc_buf_hdr_t * hdr,spa_t * spa,const zbookmark_phys_t * zb) arc_hdr_decrypt() argument 1906 arc_fill_hdr_crypt(arc_buf_hdr_t * hdr,kmutex_t * hash_lock,spa_t * spa,const zbookmark_phys_t * zb,boolean_t noauth) arc_fill_hdr_crypt() argument 1958 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_untransform_in_place() local 1989 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_fill() local 2201 arc_evictable_space_increment(arc_buf_hdr_t * hdr,arc_state_t * state) arc_evictable_space_increment() argument 2240 arc_evictable_space_decrement(arc_buf_hdr_t * hdr,arc_state_t * state) arc_evictable_space_decrement() argument 2280 add_reference(arc_buf_hdr_t * hdr,const void * tag) add_reference() argument 2305 remove_reference(arc_buf_hdr_t * hdr,const void * tag) remove_reference() argument 2342 arc_buf_hdr_t *hdr = ab->b_hdr; arc_buf_info() local 2388 arc_change_state(arc_state_t * new_state,arc_buf_hdr_t * hdr) arc_change_state() argument 2674 arc_can_share(arc_buf_hdr_t * hdr,arc_buf_t * buf) arc_can_share() argument 2715 arc_buf_alloc_impl(arc_buf_hdr_t * hdr,spa_t * spa,const zbookmark_phys_t * zb,const void * tag,boolean_t encrypted,boolean_t compressed,boolean_t noauth,boolean_t fill,arc_buf_t ** ret) arc_buf_alloc_impl() argument 2875 arc_buf_hdr_t *hdr = buf->b_hdr; arc_return_buf() local 2889 arc_buf_hdr_t *hdr = buf->b_hdr; arc_loan_inuse_buf() local 2913 arc_hdr_free_on_write(arc_buf_hdr_t * hdr,boolean_t free_rdata) arc_hdr_free_on_write() argument 2948 arc_share_buf(arc_buf_hdr_t * hdr,arc_buf_t * buf) arc_share_buf() argument 2980 arc_unshare_buf(arc_buf_hdr_t * hdr,arc_buf_t * buf) arc_unshare_buf() argument 3014 arc_buf_remove(arc_buf_hdr_t * hdr,arc_buf_t * buf) arc_buf_remove() argument 3054 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_destroy_impl() local 3158 arc_hdr_alloc_abd(arc_buf_hdr_t * hdr,int alloc_flags) arc_hdr_alloc_abd() argument 3188 arc_hdr_free_abd(arc_buf_hdr_t * hdr,boolean_t free_rdata) arc_hdr_free_abd() argument 3252 arc_buf_hdr_t *hdr; arc_hdr_alloc() local 3293 arc_hdr_realloc(arc_buf_hdr_t * hdr,kmem_cache_t * old,kmem_cache_t * new) arc_hdr_realloc() argument 3401 arc_buf_hdr_t *hdr = buf->b_hdr; arc_convert_to_raw() local 3432 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), size, size, arc_alloc_buf() local 3456 arc_buf_hdr_t *hdr = arc_hdr_alloc(spa_load_guid(spa), psize, lsize, arc_alloc_compressed_buf() local 3480 arc_buf_hdr_t *hdr; arc_alloc_raw_buf() local 3515 l2arc_hdr_arcstats_update(arc_buf_hdr_t * hdr,boolean_t incr,boolean_t state_only) l2arc_hdr_arcstats_update() argument 3585 arc_hdr_l2hdr_destroy(arc_buf_hdr_t * hdr) arc_hdr_l2hdr_destroy() argument 3606 arc_hdr_destroy(arc_buf_hdr_t * hdr) arc_hdr_destroy() argument 3681 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_destroy() local 3728 arc_evict_hdr(arc_buf_hdr_t * hdr,uint64_t * real_evicted) arc_evict_hdr() argument 3870 arc_buf_hdr_t *hdr; arc_evict_state_impl() local 4785 arc_get_data_abd(arc_buf_hdr_t * hdr,uint64_t size,const void * tag,int alloc_flags) arc_get_data_abd() argument 4798 arc_get_data_buf(arc_buf_hdr_t * hdr,uint64_t size,const void * tag) arc_get_data_buf() argument 4897 arc_get_data_impl(arc_buf_hdr_t * hdr,uint64_t size,const void * tag,int alloc_flags) arc_get_data_impl() argument 4953 arc_free_data_abd(arc_buf_hdr_t * hdr,abd_t * abd,uint64_t size,const void * tag) arc_free_data_abd() argument 4961 arc_free_data_buf(arc_buf_hdr_t * hdr,void * buf,uint64_t size,const void * tag) arc_free_data_buf() argument 4978 arc_free_data_impl(arc_buf_hdr_t * hdr,uint64_t size,const void * tag) arc_free_data_impl() argument 5006 arc_access(arc_buf_hdr_t * hdr,arc_flags_t arc_flags,boolean_t hit) arc_access() argument 5166 arc_buf_hdr_t *hdr = buf->b_hdr; arc_buf_access() local 5231 arc_hdr_verify(arc_buf_hdr_t * hdr,blkptr_t * bp) arc_hdr_verify() argument 5251 arc_buf_hdr_t *hdr = zio->io_private; arc_read_done() local 5480 arc_buf_hdr_t *hdr = NULL; arc_read() local 6128 arc_buf_hdr_t *hdr; arc_freed() local 6178 arc_buf_hdr_t *hdr = buf->b_hdr; arc_release() local 6391 arc_buf_hdr_t *hdr = buf->b_hdr; arc_write_ready() local 6562 arc_buf_hdr_t *hdr = buf->b_hdr; arc_write_done() local 6651 arc_buf_hdr_t *hdr = buf->b_hdr; arc_write() local 7114 arc_buf_hdr_t *hdr = obj; arc_state_multilist_index_func() local 8024 l2arc_write_eligible(uint64_t spa_guid,arc_buf_hdr_t * hdr) l2arc_write_eligible() argument 8199 arc_buf_hdr_t *head, *hdr, *hdr_prev; l2arc_write_done() local 8377 arc_buf_hdr_t *hdr = cb->l2rcb_hdr; l2arc_untransform() local 8473 arc_buf_hdr_t *hdr; l2arc_read_done() local 8685 arc_buf_hdr_t *hdr, *hdr_prev; l2arc_evict() local 8901 l2arc_apply_transforms(spa_t * spa,arc_buf_hdr_t * hdr,uint64_t asize,abd_t ** abd_out) l2arc_apply_transforms() argument 9043 arc_buf_hdr_t *hdr, *head, *marker; l2arc_write_buffers() local 10246 arc_buf_hdr_t *hdr, *exists; l2arc_hdr_restore() local 10569 l2arc_log_blk_insert(l2arc_dev_t * dev,const arc_buf_hdr_t * hdr) l2arc_log_blk_insert() argument [all...] |