/system/core/fs_mgr/libsnapshot/ |
D | snapuserd.cpp | 34 __u64 sector; member 78 LOG(DEBUG) << android::base::StringPrintf(" msg->sector: 0x%016llx", msg->sector); in daemon_main() 84 "Responding to read of sector %lld with %lld bytes data", msg->sector, in daemon_main() 95 if (lseek(block_fd.get(), msg->sector * 512, SEEK_SET) < 0) { in daemon_main()
|
D | dm_snapshot_internals.h | 32 void WriteSector(uint64_t sector) { WriteChunk(sector / chunk_sectors_); } in WriteSector() argument
|
/system/core/fs_mgr/liblp/ |
D | images.h | 50 bool AddData(sparse_file* file, const std::string& blob, uint64_t sector); 53 bool SectorToBlock(uint64_t sector, uint32_t* block);
|
D | images.cpp | 227 bool ImageBuilder::AddData(sparse_file* file, const std::string& blob, uint64_t sector) { in AddData() argument 229 if (!SectorToBlock(sector, &block)) { in AddData() 241 bool ImageBuilder::SectorToBlock(uint64_t sector, uint32_t* block) { in SectorToBlock() argument 248 if ((sector * LP_SECTOR_SIZE) % block_size_ != 0) { in SectorToBlock() 249 LERROR << "sector " << sector << " is not aligned to block size " << block_size_; in SectorToBlock() 252 *block = (sector * LP_SECTOR_SIZE) / block_size_; in SectorToBlock()
|
D | builder.cpp | 991 bool MetadataBuilder::AlignSector(const LpMetadataBlockDevice& block_device, uint64_t sector, in AlignSector() argument 995 uint64_t lba = sector * LP_SECTOR_SIZE; in AlignSector()
|
/system/core/fs_mgr/ |
D | fs_mgr_dm_linear.cpp | 95 uint64_t sector = 0; in CreateDmTableInternal() local 101 target = std::make_unique<DmTargetZero>(sector, extent.num_sectors); in CreateDmTableInternal() 111 target = std::make_unique<DmTargetLinear>(sector, extent.num_sectors, dev_string, in CreateDmTableInternal() 122 sector += extent.num_sectors; in CreateDmTableInternal()
|
/system/nfc/src/nfc/tags/ |
D | rw_t2t.cc | 428 p_t2t->sector = p_t2t->select_sector; in rw_t2t_process_timeout() 651 tNFC_STATUS rw_t2t_sector_change(uint8_t sector) { in rw_t2t_sector_change() argument 666 UINT8_TO_BE_STREAM(p, sector); in rw_t2t_sector_change() 714 if (p_t2t->sector != block / T2T_BLOCKS_PER_SECTOR) { in rw_t2t_read() 774 if (p_t2t->sector != block / T2T_BLOCKS_PER_SECTOR) { in rw_t2t_write() 1005 tNFC_STATUS RW_T2tSectorSelect(uint8_t sector) { in RW_T2tSectorSelect() argument 1016 if (sector >= T2T_MAX_SECTOR) { in RW_T2tSectorSelect() 1020 sector, T2T_MAX_SECTOR - 1); in RW_T2tSectorSelect() 1029 p_t2t->select_sector = sector; in RW_T2tSectorSelect()
|
D | rw_mfc.cc | 90 static bool rw_mfc_authenticate(int sector, bool KeyA);
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 98 char sector[512]; in TEST() local 99 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST() 100 ASSERT_EQ(strncmp(sector, message1, sizeof(message1)), 0); in TEST() 101 ASSERT_TRUE(android::base::ReadFully(dev_fd, sector, sizeof(sector))); in TEST() 102 ASSERT_EQ(strncmp(sector, message2, sizeof(message2)), 0); in TEST()
|
/system/vold/ |
D | Checkpoint.cpp | 591 sector_t sector, uint32_t size, uint32_t block_size) { in relocatedRead() argument 594 lseek64(device_fd, sector * kSectorSize, SEEK_SET); in relocatedRead() 600 for (uint32_t i = 0; i < size; i += block_size, sector += block_size / kSectorSize) { in relocatedRead() 601 auto relocation = --relocations.upper_bound(sector); in relocatedRead() 602 lseek64(device_fd, (sector + relocation->second - relocation->first) * kSectorSize, in relocatedRead()
|
/system/core/libdiskconfig/include/diskconfig/ |
D | diskconfig.h | 58 uint8_t sector; member
|
/system/nfc/src/nfc/include/ |
D | rw_int.h | 394 uint8_t sector; /* Sector number that is selected */ member 796 extern tNFC_STATUS rw_t2t_sector_change(uint8_t sector);
|
D | rw_api.h | 544 extern tNFC_STATUS RW_T2tSectorSelect(uint8_t sector);
|
/system/extras/partition_tools/ |
D | README.md | 11 … the device. It must match exactly, and it must be evenly divisible by the sector size (512 bytes).
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 385 bool AlignSector(const LpMetadataBlockDevice& device, uint64_t sector, uint64_t* out) const;
|