Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/slip/
Dslhc.c491 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/
Dgup_benchmark.c35 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/
Dthp.h3 #define TRACE_SYSTEM thp
/Linux-v5.4/tools/perf/bench/
Dnuma.c111 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/
Dmempolicy.c1006 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()
Dgup.c1412 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/
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.4/arch/x86/platform/uv/
Dtlb_uv.c353 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/
Duv_bau.h662 struct hub_and_pnode *thp; member
/Linux-v5.4/fs/nfs/
Dpnfs.c3057 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/
Dtlbex.S210 and.f 0, r3, _PAGE_HW_SZ ; Is this Huge PMD (thp)
/Linux-v5.4/Documentation/admin-guide/mm/
Dtranshuge.rst209 A lower value leads to gain less thp performance. Value of