Searched refs:swap_info_struct (Results 1 – 5 of 5) sorted by relevance
/include/linux/ |
D | frontswap.h | 33 extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); 48 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 53 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 59 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get() 71 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() 76 static inline void frontswap_map_set(struct swap_info_struct *p, in frontswap_map_set() 81 static inline unsigned long *frontswap_map_get(struct swap_info_struct *p) in frontswap_map_get()
|
D | swapfile.h | 11 extern struct swap_info_struct *swap_info[];
|
D | swap.h | 252 struct swap_info_struct { struct 432 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 434 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 515 extern struct swap_info_struct *page_swap_info(struct page *); 516 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 522 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 526 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 538 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info() 543 static inline struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device() 548 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device()
|
D | iomap.h | 357 struct swap_info_struct; 359 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
D | fs.h | 65 struct swap_info_struct; 420 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|