Function report |
Source Code:kernel\async.c |
Create Date:2022-07-28 09:33:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:async_schedule_node_domain - NUMA specific version of async_schedule_domain*@func: function to execute asynchronously*@data: data pointer to pass to the function*@node: NUMA node that we want to schedule this on or close to*@domain: the domain
Proto:async_cookie_t async_schedule_node_domain(async_func_t func, void *data, int node, struct async_domain *domain)
Type:async_cookie_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| async_func_t | func | |
| void * | data | |
| int | node | |
| struct async_domain * | domain |
| 173 | entry = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 179 | If Not entry || atomic_read( & entry_count) > MAX_WORK Then |
| 181 | spin_lock_irqsave( & async_lock, flags) |
| 182 | newcookie = next_cookie++ |
| 183 | spin_unlock_irqrestore( & async_lock, flags) |
| 187 | Return newcookie |
| 196 | spin_lock_irqsave( & async_lock, flags) |
| 199 | newcookie = cookie = next_cookie++ |
| 205 | atomic_inc( & entry_count) |
| 206 | spin_unlock_irqrestore( & async_lock, flags) |
| 214 | Return newcookie |
| Name | Describe |
|---|---|
| async_schedule_node | async_schedule_node - NUMA specific version of async_schedule*@func: function to execute asynchronously*@data: data pointer to pass to the function*@node: NUMA node that we want to schedule this on or close to |
| async_schedule_domain | async_schedule_domain - schedule a function for asynchronous execution within a certain domain*@func: function to execute asynchronously*@data: data pointer to pass to the function*@domain: the domain |
| async_schedule_dev_domain | async_schedule_dev_domain - A device specific version of async_schedule_domain*@func: function to execute asynchronously*@dev: device argument to be passed to function*@domain: the domain* Returns an async_cookie_t that may be used for checkpointing later |
| 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 |