Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/char/
Draw.c24 int inuse, sector_size, sector_bits; member
77 int sector_bits; in raw_open() local
139 for (sector_bits = 0; !(sector_size & 1); ) in raw_open()
140 sector_size>>=1, sector_bits++; in raw_open()
141 raw_devices[minor].sector_bits = sector_bits; in raw_open()
306 int sector_size, sector_bits, sector_mask; in rw_raw_dev() local
330 sector_bits = raw_devices[minor].sector_bits; in rw_raw_dev()
332 max_sectors = KIO_MAX_SECTORS >> (sector_bits - 9); in rw_raw_dev()
335 limit = (((loff_t) blk_size[MAJOR(dev)][MINOR(dev)]) << BLOCK_SIZE_BITS) >> sector_bits; in rw_raw_dev()
347 if ((off >> sector_bits) >= limit) in rw_raw_dev()
[all …]