Home
last modified time | relevance | path

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

/linux/drivers/net/slip/
A Dslhc.c497 struct tcphdr *thp; in slhc_uncompress() local
534 thp = &cs->cs_tcp; 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()
572 thp->urg = 0; in slhc_uncompress()
577 thp->window = htons( ntohs(thp->window) + x); in slhc_uncompress()
583 thp->ack_seq = htonl( ntohl(thp->ack_seq) + x); in slhc_uncompress()
589 thp->seq = htonl( ntohl(thp->seq) + x); in slhc_uncompress()
[all …]
/linux/tools/testing/selftests/vm/
A 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()
A 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()
A Dkhugepaged.c346 bool thp = false; in check_huge() local
384 thp = true; in check_huge()
387 return thp; in check_huge()
/linux/tools/perf/bench/
A 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/include/trace/events/
A Dthp.h3 #define TRACE_SYSTEM thp
/linux/drivers/i2c/busses/
A 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/mm/
A 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/fs/nfs/
A 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/Documentation/admin-guide/mm/
A Dtranshuge.rst209 A lower value leads to gain less thp performance. Value of

Completed in 31 milliseconds