Function report |
Source Code:block\blk-mq-debugfs.c |
Create Date:2022-07-28 18:07:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:queue_state_write
Proto:static ssize_t queue_state_write(void *data, const char __user *buf, size_t count, loff_t *ppos)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data | |
| const char __user * | buf | |
| size_t | count | |
| loff_t * | ppos |
| 152 | If blk_queue_dead(q) Then Return -ENOENT |
| 160 | If copy_from_user(opbuf, buf, count) Then Return -EFAULT |
| 164 | blk_mq_run_hw_queues(q, true) |
| 166 | blk_mq_start_stopped_hw_queues(q, true) |
| 169 | Else |
| 175 | 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 |