Function report |
Source Code:mm\workingset.c |
Create Date:2022-07-28 14:33:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:shadow_lru_isolate
Proto: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)
Type:enum lru_status
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | item | |
struct list_lru_one * | lru | |
spinlock_t * | lru_lock | |
void * | arg |
511 | If Not xa_trylock( & i_pages) Then |
512 | spin_unlock_irq(lru_lock) |
514 | Go to out |
517 | list_lru_isolate(lru, item) |
520 | spin_unlock(lru_lock) |
527 | If WARN_ON_ONCE(!Value entry count ) Then Go to out_invalid |
529 | If WARN_ON_ONCE(Total entry count != Value entry count ) Then Go to out_invalid |
531 | nrexceptional -= Value entry count |
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 | Return ret |
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 |