Searched refs:BLOCK_SIZE_BITS (Results 1 – 17 of 17) sorted by relevance
36 blocks += (size-1) >> BLOCK_SIZE_BITS; in max_block()37 retval = blocks << (BLOCK_SIZE_BITS - sizebits); in max_block()38 if (sizebits > BLOCK_SIZE_BITS) in max_block()39 retval = blocks >> (sizebits - BLOCK_SIZE_BITS); in max_block()54 return (loff_t) blocks << BLOCK_SIZE_BITS; in blkdev_size()
134 blocks = inode->i_size >> BLOCK_SIZE_BITS; in v1_check_quota_file()
318 blocks = (tmp.st_size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in cp_new_stat64()
7 #define ROMBSBITS BLOCK_SIZE_BITS
46 #define BLOCK_SIZE_BITS 10 macro47 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
507 nbd_sizes[dev] = nbd_bytesizes[dev] >> BLOCK_SIZE_BITS; in nbd_ioctl()511 nbd_sizes[dev] = nbd_bytesizes[dev] >> BLOCK_SIZE_BITS; in nbd_ioctl()515 nbd_sizes[dev] = nbd_bytesizes[dev] >> BLOCK_SIZE_BITS; in nbd_ioctl()628 nbd_sizes[i] = nbd_bytesizes[i] >> BLOCK_SIZE_BITS; in nbd_init()
112 g->sizes[minor] = (plength >> (BLOCK_SIZE_BITS - 9)); in add_partition()
160 return (lo_dentry->d_inode->i_size - lo->lo_offset) >> BLOCK_SIZE_BITS; in compute_loop_size()163 (lo->lo_offset >> BLOCK_SIZE_BITS); in compute_loop_size()
402 dev->sizes[first_minor] = size >> (BLOCK_SIZE_BITS - 9); in grok_partitions()415 dev->sizes[i] = dev->part[i].nr_sects >> (BLOCK_SIZE_BITS - 9); in grok_partitions()
188 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
535 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image()543 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image()
335 limit = (((loff_t) blk_size[MAJOR(dev)][MINOR(dev)]) << BLOCK_SIZE_BITS) >> sector_bits; in rw_raw_dev()
687 sr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9); in get_sectorsize()893 sr_sizes[i] = scsi_CDs[i].capacity >> (BLOCK_SIZE_BITS - 9); in sr_finish()
177 bytes = ((s64)blocks) << BLOCK_SIZE_BITS; in jfs_get_volume_size()
147 s->s_blocksize_bits = BLOCK_SIZE_BITS; in minix_read_super()
2245 …drive->select.b.unit << PARTN_BITS] = (toc->capacity * SECTORS_PER_FRAME) >> (BLOCK_SIZE_BITS - 9); in cdrom_read_toc()
3453 BLOCK_SIZE_BITS; in open_backing_file()