Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE_BITS (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/fs/
Dblock_dev.c36 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()
Dquota_v1.c134 blocks = inode->i_size >> BLOCK_SIZE_BITS; in v1_check_quota_file()
Dstat.c318 blocks = (tmp.st_size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in cp_new_stat64()
/linux-2.4.37.9/include/linux/
Dromfs_fs.h7 #define ROMBSBITS BLOCK_SIZE_BITS
Dfs.h46 #define BLOCK_SIZE_BITS 10 macro
47 #define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
/linux-2.4.37.9/drivers/block/
Dnbd.c507 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()
Dblkpg.c112 g->sizes[minor] = (plength >> (BLOCK_SIZE_BITS - 9)); in add_partition()
Dloop.c160 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()
/linux-2.4.37.9/fs/partitions/
Dcheck.c402 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()
Dacorn.c188 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9); in adfspart_check_CUMANA()
/linux-2.4.37.9/init/
Ddo_mounts.c535 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()
/linux-2.4.37.9/drivers/char/
Draw.c335 limit = (((loff_t) blk_size[MAJOR(dev)][MINOR(dev)]) << BLOCK_SIZE_BITS) >> sector_bits; in rw_raw_dev()
/linux-2.4.37.9/drivers/scsi/
Dsr.c687 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()
/linux-2.4.37.9/fs/jfs/
Dsuper.c177 bytes = ((s64)blocks) << BLOCK_SIZE_BITS; in jfs_get_volume_size()
/linux-2.4.37.9/fs/minix/
Dinode.c147 s->s_blocksize_bits = BLOCK_SIZE_BITS; in minix_read_super()
/linux-2.4.37.9/drivers/ide/
Dide-cd.c2245 …drive->select.b.unit << PARTN_BITS] = (toc->capacity * SECTORS_PER_FRAME) >> (BLOCK_SIZE_BITS - 9); in cdrom_read_toc()
/linux-2.4.37.9/drivers/usb/gadget/
Dfile_storage.c3453 BLOCK_SIZE_BITS; in open_backing_file()