Function report |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-28 17:45:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:blk_iolatency_init
Proto:int blk_iolatency_init(struct request_queue *q)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q |
723 | blkiolat = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
728 | id = RQ_QOS_LATENCY |
729 | ops = blkcg_iolatency_ops |
732 | rq_qos_add(q, rqos) |
734 | ret = lkcg_activate_policy - activate a blkcg policy on a request_queue*@q: request_queue of interest*@pol: blkcg policy to activate* Activate @pol on @q |
735 | If ret Then |
743 | Return 0 |
Name | Describe |
---|---|
blkcg_init_queue | lkcg_init_queue - initialize blkcg part of request queue*@q: request_queue to initialize* Called from blk_alloc_queue_node(). Responsible for initializing blkcg* part of new request_queue @q.* RETURNS:* 0 on success, -errno on failure. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |