Lines Matching refs:swap_info_struct
297 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 *,
487 extern bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry);
489 struct swap_info_struct *swp_swap_info(swp_entry_t entry);
493 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
496 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
502 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
507 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
512 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
570 static inline bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry) in swap_entry_swapped()
590 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent()