Lines Matching refs:max_discard_size
3705 const u64 max_discard_size = READ_ONCE(discard_ctl->max_discard_size); in trim_no_bitmap() local
3750 if (max_discard_size && in trim_no_bitmap()
3751 bytes >= (max_discard_size + in trim_no_bitmap()
3753 bytes = max_discard_size; in trim_no_bitmap()
3754 extent_bytes = max_discard_size; in trim_no_bitmap()
3755 entry->offset += max_discard_size; in trim_no_bitmap()
3756 entry->bytes -= max_discard_size; in trim_no_bitmap()
3869 const u64 max_discard_size = READ_ONCE(discard_ctl->max_discard_size); in trim_bitmaps() local
3953 max_discard_size && in trim_bitmaps()
3954 bytes > (max_discard_size + minlen)) in trim_bitmaps()
3955 bytes = max_discard_size; in trim_bitmaps()