diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-11 16:22:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-11 16:22:27 -0300 |
commit | 29f5b648fa0b31ad614c78468b9279e5fa96397a (patch) | |
tree | 385e76324c4e95e90b16889937e7c24e6f7d4f4a /block/blk-stat.h | |
parent | 1eae9639aac0f8de4d284f567ec722a822b52513 (diff) |
Linux-libre 4.8.7-gnupck-4.8.7-gnu
Diffstat (limited to 'block/blk-stat.h')
-rw-r--r-- | block/blk-stat.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/block/blk-stat.h b/block/blk-stat.h deleted file mode 100644 index 376a6ccd9..000000000 --- a/block/blk-stat.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef BLK_STAT_H -#define BLK_STAT_H - -/* - * ~0.13s window as a power-of-2 (2^27 nsecs) - */ -#define BLK_STAT_NSEC 134217728ULL -#define BLK_STAT_MASK ~(BLK_STAT_NSEC - 1) - -void blk_stat_add(struct blk_rq_stat *, struct request *); -void blk_hctx_stat_get(struct blk_mq_hw_ctx *, struct blk_rq_stat *); -void blk_queue_stat_get(struct request_queue *, struct blk_rq_stat *); -void blk_stat_clear(struct request_queue *q); -void blk_stat_init(struct blk_rq_stat *); -void blk_stat_sum(struct blk_rq_stat *, struct blk_rq_stat *); -bool blk_stat_is_current(struct blk_rq_stat *); - -#endif |