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