Lines Matching +full:pass +full:- +full:1
1 // SPDX-License-Identifier: GPL-2.0-only
17 #include "gcs-util.h"
35 * The prctl takes 1 argument but we need to ensure that the in gcs_set_status()
49 ret = -EINVAL; in gcs_set_status()
59 ret = -EINVAL; in gcs_set_status()
189 bool pass = true; in map_guarded_stack() local
199 ksft_print_msg("Mapped GCS at %p-%p\n", buf, in map_guarded_stack()
203 elem = (page_size / sizeof(uint64_t)) - 1; in map_guarded_stack()
206 pass = false; in map_guarded_stack()
210 elem--; in map_guarded_stack()
211 expected_cap = ((uint64_t)buf + page_size - 16); in map_guarded_stack()
217 pass = false; in map_guarded_stack()
222 for (elem = 0; elem < page_size / sizeof(uint64_t) - 2; elem++) { in map_guarded_stack()
227 pass = false; in map_guarded_stack()
234 pass = false; in map_guarded_stack()
237 return pass; in map_guarded_stack()
246 bool pass = true; in test_fork() local
249 if (pid == -1) { in test_fork()
251 pass = false; in test_fork()
264 ret = -EINVAL; in test_fork()
279 if (ret == -1) { in test_fork()
288 pass = false; in test_fork()
293 pass = false; in test_fork()
299 return pass; in test_fork()
308 bool pass = true; in test_vfork() local
311 if (pid == -1) { in test_vfork()
313 pass = false; in test_vfork()
343 if (ret == -1) { in test_vfork()
352 pass = false; in test_vfork()
356 pass = false; in test_vfork()
361 return pass; in test_vfork()