Lines Matching refs:swap_info_struct
275 struct swap_info_struct { struct
461 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page,
463 int generic_swapfile_activate(struct swap_info_struct *, struct file *,
511 extern struct swap_info_struct *page_swap_info(struct page *);
512 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry);
516 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
519 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
525 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
530 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
535 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
609 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent()