/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/ |
D | fs_dm.c | 52 static int InitDmIo(struct dm_ioctl *io, const char *devName) in InitDmIo() argument 68 if (devName == NULL) { in InitDmIo() 72 err = strcpy_s(io->name, sizeof(io->name), devName); in InitDmIo() 81 static int CreateDmDevice(int fd, const char *devName) in CreateDmDevice() argument 86 rc = InitDmIo(&io, devName); in CreateDmDevice() 93 BEGET_LOGE("error, DM_DEV_CREATE failed for %s, ret=%d", devName, rc); in CreateDmDevice() 100 static int LoadDmDeviceTable(int fd, const char *devName, in LoadDmDeviceTable() argument 126 rc = InitDmIo(io, devName); in LoadDmDeviceTable() 159 BEGET_LOGE("error 0x%x, DM_TABLE_LOAD failed for %s", rc, devName); in LoadDmDeviceTable() 169 static int ActiveDmDevice(int fd, const char *devName) in ActiveDmDevice() argument [all …]
|
/base/update/updater/services/flashd/ |
D | partition.h | 26 explicit Partition(const std::string &devName) : devName_(devName) {} in Partition() argument 27 Partition(const std::string &devName, std::unique_ptr<FlashdWriter> writer) : devName_(devName), in Partition() argument
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
D | fs_hvb.c | 208 static int FsHvbGetCert(struct hvb_cert *cert, char *devName, struct hvb_verified_data *vd) in FsHvbGetCert() argument 211 size_t devNameLen = strlen(devName); in FsHvbGetCert() 220 if (memcmp(p->partition_name, devName, devNameLen) == 0) { in FsHvbGetCert() 226 BEGET_LOGE("error, can't found %s partition", devName); in FsHvbGetCert() 368 int FsHvbConstructVerityTarget(DmVerityTarget *target, const char *devName, struct hvb_cert *cert) in FsHvbConstructVerityTarget() argument 384 ((strchr(devName, '/') == NULL) ? FS_HVB_PARTITION_PREFIX : ""), devName) == -1) { in FsHvbConstructVerityTarget() 430 static int FsHvbCreateVerityTarget(DmVerityTarget *target, char *devName, struct hvb_verified_data … in FsHvbCreateVerityTarget() argument 435 rc = FsHvbGetCert(&cert, devName, vd); in FsHvbCreateVerityTarget() 440 rc = FsHvbConstructVerityTarget(target, devName, &cert); in FsHvbCreateVerityTarget() 462 char *devName = NULL; in FsHvbSetupHashtree() local [all …]
|
/base/update/updater/services/fs_manager/ |
D | partitions.cpp | 211 const std::string devName = LastComponent(dev.devPath); in InitGeneric() local 212 std::string partSize = ReadPartitionFromSys(devName, "", "size", ""); in InitGeneric() 334 const std::string devName = LastComponent(dev.devPath); in NewPartition() local 336 if (devName == MMC_DEV) { in NewPartition() 337 …if (snprintf_s(partName, sizeof(partName), sizeof(partName) - 1, "%sp%d", devName.c_str(), partn) … in NewPartition() 342 if (devName != MMC_DEV && ((devName == SDA_DEV) || (devName == SDB_DEV)) && in NewPartition() 343 …snprintf_s(partName, sizeof(partName), sizeof(partName) - 1, "%s%d", devName.c_str(), partn) == -1… in NewPartition() 348 std::string strstart = ReadPartitionFromSys(devName, partName, "start", ""); in NewPartition() 355 std::string strsize = ReadPartitionFromSys(devName, partName, "size", ""); in NewPartition() 362 std::string strdevname = ReadPartitionFromSys(devName, partName, "uevent", "DEVNAME="); in NewPartition() [all …]
|
D | do_partition.cpp | 153 …if (strncpy_s(blkPart.devname, BLKPG_DEVNAMELTH, part.devName.c_str(), part.devName.size()) != EOK… in BlkpgAddPartition() 296 p2->devName.clear(); in AddPartitions() 297 p2->devName = pdevname; in AddPartitions()
|
/base/startup/init/ueventd/ |
D | ueventd_device_handler.c | 399 const char *devName = NULL; in GetDeviceName() local 407 devName = basename((char *)deviceName); in GetDeviceName() 414 devName = basename(sysPath); in GetDeviceName() 416 devName = p; in GetDeviceName() 421 devName = basename(sysPath); in GetDeviceName() 423 return devName; in GetDeviceName() 483 const char *devName = GetDeviceName(sysPath, uevent->deviceName); in HandleBlockDeviceEvent() local 485 if (devPath == NULL || devName == NULL) { in HandleBlockDeviceEvent() 489 …if (snprintf_s(deviceNode, DEVICE_FILE_SIZE, DEVICE_FILE_SIZE - 1, "%s/%s", devPath, devName) == -… in HandleBlockDeviceEvent() 513 const char *devName = GetDeviceName(sysPath, uevent->deviceName); in HandleOtherDeviceEvent() local [all …]
|
/base/update/updater/utils/include/ |
D | partition_utils.h | 26 explicit PartitionUtils(const std::string &devName) : devName_(devName) {} in PartitionUtils() argument
|
/base/update/sys_installer/services/module_update/src/ |
D | module_dm.cpp | 59 std::string devName = OHOS::ExtractFileName(deviceName); in CreateDmDevice() local 77 ret = FsDmCreateDevice(&devPath, devName.c_str(), &target); in CreateDmDevice()
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/include/ |
D | fs_dm.h | 38 int FsDmCreateDevice(char **dmDevPath, const char *devName, DmVerityTarget *target);
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/include/ |
D | fs_hvb.h | 38 int FsHvbConstructVerityTarget(DmVerityTarget *target, const char *devName, struct hvb_cert *cert);
|
/base/telephony/call_manager/services/distributed_call/include/dcall/ |
D | dcall_device_info.h | 39 char devName[kMaxDCallDevNameLen] = { 0 }; member
|
/base/powermgr/battery_manager/charger/src/dev/ |
D | drm_driver.cpp | 224 std::string devName = std::string("/dev/dri/card") + std::to_string(devIndex); in GetOneResources() local 225 int tmpFd = open(devName.c_str(), O_RDWR | O_CLOEXEC); in GetOneResources() 227 BATTERY_HILOGE(FEATURE_CHARGING, "open failed %{public}s", devName.c_str()); in GetOneResources() 252 BATTERY_HILOGE(FEATURE_CHARGING, "drm dev: %{public}s", devName.c_str()); in GetOneResources()
|
/base/update/updater/services/ui/driver/ |
D | drm_driver.cpp | 225 std::string devName = std::string("/dev/dri/card") + std::to_string(devIndex); in GetOneResources() local 226 int tmpFd = open(devName.c_str(), O_RDWR | O_CLOEXEC); in GetOneResources() 228 LOG(ERROR) << "open failed " << devName; in GetOneResources() 253 LOG(INFO) << "drm dev:" << devName; in GetOneResources()
|
/base/update/updater/test/fuzztest/dopartitions_fuzzer/ |
D | dopartitions_fuzzer.cpp | 35 part.devName = "mmcblk0px"; in InitEmmcPartition()
|
/base/update/updater/services/include/fs_manager/ |
D | partitions.h | 87 std::string devName; member
|
/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 71 myPartition->devName = "mmcblk0px"; in SetPartitionInfo() 88 …LOG(INFO) << myPartition->start << " " << myPartition->length << " " << myPartition->devName << " … in SetPartitionInfo()
|
/base/telephony/call_manager/services/distributed_call/src/ |
D | distributed_call_manager.cpp | 121 std::string devName = devInfo.devName; in CreateDAudioDevice() local 133 addressJson["devName"] = devName; in CreateDAudioDevice()
|
/base/update/updater/test/unittest/fs_manager/ |
D | do_partition_unittest.cpp | 74 part.devName = "mmcblk0px"; in InitEmmcPartition()
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestGZipModeImagePatch.old.gz |
|