Home
last modified time | relevance | path

Searched refs:set_blocksize (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/block/
Dbdev.c138 int set_blocksize(struct block_device *bdev, int size) in set_blocksize() function
157 EXPORT_SYMBOL(set_blocksize);
161 if (set_blocksize(sb->s_bdev, size)) in sb_set_blocksize()
Dioctl.c479 return set_blocksize(bdev, n); in blkdev_bszset()
483 ret = set_blocksize(bdev, n); in blkdev_bszset()
/Linux-v6.6/fs/befs/
DChangeLog373 The kernel doesn't like it if you call set_blocksize() on a device when
374 you have some of its blocks open. Moved the second set_blocksize() to the
/Linux-v6.6/kernel/power/
Dswap.c364 res = set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_swap_check()
1528 set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_check()
/Linux-v6.6/mm/
Dswapfile.c2536 set_blocksize(bdev, old_block_size); in SYSCALL_DEFINE1()
2775 error = set_blocksize(p->bdev, PAGE_SIZE); in claim_swapfile()
3210 set_blocksize(p->bdev, p->old_block_size); in SYSCALL_DEFINE2()
/Linux-v6.6/fs/btrfs/
Ddev-replace.c320 set_blocksize(device->bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_init_dev_replace_tgtdev()
Dvolumes.c528 ret = set_blocksize(*bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_get_bdev_and_sb()
2695 set_blocksize(device->bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_init_new_device()
/Linux-v6.6/include/linux/
Dblkdev.h1450 int set_blocksize(struct block_device *bdev, int size);
/Linux-v6.6/drivers/block/
Dpktcdvd.c2279 set_blocksize(disk->part0, CD_FRAMESIZE); in pkt_open()
2531 set_blocksize(bdev, CD_FRAMESIZE); in pkt_new_dev()
/Linux-v6.6/fs/xfs/
Dxfs_buf.c1972 if (set_blocksize(btp->bt_bdev, sectorsize)) { in xfs_setsize_buftarg()
/Linux-v6.6/fs/reiserfs/
Djournal.c2636 set_blocksize(journal->j_dev_bd, super->s_blocksize); in journal_init_dev()
2652 set_blocksize(journal->j_dev_bd, super->s_blocksize); in journal_init_dev()
/Linux-v6.6/drivers/md/bcache/
Dsuper.c2555 if (set_blocksize(bdev, 4096)) in register_bcache()
/Linux-v6.6/fs/ext4/
Dsuper.c5880 set_blocksize(bdev, blocksize); in ext4_get_journal_blkdev()