Lines Matching defs:si

108 __try_to_reclaim_swap(struct swap_info_struct *si, unsigned long offset)  in __try_to_reclaim_swap()
136 static int discard_swap(struct swap_info_struct *si) in discard_swap()
173 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster()
290 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster()
314 struct swap_info_struct *si, unsigned long offset) in lock_cluster_or_swap_info()
327 static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, in unlock_cluster_or_swap_info()
392 static void swap_cluster_schedule_discard(struct swap_info_struct *si, in swap_cluster_schedule_discard()
409 static void __free_cluster(struct swap_info_struct *si, unsigned long idx) in __free_cluster()
421 static void swap_do_scheduled_discard(struct swap_info_struct *si) in swap_do_scheduled_discard()
446 struct swap_info_struct *si; in swap_discard_work() local
455 static void alloc_cluster(struct swap_info_struct *si, unsigned long idx) in alloc_cluster()
464 static void free_cluster(struct swap_info_struct *si, unsigned long idx) in free_cluster()
528 scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, in scan_swap_map_ssd_cluster_conflict()
551 static bool scan_swap_map_try_ssd_cluster(struct swap_info_struct *si, in scan_swap_map_try_ssd_cluster()
625 static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, in swap_range_alloc()
654 static void swap_range_free(struct swap_info_struct *si, unsigned long offset, in swap_range_free()
684 static int scan_swap_map_slots(struct swap_info_struct *si, in scan_swap_map_slots()
881 static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) in swap_alloc_cluster()
916 static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx) in swap_free_cluster()
928 static unsigned long scan_swap_map(struct swap_info_struct *si, in scan_swap_map()
946 struct swap_info_struct *si, *next; in get_swap_pages() local
1033 struct swap_info_struct *si; in get_swap_page_of_type() local
1216 struct swap_info_struct *si; in put_swap_page() local
1264 struct swap_info_struct *si; in split_swap_cluster() local
1337 int __swap_count(struct swap_info_struct *si, swp_entry_t entry) in __swap_count()
1344 static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
1364 struct swap_info_struct *si; in __swp_swapcount() local
1418 static bool swap_page_trans_huge_swapped(struct swap_info_struct *si, in swap_page_trans_huge_swapped()
1448 struct swap_info_struct *si; in page_swapped() local
1466 struct swap_info_struct *si; in page_trans_huge_map_swapcount() local
1969 static unsigned int find_next_to_unuse(struct swap_info_struct *si, in find_next_to_unuse()
2017 struct swap_info_struct *si = swap_info[type]; in try_to_unuse() local
2568 struct swap_info_struct *si = p; in SYSCALL_DEFINE1() local
2700 struct swap_info_struct *si; in swap_start() local
2723 struct swap_info_struct *si = v; in swap_next() local
2750 struct swap_info_struct *si = v; in swap_show() local
3085 static bool swap_discardable(struct swap_info_struct *si) in swap_discardable()
3341 struct swap_info_struct *si = swap_info[type]; in si_swapinfo() local
3516 struct swap_info_struct *si; in add_swap_count_continuation() local
3625 static bool swap_count_continued(struct swap_info_struct *si, in swap_count_continued()
3713 static void free_swap_count_continuations(struct swap_info_struct *si) in free_swap_count_continuations()
3735 struct swap_info_struct *si, *next; in mem_cgroup_throttle_swaprate() local