Home
last modified time | relevance | path

Searched refs:swap_slot_free_notify (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/mm/
Dpage_io.c72 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify() function
109 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()
380 swap_slot_free_notify(page); in swap_readpage()
Dswapfile.c706 void (*swap_slot_free_notify)(struct block_device *, unsigned long); in swap_range_free() local
720 swap_slot_free_notify = in swap_range_free()
721 si->bdev->bd_disk->fops->swap_slot_free_notify; in swap_range_free()
723 swap_slot_free_notify = NULL; in swap_range_free()
726 if (swap_slot_free_notify) in swap_range_free()
727 swap_slot_free_notify(si->bdev, offset); in swap_range_free()
/Linux-v5.4/Documentation/filesystems/
Dlocking.rst468 void (*swap_slot_free_notify) (struct block_device *, unsigned long);
484 swap_slot_free_notify: no (see below)
490 swap_slot_free_notify is called with swap_lock and sometimes the page lock
/Linux-v5.4/include/linux/
Dblkdev.h1710 void (*swap_slot_free_notify) (struct block_device *, unsigned long); member
/Linux-v5.4/drivers/block/zram/
Dzram_drv.c1817 .swap_slot_free_notify = zram_slot_free_notify,