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:put_reqs_available
Proto:static void put_reqs_available(struct kioctx *ctx, unsigned nr)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kioctx * | ctx | |
| unsigned | nr |
| 907 | local_irq_save(flags) |
| 908 | kcpu = this_cpu_ptr(cpu) |
| 909 | reqs_available += nr |
| 912 | reqs_available -= * For percpu reqs_available, number of slots we move to/from global * counter at a time: |
| 916 | local_irq_restore(flags) |
| Name | Describe |
|---|---|
| refill_reqs_available | ll_reqs_available* Updates the reqs_available reference counts used for tracking the* number of free slots in the completion ring. This can be called* from aio_complete() (to optimistically update reqs_available) or |
| io_submit_one |
| 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 |