Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-cache-target.c3449 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in disable_passdown_if_not_supported() local
3459 else if (origin_limits->max_discard_sectors < cache->sectors_per_block) in disable_passdown_if_not_supported()
3472 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in set_discard_limits() local
3486 limits->max_discard_sectors = origin_limits->max_discard_sectors; in set_discard_limits()
3487 limits->max_hw_discard_sectors = origin_limits->max_hw_discard_sectors; in set_discard_limits()
3488 limits->discard_granularity = origin_limits->discard_granularity; in set_discard_limits()
3489 limits->discard_alignment = origin_limits->discard_alignment; in set_discard_limits()
3490 limits->discard_misaligned = origin_limits->discard_misaligned; in set_discard_limits()