Function report |
Source Code:fs\aio.c |
Create Date:2022-07-28 20:21:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__get_reqs_available
Proto:static bool __get_reqs_available(struct kioctx *ctx)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct kioctx * | ctx |
922 | bool ret = false |
925 | local_irq_save(flags) |
926 | kcpu = this_cpu_ptr(cpu) |
927 | If Not reqs_available Then |
930 | Do |
931 | If avail < * For percpu reqs_available, number of slots we move to/from global * counter at a time: Then Go to out |
942 | ret = true |
943 | reqs_available-- |
944 | out : |
945 | local_irq_restore(flags) |
946 | Return ret |
Name | Describe |
---|---|
get_reqs_available |
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 |