Searched refs:thp (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/net/slip/ |
D | slhc.c | 497 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.10/tools/testing/selftests/vm/ |
D | gup_benchmark.c | 42 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local 68 thp = 1; in main() 71 thp = 0; in main() 120 if (thp == 1) in main() 122 else if (thp == 0) in main()
|
D | khugepaged.c | 350 bool thp = false; in check_huge() local 388 thp = true; in check_huge() 391 return thp; in check_huge()
|
/Linux-v5.10/include/trace/events/ |
D | thp.h | 3 #define TRACE_SYSTEM thp
|
/Linux-v5.10/tools/perf/bench/ |
D | numa.c | 111 int thp; member 196 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), 373 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument 397 if (thp > 0) { in alloc_data() 404 if (thp < 0) { in alloc_data() 455 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 463 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 472 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-octeon-core.c | 661 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.10/mm/ |
D | mempolicy.c | 1233 struct page *thp; in new_page() local 1235 thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, in new_page() 1237 if (!thp) in new_page() 1239 prep_transhuge_page(thp); in new_page() 1240 return thp; in new_page()
|
/Linux-v5.10/arch/arc/mm/ |
D | tlbex.S | 220 and.f 0, r3, _PAGE_HW_SZ ; Is this Huge PMD (thp)
|
/Linux-v5.10/fs/nfs/ |
D | pnfs.c | 3192 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3194 thp = kzalloc(sizeof(*thp), GFP_NOFS); in pnfs_mdsthreshold_alloc() 3195 if (!thp) { in pnfs_mdsthreshold_alloc() 3199 return thp; in pnfs_mdsthreshold_alloc()
|
/Linux-v5.10/Documentation/admin-guide/mm/ |
D | transhuge.rst | 209 A lower value leads to gain less thp performance. Value of
|