Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/
Drfd_ftl.c77 u_int sector_count; /* sectors in translated disk */ member
122 if (entry >= part->sector_count) { in build_block_map()
177 part->sector_count = part->cylinders * SECTORS_PER_TRACK; in scan_header()
192 part->sector_map = vmalloc(part->sector_count * sizeof(u_long)); in scan_header()
199 for (i=0; i<part->sector_count; i++) in scan_header()
248 if (sector >= part->sector_count) in rfd_ftl_readsect()
400 if (entry >= part->sector_count) in move_block_contents()
722 if (sector >= part->sector_count) { in rfd_ftl_writesect()
784 part->mbd.size = part->sector_count; in rfd_ftl_add_mtd()
/linux-3.4.99/include/linux/
Dhdreg.h80 __u8 sector_count; member
87 __u8 sector_count; member
98 __u8 sector_count; member
/linux-3.4.99/drivers/scsi/
D3w-xxxx.h385 unsigned short sector_count; member
419 u32 sector_count; member
D3w-sas.h380 unsigned int sector_count; member
D3w-9xxx.h666 unsigned int sector_count; member
Dips.h434 uint16_t sector_count; member
624 uint32_t sector_count; member
D3w-sas.c186 tw_dev->sector_count, in twl_show_stats()
394 tw_dev->sector_count = scsi_bufflen(srb) / 512; in twl_scsiop_execute_scsi()
395 if (tw_dev->sector_count > tw_dev->max_sector_count) in twl_scsiop_execute_scsi()
396 tw_dev->max_sector_count = tw_dev->sector_count; in twl_scsiop_execute_scsi()
D3w-xxxx.c517 tw_dev->sector_count, in tw_show_stats()
1774 tw_dev->sector_count = num_sectors; in tw_scsiop_read_write()
1775 if (tw_dev->sector_count > tw_dev->max_sector_count) in tw_scsiop_read_write()
1776 tw_dev->max_sector_count = tw_dev->sector_count; in tw_scsiop_read_write()
Dips.c3669 sector_count)); in ips_send_cmd()
3677 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3680 if (le16_to_cpu(scb->cmd.basic_io.sector_count) == 0) in ips_send_cmd()
3681 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3715 sector_count)); in ips_send_cmd()
3725 scb->cmd.basic_io.sector_count = in ips_send_cmd()
3728 if (cpu_to_le16(scb->cmd.basic_io.sector_count) == 0) { in ips_send_cmd()
4161 drive_info[scb->target_id].sector_count) - 1); in ips_rdcap()
5765 scb->cmd.basic_io.sector_count = 0; in ips_read_adapter_status()
5808 scb->cmd.basic_io.sector_count = 0; in ips_read_subsystem_parameters()
D3w-9xxx.c184 tw_dev->sector_count, in twa_show_stats()
1915 tw_dev->sector_count = num_sectors; in DEF_SCSI_QCMD()
1916 if (tw_dev->sector_count > tw_dev->max_sector_count) in DEF_SCSI_QCMD()
1917 tw_dev->max_sector_count = tw_dev->sector_count; in DEF_SCSI_QCMD()
/linux-3.4.99/drivers/md/
Ddm.c1045 sector_t sector_count; member
1184 bio->bi_vcnt - ci->idx, ci->sector_count, in __clone_and_map_simple()
1187 ci->sector_count = 0; in __clone_and_map_simple()
1209 len = min(ci->sector_count, max_io_len_target_boundary(ci->sector, ti)); in __clone_and_map_discard()
1214 } while (ci->sector_count -= len); in __clone_and_map_discard()
1235 if (ci->sector_count <= max) { in __clone_and_map()
1267 ci->sector_count -= len; in __clone_and_map()
1297 ci->sector_count -= len; in __clone_and_map()
1334 ci.sector_count = 0; in __split_and_process_bio()
1339 ci.sector_count = bio_sectors(bio); in __split_and_process_bio()
[all …]
/linux-3.4.99/drivers/scsi/libsas/
Dsas_ata.c614 if ((fis->sector_count == 1 && /* ATA */ in sas_get_ata_command_set()
620 (fis->sector_count == 0 && /* CE-ATA (mATA) */ in sas_get_ata_command_set()
636 else if ((fis->sector_count == 1 && /* SEMB */ in sas_get_ata_command_set()
/linux-3.4.99/include/scsi/
Dsas.h224 union { u8 sector_count; u8 interrupt_reason; }; member
248 union { u8 sector_count; u8 interrupt_reason; }; member
/linux-3.4.99/drivers/block/
Dps3disk.c58 u16 sector_count; member
376 ata_cmnd.sector_count = 1; in ps3disk_identify()
/linux-3.4.99/drivers/scsi/pm8001/
Dpm8001_hwi.h202 u8 sector_count; member
/linux-3.4.99/drivers/scsi/aacraid/
Daacraid.h1303 __le16 sector_count; member
1330 __le16 sector_count; member
Daachba.c1001 readcmd->sector_count = cpu_to_le16(count); in aac_read_block64()
1093 writecmd->sector_count = cpu_to_le16(count); in aac_write_block64()
/linux-3.4.99/drivers/scsi/isci/
Drequest.c2216 d2h->sector_count = 0x3; in atapi_data_tc_completion_handler()
3262 fis->sector_count = qc->tag << 3; in isci_request_stp_request_construct()
/linux-3.4.99/drivers/scsi/mvsas/
Dmv_sas.c484 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in mvs_task_prep_ata()