Lines Matching refs:max_discard_size
3700 const u64 max_discard_size = READ_ONCE(discard_ctl->max_discard_size); in trim_no_bitmap() local
3745 if (max_discard_size && in trim_no_bitmap()
3746 bytes >= (max_discard_size + in trim_no_bitmap()
3748 bytes = max_discard_size; in trim_no_bitmap()
3749 extent_bytes = max_discard_size; in trim_no_bitmap()
3750 entry->offset += max_discard_size; in trim_no_bitmap()
3751 entry->bytes -= max_discard_size; in trim_no_bitmap()
3864 const u64 max_discard_size = READ_ONCE(discard_ctl->max_discard_size); in trim_bitmaps() local
3948 max_discard_size && in trim_bitmaps()
3949 bytes > (max_discard_size + minlen)) in trim_bitmaps()
3950 bytes = max_discard_size; in trim_bitmaps()