Home
last modified time | relevance | path

Searched refs:old_block_size (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_device.c31 if (!dev->old_block_size) in unbind_bdev()
33 ret = set_blocksize(dev->bdev, dev->old_block_size); in unbind_bdev()
36 dev->old_block_size, ret); in unbind_bdev()
37 dev->old_block_size = 0; in unbind_bdev()
72 dev->old_block_size = block_size(dev->bdev); in bind_bdev()
Dhp_device.h23 u32 old_block_size; member
/kernel/linux/linux-5.10/drivers/block/zram/
Dzram_drv.h141 unsigned int old_block_size; member
Dzram_drv.c352 if (zram->old_block_size) in reset_bdev()
353 set_blocksize(bdev, zram->old_block_size); in reset_bdev()
358 zram->old_block_size = 0; in reset_bdev()
403 unsigned int bitmap_sz, old_block_size = 0; in backing_dev_store() local
458 old_block_size = block_size(bdev); in backing_dev_store()
465 zram->old_block_size = old_block_size; in backing_dev_store()
/kernel/linux/linux-5.10/mm/
Dswapfile.c2576 unsigned int old_block_size; in SYSCALL_DEFINE1() local
2688 old_block_size = p->old_block_size; in SYSCALL_DEFINE1()
2717 set_blocksize(bdev, old_block_size); in SYSCALL_DEFINE1()
2946 p->old_block_size = block_size(p->bdev); in claim_swapfile()
3397 set_blocksize(p->bdev, p->old_block_size); in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/include/linux/
Dswap.h260 unsigned int old_block_size; /* seldom referenced */ member