Lines Matching defs:values
120 struct no_kmem_bypass_child_args *values = arg;
123 allocation = malloc(values->target_alloc_bytes);
125 values->child_allocated = true;
128 for (long i = 0; i < values->target_alloc_bytes; i += 4095)
130 values->child_allocated = true;
151 struct no_kmem_bypass_child_args *values;
161 /* Read sys info and compute test values accordingly */
166 values = mmap(0, sizeof(struct no_kmem_bypass_child_args), PROT_READ |
168 if (values == MAP_FAILED)
174 values->target_alloc_bytes = (sys_info.totalram - min_free_kb_high * 1000) +
190 values->child_allocated = false;
191 child_pid = cg_run_nowait(test_group, no_kmem_bypass_child, values);
194 while (!values->child_allocated && wait_child_iteration++ < 10000)