Searched refs:uts (Results 1 – 9 of 9) sorted by relevance
/system/core/fs_mgr/libsnapshot/snapuserd/ |
D | utility.cpp | 51 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/ |
D | bootchart.cpp | 73 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()
|
D | first_stage_init.cpp | 215 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()
|
D | init.cpp | 696 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/ |
D | vts_fs_test.cpp | 59 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/ |
D | usb.cpp | 213 struct utsname uts {}; in DoesKernelSupportIouring() struct 215 if ((uname(&uts) != 0) || (sscanf(uts.release, "%u.%u", &major, &minor) != 2)) { in DoesKernelSupportIouring()
|
/system/core/toolbox/ |
D | modprobe.cpp | 107 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/ |
D | dm.cpp | 754 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/ |
D | fs_mgr.cpp | 2419 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()
|