Lines Matching refs:values
466 struct no_kmem_bypass_child_args *values = arg; in no_kmem_bypass_child() local
469 allocation = malloc(values->target_alloc_bytes); in no_kmem_bypass_child()
471 values->child_allocated = true; in no_kmem_bypass_child()
474 for (long i = 0; i < values->target_alloc_bytes; i += 4095) in no_kmem_bypass_child()
476 values->child_allocated = true; in no_kmem_bypass_child()
497 struct no_kmem_bypass_child_args *values; in test_no_kmem_bypass() local
512 values = mmap(0, sizeof(struct no_kmem_bypass_child_args), PROT_READ | in test_no_kmem_bypass()
514 if (values == MAP_FAILED) in test_no_kmem_bypass()
520 values->target_alloc_bytes = (sys_info.totalram - min_free_kb_high * 1000) + in test_no_kmem_bypass()
534 values->child_allocated = false; in test_no_kmem_bypass()
535 child_pid = cg_run_nowait(test_group, no_kmem_bypass_child, values); in test_no_kmem_bypass()
538 while (!values->child_allocated && wait_child_iteration++ < 10000) in test_no_kmem_bypass()