Lines Matching defs:si
128 static int __try_to_reclaim_swap(struct swap_info_struct *si, in __try_to_reclaim_swap()
172 static int discard_swap(struct swap_info_struct *si) in discard_swap()
242 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster()
352 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster()
376 struct swap_info_struct *si, unsigned long offset) in lock_cluster_or_swap_info()
389 static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, in unlock_cluster_or_swap_info()
454 static void swap_cluster_schedule_discard(struct swap_info_struct *si, in swap_cluster_schedule_discard()
471 static void __free_cluster(struct swap_info_struct *si, unsigned long idx) in __free_cluster()
483 static void swap_do_scheduled_discard(struct swap_info_struct *si) in swap_do_scheduled_discard()
508 struct swap_info_struct *si; in swap_discard_work() local
517 static void alloc_cluster(struct swap_info_struct *si, unsigned long idx) in alloc_cluster()
526 static void free_cluster(struct swap_info_struct *si, unsigned long idx) in free_cluster()
590 scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, in scan_swap_map_ssd_cluster_conflict()
613 static bool scan_swap_map_try_ssd_cluster(struct swap_info_struct *si, in scan_swap_map_try_ssd_cluster()
689 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()
759 static void set_cluster_next(struct swap_info_struct *si, unsigned long next) in set_cluster_next()
787 int scan_swap_map_slots(struct swap_info_struct *si, in scan_swap_map_slots()
1005 int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) in swap_alloc_cluster()
1041 static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx) in swap_free_cluster()
1054 static unsigned long scan_swap_map(struct swap_info_struct *si, in scan_swap_map()
1072 struct swap_info_struct *si, *next; in get_swap_pages() local
1158 struct swap_info_struct *si = swap_type_to_swap_info(type); in get_swap_page_of_type() local
1331 struct swap_info_struct *si; in get_swap_device() local
1411 struct swap_info_struct *si; in put_swap_page() local
1456 struct swap_info_struct *si; in split_swap_cluster() local
1532 struct swap_info_struct *si; in __swap_count() local
1544 static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
1564 struct swap_info_struct *si; in __swp_swapcount() local
1620 static bool swap_page_trans_huge_swapped(struct swap_info_struct *si, in swap_page_trans_huge_swapped()
1650 struct swap_info_struct *si; in page_swapped() local
1668 struct swap_info_struct *si; in page_trans_huge_map_swapcount() local
1894 struct swap_info_struct *si = swap_type_to_swap_info(type); in swapdev_block() local
1986 struct swap_info_struct *si; in unuse_pte_range() local
2167 static unsigned int find_next_to_unuse(struct swap_info_struct *si, in find_next_to_unuse()
2205 struct swap_info_struct *si = swap_info[type]; in try_to_unuse() local
2648 struct swap_info_struct *si = p; in SYSCALL_DEFINE1() local
2798 struct swap_info_struct *si; in swap_start() local
2819 struct swap_info_struct *si = v; in swap_next() local
2844 struct swap_info_struct *si = v; in swap_show() local
3193 static bool swap_discardable(struct swap_info_struct *si) in swap_discardable()
3476 struct swap_info_struct *si = swap_info[type]; in si_swapinfo() local
3647 struct swap_info_struct *si; in add_swap_count_continuation() local
3757 static bool swap_count_continued(struct swap_info_struct *si, in swap_count_continued()
3841 static void free_swap_count_continuations(struct swap_info_struct *si) in free_swap_count_continuations()
3862 struct swap_info_struct *si, *next; in __cgroup_throttle_swaprate() local