Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A 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()
H A Dioctl.c481 return set_blocksize(bdev, n); in blkdev_bszset()
485 ret = set_blocksize(bdev, n); in blkdev_bszset()
/openbmc/qemu/hw/core/
H A Dqdev-properties-system.c595 static void set_blocksize(Object *obj, Visitor *v, const char *name, in set_blocksize() function
620 .set = set_blocksize,
/openbmc/linux/fs/befs/
H A 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
/openbmc/linux/kernel/power/
H A 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()
/openbmc/linux/mm/
H A Dswapfile.c2547 set_blocksize(bdev, old_block_size); in SYSCALL_DEFINE1()
2786 error = set_blocksize(p->bdev, PAGE_SIZE); in claim_swapfile()
3221 set_blocksize(p->bdev, p->old_block_size); in SYSCALL_DEFINE2()
/openbmc/linux/fs/btrfs/
H A Ddev-replace.c320 set_blocksize(device->bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_init_dev_replace_tgtdev()
H A Dvolumes.c528 ret = set_blocksize(*bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_get_bdev_and_sb()
2702 set_blocksize(device->bdev, BTRFS_BDEV_BLOCKSIZE); in btrfs_init_new_device()
/openbmc/linux/include/linux/
H A Dblkdev.h1463 int set_blocksize(struct block_device *bdev, int size);
/openbmc/linux/drivers/block/
H A Dpktcdvd.c2279 set_blocksize(disk->part0, CD_FRAMESIZE); in pkt_open()
2531 set_blocksize(bdev, CD_FRAMESIZE); in pkt_new_dev()
/openbmc/linux/fs/xfs/
H A Dxfs_buf.c1972 if (set_blocksize(btp->bt_bdev, sectorsize)) { in xfs_setsize_buftarg()
/openbmc/linux/fs/reiserfs/
H A 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()
/openbmc/linux/drivers/md/bcache/
H A Dsuper.c2558 if (set_blocksize(bdev, 4096)) in register_bcache()
/openbmc/linux/fs/ext4/
H A Dsuper.c5879 set_blocksize(bdev, blocksize); in ext4_get_journal_blkdev()