Lines Matching refs:swap_info_struct
293 struct swap_info_struct { struct
464 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page,
466 int generic_swapfile_activate(struct swap_info_struct *, struct file *,
513 extern int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry);
515 struct swap_info_struct *swp_swap_info(swp_entry_t entry);
519 extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
523 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
529 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
534 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
539 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
597 static inline int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
619 static inline int add_swap_extent(struct swap_info_struct *sis, in add_swap_extent()