Home
last modified time | relevance | path

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

/drivers/mtd/
Drfd_ftl.c78 u_int sector_count; /* sectors in translated disk */ member
123 if (entry >= part->sector_count) { in build_block_map()
178 part->sector_count = part->cylinders * SECTORS_PER_TRACK; in scan_header()
194 part->sector_count)); in scan_header()
198 for (i=0; i<part->sector_count; i++) in scan_header()
247 if (sector >= part->sector_count) in rfd_ftl_readsect()
362 if (entry >= part->sector_count) in move_block_contents()
681 if (sector >= part->sector_count) { in rfd_ftl_writesect()
716 if (sector >= part->sector_count) in rfd_ftl_discardsect()
772 part->mbd.size = part->sector_count; in rfd_ftl_add_mtd()
/drivers/scsi/
D3w-xxxx.h389 unsigned short sector_count; member
425 u32 sector_count; member
D3w-sas.h389 unsigned int sector_count; member
D3w-sas.c183 tw_dev->sector_count, in twl_show_stats()
358 tw_dev->sector_count = scsi_bufflen(srb) / 512; in twl_scsiop_execute_scsi()
359 if (tw_dev->sector_count > tw_dev->max_sector_count) in twl_scsiop_execute_scsi()
360 tw_dev->max_sector_count = tw_dev->sector_count; in twl_scsiop_execute_scsi()
D3w-9xxx.h675 unsigned int sector_count; member
Dips.h415 uint16_t sector_count; member
605 uint32_t sector_count; member
D3w-xxxx.c517 tw_dev->sector_count, in tw_show_stats()
1747 tw_dev->sector_count = num_sectors; in tw_scsiop_read_write()
1748 if (tw_dev->sector_count > tw_dev->max_sector_count) in tw_scsiop_read_write()
1749 tw_dev->max_sector_count = tw_dev->sector_count; in tw_scsiop_read_write()
Dips.c3582 sector_count)); in ips_send_cmd()
3590 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3593 if (le16_to_cpu(scb->cmd.basic_io.sector_count) == 0) in ips_send_cmd()
3594 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3628 sector_count)); in ips_send_cmd()
3638 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3641 if (cpu_to_le16(scb->cmd.basic_io.sector_count) == 0) { in ips_send_cmd()
4074 drive_info[scb->target_id].sector_count) - 1); in ips_rdcap()
5676 scb->cmd.basic_io.sector_count = 0; in ips_read_adapter_status()
5719 scb->cmd.basic_io.sector_count = 0; in ips_read_subsystem_parameters()
D3w-9xxx.c182 tw_dev->sector_count, in twa_show_stats()
1891 tw_dev->sector_count = num_sectors; in DEF_SCSI_QCMD()
1892 if (tw_dev->sector_count > tw_dev->max_sector_count) in DEF_SCSI_QCMD()
1893 tw_dev->max_sector_count = tw_dev->sector_count; in DEF_SCSI_QCMD()
/drivers/md/
Ddm.c86 unsigned int sector_count; member
1448 if (ci->sector_count > len) { in setup_split_accounting()
1536 ci->sector_count = 0; in __send_empty_flush()
1562 len = min_t(sector_t, ci->sector_count, in __send_changing_extent_only()
1574 ci->sector_count -= len; in __send_changing_extent_only()
1695 len = min_t(sector_t, max_io_len(ti, ci->sector), ci->sector_count); in __split_and_process_bio()
1701 ci->sector_count -= len; in __split_and_process_bio()
1715 ci->sector_count = bio_sectors(bio); in init_clone_info()
1719 WARN_ON_ONCE(op_is_zone_mgmt(bio_op(bio)) && ci->sector_count)) in init_clone_info()
1720 ci->sector_count = 0; in init_clone_info()
[all …]
/drivers/block/
Dps3disk.c46 u16 sector_count; member
347 ata_cmnd.sector_count = 1; in ps3disk_identify()
/drivers/mtd/nand/raw/
Dcadence-nand-controller.c520 u32 sector_count; member
1220 sec_cnt = cdns_chip->sector_count; in cadence_nand_prepare_data_size()
1225 sec_cnt = cdns_chip->sector_count; in cadence_nand_prepare_data_size()
1557 u32 oob_data_offset = (cdns_chip->sector_count - 1) * in cadence_nand_write_page_raw()
1758 u32 oob_data_offset = (cdns_chip->sector_count - 1) * in cadence_nand_read_page_raw()
2634 cdns_chip->sector_count = mtd->writesize / cdns_chip->sector_size; in cadence_nand_attach_chip()
2635 ecc_size = cdns_chip->sector_count * chip->ecc.bytes; in cadence_nand_attach_chip()
/drivers/scsi/pm8001/
Dpm8001_hwi.h204 u8 sector_count; member
Dpm80xx_hwi.h401 u8 sector_count; member
Dpm8001_hwi.c1838 fis.sector_count = 0x1; in pm8001_send_read_log()
4220 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm8001_chip_sata_req()
Dpm80xx_hwi.c1871 fis.sector_count = 0x1; in pm80xx_send_read_log()
4578 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm80xx_chip_sata_req()
/drivers/scsi/aacraid/
Daacraid.h1869 __le16 sector_count; member
1896 __le16 sector_count; member
Daachba.c1296 readcmd->sector_count = cpu_to_le16(count); in aac_read_block64()
1430 writecmd->sector_count = cpu_to_le16(count); in aac_write_block64()
/drivers/scsi/isci/
Drequest.c2201 d2h->sector_count = 0x3; in atapi_data_tc_completion_handler()
3168 fis->sector_count = qc->tag << 3; in isci_request_stp_request_construct()
/drivers/scsi/mvsas/
Dmv_sas.c477 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in mvs_task_prep_ata()
/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c2553 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v2_hw()
Dhisi_sas_v3_hw.c1430 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v3_hw()