Searched refs:origin_bdev (Results 1 – 1 of 1) sorted by relevance
3435 static bool origin_dev_supports_discard(struct block_device *origin_bdev) in origin_dev_supports_discard() argument3437 struct request_queue *q = bdev_get_queue(origin_bdev); in origin_dev_supports_discard()3448 struct block_device *origin_bdev = cache->origin_dev->bdev; in disable_passdown_if_not_supported() local3449 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in disable_passdown_if_not_supported()3456 if (!origin_dev_supports_discard(origin_bdev)) in disable_passdown_if_not_supported()3464 bdevname(origin_bdev, buf), reason); in disable_passdown_if_not_supported()3471 struct block_device *origin_bdev = cache->origin_dev->bdev; in set_discard_limits() local3472 struct queue_limits *origin_limits = &bdev_get_queue(origin_bdev)->limits; in set_discard_limits()