Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/mm/
Dgup_test.c92 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()
Dvm_util.c103 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()
Drun_vmtests.sh61 - thp
/Linux-v6.6/Documentation/admin-guide/mm/
Dshrinker_debugfs.rst33 sb-bpf-32 sb-pipefs-14 sb-sysfs-26 thp-deferred_split-10
34 sb-btrfs:vda2-24 sb-proc-25 sb-tmpfs-1 thp-zero-9
Dtranshuge.rst214 A lower value leads to gain less thp performance. Value of
374 is incremented every time a huge zero page used for thp is
/Linux-v6.6/include/trace/events/
Dthp.h3 #define TRACE_SYSTEM thp
/Linux-v6.6/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-v6.6/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-v6.6/fs/nfs/
Dpnfs.c3285 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local
3287 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc()
3288 if (!thp) { in pnfs_mdsthreshold_alloc()
3292 return thp; in pnfs_mdsthreshold_alloc()