Searched refs:swap_slot_free_notify (Results 1 – 5 of 5) sorted by relevance
72 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify() function109 if (disk->fops->swap_slot_free_notify && __swap_count(entry) == 1) { in swap_slot_free_notify()115 disk->fops->swap_slot_free_notify(sis->bdev, in swap_slot_free_notify()135 swap_slot_free_notify(page); in end_swap_bio_read()418 swap_slot_free_notify(page); in swap_readpage()
701 void (*swap_slot_free_notify)(struct block_device *, unsigned long); in swap_range_free() local715 swap_slot_free_notify = in swap_range_free()716 si->bdev->bd_disk->fops->swap_slot_free_notify; in swap_range_free()718 swap_slot_free_notify = NULL; in swap_range_free()722 if (swap_slot_free_notify) in swap_range_free()723 swap_slot_free_notify(si->bdev, offset); in swap_range_free()
473 void (*swap_slot_free_notify) (struct block_device *, unsigned long);488 swap_slot_free_notify: no (see below)491 swap_slot_free_notify is called with swap_lock and sometimes the page lock
1821 .swap_slot_free_notify = zram_slot_free_notify,1829 .swap_slot_free_notify = zram_slot_free_notify,
1857 void (*swap_slot_free_notify) (struct block_device *, unsigned long); member