Home
last modified time | relevance | path

Searched refs:swaplist (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/include/linux/
Dshmem_fs.h22 struct list_head swaplist; /* chain of maybes on swap */ member
/Linux-v5.10/mm/
Dshmem.c1167 while (!list_empty(&info->swaplist)) { in shmem_evict_inode()
1174 list_del_init(&info->swaplist); in shmem_evict_inode()
1324 list_for_each_entry_safe(info, next, &shmem_swaplist, swaplist) { in shmem_unuse()
1326 list_del_init(&info->swaplist); in shmem_unuse()
1343 next = list_next_entry(info, swaplist); in shmem_unuse()
1345 list_del_init(&info->swaplist); in shmem_unuse()
1435 if (list_empty(&info->swaplist)) in shmem_writepage()
1436 list_add(&info->swaplist, &shmem_swaplist); in shmem_writepage()
2317 INIT_LIST_HEAD(&info->swaplist); in shmem_get_inode()