Home
last modified time | relevance | path

Searched refs:origin_limits (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/md/
Ddm-cache-target.c3339 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in disable_passdown_if_not_supported() local
3348 else if (origin_limits->max_discard_sectors < cache->sectors_per_block) in disable_passdown_if_not_supported()
3361 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in set_discard_limits() local
3375 limits->max_discard_sectors = origin_limits->max_discard_sectors; in set_discard_limits()
3376 limits->max_hw_discard_sectors = origin_limits->max_hw_discard_sectors; in set_discard_limits()
3377 limits->discard_granularity = origin_limits->discard_granularity; in set_discard_limits()
3378 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
3379 limits->discard_misaligned = origin_limits->discard_misaligned; in set_discard_limits()