Lines Matching refs:sysctl_path
1435 const char *sysctl_path) in load_sysctl_prog_insns() argument
1448 fd = open(sysctl_path, O_RDONLY | O_CLOEXEC); in load_sysctl_prog_insns()
1450 log_err("open(%s) failed", sysctl_path); in load_sysctl_prog_insns()
1455 log_err("read(%s) failed", sysctl_path); in load_sysctl_prog_insns()
1491 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) in load_sysctl_prog() argument
1495 : load_sysctl_prog_insns(test, sysctl_path); in load_sysctl_prog()
1498 static int access_sysctl(const char *sysctl_path, in access_sysctl() argument
1504 fd = open(sysctl_path, test->open_flags | O_CLOEXEC); in access_sysctl()
1546 char sysctl_path[128]; in run_test_case() local
1552 snprintf(sysctl_path, sizeof(sysctl_path), "/proc/sys/%s", in run_test_case()
1555 progfd = load_sysctl_prog(test, sysctl_path); in run_test_case()
1571 if (access_sysctl(sysctl_path, test) == -1) { in run_test_case()