/kernel/linux/linux-5.10/drivers/net/slip/ |
H A 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 in slhc_uncompress() [all...] |
/kernel/linux/linux-6.6/drivers/net/slip/ |
H A 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 in slhc_uncompress() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A 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()
|
H A D | khugepaged.c | 350 bool thp = false; in check_huge() local 388 thp = true; in check_huge() 391 return thp; in check_huge()
|
/kernel/linux/linux-6.6/tools/lib/thermal/ |
H A D | sampling.c | 16 struct thermal_handler_param *thp = arg; in handle_thermal_sample() local 17 struct thermal_handler *th = thp->th; in handle_thermal_sample() 34 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle() local 40 handle_thermal_sample, &thp)) in thermal_sampling_handle()
|
H A D | events.c | 26 struct thermal_handler_param *thp = arg; in handle_thermal_event() local 27 struct thermal_events_ops *ops = &thp->th->ops->events; in handle_thermal_event() 31 arg = thp->arg; in handle_thermal_event() 121 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle() local 127 handle_thermal_event, &thp)) in thermal_events_handle()
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | gup_test.c | 92 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local 141 thp = 1; in main() 144 thp = 0; in main() 239 if (thp == 1) in main() 241 else if (thp == 0) in main()
|
H A D | vm_util.c | 103 uint64_t thp = -1; in __check_huge() local 130 if (sscanf(buffer, addr_pattern, &thp) != 1) in __check_huge() 135 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
|
H A D | run_vmtests.sh | 61 - thp 105 # -t: thp=on, -T: thp=off, -H: hugetlb=on 116 # because it's default thp size (or 2M on x86), 123 to 348 CATEGORY="thp" run_test ./khugepaged 350 CATEGORY="thp" run_test ./transhuge-stress -d 20 352 CATEGORY="thp" run_test ./split_huge_page_test
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | thp.h | 3 #define TRACE_SYSTEM thp
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | thp.h | 3 #define TRACE_SYSTEM thp
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-octeon-core.c | 661 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; in octeon_i2c_set_clock() local 671 * two closest thp values. in octeon_i2c_set_clock() 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()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-octeon-core.c | 661 int thp = 0x18, mdiv = 2, ndiv = 0, delta_hz = 1000000; in octeon_i2c_set_clock() local 671 * two closest thp values. in octeon_i2c_set_clock() 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()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A 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() 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() 1746 #define OPT_BW_RAM "-s", "20", "-zZq", "--thp", " 372 alloc_data(ssize_t bytes0, int map_flags, int init_zero, int init_cpu0, int thp, int init_random) alloc_data() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | numa.c | 112 int thp; member 196 OPT_INTEGER('H', "thp" , &p0.thp, "MADV_NOHUGEPAGE < 0 < MADV_HUGEPAGE"), 424 int init_zero, int init_cpu0, int thp, int init_random) in alloc_data() 448 if (thp > 0) { in alloc_data() 455 if (thp < 0) { in alloc_data() 507 return alloc_data(bytes, MAP_SHARED, 1, g->p.init_cpu0, g->p.thp, g->p.init_random); in zalloc_shared_data() 515 return alloc_data(bytes, MAP_SHARED, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_shared_data() 524 return alloc_data(bytes, MAP_PRIVATE, 0, g->p.init_cpu0, g->p.thp, g->p.init_random); in setup_private_data() 1806 #define OPT_BW_RAM "-s", "20", "-zZq", "--thp", " 423 alloc_data(ssize_t bytes0, int map_flags, int init_zero, int init_cpu0, int thp, int init_random) alloc_data() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | hash_tlb.c | 30 #include <trace/events/thp.h>
|
H A D | pgtable.c | 21 #include <trace/events/thp.h>
|
H A D | hash_pgtable.c | 19 #include <trace/events/thp.h>
|
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | hash_tlb.c | 30 #include <trace/events/thp.h>
|
H A D | hash_pgtable.c | 20 #include <trace/events/thp.h>
|
H A D | pgtable.c | 24 #include <trace/events/thp.h>
|
/kernel/linux/linux-5.10/mm/ |
H A D | mempolicy.c | 493 /* go to thp migration */ in __releases() 1033 * page migration, thp tail pages can be passed. 1229 struct page *thp; in new_page() local 1231 thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, in new_page() 1233 if (!thp) in new_page() 1235 prep_transhuge_page(thp); in new_page() 1236 return thp; in new_page()
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
H A D | tlbex.S | 220 and.f 0, r3, _PAGE_HW_SZ ; Is this Huge PMD (thp)
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | pnfs.c | 3288 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3290 thp = kzalloc(sizeof(*thp), GFP_NOFS); in pnfs_mdsthreshold_alloc() 3291 if (!thp) { in pnfs_mdsthreshold_alloc() 3295 return thp; in pnfs_mdsthreshold_alloc()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | pnfs.c | 3286 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local 3288 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc() 3289 if (!thp) { in pnfs_mdsthreshold_alloc() 3293 return thp; in pnfs_mdsthreshold_alloc()
|