Lines Matching refs:part
497 bool should_fail_request(struct block_device *part, unsigned int bytes)
499 return bdev_test_flag(part, BD_MAKE_IT_FAIL) &&
988 void update_io_ticks(struct block_device *part, unsigned long now, bool end)
992 stamp = READ_ONCE(part->bd_stamp);
994 likely(try_cmpxchg(&part->bd_stamp, &stamp, now)) &&
995 (end || part_in_flight(part)))
996 __part_stat_add(part, io_ticks, now - stamp);
998 if (bdev_is_partition(part)) {
999 part = bdev_whole(part);