/Linux-v5.4/drivers/net/slip/ |
D | slhc.c | 491 struct tcphdr *thp; in slhc_uncompress() local 528 thp = &cs->cs_tcp; in slhc_uncompress() 531 thp->check = *(__sum16 *)cp; in slhc_uncompress() 534 thp->psh = (changes & TCP_PUSH_BIT) ? 1 : 0; in slhc_uncompress() 541 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress() 548 thp->ack_seq = htonl( ntohl(thp->ack_seq) + i); in slhc_uncompress() 549 thp->seq = htonl( ntohl(thp->seq) + i); in slhc_uncompress() 554 thp->seq = htonl( ntohl(thp->seq) + in slhc_uncompress() 560 thp->urg = 1; in slhc_uncompress() 564 thp->urg_ptr = htons(x); in slhc_uncompress() [all …]
|
/Linux-v5.4/tools/testing/selftests/vm/ |
D | gup_benchmark.c | 35 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local 52 thp = 1; in main() 55 thp = 0; in main() 99 if (thp == 1) in main() 101 else if (thp == 0) in main()
|
/Linux-v5.4/include/trace/events/ |
D | thp.h | 3 #define TRACE_SYSTEM thp
|
/Linux-v5.4/tools/perf/bench/ |
D | numa.c | 111 int thp; member 195 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), 368 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() argument 392 if (thp > 0) { in alloc_data() 399 if (thp < 0) { in alloc_data() 450 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 458 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 467 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data()
|
/Linux-v5.4/mm/ |
D | mempolicy.c | 1006 struct page *thp; in alloc_new_node_page() local 1008 thp = alloc_pages_node(node, in alloc_new_node_page() 1011 if (!thp) in alloc_new_node_page() 1013 prep_transhuge_page(thp); in alloc_new_node_page() 1014 return thp; in alloc_new_node_page() 1182 struct page *thp; in new_page() local 1184 thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, in new_page() 1186 if (!thp) in new_page() 1188 prep_transhuge_page(thp); in new_page() 1189 return thp; in new_page()
|
D | gup.c | 1412 struct page *thp; in new_non_cma_page() local 1423 thp = __alloc_pages_node(nid, thp_gfpmask, HPAGE_PMD_ORDER); in new_non_cma_page() 1424 if (!thp) in new_non_cma_page() 1426 prep_transhuge_page(thp); in new_non_cma_page() 1427 return thp; in new_non_cma_page()
|
/Linux-v5.4/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.4/arch/x86/platform/uv/ |
D | tlb_uv.c | 353 hpp = &smaster->thp[cpu]; in pnode_to_first_cpu() 1063 hpp = &bcp->socket_master->thp[cpu]; in set_distrib_bits() 2000 smaster->thp = kzalloc_node(hpsz, GFP_KERNEL, smaster->osnode); in make_per_cpu_thp() 2002 smaster->thp[cpu].pnode = uv_cpu_hub_info(cpu)->pnode; in make_per_cpu_thp() 2003 smaster->thp[cpu].uvhub = uv_cpu_hub_info(cpu)->numa_blade_id; in make_per_cpu_thp()
|
/Linux-v5.4/arch/x86/include/asm/uv/ |
D | uv_bau.h | 662 struct hub_and_pnode *thp; member
|
/Linux-v5.4/fs/nfs/ |
D | pnfs.c | 3057 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3059 thp = kzalloc(sizeof(*thp), GFP_NOFS); in pnfs_mdsthreshold_alloc() 3060 if (!thp) { in pnfs_mdsthreshold_alloc() 3064 return thp; in pnfs_mdsthreshold_alloc()
|
/Linux-v5.4/arch/arc/mm/ |
D | tlbex.S | 210 and.f 0, r3, _PAGE_HW_SZ ; Is this Huge PMD (thp)
|
/Linux-v5.4/Documentation/admin-guide/mm/ |
D | transhuge.rst | 209 A lower value leads to gain less thp performance. Value of
|