Lines Matching defs:target

454 	 * buffers to reach it's target amount.
790 #define arc_p ARCSTAT(arcstat_p) /* target size of MRU */
791 #define arc_c ARCSTAT(arcstat_c) /* target size of cache */
792 #define arc_c_min ARCSTAT(arcstat_c_min) /* min target cache size */
793 #define arc_c_max ARCSTAT(arcstat_c_max) /* max target cache size */
3392 * progress, but still have not hit the target number of bytes
3414 * While we haven't hit our target number of bytes to evict, or
3547 int64_t target;
3556 target = MIN((int64_t)(arc_meta_used - arc_meta_limit),
3560 total_evicted += arc_adjust_impl(arc_mru, 0, target, ARC_BUFC_METADATA);
3567 target = MIN((int64_t)(arc_meta_used - arc_meta_limit),
3570 total_evicted += arc_adjust_impl(arc_mfu, 0, target, ARC_BUFC_METADATA);
3658 int64_t target;
3669 * If we're over the target cache size, we want to evict enough
3670 * from the list to get back to our target size. We don't want
3672 * arc_p. So, if we're over our target cache size more than
3676 target = MIN((int64_t)(arc_size - arc_c),
3690 bytes = arc_adjust_impl(arc_mru, 0, target, ARC_BUFC_METADATA);
3694 * If we couldn't evict our target number of bytes from
3697 target -= bytes;
3700 arc_adjust_impl(arc_mru, 0, target, ARC_BUFC_DATA);
3702 bytes = arc_adjust_impl(arc_mru, 0, target, ARC_BUFC_DATA);
3706 * If we couldn't evict our target number of bytes from
3709 target -= bytes;
3712 arc_adjust_impl(arc_mru, 0, target, ARC_BUFC_METADATA);
3719 * size back to arc_p, if we're still above the target cache
3722 target = arc_size - arc_c;
3726 bytes = arc_adjust_impl(arc_mfu, 0, target, ARC_BUFC_METADATA);
3730 * If we couldn't evict our target number of bytes from
3733 target -= bytes;
3736 arc_adjust_impl(arc_mfu, 0, target, ARC_BUFC_DATA);
3738 bytes = arc_adjust_impl(arc_mfu, 0, target, ARC_BUFC_DATA);
3742 * If we couldn't evict our target number of bytes from
3745 target -= bytes;
3748 arc_adjust_impl(arc_mfu, 0, target, ARC_BUFC_METADATA);
3754 * In addition to the above, the ARC also defines target values
3756 * list should never exceed the target size of the cache, and
3758 * ghost list should never exceed twice the target size of the
3762 target = refcount_count(&arc_mru->arcs_size) +
3765 bytes = arc_adjust_impl(arc_mru_ghost, 0, target, ARC_BUFC_DATA);
3768 target -= bytes;
3771 arc_adjust_impl(arc_mru_ghost, 0, target, ARC_BUFC_METADATA);
3781 target = refcount_count(&arc_mru_ghost->arcs_size) +
3784 bytes = arc_adjust_impl(arc_mfu_ghost, 0, target, ARC_BUFC_DATA);
3787 target -= bytes;
3790 arc_adjust_impl(arc_mfu_ghost, 0, target, ARC_BUFC_METADATA);
4184 * Adapt the target size of the MRU list:
4186 * the target size of the MRU list.
4188 * the target size of the MFU list by decreasing the
4189 * target size of the MRU list.
4219 * If we're within (2 * maxblocksize) bytes of the target
4220 * cache size, increment the target cache size
4251 * thread to catch up. If we're past the target size but below the hard
4268 * further past it's target size, we halt and wait for the
6646 * We've evicted to the target address,