/base/startup/init/test/unittest/ueventd/ |
H A D | ueventd_event_unittest.cpp | 198 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 D | ueventd_device_handler.c | 151 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 D | ueventd.c | 166 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 D | init.c | 20 #include <linux/major.h>
|
/base/startup/init/ueventd/include/ |
H A D | ueventd.h | 52 int major; member
|
/base/update/updater/services/include/fs_manager/ |
H A D | partitions.h | 103 int major; member
|
/base/web/webview/ohos_interface/ohos_glue/scripts/ |
H A D | system_util.py | 47 if sys.version_info.major == 2:
|
/base/security/asset/frameworks/utils/src/ |
H A D | hasher.rs | 76 let major = (compressed_chunk[0] & compressed_chunk[1]) 79 let temp2 = s0.wrapping_add(major);
|
/base/startup/init/services/init/standard/ |
H A D | init_cmds.c | 273 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 D | device.c | 24 #include <linux/major.h>
|
H A D | init_firststage.c | 23 #include <linux/major.h>
|
H A D | init.c | 27 #include <linux/major.h>
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_map.h | 60 uint64_t major = 0; member in OHOS::HiviewDFX::DfxMap
|
/base/update/updater/services/fs_manager/ |
H A D | partitions.cpp | 51 devMajor = static_cast<int>(major (devStat.st_rdev)); in DeviceProbeType() 52 specific->major = devMajor; in DeviceProbeType()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_map.cpp | 222 /* 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 D | hvbtool.py | 120 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
|