函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:block\blk-mq-sched.h Create Date:2022-07-27 13:22:37
首页 Copyright©Brick

72
73
74
75
76
77
78
79
80
static inline bool blk_mq_sched_has_work(struct blk_mq_hw_ctx *hctx)
{
    struct elevator_queue *e = hctx->queue->elevator;
 
    if (e && e->type->ops.has_work)
        return e->type->ops.has_work(hctx);
 
    return false;
}