Lines Matching defs:si
133 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap()
177 static int discard_swap(struct swap_info_struct *si) in discard_swap()
247 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster()
357 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster()
381 struct swap_info_struct *si, unsigned long offset) in lock_cluster_or_swap_info()
394 static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, in unlock_cluster_or_swap_info()
459 static void swap_cluster_schedule_discard(struct swap_info_struct *si, in swap_cluster_schedule_discard()
476 static void __free_cluster(struct swap_info_struct *si, unsigned long idx) in __free_cluster()
488 static void swap_do_scheduled_discard(struct swap_info_struct *si) in swap_do_scheduled_discard()
513 struct swap_info_struct *si; in swap_discard_work() local
524 struct swap_info_struct *si; in swap_users_ref_free() local
530 static void alloc_cluster(struct swap_info_struct *si, unsigned long idx) in alloc_cluster()
539 static void free_cluster(struct swap_info_struct *si, unsigned long idx) in free_cluster()
603 scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, in scan_swap_map_ssd_cluster_conflict()
626 static bool scan_swap_map_try_ssd_cluster(struct swap_info_struct *si, in scan_swap_map_try_ssd_cluster()
696 static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, in swap_range_alloc()
723 static void swap_range_free(struct swap_info_struct *si, unsigned long offset, in swap_range_free()
756 static void set_cluster_next(struct swap_info_struct *si, unsigned long next) in set_cluster_next()
783 static bool swap_offset_available_and_locked(struct swap_info_struct *si, in swap_offset_available_and_locked()
799 static int scan_swap_map_slots(struct swap_info_struct *si, in scan_swap_map_slots()
1002 static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) in swap_alloc_cluster()
1034 static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx) in swap_free_cluster()
1050 struct swap_info_struct *si, *next; in get_swap_pages() local
1258 struct swap_info_struct *si; in get_swap_device() local
1345 struct swap_info_struct *si; in put_swap_folio() local
1390 struct swap_info_struct *si; in split_swap_cluster() local
1441 struct swap_info_struct *si = swp_swap_info(entry); in __swap_count() local
1452 int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
1510 static bool swap_page_trans_huge_swapped(struct swap_info_struct *si, in swap_page_trans_huge_swapped()
1540 struct swap_info_struct *si = _swap_info_get(entry); in folio_swapped() local
1621 struct swap_info_struct *si = swap_type_to_swap_info(type); in get_swap_page_of_type() local
1695 struct swap_info_struct *si = swap_type_to_swap_info(type); in swapdev_block() local
1836 struct swap_info_struct *si; in unuse_pte_range() local
2012 static unsigned int find_next_to_unuse(struct swap_info_struct *si, in find_next_to_unuse()
2044 struct swap_info_struct *si = swap_info[type]; in try_to_unuse() local
2439 struct swap_info_struct *si = p; in SYSCALL_DEFINE1() local
2583 struct swap_info_struct *si; in swap_start() local
2604 struct swap_info_struct *si = v; in swap_next() local
2629 struct swap_info_struct *si = v; in swap_show() local
3247 struct swap_info_struct *si = swap_info[type]; in si_swapinfo() local
3365 void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry) in swapcache_clear()
3422 struct swap_info_struct *si; in add_swap_count_continuation() local
3527 static bool swap_count_continued(struct swap_info_struct *si, in swap_count_continued()
3611 static void free_swap_count_continuations(struct swap_info_struct *si) in free_swap_count_continuations()
3632 struct swap_info_struct *si, *next; in __folio_throttle_swaprate() local