Home
last modified time | relevance | path

Searched refs:thp (Results 1 – 12 of 12) 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/lib/thermal/
A Dsampling.c16 struct thermal_handler_param *thp = arg; in handle_thermal_sample() local
17 struct thermal_handler *th = thp->th; in handle_thermal_sample()
19 arg = thp->arg; in handle_thermal_sample()
36 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle() local
42 handle_thermal_sample, &thp)) in thermal_sampling_handle()
A 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/tools/testing/selftests/mm/
A Dgup_test.c95 int filed, i, opt, nr_pages = 1, thp = -1, write = 1, nthreads = 1, ret; in main() local
144 thp = 1; in main()
147 thp = 0; in main()
240 if (thp == 1) in main()
242 else if (thp == 0) in main()
A Dvm_util.c199 uint64_t thp = -1; in __check_huge() local
226 if (sscanf(buffer, addr_pattern, &thp) != 1) in __check_huge()
231 return thp == (nr_hpages * (hpage_size >> 10)); in __check_huge()
A Drun_vmtests.sh66 - thp
/linux/drivers/i2c/busses/
A Di2c-octeon-core.c682 unsigned int thp, mdiv_min, mdiv = 2, ndiv = 0, ds = 10; in octeon_i2c_set_clock() local
688 thp = TWSI_MASTER_CLK_REG_OTX2_VAL; in octeon_i2c_set_clock()
693 thp = TWSI_MASTER_CLK_REG_DEF_VAL; in octeon_i2c_set_clock()
736 thp = thp_idx; in octeon_i2c_set_clock()
743 octeon_i2c_reg_write(i2c, SW_TWSI_OP_TWSI_CLK, thp); in octeon_i2c_set_clock()
/linux/Documentation/admin-guide/mm/
A 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
A Dtranshuge.rst275 A lower value leads to gain less thp performance. Value of
497 is incremented every time a huge zero page used for thp is
/linux/include/trace/events/
A Dthp.h3 #define TRACE_SYSTEM thp
/linux/tools/perf/bench/
A 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/fs/nfs/
A Dpnfs.c3409 struct nfs4_threshold *thp; in pnfs_mdsthreshold_alloc() local
3411 thp = kzalloc(sizeof(*thp), nfs_io_gfp_mask()); in pnfs_mdsthreshold_alloc()
3412 if (!thp) { in pnfs_mdsthreshold_alloc()
3416 return thp; in pnfs_mdsthreshold_alloc()

Completed in 38 milliseconds