Searched refs:thp (Results 1 – 7 of 7) sorted by relevance
| /tools/lib/thermal/ |
| A D | sampling.c | 16 struct thermal_handler_param *thp = arg; in handle_thermal_sample() local 17 struct thermal_handler *th = thp->th; in handle_thermal_sample() 19 arg = thp->arg; in handle_thermal_sample() 36 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle() local 42 handle_thermal_sample, &thp)) in thermal_sampling_handle()
|
| A D | events.c | 26 struct thermal_handler_param *thp = arg; in handle_thermal_event() local 27 struct thermal_events_ops *ops = &thp->th->ops->events; in handle_thermal_event() 31 arg = thp->arg; in handle_thermal_event() 150 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle() local 156 handle_thermal_event, &thp)) in thermal_events_handle()
|
| /tools/testing/selftests/mm/ |
| A D | gup_test.c | 95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local 144 thp = 1; in main() 147 thp = 0; in main() 240 if (thp == 1) in main() 242 else if (thp == 0) in main()
|
| A D | uffd-wp-mremap.c | 70 bool thp = !hugetlb && size > pagesize; in alloc_one_folio() local 86 if (thp) { in alloc_one_folio() 128 if (thp) in alloc_one_folio()
|
| A D | vm_util.c | 237 uint64_t thp = -1; in __check_huge() local 244 if (sscanf(entry, "%9" SCNu64 " kB", &thp) != 1) in __check_huge() 248 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
|
| A D | run_vmtests.sh | 72 - thp
|
| /tools/perf/bench/ |
| A D | numa.c | 114 int thp; member 198 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), 426 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument 450 if (thp > 0) { in alloc_data() 457 if (thp < 0) { in alloc_data() 509 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 517 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 526 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()
|
Completed in 170 milliseconds