Function report |
Source Code:block\ioprio.c |
Create Date:2022-07-28 17:21:45 |
Last Modify:2020-03-17 23:21:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ioprio_check_cap
Proto:int ioprio_check_cap(int ioprio)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
int | ioprio |
67 | class = IOPRIO_PRIO_CLASS(ioprio) |
68 | data = IOPRIO_PRIO_DATA(ioprio) |
71 | Case class == IOPRIO_CLASS_RT |
72 | If Not Check operation authority Then Return -EPERM |
76 | Case class == IOPRIO_CLASS_BE |
77 | If data >= 8 best effort priority levels are supported || data < 0 Then Return -EINVAL |
80 | Break |
81 | Case class == IOPRIO_CLASS_IDLE |
82 | Break |
83 | Case class == IOPRIO_CLASS_NONE |
87 | Default |
88 | Return -EINVAL |
91 | Return 0 |
Name | Describe |
---|---|
SYSCALL_DEFINE3 | |
io_prep_rw |
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 |