Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dshmem_fs.h28 struct list_head swaplist; /* chain of maybes on swap */ member
/openbmc/linux/mm/
H A Dshmem.c1274 while (!list_empty(&info->swaplist)) { in shmem_evict_inode()
1281 list_del_init(&info->swaplist); in shmem_evict_inode()
1410 list_for_each_entry_safe(info, next, &shmem_swaplist, swaplist) { in shmem_unuse()
1412 list_del_init(&info->swaplist); in shmem_unuse()
1428 next = list_next_entry(info, swaplist); in shmem_unuse()
1430 list_del_init(&info->swaplist); in shmem_unuse()
1531 if (list_empty(&info->swaplist)) in shmem_writepage()
1532 list_add(&info->swaplist, &shmem_swaplist); in shmem_writepage()
2491 INIT_LIST_HEAD(&info->swaplist); in __shmem_get_inode()
2492 INIT_LIST_HEAD(&info->swaplist); in __shmem_get_inode()