Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dpage_io.c53 static void swap_slot_free_notify(struct page *page) in swap_slot_free_notify() function
90 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()
Dswapfile.c721 void (*swap_slot_free_notify)(struct block_device *, unsigned long); in swap_range_free() local
735 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()
/Linux-v5.15/Documentation/filesystems/
Dlocking.rst481 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
/Linux-v5.15/drivers/block/zram/
Dzram_drv.c1824 .swap_slot_free_notify = zram_slot_free_notify,
1832 .swap_slot_free_notify = zram_slot_free_notify,
/Linux-v5.15/include/linux/
Dblkdev.h1846 void (*swap_slot_free_notify) (struct block_device *, unsigned long); member