函数逻辑报告 |
Source Code:kernel\async.c |
Create Date:2022-07-27 10:34:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:async_cookie_t async_schedule_node_domain(async_func_t func, void *data, int node, struct async_domain *domain)
返回类型:async_cookie_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| async_func_t | func | |
| void * | data | |
| int | node | |
| struct async_domain * | domain |
| 179 | 如果非entry或atomic_read( & entry_count)大于MAX_WORK则 |
| 180 | 释放内存 |
| 181 | spin_lock_irqsave( & async_lock, flags) |
| 182 | newcookie等于next_cookie自加 |
| 183 | spin_unlock_irqrestore( & async_lock, flags) |
| 187 | 返回:newcookie |
| 189 | 初始化链表头 |
| 190 | 初始化链表头 |
| 196 | spin_lock_irqsave( & async_lock, flags) |
| 199 | newcookie等于cookie等于next_cookie自加 |
| 201 | 添加链表项 |
| 202 | 如果registered则添加链表项 |
| 205 | atomic_inc( & entry_count) |
| 206 | spin_unlock_irqrestore( & async_lock, flags) |
| 214 | 返回:newcookie |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |