Searched refs:get_debug_policy_bool (Results 1 – 3 of 3) sorted by relevance
23 fn get_debug_policy_bool(path: &'static str) -> Option<bool> { in get_debug_policy_bool() function35 || get_debug_policy_bool("/proc/device-tree/avf/guest/common/log").unwrap_or_default() in main()44 || get_debug_policy_bool("/proc/device-tree/avf/guest/microdroid/adb").unwrap_or_default() in main()
66 fn get_debug_policy_bool(path: &Path) -> Result<bool> { in get_debug_policy_bool() function236 debug_policy_log: get_debug_policy_bool(&DP_LOG_PATH.to_path())?, in from_host()237 debug_policy_ramdump: get_debug_policy_bool(&DP_RAMDUMP_PATH.to_path())?, in from_host()238 debug_policy_adb: get_debug_policy_bool(&DP_ADB_PATH.to_path())?, in from_host()
532 fn get_debug_policy_bool(path: &'static str) -> Result<Option<bool>> { in get_debug_policy_bool() function651 let ramdump = get_debug_policy_bool(AVF_DEBUG_POLICY_RAMDUMP)?.unwrap_or_default(); in load_crashkernel_if_supported()