Searched refs:should_fail_request (Results 1 – 3 of 3) sorted by relevance
499 bool should_fail_request(struct block_device *part, unsigned int bytes) in should_fail_request() function538 if (should_fail_request(bdev_whole(bio->bi_bdev), bio->bi_iter.bi_size)) in should_fail_bio()573 if (unlikely(should_fail_request(p, bio->bi_iter.bi_size))) in blk_partition_remap()
607 bool should_fail_request(struct block_device *part, unsigned int bytes);609 static inline bool should_fail_request(struct block_device *part, in should_fail_request() function
3211 if (q->disk && should_fail_request(q->disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request()