Searched refs:pressure_path (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/shared/ |
D | condition.c | 954 …nup_free_ char *first = NULL, *second = NULL, *third = NULL, *fourth = NULL, *pressure_path = NULL; in condition_test_psi() local 979 pressure_path = path_join("/proc/pressure", pressure_type); in condition_test_psi() 980 if (!pressure_path) in condition_test_psi() 1039 r = cg_get_path(SYSTEMD_CGROUP_CONTROLLER, slice_path, controller, &pressure_path); in condition_test_psi() 1083 r = read_resource_pressure(pressure_path, PRESSURE_TYPE_FULL, &pressure); in condition_test_psi() 1085 r = read_resource_pressure(pressure_path, PRESSURE_TYPE_SOME, &pressure); in condition_test_psi() 1089 log_debug("\"%s\" not found, skipping PSI check.", pressure_path); in condition_test_psi() 1093 return log_debug_errno(r, "Error parsing pressure from %s: %m", pressure_path); in condition_test_psi()
|