函数逻辑报告 |
Source Code:mm\workingset.c |
Create Date:2022-07-27 15:58:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:shadow_lru_isolate
函数原型:static enum lru_status shadow_lru_isolate(struct list_head *item, struct list_lru_one *lru, spinlock_t *lru_lock, void *arg)__must_hold(lru_lock)
返回类型:enum lru_status
参数:
类型 | 参数 | 名称 |
---|---|---|
struct list_head * | item | |
struct list_lru_one * | lru | |
spinlock_t * | lru_lock | |
void * | arg |
511 | 如果非xa_trylock( & i_pages)则 |
512 | spin_unlock_irq(lru_lock) |
514 | 转到:out |
517 | list_lru_isolate(lru, item) |
520 | 自旋锁解锁 |
527 | 如果WARN_ON_ONCE(!Value entry count )则转到:out_invalid |
529 | 如果WARN_ON_ONCE(Total entry count != Value entry count )则转到:out_invalid |
534 | xa_shift等于Bits remaining in each slot 加The xarray is constructed out of a set of 'chunks' of pointers |
543 | out_invalid : |
544 | xa_unlock_irq( & i_pages) |
546 | out : |
547 | cond_resched() |
548 | spin_lock_irq(lru_lock) |
549 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |