Function report |
Source Code:block\blk-core.c |
Create Date:2022-07-28 16:59:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lk_op_str - Return string XXX in the REQ_OP_XXX.*@op: REQ_OP_XXX.* Description: Centralize block layer function to convert REQ_OP_XXX into* string format. Useful in the debugging and tracing bio or request. For
Proto:inline const char *blk_op_str(unsigned int op)
Type:char
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | op |
| 157 | op_str = "UNKNOWN" |
| 159 | If op < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(blk_op_name) && blk_op_name[op] Then op_str = blk_op_name[op] |
| 162 | Return op_str |
| Name | Describe |
|---|---|
| print_req_error | |
| __blk_mq_debugfs_rq_show |
| 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 |