Home
last modified time | relevance | path

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

/Linux-v5.10/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()
418 swap_slot_free_notify(page); in swap_readpage()
Dswapfile.c701 void (*swap_slot_free_notify)(struct block_device *, unsigned long); in swap_range_free() local
715 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()
/Linux-v5.10/Documentation/filesystems/
Dlocking.rst473 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
/Linux-v5.10/drivers/block/zram/
Dzram_drv.c1821 .swap_slot_free_notify = zram_slot_free_notify,
1829 .swap_slot_free_notify = zram_slot_free_notify,
/Linux-v5.10/include/linux/
Dblkdev.h1857 void (*swap_slot_free_notify) (struct block_device *, unsigned long); member