Lines Matching refs:swap_info_struct
282 struct swap_info_struct { struct
442 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page,
444 int generic_swapfile_activate(struct swap_info_struct *, struct file *,
490 extern int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry);
492 extern struct swap_info_struct *page_swap_info(struct page *);
493 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry);
497 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
500 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
506 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
511 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
516 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
573 static inline int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
595 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent()