/kernel/liteos_a/drivers/block/disk/src/ |
D | disk.c | 286 part->sector_count = count; in DiskPartAllocate() 330 if ((sectorCount > disk->sector_count) || ((disk->sector_count - sectorCount) < sectorStart)) { in DiskAddPart() 379 if (info->sector_count < info->part[i].sector_start) { in DiskDivide() 382 if (info->part[i].sector_count > (info->sector_count - info->part[i].sector_start)) { in DiskDivide() 384 info->part[i].sector_start, info->part[i].sector_count, in DiskDivide() 385 (info->sector_count - info->part[i].sector_start)); in DiskDivide() 386 info->part[i].sector_count = info->sector_count - info->part[i].sector_start; in DiskDivide() 387 PRINT_ERR("Part[%u] sector_count change to %llu.\n", i, info->part[i].sector_count); in DiskDivide() 389 ret = DiskAddPart(disk, info->part[i].sector_start, info->part[i].sector_count, TRUE); in DiskDivide() 395 ret = DiskAddPart(disk, info->part[i].sector_start, info->part[i].sector_count, TRUE); in DiskDivide() [all …]
|
/kernel/liteos_a/drivers/block/disk/include/ |
D | disk.h | 187 UINT64 sector_count; /* disk sector number */ member 211 UINT64 sector_count; /* member 221 UINT64 sector_count; member 225 UINT64 sector_count; member
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | rfd_ftl.c | 78 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() 201 for (i=0; i<part->sector_count; i++) in scan_header() 250 if (sector >= part->sector_count) in rfd_ftl_readsect() 365 if (entry >= part->sector_count) in move_block_contents() 684 if (sector >= part->sector_count) { in rfd_ftl_writesect() 746 part->mbd.size = part->sector_count; in rfd_ftl_add_mtd()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | hdreg.h | 68 __u8 sector_count; member 74 __u8 sector_count; member 84 __u8 sector_count; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | hdreg.h | 77 __u8 sector_count; member 82 __u8 sector_count; member 92 __u8 sector_count; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | hdreg.h | 81 __u8 sector_count; member 88 __u8 sector_count; member 99 __u8 sector_count; member
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | 3w-xxxx.h | 380 unsigned short sector_count; member 416 u32 sector_count; member
|
D | 3w-sas.h | 373 unsigned int sector_count; member
|
D | 3w-9xxx.h | 658 unsigned int sector_count; member
|
D | 3w-sas.c | 183 tw_dev->sector_count, in twl_show_stats() 359 tw_dev->sector_count = scsi_bufflen(srb) / 512; in twl_scsiop_execute_scsi() 360 if (tw_dev->sector_count > tw_dev->max_sector_count) in twl_scsiop_execute_scsi() 361 tw_dev->max_sector_count = tw_dev->sector_count; in twl_scsiop_execute_scsi()
|
D | ips.h | 415 uint16_t sector_count; member 605 uint32_t sector_count; member
|
D | 3w-xxxx.c | 517 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()
|
D | ips.c | 3578 sector_count)); in ips_send_cmd() 3586 scb->cmd.basic_io.sector_count = in ips_send_cmd() 3589 if (le16_to_cpu(scb->cmd.basic_io.sector_count) == 0) in ips_send_cmd() 3590 scb->cmd.basic_io.sector_count = in ips_send_cmd() 3624 sector_count)); in ips_send_cmd() 3634 scb->cmd.basic_io.sector_count = in ips_send_cmd() 3637 if (cpu_to_le16(scb->cmd.basic_io.sector_count) == 0) { in ips_send_cmd() 4070 drive_info[scb->target_id].sector_count) - 1); in ips_rdcap() 5672 scb->cmd.basic_io.sector_count = 0; in ips_read_adapter_status() 5715 scb->cmd.basic_io.sector_count = 0; in ips_read_subsystem_parameters()
|
D | 3w-9xxx.c | 182 tw_dev->sector_count, in twa_show_stats() 1899 tw_dev->sector_count = num_sectors; in DEF_SCSI_QCMD() 1900 if (tw_dev->sector_count > tw_dev->max_sector_count) in DEF_SCSI_QCMD() 1901 tw_dev->max_sector_count = tw_dev->sector_count; in DEF_SCSI_QCMD()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm.c | 73 unsigned sector_count; member 1484 ci->sector_count = 0; in __send_empty_flush() 1536 len = min_t(sector_t, ci->sector_count, in __send_changing_extent_only() 1542 ci->sector_count -= len; in __send_changing_extent_only() 1606 len = min_t(sector_t, max_io_len(ti, ci->sector), ci->sector_count); in __split_and_process_non_flush() 1613 ci->sector_count -= len; in __split_and_process_non_flush() 1646 ci.sector_count = 0; in __split_and_process_bio() 1650 ci.sector_count = bio_sectors(bio); in __split_and_process_bio() 1651 while (ci.sector_count && !error) { in __split_and_process_bio() 1653 if (current->bio_list && ci.sector_count && !error) { in __split_and_process_bio() [all …]
|
/kernel/linux/linux-5.10/include/scsi/ |
D | sas.h | 210 union { u8 sector_count; u8 interrupt_reason; }; member 234 union { u8 sector_count; u8 interrupt_reason; }; member
|
/kernel/linux/linux-5.10/drivers/block/ |
D | ps3disk.c | 47 u16 sector_count; member 362 ata_cmnd.sector_count = 1; in ps3disk_identify()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | cadence-nand-controller.c | 520 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() 2637 cdns_chip->sector_count = mtd->writesize / cdns_chip->sector_size; in cadence_nand_attach_chip() 2638 ecc_size = cdns_chip->sector_count * chip->ecc.bytes; in cadence_nand_attach_chip()
|
/kernel/liteos_a/fs/rootfs/ |
D | los_rootfs.c | 94 UINT64 userdataSizeCnt = emmcDisk->sector_count - userdataStartCnt; in AddEmmcParts()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm8001_hwi.h | 204 u8 sector_count; member
|
D | pm80xx_hwi.h | 401 u8 sector_count; member
|
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
D | aacraid.h | 1868 __le16 sector_count; member 1895 __le16 sector_count; member
|
D | aachba.c | 1283 readcmd->sector_count = cpu_to_le16(count); in aac_read_block64() 1417 writecmd->sector_count = cpu_to_le16(count); in aac_write_block64()
|
/kernel/liteos_a/fs/fat/os_adapt/ |
D | fatfs.c | 1781 if (EraseDiskByID(part->disk_id, part->sector_start, part->sector_count) != LOS_OK) { in fatfs_erase() 1817 part->sector_count = LD_DWORD_DISK(&buf[PAR_OFFSET + PAR_COUNT_OFFSET]); in fatfs_set_part_info()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | request.c | 2211 d2h->sector_count = 0x3; in atapi_data_tc_completion_handler() 3176 fis->sector_count = qc->tag << 3; in isci_request_stp_request_construct()
|