Home
last modified time | relevance | path

Searched refs:thp (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/drivers/net/slip/
Dslhc.c497 struct tcphdr *thp; in slhc_uncompress() local
534 thp = &cs->cs_tcp; in slhc_uncompress()
537 thp->check = *(__sum16 *)cp; in slhc_uncompress()
540 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress()
547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
554 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress()
555 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress()
560 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress()
566 thp->urg = 1; in slhc_uncompress()
570 thp->urg_ptr = htons(x); in slhc_uncompress()
[all …]
/Linux-v5.15/tools/testing/selftests/vm/
Dgup_test.c87 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local
136 thp = 1; in main()
139 thp = 0; in main()
219 if (thp == 1) in main()
221 else if (thp == 0) in main()
Dsplit_huge_page_test.c129 uint64_t thp = 0; in check_huge() local
158 if (sscanf(buffer, "AnonHugePages:%10ld kB", &thp) != 1) { in check_huge()
165 return thp; in check_huge()
Dkhugepaged.c346 bool thp = false; in check_huge() local
384 thp = true; in check_huge()
387 return thp; in check_huge()
/Linux-v5.15/include/trace/events/
Dthp.h3 #define TRACE_SYSTEM thp
/Linux-v5.15/tools/perf/bench/
Dnuma.c111 int thp; member
196 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"),
377 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument
401 if (thp > 0) { in alloc_data()
408 if (thp < 0) { in alloc_data()
459 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data()
467 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data()
476 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()
/Linux-v5.15/drivers/i2c/busses/
Di2c-octeon-core.c661 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; in octeon_i2c_set_clock() local
688 thp = thp_idx; in octeon_i2c_set_clock()
695 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock()
/Linux-v5.15/mm/
Dmempolicy.c1214 struct page *thp; in new_page() local
1216 thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, in new_page()
1218 if (!thp) in new_page()
1220 prep_transhuge_page(thp); in new_page()
1221 return thp; in new_page()
/Linux-v5.15/fs/nfs/
Dpnfs.c3251 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local
3253 thp = kzalloc(sizeof(*thp), GFP_NOFS); in pnfs_mdsthreshold_alloc()
3254 if (!thp) { in pnfs_mdsthreshold_alloc()
3258 return thp; in pnfs_mdsthreshold_alloc()
/Linux-v5.15/Documentation/admin-guide/mm/
Dtranshuge.rst209 A lower value leads to gain less thp performance. Value of