Function report |
Source Code:block\blk-sysfs.c |
Create Date:2022-07-28 17:01:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_wb_lat_store
Proto:static ssize_t queue_wb_lat_store(struct request_queue *q, const char *page, size_t count)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct request_queue * | q | |
const char * | page | |
size_t | count |
455 | ret = queue_var_store64( & val, page) |
461 | rqos = wbt_rq_qos(q) |
462 | If Not rqos Then |
468 | If val == -1 Then val = wbt_default_latency_nsec(q) |
473 | If wbt_get_min_lat(q) == val Then Return count |
481 | blk_mq_freeze_queue(q) |
482 | blk_mq_quiesce_queue(q) |
484 | wbt_set_min_lat(q, val) |
487 | blk_mq_unfreeze_queue(q) |
489 | Return count |
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 |