Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 4032) sorted by relevance

12345678910>>...162

/linux/lib/crypto/powerpc/
H A Dsha1-powerpc-asm.S26 #define RT(t) ((((t)+5)%6)+7) argument
27 #define RA(t) ((((t)+4)%6)+7) argument
28 #define RB(t) ((((t)+3)%6)+7) argument
29 #define RC(t) ((((t)+2)%6)+7) argument
30 #define RD(t) ((((t)+1)%6)+7) argument
31 #define RE(t) ((((t)+0)%6)+7) argument
34 #define W(t) (((t)%16)+16) argument
36 #define LOADW(t) \ argument
37 LWZ(W(t),(t)*4,r4)
39 #define STEPD0_LOAD(t) \ argument
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-reg.h210 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument
211 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument
212 #define SAA7134_DATA_PATH(t) (0x002 +t) argument
213 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument
214 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument
215 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument
216 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument
217 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument
218 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument
219 #define SAA7134_VBI_V_STOP1(t) (0x00a +t) argument
[all …]
/linux/drivers/scsi/esas2r/
H A Desas2r_targdb.c48 struct esas2r_target *t; in esas2r_targ_db_initialize() local
50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize()
51 memset(t, 0, sizeof(struct esas2r_target)); in esas2r_targ_db_initialize()
53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
54 t->buffered_target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
55 t->new_target_state = TS_INVALID; in esas2r_targ_db_initialize()
61 struct esas2r_target *t; in esas2r_targ_db_remove_all() local
64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all()
65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all()
69 esas2r_targ_db_remove(a, t); in esas2r_targ_db_remove_all()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dbatch.c8 static inline void *ublk_get_commit_buf(struct ublk_thread *t, in ublk_get_commit_buf() argument
13 if (buf_idx < t->commit_buf_start || in ublk_get_commit_buf()
14 buf_idx >= t->commit_buf_start + t->nr_commit_buf) in ublk_get_commit_buf()
16 idx = buf_idx - t->commit_buf_start; in ublk_get_commit_buf()
17 return t->commit_buf + idx * t->commit_buf_size; in ublk_get_commit_buf()
25 static inline unsigned short ublk_alloc_commit_buf(struct ublk_thread *t) in ublk_alloc_commit_buf() argument
27 int idx = allocator_get(&t->commit_buf_alloc); in ublk_alloc_commit_buf()
30 return idx + t->commit_buf_start; in ublk_alloc_commit_buf()
38 static inline void ublk_free_commit_buf(struct ublk_thread *t, in ublk_free_commit_buf() argument
41 unsigned short idx = i - t->commit_buf_start; in ublk_free_commit_buf()
[all …]
/linux/drivers/media/v4l2-core/
H A Dtuner-core.c89 i2c_adapter_id(t->i2c->adapter), t->i2c->addr
240 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local
260 struct tuner *t = fe->analog_demod_priv; in fe_set_config() local
301 struct tuner *t = to_tuner(i2c_get_clientdata(c)); in set_type() local
302 struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; in set_type()
303 struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; in set_type()
312 t->type = type; in set_type()
313 t->config = new_config; in set_type()
316 t->fe.callback = tuner_callback; in set_type()
320 tuner_detach(&t->fe); in set_type()
[all …]
/linux/net/sctp/
H A Dtransport.c257 void sctp_transport_pl_send(struct sctp_transport *t) in sctp_transport_pl_send() argument
259 if (t->pl.probe_count < SCTP_MAX_PROBES) in sctp_transport_pl_send()
262 t->pl.probe_count = 0; in sctp_transport_pl_send()
263 if (t->pl.state == SCTP_PL_BASE) { in sctp_transport_pl_send()
264 if (t->pl.probe_size == SCTP_BASE_PLPMTU) { /* BASE_PLPMTU Confirmation Failed */ in sctp_transport_pl_send()
265 t->pl.state = SCTP_PL_ERROR; /* Base -> Error */ in sctp_transport_pl_send()
267 t->pl.pmtu = SCTP_BASE_PLPMTU; in sctp_transport_pl_send()
268 t->pathmtu = t->pl.pmtu + sctp_transport_pl_hlen(t); in sctp_transport_pl_send()
269 sctp_assoc_sync_pmtu(t->asoc); in sctp_transport_pl_send()
271 } else if (t->pl.state == SCTP_PL_SEARCH) { in sctp_transport_pl_send()
[all …]
/linux/drivers/clocksource/
H A Dtimer-ti-dm-systimer.c55 struct dmtimer_systimer t; member
61 struct dmtimer_systimer t; member
66 static bool dmtimer_systimer_revision1(struct dmtimer_systimer *t) in dmtimer_systimer_revision1() argument
68 u32 tidr = readl_relaxed(t->base); in dmtimer_systimer_revision1()
73 static void dmtimer_systimer_enable(struct dmtimer_systimer *t) in dmtimer_systimer_enable() argument
77 if (dmtimer_systimer_revision1(t)) in dmtimer_systimer_enable()
82 writel_relaxed(val, t->base + t->sysc); in dmtimer_systimer_enable()
85 static void dmtimer_systimer_disable(struct dmtimer_systimer *t) in dmtimer_systimer_disable() argument
87 if (!dmtimer_systimer_revision1(t)) in dmtimer_systimer_disable()
90 writel_relaxed(DMTIMER_TYPE1_DISABLE, t->base + t->sysc); in dmtimer_systimer_disable()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_write.c10 const struct btf_type *t; in gen_btf() local
30 t = btf__type_by_id(btf, 1); in gen_btf()
32 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf()
33 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "int", "int_name"); in gen_btf()
34 ASSERT_EQ(btf_kind(t), BTF_KIND_INT, "int_kind"); in gen_btf()
35 ASSERT_EQ(t->size, 4, "int_sz"); in gen_btf()
36 ASSERT_EQ(btf_int_encoding(t), BTF_INT_SIGNED, "int_enc"); in gen_btf()
37 ASSERT_EQ(btf_int_bits(t), 32, "int_bits"); in gen_btf()
57 t = btf__type_by_id(btf, 2); in gen_btf()
58 ASSERT_EQ(btf_kind(t), BTF_KIND_PTR, "ptr_kind"); in gen_btf()
[all …]
/linux/arch/sparc/lib/
H A Dbitext.c28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument
35 if (t->num_colors) { in bit_map_string_get()
38 align = t->num_colors; in bit_map_string_get()
47 if (align < 0 || align >= t->size) in bit_map_string_get()
49 if (len <= 0 || len > t->size) in bit_map_string_get()
53 spin_lock(&t->lock); in bit_map_string_get()
54 if (len < t->last_size) in bit_map_string_get()
55 offset = t->first_free; in bit_map_string_get()
57 offset = t->last_off & ~align1; in bit_map_string_get()
60 off_new = find_next_zero_bit(t->map, t->size, offset); in bit_map_string_get()
[all …]
/linux/drivers/md/
H A Ddm-table.c60 static inline sector_t *get_node(struct dm_table *t, in get_node() argument
63 return t->index[l] + (n * KEYS_PER_NODE); in get_node()
70 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() argument
72 for (; l < t->depth - 1; l++) in high()
75 if (n >= t->counts[l]) in high()
78 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high()
85 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() argument
90 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index()
91 node = get_node(t, l, n); in setup_btree_index()
94 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index()
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_client_blt.c143 static int prepare_blit(const struct tiled_blits *t, in prepare_blit() argument
158 struct intel_gt *gt = t->ce->engine->gt; in prepare_blit()
166 *cs++ = i915_mmio_reg_offset(BLIT_CCTL(t->ce->engine->mmio_base)); in prepare_blit()
170 src_pitch = t->width; /* in dwords */ in prepare_blit()
181 dst_pitch = t->width; /* in dwords */ in prepare_blit()
196 *cs++ = t->height << 16 | t->width; in prepare_blit()
227 src_pitch = t->width * 4; in prepare_blit()
233 dst_pitch = t->width * 4; in prepare_blit()
242 *cs++ = t->height << 16 | t->width; in prepare_blit()
261 static void tiled_blits_destroy_buffers(struct tiled_blits *t) in tiled_blits_destroy_buffers() argument
[all …]
/linux/lib/lzo/
H A Dlzo1x_decompress_safe.c44 size_t t, next; in lzo1x_decompress_safe() local
66 t = *ip++ - 17; in lzo1x_decompress_safe()
67 if (t < 4) { in lzo1x_decompress_safe()
68 next = t; in lzo1x_decompress_safe()
75 t = *ip++; in lzo1x_decompress_safe()
76 if (t < 16) { in lzo1x_decompress_safe()
78 if (unlikely(t == 0)) { in lzo1x_decompress_safe()
91 t += offset + 15 + *ip++; in lzo1x_decompress_safe()
93 t += 3; in lzo1x_decompress_safe()
96 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe()
[all …]
/linux/block/
H A Dblk-settings.c670 static bool blk_stack_atomic_writes_tail(struct queue_limits *t, in blk_stack_atomic_writes_tail() argument
674 if (t->atomic_write_hw_boundary != b->atomic_write_hw_boundary) in blk_stack_atomic_writes_tail()
678 if (t->atomic_write_hw_unit_min > b->atomic_write_hw_unit_max) in blk_stack_atomic_writes_tail()
682 if (t->atomic_write_hw_unit_max < b->atomic_write_hw_unit_min) in blk_stack_atomic_writes_tail()
685 t->atomic_write_hw_max = min(t->atomic_write_hw_max, in blk_stack_atomic_writes_tail()
687 t->atomic_write_hw_unit_min = max(t->atomic_write_hw_unit_min, in blk_stack_atomic_writes_tail()
689 t->atomic_write_hw_unit_max = min(t->atomic_write_hw_unit_max, in blk_stack_atomic_writes_tail()
694 static void blk_stack_atomic_writes_chunk_sectors(struct queue_limits *t) in blk_stack_atomic_writes_chunk_sectors() argument
698 if (!t->chunk_sectors) in blk_stack_atomic_writes_chunk_sectors()
706 if (check_shl_overflow(t->chunk_sectors, SECTOR_SHIFT, &chunk_bytes)) in blk_stack_atomic_writes_chunk_sectors()
[all …]
/linux/tools/accounting/
H A Dgetdelays.c195 #define average_ms(t, c) (t / 1000000ULL / (c ? c : 1)) argument
196 #define delay_ms(t) (t / 1000000ULL) argument
245 #define PRINT_CPU_DELAY(version, t) \ argument
253 (unsigned long long)(t)->cpu_count, \
254 (unsigned long long)(t)->cpu_run_real_total, \
255 (unsigned long long)(t)->cpu_run_virtual_total, \
256 (unsigned long long)(t)->cpu_delay_total, \
257 average_ms((double)(t)->cpu_delay_total, (t)->cpu_count), \
258 delay_ms((double)(t)->cpu_delay_max), \
259 delay_ms((double)(t)->cpu_delay_min), \
[all …]
/linux/drivers/md/bcache/
H A Dbset.c294 struct bset_tree *t = b->set; in bch_btree_keys_free() local
297 kfree(t->prev); in bch_btree_keys_free()
299 free_pages((unsigned long) t->prev, in bch_btree_keys_free()
303 kfree(t->tree); in bch_btree_keys_free()
305 free_pages((unsigned long) t->tree, in bch_btree_keys_free()
308 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free()
310 t->prev = NULL; in bch_btree_keys_free()
311 t->tree = NULL; in bch_btree_keys_free()
312 t->data = NULL; in bch_btree_keys_free()
319 struct bset_tree *t = b->set; in bch_btree_keys_alloc() local
[all …]
/linux/arch/riscv/kvm/
H A Dvcpu_timer.c25 struct kvm_vcpu_timer *t) in kvm_riscv_delta_cycles2ns() argument
45 struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt); in kvm_riscv_vcpu_hrtimer_expired() local
46 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer); in kvm_riscv_vcpu_hrtimer_expired()
49 if (kvm_riscv_current_cycles(gt) < t->next_cycles) { in kvm_riscv_vcpu_hrtimer_expired()
50 delta_ns = kvm_riscv_delta_cycles2ns(t->next_cycles, gt, t); in kvm_riscv_vcpu_hrtimer_expired()
51 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_hrtimer_expired()
55 t->next_set = false; in kvm_riscv_vcpu_hrtimer_expired()
61 static int kvm_riscv_vcpu_timer_cancel(struct kvm_vcpu_timer *t) in kvm_riscv_vcpu_timer_cancel() argument
63 if (!t->init_done || !t->next_set) in kvm_riscv_vcpu_timer_cancel()
66 hrtimer_cancel(&t->hrt); in kvm_riscv_vcpu_timer_cancel()
[all …]
/linux/drivers/ata/
H A Dlibata-pata-timings.c60 static void ata_timing_quantize(const struct ata_timing *t, in ata_timing_quantize() argument
63 q->setup = EZ(t->setup, T); in ata_timing_quantize()
64 q->act8b = EZ(t->act8b, T); in ata_timing_quantize()
65 q->rec8b = EZ(t->rec8b, T); in ata_timing_quantize()
66 q->cyc8b = EZ(t->cyc8b, T); in ata_timing_quantize()
67 q->active = EZ(t->active, T); in ata_timing_quantize()
68 q->recover = EZ(t->recover, T); in ata_timing_quantize()
69 q->dmack_hold = EZ(t->dmack_hold, T); in ata_timing_quantize()
70 q->cycle = EZ(t->cycle, T); in ata_timing_quantize()
71 q->udma = EZ(t->udma, UT); in ata_timing_quantize()
[all …]
/linux/drivers/iio/
H A Dindustrialio-sw-trigger.c32 struct iio_sw_trigger_type *t = NULL, *iter; in __iio_find_sw_trigger_type() local
36 t = iter; in __iio_find_sw_trigger_type()
40 return t; in __iio_find_sw_trigger_type()
43 int iio_register_sw_trigger_type(struct iio_sw_trigger_type *t) in iio_register_sw_trigger_type() argument
49 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type()
53 list_add_tail(&t->list, &iio_trigger_types_list); in iio_register_sw_trigger_type()
59 t->group = configfs_register_default_group(iio_triggers_group, t->name, in iio_register_sw_trigger_type()
61 if (IS_ERR(t->group)) { in iio_register_sw_trigger_type()
63 list_del(&t->list); in iio_register_sw_trigger_type()
65 ret = PTR_ERR(t->group); in iio_register_sw_trigger_type()
[all …]
/linux/lib/crypto/
H A Dgf128mul.c245 struct gf128mul_64k *t; in gf128mul_init_64k_bbe() local
248 t = kzalloc_obj(*t); in gf128mul_init_64k_bbe()
249 if (!t) in gf128mul_init_64k_bbe()
253 t->t[i] = kzalloc_obj(*t->t[i]); in gf128mul_init_64k_bbe()
254 if (!t->t[i]) { in gf128mul_init_64k_bbe()
255 gf128mul_free_64k(t); in gf128mul_init_64k_bbe()
256 t = NULL; in gf128mul_init_64k_bbe()
261 t->t[0]->t[1] = *g; in gf128mul_init_64k_bbe()
263 gf128mul_x_bbe(&t->t[0]->t[j + j], &t->t[0]->t[j]); in gf128mul_init_64k_bbe()
268 be128_xor(&t->t[i]->t[j + k], in gf128mul_init_64k_bbe()
[all …]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-audio-hook.c55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument
61 t->audmode = V4L2_TUNER_MODE_LANG1; in gvbctv3pci_audio()
62 t->rxsubchans = V4L2_TUNER_SUB_MONO | in gvbctv3pci_audio()
71 switch (t->audmode) { in gvbctv3pci_audio()
86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument
95 switch (t->audmode) { in gvbctv5pci_audio()
114 t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio()
115 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
118 t->rxsubchans = V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio()
119 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio()
[all …]
/linux/rust/syn/
H A Dop.rs179 BinOp::Add(t) => t.to_tokens(tokens), in to_tokens()
180 BinOp::Sub(t) => t.to_tokens(tokens), in to_tokens()
181 BinOp::Mul(t) => t.to_tokens(tokens), in to_tokens()
182 BinOp::Div(t) => t.to_tokens(tokens), in to_tokens()
183 BinOp::Rem(t) => t.to_tokens(tokens), in to_tokens()
184 BinOp::And(t) => t.to_tokens(tokens), in to_tokens()
185 BinOp::Or(t) => t.to_tokens(tokens), in to_tokens()
186 BinOp::BitXor(t) => t.to_tokens(tokens), in to_tokens()
187 BinOp::BitAnd(t) => t.to_tokens(tokens), in to_tokens()
188 BinOp::BitOr(t) => t.to_tokens(tokens), in to_tokens()
[all …]
/linux/tools/lib/bpf/
H A Dbtf.h193 * if there were some unused strings in *src_btf*, those won't be copied over,
413 static inline __u16 btf_kind(const struct btf_type *t) in btf_is_union()
415 return BTF_INFO_KIND(t->info);
418 static inline __u16 btf_vlen(const struct btf_type *t) in btf_is_composite()
420 return BTF_INFO_VLEN(t->info); in btf_is_composite()
423 static inline bool btf_kflag(const struct btf_type *t) in btf_is_enum() argument
425 return BTF_INFO_KFLAG(t->info); in btf_is_enum()
428 static inline bool btf_is_void(const struct btf_type *t) in btf_is_enum64() argument
430 return btf_kind(t) == BTF_KIND_UNKN; in btf_is_enum64()
433 static inline bool btf_is_int(const struct btf_type *t) in btf_is_fwd() argument
371 btf_kind(const struct btf_type * t) btf_kind() argument
376 btf_vlen(const struct btf_type * t) btf_vlen() argument
381 btf_kflag(const struct btf_type * t) btf_kflag() argument
386 btf_is_void(const struct btf_type * t) btf_is_void() argument
391 btf_is_int(const struct btf_type * t) btf_is_int() argument
396 btf_is_ptr(const struct btf_type * t) btf_is_ptr() argument
401 btf_is_array(const struct btf_type * t) btf_is_array() argument
406 btf_is_struct(const struct btf_type * t) btf_is_struct() argument
411 btf_is_union(const struct btf_type * t) btf_is_union() argument
416 btf_is_composite(const struct btf_type * t) btf_is_composite() argument
438 btf_is_typedef(const struct btf_type * t) btf_is_typedef() argument
443 btf_is_volatile(const struct btf_type * t) btf_is_volatile() argument
448 btf_is_const(const struct btf_type * t) btf_is_const() argument
453 btf_is_restrict(const struct btf_type * t) btf_is_restrict() argument
458 btf_is_mod(const struct btf_type * t) btf_is_mod() argument
468 btf_is_func(const struct btf_type * t) btf_is_func() argument
473 btf_is_func_proto(const struct btf_type * t) btf_is_func_proto() argument
478 btf_is_var(const struct btf_type * t) btf_is_var() argument
483 btf_is_datasec(const struct btf_type * t) btf_is_datasec() argument
488 btf_is_float(const struct btf_type * t) btf_is_float() argument
493 btf_is_decl_tag(const struct btf_type * t) btf_is_decl_tag() argument
498 btf_is_type_tag(const struct btf_type * t) btf_is_type_tag() argument
503 btf_is_any_enum(const struct btf_type * t) btf_is_any_enum() argument
515 btf_int_encoding(const struct btf_type * t) btf_int_encoding() argument
520 btf_int_offset(const struct btf_type * t) btf_int_offset() argument
525 btf_int_bits(const struct btf_type * t) btf_int_bits() argument
530 btf_array(const struct btf_type * t) btf_array() argument
535 btf_enum(const struct btf_type * t) btf_enum() argument
542 btf_enum64(const struct btf_type * t) btf_enum64() argument
573 btf_members(const struct btf_type * t) btf_members() argument
579 btf_member_bit_offset(const struct btf_type * t,__u32 member_idx) btf_member_bit_offset() argument
591 btf_member_bitfield_size(const struct btf_type * t,__u32 member_idx) btf_member_bitfield_size() argument
600 btf_params(const struct btf_type * t) btf_params() argument
605 btf_var(const struct btf_type * t) btf_var() argument
611 btf_var_secinfos(const struct btf_type * t) btf_var_secinfos() argument
617 btf_decl_tag(const struct btf_type * t) btf_decl_tag() argument
[all...]
/linux/include/linux/
H A Dunits.h66 static inline long milli_kelvin_to_millicelsius(long t) in milli_kelvin_to_millicelsius() argument
68 return t + ABSOLUTE_ZERO_MILLICELSIUS; in milli_kelvin_to_millicelsius()
71 static inline long millicelsius_to_milli_kelvin(long t) in millicelsius_to_milli_kelvin() argument
73 return t - ABSOLUTE_ZERO_MILLICELSIUS; in millicelsius_to_milli_kelvin()
79 static inline long kelvin_to_millicelsius(long t) in kelvin_to_millicelsius() argument
81 return milli_kelvin_to_millicelsius(t * MILLIDEGREE_PER_DEGREE); in kelvin_to_millicelsius()
84 static inline long millicelsius_to_kelvin(long t) in millicelsius_to_kelvin() argument
86 t = millicelsius_to_milli_kelvin(t); in millicelsius_to_kelvin()
88 return DIV_ROUND_CLOSEST(t, MILLIDEGREE_PER_DEGREE); in millicelsius_to_kelvin()
91 static inline long deci_kelvin_to_celsius(long t) in deci_kelvin_to_celsius() argument
[all …]
/linux/drivers/thermal/
H A Dthermal_thresholds.c63 struct user_threshold *t; in __thermal_thresholds_find() local
65 list_for_each_entry(t, thresholds, list_node) in __thermal_thresholds_find()
66 if (t->temperature == temperature) in __thermal_thresholds_find()
67 return t; in __thermal_thresholds_find()
75 struct user_threshold *t; in thermal_thresholds_handle_raising() local
77 list_for_each_entry(t, thresholds, list_node) { in thermal_thresholds_handle_raising()
79 if (!(t->direction & THERMAL_THRESHOLD_WAY_UP)) in thermal_thresholds_handle_raising()
82 if (temperature >= t->temperature && in thermal_thresholds_handle_raising()
83 last_temperature < t->temperature) in thermal_thresholds_handle_raising()
93 struct user_threshold *t; in thermal_thresholds_handle_dropping() local
[all …]
/linux/tools/testing/selftests/kvm/s390/
H A Dmemop.c247 struct test_default t; in test_default_init() local
249 t.size = min((size_t)kvm_check_cap(KVM_CAP_S390_MEM_OP), sizeof(mem1)); in test_default_init()
250 t.kvm_vm = vm_create_with_one_vcpu(&vcpu, guest_code); in test_default_init()
251 t.vm = (struct test_info) { t.kvm_vm, NULL }; in test_default_init()
252 t.vcpu = (struct test_info) { t.kvm_vm, vcpu }; in test_default_init()
253 t.run = vcpu->run; in test_default_init()
254 return t; in test_default_init()
368 struct test_default t = test_default_init(guest_copy); in test_copy() local
370 HOST_SYNC(t.vcpu, STAGE_INITED); in test_copy()
372 default_write_read(t.vcpu, t.vcpu, LOGICAL, t.size, NO_KEY); in test_copy()
[all …]

12345678910>>...162