Searched refs:swap_slot_free_notify (Results 1 – 5 of 5) sorted by relevance
53 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify() function90 if (disk->fops->swap_slot_free_notify && __swap_count(entry) == 1) { in swap_slot_free_notify()96 disk->fops->swap_slot_free_notify(sis->bdev, in swap_slot_free_notify()116 swap_slot_free_notify(page); in end_swap_bio_read()396 swap_slot_free_notify(page); in swap_readpage()
721 void (*swap_slot_free_notify)(struct block_device *, unsigned long); in swap_range_free() local735 swap_slot_free_notify = in swap_range_free()736 si->bdev->bd_disk->fops->swap_slot_free_notify; in swap_range_free()738 swap_slot_free_notify = NULL; in swap_range_free()742 if (swap_slot_free_notify) in swap_range_free()743 swap_slot_free_notify(si->bdev, offset); in swap_range_free()
481 void (*swap_slot_free_notify) (struct block_device *, unsigned long);495 swap_slot_free_notify: no (see below)498 swap_slot_free_notify is called with swap_lock and sometimes the page lock
1824 .swap_slot_free_notify = zram_slot_free_notify,1832 .swap_slot_free_notify = zram_slot_free_notify,
1846 void (*swap_slot_free_notify) (struct block_device *, unsigned long); member