Searched refs:bdev (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | swapfile.c | 182 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 193 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap() 257 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster() 738 si->bdev->bd_disk->fops->swap_slot_free_notify; in swap_range_free() 745 swap_slot_free_notify(si->bdev, offset); in swap_range_free() 1818 if (device == sis->bdev->bd_dev) { in swap_type_of() 1841 *device = sis->bdev->bd_dev; in find_first_swap() 2418 struct block_device *bdev; in swap_node() local 2420 if (p->bdev) in swap_node() 2421 bdev = p->bdev; in swap_node() [all …]
|
D | page_io.c | 285 ret = bdev_write_page(sis->bdev, swap_page_sector(page), page, wbc); in __swap_writepage() 292 bio_set_dev(bio, sis->bdev); in __swap_writepage() 344 ret = bdev_read_page(sis->bdev, swap_page_sector(page), page); in swap_readpage() 353 bio_set_dev(bio, sis->bdev); in swap_readpage()
|