/linux-master/fs/bcachefs/ |
H A D | bcachefs.h | 532 u64 sectors[2][BCH_DATA_NR]; member in struct:io_count 897 u64 capacity; /* sectors */
|
H A D | sysfs.c | 893 percpu_u64_get(&ca->io_done->sectors[rw][i]) << 9);
|
H A D | bcachefs_format.h | 132 /* Btree keys - all units are in sectors */ 149 __u64 offset; /* Points to end of extent - sectors */ 220 __u32 size; /* extent size, in sectors */ 224 __u32 size; /* extent size, in sectors */ 580 __le16 bucket_size; /* sectors */ 903 __u8 sb_max_size_bits; /* base 2 of 512 byte sectors */ 1393 __le64 sectors; member in struct:jset_entry_dev_usage_type
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 1857 u16 i, sectors; local 1905 sectors = eeprom->len / I40E_NVM_SECTOR_SIZE; 1906 sectors += (eeprom->len % I40E_NVM_SECTOR_SIZE) ? 1 : 0; 1909 for (i = 0; i < sectors; i++) { 1910 if (i == (sectors - 1)) {
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 52 * Number of sectors per IO command 58 "Maximum number of sectors per IO command"); 3144 int sectors; local 3148 /* Default heads (64) & sectors (32) */ 3150 sectors = 32; 3152 tmp = heads * sectors; 3163 sectors = 63; 3164 tmp = heads*sectors; 3170 geom[1] = sectors; 6393 * Compute the max allowed sectors pe [all...] |
/linux-master/drivers/md/ |
H A D | raid5-cache.c | 373 * Total log space (in sectors) needed to flush all data in cache 2961 if (cp >= rdev->sectors || round_down(cp, BLOCK_SECTORS) != cp) 3003 log->device_size = round_down(rdev->sectors, BLOCK_SECTORS);
|
H A D | raid5-ppl.c | 1277 rdev->data_offset + rdev->sectors > rdev->ppl.sector)) {
|
H A D | dm-integrity.c | 125 struct_group(sectors, 1964 DMERR("Bio not aligned on %u sectors: 0x%llx, 0x%x", 2980 BUILD_BUG_ON(sizeof(js->sectors) != JOURNAL_SECTOR_DATA); 2981 memset(&js->sectors, 0, sizeof(js->sectors)); 4506 ti->error = "Not enough provided sectors for requested mapping size";
|
H A D | dm-ioctl.c | 1108 geometry.sectors = indata[2];
|
/linux-master/block/ |
H A D | blk-throttle.c | 209 #define request_bucket_index(sectors) \ 210 clamp_t(int, order_base_2(sectors) - 3, 0, LATENCY_BUCKET_SIZE - 1)
|
/linux-master/drivers/mmc/core/ |
H A D | block.c | 395 geo->sectors = 16; 1432 * sectors can be read successfully. 2593 * sectors. 2595 size = card->ext_csd.sectors;
|
H A D | core.c | 1751 * mmc_erase - erase sectors. 1754 * @nr: number of sectors to erase 1899 * when deciding the max discard sectors. We should set a balance value 1903 * Here we set 'card->pref_erase' as the minimal discard sectors no 1905 * 'host->max_busy_timeout' is large enough for more discard sectors, 1906 * then we can continue to increase the max discard sectors until we 1931 * an erase-group boundary even if the amount of sectors is less than 1944 /* Convert qty to sectors */ 1976 pr_debug("%s: calculated max. discard sectors %u for timeout %u ms\n", 2195 * Calculate number of sectors occupie [all...] |
/linux-master/drivers/memstick/core/ |
H A D | mspro_block.c | 198 geo->sectors = msb->sectors_per_track; 362 rc += sysfs_emit_at(buffer, rc, "start sectors: %x\n", x_mbr->start_sectors); 363 rc += sysfs_emit_at(buffer, rc, "sectors per partition: %x\n", 416 rc += sysfs_emit_at(buffer, rc, "sectors per track: %x\n",
|
/linux-master/arch/um/drivers/ |
H A D | ubd_kern.c | 1349 geo->sectors = 32;
|
/linux-master/drivers/md/dm-vdo/ |
H A D | slab-depot.c | 1147 packed->sectors[i].commit_point = commit_point; 1148 memcpy(packed->sectors[i].counts, counters + (i * COUNTS_PER_SECTOR), 2207 struct packed_reference_sector *sector = &packed->sectors[i];
|
/linux-master/fs/f2fs/ |
H A D | f2fs.h | 1615 unsigned int log_sectors_per_block; /* log2 sectors per block */ 2443 blkcnt_t sectors = count << F2FS_LOG_SECTORS_PER_BLOCK; local 2453 if (unlikely(inode->i_blocks < sectors)) { 2454 f2fs_warn(sbi, "Inconsistent i_blocks, ino:%lu, iblocks:%llu, sectors:%llu", 2457 (unsigned long long)sectors);
|
/linux-master/drivers/scsi/ |
H A D | scsi_debug.c | 868 static sector_t sdebug_capacity; /* in sectors */ 874 static int sdebug_sectors_per; /* sectors per cylinder */ 3514 unsigned int sectors, bool read) 3525 resid = sectors * sizeof(*dif_storep); 3560 unsigned int sectors, u32 ei_lba) 3569 for (i = 0; i < sectors; i++, ei_lba++) { 3593 dif_copy_prot(scp, start_sec, sectors, true); 3807 unsigned int sectors, u32 ei_lba) 3866 dif_copy_prot(SCpnt, start_sec, sectors, false); 6368 MODULE_PARM_DESC(medium_error_count, "count of sectors t 3513 dif_copy_prot(struct scsi_cmnd *scp, sector_t sector, unsigned int sectors, bool read) argument 3559 prot_verify_read(struct scsi_cmnd *scp, sector_t start_sec, unsigned int sectors, u32 ei_lba) argument 3806 prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, unsigned int sectors, u32 ei_lba) argument [all...] |
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 117 MODULE_PARM_DESC(max_sectors, "max sectors, range 64 to 32767 default=32767"); 2759 * @capacity: device size (in 512 byte sectors) 2762 * params[1] number of sectors (max 63) 2770 int sectors; local 2775 sectors = 32; 2777 dummy = heads * sectors; 2787 sectors = 63; 2788 dummy = heads * sectors; 2795 params[1] = sectors;
|
/linux-master/drivers/spi/ |
H A D | spi-mtk-snfi.c | 12 // This controller organize the page data as several interleaved sectors 550 dev_err(snf->dev, "too many sectors required.\n"); 700 ecc_cfg->sectors = snf->nfi_cfg.nsectors;
|
/linux-master/drivers/scsi/aacraid/ |
H A D | aacraid.h | 337 u32 total_blocks; /* number for sectors on drive */ 438 int sectors; member in struct:diskparm
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_int.h | 506 u64 la_size_sect; /* last agreed size, unit sectors */ 844 /* size of out-of-sync range in sectors. */ 891 int rs_last_events; /* counter of read or write "events" (unit sectors) 895 int rs_in_flight; /* resync sectors in flight (to proxy, in proxy and from proxy) */ 896 atomic_t ap_in_flight; /* App sectors in flight (waiting for ack) */ 1092 * Offsets in (512 byte) sectors. 1098 * ==> bitmap sectors = md_size_sect - bm_offset 1108 * ==> bitmap sectors = Y = al_offset - bm_offset 1110 * [padding*] are zero or up to 7 unused 512 Byte sectors to the 1122 #define MD_128MB_SECT (128LLU << 11) /* 128 MB, unit sectors */ [all...] |
/linux-master/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 80 rnbd_clt_info(dev, "Device size changed from %llu to %llu sectors\n", 955 geo->sectors = 16; 972 * transferred that is then written repeatedly over a lot of sectors.
|
/linux-master/drivers/block/ |
H A D | amiflop.c | 166 #define FLOPPY_MAX_SECTORS 22 /* Max. Number of sectors per track */ 170 int sects; /* sectors per track */ 182 unsigned int sect_mult; /* sectors and gap multiplier (HD = 2) */ 975 /* sectors */ 1348 /* sectors */ 1530 geo->sectors = unit[drive].dtype->sects * unit[drive].type->sect_mult;
|
/linux-master/drivers/nvdimm/ |
H A D | btt.c | 1484 geo->sectors = 1 << 5;
|
/linux-master/include/linux/ |
H A D | libata.h | 689 unsigned int multi_count; /* sectors count for 691 unsigned int max_sectors; /* per-device max sectors */ 702 u16 sectors; /* Number of sectors per track */ member in struct:ata_device
|