Home
last modified time | relevance | path

Searched refs:major (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp194 ueventdBuffer.append(std::string("MAJOR=") + std::to_string(uevent.major) + '\000'); in GenerateUeventBuffer()
238 .major = 1,
258 EXPECT_EQ(outEvent.major, 1);
295 .major = -1,
303 .major = 1,
319 .major = 5,
349 .major = 5,
381 .major = 5,
399 .major = -1,
407 .major = 5,
[all …]
/base/startup/init/ueventd/
Dueventd_device_handler.c139 int major = uevent->major; in CreateDeviceNode() local
170 dev_t dev = makedev(major, minor); in CreateDeviceNode()
175 INIT_LOGE("Create device node[%s %d, %d] failed. %d", deviceNode, major, minor, errno); in CreateDeviceNode()
435 if (uevent->major < 0 || uevent->minor < 0) { in HandleBlockDeviceEvent()
459 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleBlockDeviceEvent()
472 if (uevent->major < 0 || uevent->minor < 0) { in HandleOtherDeviceEvent()
497 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleOtherDeviceEvent()
519 INIT_LOGE("Make device file for device [%d : %d]", uevent->major, uevent->minor); in HandleOtherDeviceEvent()
Dueventd.c166 makedev(uevent->major, uevent->minor)) != 0) { in HandleRequiredDynamicDeviceNodes()
235 uevent->major = StringToInt(event + strlen("MAJOR="), -1); in AddUevent()
261 uevent->major = -1; in ParseUeventMessage()
/base/startup/init/ueventd/include/
Dueventd.h52 int major; member
/base/update/updater/services/include/fs_manager/
Dpartitions.h103 int major; member
/base/startup/init/services/init/standard/
Dinit_cmds.c262 unsigned int major = strtoul(ctx->argv[majorDevicePos], NULL, decimal); in DoMakeNode() local
268 int ret = mknod(ctx->argv[0], deviceMode | authority, makedev(major, minor)); in DoMakeNode()
279 unsigned int major = strtoul(ctx->argv[0], NULL, decimal); in DoMakeDevice() local
283 dev_t deviceId = makedev(major, minor); in DoMakeDevice()
/base/update/updater/services/fs_manager/
Dpartitions.cpp50 devMajor = static_cast<int>(major (devStat.st_rdev)); in DeviceProbeType()
51 specific->major = devMajor; in DeviceProbeType()
/base/usb/usb_manager/
DREADME.md83 The following provides some examples on how to use major APIs. For detailed service code, see [js_u…
/base/startup/hvb/tools/
Dhvbtool.py120 self.mgc, self.major, self.minor = struct.unpack('4s2I', self.cert[0:12])
121 self.version = '{}.{}'.format(self.major, self.minor)
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz