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