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 | 235 struct swap_info_struct { struct 395 int add_swap_extent(struct swap_info_struct *sis, unsigned long start_page, 397 int generic_swapfile_activate(struct swap_info_struct *, struct file *, 468 extern struct swap_info_struct *page_swap_info(struct page *); 469 extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); 475 extern struct swap_info_struct *get_swap_device(swp_entry_t entry); 477 static inline void put_swap_device(struct swap_info_struct *si) in put_swap_device() 489 static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
|
| D | iomap.h | 203 struct swap_info_struct; 205 int iomap_swapfile_activate(struct swap_info_struct *sis,
|
| D | fs.h | 61 struct swap_info_struct; 407 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
|