Searched refs:uts (Results 1 – 2 of 2) sorted by relevance
/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()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 1040 struct utsname uts; in fs_mgr_overlayfs_valid() local 1041 if (uname(&uts) == -1) { in fs_mgr_overlayfs_valid() 1045 if (sscanf(uts.release, "%d.%d", &major, &minor) != 2) { in fs_mgr_overlayfs_valid()
|