Lines Matching refs:swap_info_struct
271 struct swap_info_struct { struct
448 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page,
450 int generic_swapfile_activate(struct swap_info_struct *, struct file *,
496 extern struct swap_info_struct *page_swap_info(struct page *);
497 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry);
502 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
505 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
511 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
516 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
521 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
591 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent()