Lines Matching defs:nr_sects
33 unsigned int nr_sects;
43 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) |
48 put_partition(state, slot, first_sector, nr_sects);
70 unsigned long first_sect, int slot, unsigned long nr_sects)
83 unsigned long size = nr_sects > 2 ? 2 : nr_sects;
101 put_partition(state, slot++, first_sect, nr_sects);
115 __le32 nr_sects;
120 unsigned long first_sect, int slot, unsigned long nr_sects)
124 unsigned long size = nr_sects > 2 ? 2 : nr_sects;
141 le32_to_cpu(linuxp->nr_sects));
177 unsigned int nr_sects;
192 nr_sects = (data[0x1fd] + (data[0x1fe] << 8)) *
196 if (!nr_sects)
200 first_sector += nr_sects;
201 start_blk += nr_sects >> (BLOCK_SIZE_BITS - 9);
202 nr_sects = 0; /* hmm - should be partition size */
212 slot, nr_sects);
218 slot, nr_sects);
246 unsigned long start_sect, nr_sects, sectscyl, heads;
282 nr_sects = (bdev->bd_inode->i_size >> 9) - start_sect;
290 slot, nr_sects);
296 slot, nr_sects);