Home
last modified time | relevance | path

Searched refs:major (Results 1 - 16 of 16) sorted by relevance

/base/startup/init/test/unittest/ueventd/
H A Dueventd_event_unittest.cpp198 ueventdBuffer.append(std::string("MAJOR=") + std::to_string(uevent.major) + '\000'); in GenerateUeventBuffer()
242 .major = 1, in HWTEST_F()
262 EXPECT_EQ(outEvent.major, 1); in HWTEST_F()
301 .major = -1, in HWTEST_F()
309 .major = 1, in HWTEST_F()
325 .major = 5, in HWTEST_F()
355 .major = 5, in HWTEST_F()
387 .major = 5, in HWTEST_F()
405 .major = -1, in HWTEST_F()
413 .major in HWTEST_F()
[all...]
/base/startup/init/ueventd/
H A Dueventd_device_handler.c151 int major = uevent->major; in CreateDeviceNode() local
182 dev_t dev = makedev((unsigned int)major, (unsigned int)minor); in CreateDeviceNode()
187 INIT_LOGE("Create device node[%s %d, %d] failed. %d", deviceNode, major, minor, errno); in CreateDeviceNode()
466 if (uevent->major < 0 || uevent->minor < 0) { in HandleBlockDeviceEvent()
490 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleBlockDeviceEvent()
503 if (uevent->major < 0 || uevent->minor < 0) { in HandleOtherDeviceEvent()
528 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleOtherDeviceEvent()
550 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleOtherDeviceEvent()
H A Dueventd.c166 makedev((unsigned int)uevent->major, (unsigned int)uevent->minor)) != 0) { in HandleRequiredDynamicDeviceNodes()
231 uevent->major = StringToInt(event + strlen("MAJOR="), -1); in AddUevent()
260 uevent->major, uevent->minor, in AddUevent()
271 // reset partition number, major and minor. in ParseUeventMessage()
274 uevent->major = -1; in ParseUeventMessage()
/base/startup/init/services/init/lite/
H A Dinit.c20 #include <linux/major.h>
/base/startup/init/ueventd/include/
H A Dueventd.h52 int major; member
/base/update/updater/services/include/fs_manager/
H A Dpartitions.h103 int major; member
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dsystem_util.py47 if sys.version_info.major == 2:
/base/security/asset/frameworks/utils/src/
H A Dhasher.rs76 let major = (compressed_chunk[0] & compressed_chunk[1])
79 let temp2 = s0.wrapping_add(major);
/base/startup/init/services/init/standard/
H A Dinit_cmds.c273 unsigned int major = strtoul(ctx->argv[majorDevicePos], NULL, DECIMAL); in DoMakeNode() local
279 int ret = mknod(ctx->argv[0], deviceMode | authority, makedev(major, minor)); in DoMakeNode()
287 // format: makedev major minor in DoMakeDevice()
289 unsigned int major = strtoul(ctx->argv[0], NULL, DECIMAL); in DoMakeDevice() local
293 dev_t deviceId = makedev(major, minor); in DoMakeDevice()
294 INIT_CHECK_ONLY_ELOG(deviceId >= 0, "DoMakedevice \" major:%s, minor:%s \" failed :%d ", ctx->argv[0], in DoMakeDevice()
H A Ddevice.c24 #include <linux/major.h>
H A Dinit_firststage.c23 #include <linux/major.h>
H A Dinit.c27 #include <linux/major.h>
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_map.h60 uint64_t major = 0; member in OHOS::HiviewDFX::DfxMap
/base/update/updater/services/fs_manager/
H A Dpartitions.cpp51 devMajor = static_cast<int>(major (devStat.st_rdev)); in DeviceProbeType()
52 specific->major = devMajor; in DeviceProbeType()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_map.cpp222 /* scan: "begin-end perms offset major:minor inum path" */ in Parse()
238 major = static_cast<uint64_t>(tmp); in Parse()
/base/startup/hvb/tools/
H A Dhvbtool.py120 self.mgc, self.major, self.minor = struct.unpack('4s2I', self.cert[0:12])
121 self.version = '{}.{}'.format(self.major, self.minor)
317 major_version (0x1) - reject images with higher major versions

Completed in 10 milliseconds