Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/slip/
Dslhc.c497 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-6.1.9/tools/lib/thermal/
Dsampling.c16 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()
Devents.c26 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()
/linux-6.1.9/tools/testing/selftests/vm/
Dgup_test.c93 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local
142 thp = 1; in main()
145 thp = 0; in main()
240 if (thp == 1) in main()
242 else if (thp == 0) in main()
Dvm_util.c78 uint64_t thp = -1; in __check_huge() local
105 if (sscanf(buffer, addr_pattern, &thp) != 1) in __check_huge()
110 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
/linux-6.1.9/Documentation/admin-guide/mm/
Dshrinker_debugfs.rst35 sb-bpf-32 sb-pipefs-14 sb-sysfs-26 thp-deferred_split-10
36 sb-btrfs:vda2-24 sb-proc-25 sb-tmpfs-1 thp-zero-9
Dtranshuge.rst216 A lower value leads to gain less thp performance. Value of
376 is incremented every time a huge zero page used for thp is
/linux-6.1.9/include/trace/events/
Dthp.h3 #define TRACE_SYSTEM thp
/linux-6.1.9/tools/perf/bench/
Dnuma.c112 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() argument
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()
/linux-6.1.9/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-6.1.9/fs/nfs/
Dpnfs.c3272 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local
3274 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc()
3275 if (!thp) { in pnfs_mdsthreshold_alloc()
3279 return thp; in pnfs_mdsthreshold_alloc()