Searched refs:should_fail_request (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/block/ |
D | blk-core.c | 669 static bool should_fail_request(struct hd_struct *part, unsigned int bytes) in should_fail_request() function 686 static inline bool should_fail_request(struct hd_struct *part, in should_fail_request() function 716 if (should_fail_request(&bio->bi_disk->part0, bio->bi_iter.bi_size)) in should_fail_bio() 752 if (unlikely(should_fail_request(p, bio->bi_iter.bi_size))) in blk_partition_remap() 1193 should_fail_request(&rq->rq_disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request()
|
/kernel/linux/linux-4.19/block/ |
D | blk-core.c | 2147 static bool should_fail_request(struct hd_struct *part, unsigned int bytes) in should_fail_request() function 2164 static inline bool should_fail_request(struct hd_struct *part, in should_fail_request() function 2195 if (should_fail_request(&bio->bi_disk->part0, bio->bi_iter.bi_size)) in should_fail_bio() 2231 if (unlikely(should_fail_request(p, bio->bi_iter.bi_size))) in blk_partition_remap() 2644 should_fail_request(&rq->rq_disk->part0, blk_rq_bytes(rq))) in blk_insert_cloned_request()
|