Searched refs:sectors (Results 101 - 125 of 210) sorted by relevance

123456789

/linux-master/arch/m68k/emu/
H A Dnfblock.c86 geo->sectors = 16;
/linux-master/drivers/nvme/target/
H A Dadmin-cmd.c90 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[READ]), 1000);
93 DIV_ROUND_UP(part_stat_read(req->ns->bdev, sectors[WRITE]), 1000);
119 part_stat_read(ns->bdev, sectors[READ]), 1000);
122 part_stat_read(ns->bdev, sectors[WRITE]), 1000);
/linux-master/drivers/scsi/
H A D3w-xxxx.c93 1.02.00.008 - Set max sectors per io to TW_MAX_SECTORS in tw_findcards().
187 1.26.02.001 - Increase max ioctl buffer size to 512 sectors.
1342 /* This funciton returns unit geometry in cylinders/heads/sectors */
1346 int heads, sectors, cylinders; local
1351 sectors = 32;
1352 cylinders = sector_div(capacity, heads * sectors);
1356 sectors = 63;
1357 cylinders = sector_div(capacity, heads * sectors);
1360 dprintk(KERN_NOTICE "3w-xxxx: tw_scsi_biosparam(): heads = %d, sectors = %d, cylinders = %d\n", heads, sectors, cylinder
[all...]
H A Dhptiop.h212 __le16 sectors; member in struct:hpt_iop_request_block_command
H A D3w-sas.c1406 /* This funciton returns unit geometry in cylinders/heads/sectors */
1409 int heads, sectors; local
1413 sectors = 63;
1416 sectors = 32;
1420 geom[1] = sectors;
1421 geom[2] = sector_div(capacity, heads * sectors); /* cylinders */
H A Dmegaraid.c72 MODULE_PARM_DESC(max_sectors_per_io, "Maximum number of sectors per I/O request (default=MAX_SECTORS_PER_IO=128)");
2788 int sectors; local
2795 /* Default heads (64) & sectors (32) */
2797 sectors = 32;
2798 cylinders = (ulong)capacity / (heads * sectors);
2806 sectors = 63;
2807 cylinders = (ulong)capacity / (heads * sectors);
2812 geom[1] = sectors;
2823 /* Default heads (64) & sectors (32) */
2825 sectors
[all...]
/linux-master/drivers/md/
H A Ddm-raid.c24 * Minimum sectors of free reshape space per raid device
29 * Minimum journal space 4 MiB in sectors.
222 * raid set level, layout and chunk sectors backup/restore
683 /* Adjust rdev sectors */
695 rdev->sectors = mddev->dev_sectors;
937 * @region_size: region size in sectors. If 0, pick a size (4MiB default).
953 * Choose a reasonable default. All figures in sectors.
958 DMINFO("Choosing default region size of %lu sectors",
962 region_size = 1 << 13; /* sectors */
974 DMERR("Supplied region_size (%lu sectors) belo
1630 rs_set_dev_and_array_sectors(struct raid_set *rs, sector_t sectors, bool use_mddev) argument
1995 __le64 sectors; /* Used device size in sectors */ member in struct:dm_raid_superblock
[all...]
/linux-master/drivers/md/bcache/
H A Dsuper.c492 u1[i].sectors = 0;
897 sector_t sectors, struct block_device *cached_bdev,
925 n = DIV_ROUND_UP_ULL(sectors, d->stripe_size);
969 set_capacity(d->disk, sectors);
1002 uint64_t sectors = 0; local
1006 sectors += bdev_nr_sectors(dc->bdev);
1008 c->cached_dev_sectors = sectors;
1539 if (bcache_device_init(d, block_bytes(c->cache), u->sectors,
1604 u->sectors = size >> 9;
896 bcache_device_init(struct bcache_device *d, unsigned int block_size, sector_t sectors, struct block_device *cached_bdev, const struct block_device_operations *ops) argument
H A Dextents.c316 int sectors)
320 offset, -sectors);
313 bch_subtract_dirty(struct bkey *k, struct cache_set *c, uint64_t offset, int sectors) argument
H A Dbcache_ondisk.h21 /* Btree keys - all units are in sectors */
161 #define BDEV_DATA_START_DEFAULT 16 /* sectors */
191 __le16 block_size; /* sectors */
192 __le16 bucket_size; /* sectors */
251 __u16 block_size; /* sectors */
254 __u32 bucket_size; /* sectors */
398 __u64 sectors; member in struct:uuid_entry::__anon618::__anon619
H A Dsysfs.c556 sysfs_hprint(size, u->sectors << 9);
585 u->sectors = v >> 9;
587 set_capacity(d->disk, u->sectors);
/linux-master/drivers/block/
H A Dxen-blkfront.c504 hg->sectors = 0x3f;
505 sector_div(cylinders, hg->heads * hg->sectors);
507 if ((sector_t)(hg->cylinders + 1) * hg->heads * hg->sectors < nsect)
959 /* Hard sector size and max sectors impersonate the equiv. hardware. */
2313 * the details about the physical device - #sectors, size, etc).
2317 unsigned long long sectors; local
2330 "sectors", "%Lu", &sectors);
2334 sectors);
2335 set_capacity_and_notify(info->gd, sectors);
[all...]
/linux-master/drivers/block/mtip32xx/
H A Dmtip32xx.c474 dma_addr_t buffer_dma, unsigned int sectors);
1239 * @sectors page length to fetch, in sectors
1245 dma_addr_t buffer_dma, unsigned int sectors)
1253 fis.sect_count = sectors & 0xFF;
1254 fis.sect_cnt_ex = (sectors >> 8) & 0xFF;
1259 memset(buffer, 0, sectors * ATA_SECT_SIZE);
1265 sectors * ATA_SECT_SIZE,
1364 * @sectors Pointer to the variable that will receive the sector count.
1370 static bool mtip_hw_get_capacity(struct driver_data *dd, sector_t *sectors) argument
1244 mtip_read_log_page(struct mtip_port *port, u8 page, u16 *buffer, dma_addr_t buffer_dma, unsigned int sectors) argument
1393 sector_t sectors; local
[all...]
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c318 * possible for transactions on far away sectors to never be serviced.
690 int sectors; local
703 sectors = 32;
704 cylinders = aic_sector_div(capacity, heads, sectors);
714 sectors = 63;
715 cylinders = aic_sector_div(capacity, heads, sectors);
718 geom[1] = sectors;
/linux-master/fs/ntfs3/
H A Dsuper.c879 u64 sectors, clusters, mlcn, mlcn2, dev_size0; local
929 ntfs_err(sb, "%s: invalid sectors per cluster %u.", hint,
941 sectors = le64_to_cpu(boot->sectors_per_volume);
943 if (mlcn * sct_per_clst >= sectors || mlcn2 * sct_per_clst >= sectors) {
947 hint, mlcn, mlcn2, sectors);
1001 sbi->volume.size = sectors * boot_sector_size;
/linux-master/fs/ext4/
H A Dsysfs.c67 (part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) -
77 ((part_stat_read(sb->s_bdev, sectors[STAT_WRITE]) -
/linux-master/fs/bcachefs/
H A Dsb-members.c448 u64 start, unsigned sectors)
453 u64 end = start + sectors;
447 __bch2_dev_btree_bitmap_mark(struct bch_sb_field_members_v2 *mi, unsigned dev, u64 start, unsigned sectors) argument
/linux-master/drivers/ata/
H A Dlibata.h88 u8 page, void *buf, unsigned int sectors);
/linux-master/block/
H A Dbio.c673 * This allows us to do IO even on the odd last sectors of a device, even if the
962 * @max_sectors: maximum number of sectors that can be added
1610 * @sectors: number of sectors to split from the front of @bio
1614 * Allocates and returns a new bio which represents @sectors from the start of
1615 * @bio, and updates @bio to represent the remaining sectors.
1621 struct bio *bio_split(struct bio *bio, int sectors, argument
1626 BUG_ON(sectors <= 0);
1627 BUG_ON(sectors >= bio_sectors(bio));
1637 split->bi_iter.bi_size = sectors <<
[all...]
H A Dblk-core.c600 * split and could result in non-contiguous sectors being written in
1025 unsigned int sectors, unsigned long start_time)
1034 part_stat_add(bdev, sectors[sgrp], sectors);
1024 bdev_end_io_acct(struct block_device *bdev, enum req_op op, unsigned int sectors, unsigned long start_time) argument
H A Dbdev.c430 void bdev_set_nr_sectors(struct block_device *bdev, sector_t sectors) argument
433 i_size_write(bdev->bd_inode, (loff_t)sectors << SECTOR_SHIFT);
434 bdev->bd_nr_sectors = sectors;
/linux-master/drivers/target/
H A Dtarget_core_iblock.c501 sector_t sectors = target_to_linux_sector(dev, local
542 while (sectors) {
556 sectors -= sg->length >> SECTOR_SHIFT;
H A Dtarget_core_transport.c1365 u32 sectors = (mtl / dev->dev_attrib.block_size); local
1366 cmd->prot_length = dev->prot_length * sectors;
2180 u32 sectors; local
2195 sectors = cmd->data_length >> ilog2(cmd->se_dev->dev_attrib.block_size);
2197 sectors, 0, cmd->t_prot_sg, 0);
2489 u32 sectors = cmd->data_length >> local
2493 sectors, 0, cmd->t_prot_sg,
/linux-master/drivers/s390/block/
H A Ddasd.c722 long sectors,
737 data->dasd_io_sects += sectors;
753 data->dasd_read_sects += sectors;
771 unsigned long tottimeps, sectors; local
783 sectors = blk_rq_sectors(req);
786 !sectors)
793 tottimeps = tottime / sectors;
795 dasd_profile_counter(sectors, sectors_ind);
800 dasd_profile_counter(irqtime / sectors, irqtimeps_ind);
814 sectors, sectors_in
718 dasd_profile_end_add_data(struct dasd_profile_info *data, int is_alias, int is_tpm, int is_read, long sectors, int sectors_ind, int tottime_ind, int tottimeps_ind, int strtime_ind, int irqtime_ind, int irqtimeps_ind, int endtime_ind) argument
[all...]
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1258 int sectors = cfg->page_size / (512 << cfg->sector_size_1k); local
1260 if (section >= sectors)
1276 int sectors = cfg->page_size / (512 << cfg->sector_size_1k); local
1279 if (section > sectors)
1283 if (section < sectors)
1316 int sectors = cfg->page_size / (512 << cfg->sector_size_1k); local
1318 if (section >= sectors)
1334 int sectors = cfg->page_size / (512 << cfg->sector_size_1k); local
1336 if (section >= sectors)
1393 int sectors local
[all...]

Completed in 289 milliseconds

123456789