Lines Matching refs:bsize
55 u32 blocks, bsize; member
97 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument
104 blocks, bsize); in nfhd_init_one()
106 if (bsize < 512 || (bsize & (bsize - 1))) { in nfhd_init_one()
117 dev->bsize = bsize; in nfhd_init_one()
118 dev->bshift = ffs(bsize) - 10; in nfhd_init_one()
130 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
131 blk_queue_logical_block_size(dev->disk->queue, bsize); in nfhd_init_one()
150 u32 blocks, bsize; in nfhd_init() local
168 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init()
170 nfhd_init_one(i, blocks, bsize); in nfhd_init()