Searched refs:thp (Results 1 - 16 of 16) sorted by relevance

/linux-master/arch/powerpc/mm/book3s64/
H A Dtrace.c6 #include <trace/events/thp.h>
H A Dhash_tlb.c30 #include <trace/events/thp.h>
H A Dhash_pgtable.c20 #include <trace/events/thp.h>
H A Dpgtable.c24 #include <trace/events/thp.h>
H A Dradix_pgtable.c35 #include <trace/events/thp.h>
/linux-master/tools/lib/thermal/
H A Dsampling.c16 struct thermal_handler_param *thp = arg; local
17 struct thermal_handler *th = thp->th;
34 struct thermal_handler_param thp = { .th = th, .arg = arg }; local
40 handle_thermal_sample, &thp))
H A Devents.c26 struct thermal_handler_param *thp = arg; local
27 struct thermal_events_ops *ops = &thp->th->ops->events;
31 arg = thp->arg;
121 struct thermal_handler_param thp = { .th = th, .arg = arg }; local
127 handle_thermal_event, &thp))
/linux-master/drivers/net/slip/
H A Dslhc.c497 struct tcphdr *thp; local
534 thp = &cs->cs_tcp;
537 thp->check = *(__sum16 *)cp;
540 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0;
547 hdrlen = ip->ihl * 4 + thp->doff * 4;
554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i);
555 thp->seq = htonl( ntohl(thp->seq) + i);
560 thp
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dgup_test.c94 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; local
143 thp = 1;
146 thp = 0;
239 if (thp == 1)
241 else if (thp == 0)
H A Dvm_util.c177 uint64_t thp = -1; local
204 if (sscanf(buffer, addr_pattern, &thp) != 1)
209 return thp == (nr_hpages * (hpage_size >> 10));
H A Drun_vmtests.sh66 - thp
116 # -t: thp=on, -T: thp=off, -H: hugetlb=on
127 # because it's default thp size (or 2M on x86), 123 to
215 if [ ${CATEGORY} == "thp" ] | [ ${CATEGORY} == "hugetlb" ]; then
410 CATEGORY="thp" run_test ./khugepaged
412 CATEGORY="thp" run_test ./khugepaged -s 2
414 CATEGORY="thp" run_test ./transhuge-stress -d 20
418 if test_selected "thp"; then
430 CATEGORY="thp" run_tes
[all...]
/linux-master/include/trace/events/
H A Dthp.h3 #define TRACE_SYSTEM thp
/linux-master/drivers/i2c/busses/
H A Di2c-octeon-core.c661 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; local
671 * two closest thp values.
688 thp = thp_idx;
695 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp);
/linux-master/tools/perf/bench/
H A Dnuma.c112 int thp; member in struct:params
196 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
424 int init_zero, int init_cpu0, int thp, int init_random)
448 if (thp > 0) {
455 if (thp < 0) {
507 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random);
515 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random);
524 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random);
1806 #define OPT_BW_RAM "-s", "20", "-zZq", "--thp", "
423 alloc_data(ssize_t bytes0, int map_flags, int init_zero, int init_cpu0, int thp, int init_random) argument
[all...]
/linux-master/fs/nfs/
H A Dpnfs.c3298 struct nfs4_threshold *thp; local
3300 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask());
3301 if (!thp) {
3305 return thp;
/linux-master/mm/
H A Dhuge_memory.c48 #include <trace/events/thp.h>
643 huge_zero_page_shrinker = shrinker_alloc(0, "thp-zero");
650 "thp-deferred_split");
947 * always: directly stall for all thp allocations
953 * never: never stall for any thp allocation
2302 * Returns page table lock pointer if a given pmd maps a thp, NULL otherwise.
2319 * Returns page table lock pointer if a given pud maps a thp, NULL otherwise.

Completed in 201 milliseconds