Home
last modified time | relevance | path

Searched refs:uts (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libsnapshot/snapuserd/
Dutility.cpp51 struct utsname uts {}; in KernelSupportsIoUring() struct
54 uname(&uts); in KernelSupportsIoUring()
55 if (sscanf(uts.release, "%u.%u", &major, &minor) != 2) { in KernelSupportsIoUring()
/system/core/init/
Dbootchart.cpp73 utsname uts; in log_header() local
74 if (uname(&uts) == -1) return; in log_header()
86 fprintf(&*fp, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, uts.version, uts.machine); in log_header()
89 fprintf(&*fp, "system.cpu = %s\n", uts.machine); in log_header()
Dfirst_stage_init.cpp215 struct utsname uts {}; in LoadKernelModules() struct
216 if (uname(&uts)) { in LoadKernelModules()
220 if (sscanf(uts.release, "%d.%d", &major, &minor) != 2) { in LoadKernelModules()
221 LOG(FATAL) << "Failed to parse kernel version " << uts.release; in LoadKernelModules()
232 const std::string release_specific_module_dir = uts.release + page_size_suffix; in LoadKernelModules()
Dinit.cpp696 struct utsname uts; in SetKernelVersion() local
699 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in SetKernelVersion()
/system/core/fs_mgr/tests/
Dvts_fs_test.cpp59 struct utsname uts; in TEST() local
60 ASSERT_EQ(uname(&uts), 0); in TEST()
63 ASSERT_EQ(sscanf(uts.release, "%u.%u", &major, &minor), 2); in TEST()
85 struct utsname uts; in TEST() local
86 ASSERT_EQ(uname(&uts), 0); in TEST()
89 ASSERT_EQ(sscanf(uts.release, "%u.%u", &major, &minor), 2); in TEST()
/system/core/fastboot/device/
Dusb.cpp213 struct utsname uts {}; in DoesKernelSupportIouring() struct
215 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in DoesKernelSupportIouring()
/system/core/toolbox/
Dmodprobe.cpp107 utsname uts; in KernelVersionNameFilter() local
110 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in KernelVersionNameFilter()
/system/core/fs_mgr/libdm/
Ddm.cpp754 struct utsname uts; in CreatePlaceholderDevice() local
756 if (uname(&uts) != 0 || sscanf(uts.release, "%u.%u", &major, &minor) != 2) { in CreatePlaceholderDevice()
/system/core/fs_mgr/
Dfs_mgr.cpp2419 struct utsname uts; in CheckOverlayfs() local
2420 if (uname(&uts) == -1) { in CheckOverlayfs()
2424 if (sscanf(uts.release, "%d.%d", &major, &minor) != 2) { in CheckOverlayfs()