| /linux/lib/crypto/powerpc/ |
| H A D | sha1-powerpc-asm.S | 26 #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 D | saa7134-reg.h | 210 #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 D | esas2r_targdb.c | 48 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 D | batch.c | 8 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 in ublk_alloc_commit_buf() 38 ublk_free_commit_buf(struct ublk_thread * t,unsigned short i) ublk_free_commit_buf() argument 59 ublk_commit_buf_size(struct ublk_thread * t) ublk_commit_buf_size() argument 69 free_batch_commit_buf(struct ublk_thread * t) free_batch_commit_buf() argument 82 alloc_batch_commit_buf(struct ublk_thread * t) alloc_batch_commit_buf() argument 117 ublk_thread_nr_queues(const struct ublk_thread * t) ublk_thread_nr_queues() argument 128 ublk_batch_prepare(struct ublk_thread * t) ublk_batch_prepare() argument 164 free_batch_fetch_buf(struct ublk_thread * t) free_batch_fetch_buf() argument 176 alloc_batch_fetch_buf(struct ublk_thread * t) alloc_batch_fetch_buf() argument 211 ublk_batch_alloc_buf(struct ublk_thread * t) ublk_batch_alloc_buf() argument 223 ublk_batch_free_buf(struct ublk_thread * t) ublk_batch_free_buf() argument 229 ublk_init_batch_cmd(struct ublk_thread * t,__u16 q_id,struct io_uring_sqe * sqe,unsigned op,unsigned short elem_bytes,unsigned short nr_elem,unsigned short buf_idx) ublk_init_batch_cmd() argument 265 ublk_setup_commit_sqe(struct ublk_thread * t,struct io_uring_sqe * sqe,unsigned short buf_idx) ublk_setup_commit_sqe() argument 277 ublk_batch_queue_fetch(struct ublk_thread * t,struct ublk_queue * q,unsigned short buf_idx) ublk_batch_queue_fetch() argument 301 ublk_batch_start_fetch(struct ublk_thread * t) ublk_batch_start_fetch() argument 317 ublk_compl_batch_fetch(struct ublk_thread * t,struct ublk_queue * q,const struct io_uring_cqe * cqe) ublk_compl_batch_fetch() argument 354 __ublk_batch_queue_prep_io_cmds(struct ublk_thread * t,struct ublk_queue * q) __ublk_batch_queue_prep_io_cmds() argument 391 ublk_batch_queue_prep_io_cmds(struct ublk_thread * t,struct ublk_queue * q) ublk_batch_queue_prep_io_cmds() argument 407 ublk_batch_compl_commit_cmd(struct ublk_thread * t,const struct io_uring_cqe * cqe,unsigned op) ublk_batch_compl_commit_cmd() argument 425 ublk_batch_compl_cmd(struct ublk_thread * t,const struct io_uring_cqe * cqe) ublk_batch_compl_cmd() argument 454 __ublk_batch_commit_io_cmds(struct ublk_thread * t,struct batch_commit_buf * cb) __ublk_batch_commit_io_cmds() argument 478 ublk_batch_commit_io_cmds(struct ublk_thread * t) ublk_batch_commit_io_cmds() argument 491 __ublk_batch_init_commit(struct ublk_thread * t,struct batch_commit_buf * cb,unsigned short buf_idx) __ublk_batch_init_commit() argument 504 ublk_batch_init_commit(struct ublk_thread * t,struct batch_commit_buf * cb) ublk_batch_init_commit() argument 515 ublk_batch_prep_commit(struct ublk_thread * t) ublk_batch_prep_commit() argument 523 ublk_batch_complete_io(struct ublk_thread * t,struct ublk_queue * q,unsigned tag,int res) ublk_batch_complete_io() argument [all...] |
| /linux/net/sctp/ |
| H A D | transport.c | 257 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/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_write.c | 10 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_PT in gen_btf() [all...] |
| H A D | cgroup_ancestor.c | 49 static int setup_network(struct test_data *t) in setup_network() argument 52 t->ns = open_netns(TEST_NS); in setup_network() 53 if (!ASSERT_OK_PTR(t->ns, "open netns")) in setup_network() 58 memset(&t->qdisc, 0, sizeof(t->qdisc)); in setup_network() 59 t->qdisc.sz = sizeof(t->qdisc); in setup_network() 60 t->qdisc.attach_point = BPF_TC_EGRESS; in setup_network() 61 t->qdisc.ifindex = if_nametoindex("lo"); in setup_network() 62 if (!ASSERT_NEQ(t->qdisc.ifindex, 0, "if_nametoindex")) in setup_network() 64 if (!ASSERT_OK(bpf_tc_hook_create(&t->qdisc), "qdisc add")) in setup_network() 67 memset(&t->tc_attach, 0, sizeof(t->tc_attach)); in setup_network() [all …]
|
| /linux/arch/sparc/lib/ |
| H A D | bitext.c | 20 * @t: the bit map. 26 int bit_map_string_get(struct bit_map *t, int len, int align) 34 if (t->num_colors) { in bit_map_string_get() 37 align = t->num_colors; in bit_map_string_get() 46 if (align < 0 || align >= t->size) in bit_map_string_get() 48 if (len <= 0 || len > t->size) in bit_map_string_get() 52 spin_lock_irqsave(&t->lock, flags); in bit_map_string_get() 53 if (len < t->last_size) in bit_map_string_get() 54 offset = t->first_free; in bit_map_string_get() 56 offset = t in bit_map_string_get() 28 bit_map_string_get(struct bit_map * t,int len,int align) bit_map_string_get() argument 103 bit_map_clear(struct bit_map * t,int offset,int len) bit_map_clear() argument 121 bit_map_init(struct bit_map * t,unsigned long * map,int size) bit_map_init() argument [all...] |
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_client_blt.c | 143 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/block/ |
| H A D | blk-settings.c | 76 * might have increased the read-ahead size through sysfs, so don't ever in blk_apply_bdi_limits() 115 * size given that it can't span zones. in blk_validate_zoned_limits() 202 * The block layer automatically adds integrity data for bios that don't in blk_validate_integrity_limits() 257 * devices store any stripe size in t->chunk_sectors. 407 * from these, so directly setting it won't have any effect. in blk_validate_limits() 458 * but if there is one it can't be smaller than the page size as in blk_validate_limits() 665 static bool blk_stack_atomic_writes_tail(struct queue_limits *t, in blk_stack_atomic_writes_tail() 669 if (t->atomic_write_hw_boundary != b->atomic_write_hw_boundary) in blk_stack_atomic_writes_tail() 672 /* Can't support this */ in blk_stack_atomic_writes_tail() 673 if (t in blk_stack_atomic_writes_tail() 663 blk_stack_atomic_writes_tail(struct queue_limits * t,struct queue_limits * b) blk_stack_atomic_writes_tail() argument 687 blk_stack_atomic_writes_chunk_sectors(struct queue_limits * t) blk_stack_atomic_writes_chunk_sectors() argument 721 blk_stack_atomic_writes_head(struct queue_limits * t,struct queue_limits * b) blk_stack_atomic_writes_head() argument 735 blk_stack_atomic_writes_limits(struct queue_limits * t,struct queue_limits * b,sector_t start) blk_stack_atomic_writes_limits() argument 786 blk_stack_limits(struct queue_limits * t,struct queue_limits * b,sector_t start) blk_stack_limits() argument 956 queue_limits_stack_bdev(struct queue_limits * t,struct block_device * bdev,sector_t offset,const char * pfx) queue_limits_stack_bdev() argument 980 queue_limits_stack_integrity(struct queue_limits * t,struct queue_limits * b) queue_limits_stack_integrity() argument [all...] |
| /linux/tools/accounting/ |
| H A D | getdelays.c | 78 "[-m cpumask] [-t tgid] [-p pid]\n"); in usage() 221 #define average_ms(t, c) (t / 1000000ULL / (c ? c : 1)) in format_timespec() 222 #define delay_ms(t) (t / 1000000ULL) in format_timespec() 251 * Field availability depends on taskstats version (t->version), 265 #define PRINT_CPU_DELAY(version, t) \ 273 (unsigned long long)(t)->cpu_count, \ 274 (unsigned long long)(t)->cpu_run_real_total, \ 275 (unsigned long long)(t) 195 average_ms(t,c) global() argument 196 delay_ms(t) global() argument 245 PRINT_CPU_DELAY(version,t) global() argument 285 PRINT_FILED_DELAY(name,version,t,count,total,max,min) global() argument 307 PRINT_FILED_DELAY_WITH_TS(name,version,t,count,total,max,min,max_ts) global() argument 340 print_delayacct(struct taskstats * t) print_delayacct() argument 419 task_context_switch_counts(struct taskstats * t) task_context_switch_counts() argument 438 print_ioacct(struct taskstats * t) print_ioacct() argument [all...] |
| /linux/include/linux/ |
| H A D | btf.h | 244 bool btf_type_is_i32(const struct btf_type *t); 245 bool btf_type_is_i64(const struct btf_type *t); 246 bool btf_type_is_primitive(const struct btf_type *t); 250 struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, 253 bool btf_type_is_void(const struct btf_type *t); 254 bool btf_type_is_arena_ptr(const struct btf *btf, const struct btf_type *t); 268 const char *btf_type_str(const struct btf_type *t); 285 static inline bool btf_type_is_ptr(const struct btf_type *t) in btf_type_is_signed_int() 287 return BTF_INFO_KIND(t->info) == BTF_KIND_PTR; in btf_type_is_signed_int() 290 static inline bool btf_type_is_int(const struct btf_type *t) in btf_type_is_enum() 264 btf_type_is_ptr(const struct btf_type * t) btf_type_is_ptr() argument 269 btf_type_is_int(const struct btf_type * t) btf_type_is_int() argument 274 btf_type_is_small_int(const struct btf_type * t) btf_type_is_small_int() argument 279 btf_int_encoding(const struct btf_type * t) btf_int_encoding() argument 284 btf_type_is_signed_int(const struct btf_type * t) btf_type_is_signed_int() argument 289 btf_type_is_enum(const struct btf_type * t) btf_type_is_enum() argument 294 btf_is_any_enum(const struct btf_type * t) btf_is_any_enum() argument 312 btf_kind(const struct btf_type * t) btf_kind() argument 317 btf_is_enum(const struct btf_type * t) btf_is_enum() argument 322 btf_is_enum64(const struct btf_type * t) btf_is_enum64() argument 332 btf_is_composite(const struct btf_type * t) btf_is_composite() argument 339 btf_is_array(const struct btf_type * t) btf_is_array() argument 344 btf_is_int(const struct btf_type * t) btf_is_int() argument 349 btf_is_ptr(const struct btf_type * t) btf_is_ptr() argument 354 btf_int_offset(const struct btf_type * t) btf_int_offset() argument 359 btf_int_bits(const struct btf_type * t) btf_int_bits() argument 364 btf_type_is_scalar(const struct btf_type * t) btf_type_is_scalar() argument 369 btf_type_is_fwd(const struct btf_type * t) btf_type_is_fwd() argument 374 btf_type_is_typedef(const struct btf_type * t) btf_type_is_typedef() argument 379 btf_type_is_volatile(const struct btf_type * t) btf_type_is_volatile() argument 384 btf_type_is_func(const struct btf_type * t) btf_type_is_func() argument 389 btf_type_is_func_proto(const struct btf_type * t) btf_type_is_func_proto() argument 394 btf_type_is_var(const struct btf_type * t) btf_type_is_var() argument 399 btf_type_is_type_tag(const struct btf_type * t) btf_type_is_type_tag() argument 407 btf_type_is_struct(const struct btf_type * t) btf_type_is_struct() argument 414 __btf_type_is_struct(const struct btf_type * t) __btf_type_is_struct() argument 419 btf_type_is_array(const struct btf_type * t) btf_type_is_array() argument 424 btf_type_vlen(const struct btf_type * t) btf_type_vlen() argument 429 btf_vlen(const struct btf_type * t) btf_vlen() argument 434 btf_func_linkage(const struct btf_type * t) btf_func_linkage() argument 439 btf_type_kflag(const struct btf_type * t) btf_type_kflag() argument 458 btf_members(const struct btf_type * t) btf_members() argument 463 btf_member_bit_offset(const struct btf_type * t,u32 member_idx) btf_member_bit_offset() argument 470 btf_member_bitfield_size(const struct btf_type * t,u32 member_idx) btf_member_bitfield_size() argument 477 btf_type_member(const struct btf_type * t) btf_type_member() argument 482 btf_array(const struct btf_type * t) btf_array() argument 487 btf_enum(const struct btf_type * t) btf_enum() argument 492 btf_enum64(const struct btf_type * t) btf_enum64() argument 498 btf_type_var_secinfo(const struct btf_type * t) btf_type_var_secinfo() argument 503 btf_params(const struct btf_type * t) btf_params() argument 508 btf_decl_tag(const struct btf_type * t) btf_decl_tag() argument 606 btf_type_is_struct_ptr(struct btf * btf,const struct btf_type * t) btf_type_is_struct_ptr() argument 632 btf_field_iter_init(struct btf_field_iter * it,struct btf_type * t,enum btf_field_iter_kind iter_kind) btf_field_iter_init() argument 675 btf_is_prog_ctx_type(struct bpf_verifier_log * log,const struct btf * btf,const struct btf_type * t,enum bpf_prog_type prog_type,int arg) btf_is_prog_ctx_type() argument [all...] |
| /linux/drivers/md/bcache/ |
| H A D | bset.c | 294 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 D | vcpu_timer.c | 26 struct kvm_vcpu_timer *t) in kvm_riscv_delta_cycles2ns() argument 46 struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt); in kvm_riscv_vcpu_hrtimer_expired() local 47 struct kvm_vcpu *vcpu = container_of(t, struct kvm_vcpu, arch.timer); in kvm_riscv_vcpu_hrtimer_expired() 50 if (kvm_riscv_current_cycles(gt) < t->next_cycles) { in kvm_riscv_vcpu_hrtimer_expired() 51 delta_ns = kvm_riscv_delta_cycles2ns(t->next_cycles, gt, t); in kvm_riscv_vcpu_hrtimer_expired() 52 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_hrtimer_expired() 56 t->next_set = false; in kvm_riscv_vcpu_hrtimer_expired() 62 static int kvm_riscv_vcpu_timer_cancel(struct kvm_vcpu_timer *t) in kvm_riscv_vcpu_timer_cancel() argument 64 if (!t in kvm_riscv_vcpu_timer_cancel() 90 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_update_hrtimer() local 109 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_next_event() local 117 struct kvm_vcpu_timer *t = container_of(h, struct kvm_vcpu_timer, hrt); kvm_riscv_vcpu_vstimer_expired() local 135 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_pending() local 147 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_blocking() local 167 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_get_reg_timer() local 207 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_set_reg_timer() local 251 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_init() local 287 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_reset() local 307 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_restore() local 331 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_sync() local 346 struct kvm_vcpu_timer *t = &vcpu->arch.timer; kvm_riscv_vcpu_timer_save() local [all...] |
| /linux/drivers/ata/ |
| H A D | libata-pata-timings.c | 60 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/media/pci/bt8xx/ |
| H A D | bttv-audio-hook.c | 55 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 D | op.rs | 179 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/perf/util/ |
| H A D | trigger.h | 36 #define TRIGGER_WARN_ONCE(t, exp) \ argument 37 WARN_ONCE(t->state != exp, "trigger '%s' state transist error: %d in %s()\n", \ 38 t->name, t->state, __func__) 40 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available() argument 42 return t->state >= 0; in trigger_is_available() 45 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error() argument 47 return t->state <= TRIGGER_ERROR; in trigger_is_error() 50 static inline void trigger_on(struct trigger *t) in trigger_on() argument 52 TRIGGER_WARN_ONCE(t, TRIGGER_OFF); in trigger_on() 53 t->state = TRIGGER_ON; in trigger_on() [all …]
|
| /linux/drivers/thermal/ |
| H A D | thermal_thresholds.c | 63 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/arch/mips/kernel/ |
| H A D | watch.c | 18 void mips_install_watch_registers(struct task_struct *t) in mips_install_watch_registers() argument 20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers() 120 unsigned int t; in mips_probe_watch_registers() local 130 t = read_c0_watchlo0(); in mips_probe_watch_registers() 132 c->watch_reg_masks[0] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers() 138 t = read_c0_watchhi0(); in mips_probe_watch_registers() 139 write_c0_watchhi0(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers() 141 t = read_c0_watchhi0(); in mips_probe_watch_registers() 142 c->watch_reg_masks[0] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers() 143 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers() [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | btf.h | 215 * if there were some unused strings in *src_btf*, those won't be copied over, 455 static inline __u16 btf_kind(const struct btf_type *t) in btf_is_int() argument 457 return BTF_INFO_KIND(t->info); in btf_is_int() 460 static inline __u32 btf_vlen(const struct btf_type *t) in btf_is_ptr() argument 462 return BTF_INFO_VLEN(t->info); in btf_is_ptr() 465 static inline bool btf_kflag(const struct btf_type *t) in btf_is_array() argument 467 return BTF_INFO_KFLAG(t->info); in btf_is_array() 470 static inline bool btf_is_void(const struct btf_type *t) in btf_is_struct() argument 472 return btf_kind(t) == BTF_KIND_UNKN; in btf_is_struct() 475 static inline bool btf_is_int(const struct btf_type *t) in btf_is_union() argument 435 btf_kind(const struct btf_type * t) btf_kind() argument 440 btf_vlen(const struct btf_type * t) btf_vlen() argument 445 btf_kflag(const struct btf_type * t) btf_kflag() argument 450 btf_is_void(const struct btf_type * t) btf_is_void() argument 480 btf_is_composite(const struct btf_type * t) btf_is_composite() argument 487 btf_is_enum(const struct btf_type * t) btf_is_enum() argument 492 btf_is_enum64(const struct btf_type * t) btf_is_enum64() argument 497 btf_is_fwd(const struct btf_type * t) btf_is_fwd() argument 502 btf_is_typedef(const struct btf_type * t) btf_is_typedef() argument 507 btf_is_volatile(const struct btf_type * t) btf_is_volatile() argument 512 btf_is_const(const struct btf_type * t) btf_is_const() argument 517 btf_is_restrict(const struct btf_type * t) btf_is_restrict() argument 522 btf_is_mod(const struct btf_type * t) btf_is_mod() argument 532 btf_is_func(const struct btf_type * t) btf_is_func() argument 537 btf_is_func_proto(const struct btf_type * t) btf_is_func_proto() argument 542 btf_is_var(const struct btf_type * t) btf_is_var() argument 547 btf_is_datasec(const struct btf_type * t) btf_is_datasec() argument 552 btf_is_float(const struct btf_type * t) btf_is_float() argument 557 btf_is_decl_tag(const struct btf_type * t) btf_is_decl_tag() argument 562 btf_is_type_tag(const struct btf_type * t) btf_is_type_tag() argument 567 btf_is_any_enum(const struct btf_type * t) btf_is_any_enum() argument 579 btf_int_encoding(const struct btf_type * t) btf_int_encoding() argument 584 btf_int_offset(const struct btf_type * t) btf_int_offset() argument 589 btf_int_bits(const struct btf_type * t) btf_int_bits() argument 594 btf_array(const struct btf_type * t) btf_array() argument 599 btf_enum(const struct btf_type * t) btf_enum() argument 606 btf_enum64(const struct btf_type * t) btf_enum64() argument 637 btf_members(const struct btf_type * t) btf_members() argument 643 btf_member_bit_offset(const struct btf_type * t,__u32 member_idx) btf_member_bit_offset() argument 655 btf_member_bitfield_size(const struct btf_type * t,__u32 member_idx) btf_member_bitfield_size() argument 664 btf_params(const struct btf_type * t) btf_params() argument 669 btf_var(const struct btf_type * t) btf_var() argument 675 btf_var_secinfos(const struct btf_type * t) btf_var_secinfos() argument 681 btf_decl_tag(const struct btf_type * t) btf_decl_tag() argument [all...] |
| /linux/tools/testing/selftests/kvm/s390/ |
| H A D | memop.c | 247 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 in test_copy() local 379 struct test_default t = test_default_init(guest_copy); test_copy_access_register() local 440 struct test_default t = test_default_init(guest_copy_key); test_copy_key() local 471 struct test_default t = test_default_init(guest_copy_key); test_cmpxchg_key() local 672 struct test_default t = test_default_init(guest_cmpxchg_key); test_cmpxchg_key_concurrent() local 733 struct test_default t = test_default_init(guest_copy_key_fetch_prot); test_copy_key_storage_prot_override() local 748 struct test_default t = test_default_init(guest_copy_key_fetch_prot); test_copy_key_fetch_prot() local 779 struct test_default t = test_default_init(guest_error_key); test_errors_key() local 795 struct test_default t = test_default_init(guest_copy_key_fetch_prot); test_errors_cmpxchg_key() local 813 struct test_default t = test_default_init(guest_error_key); test_termination() local 844 struct test_default t = test_default_init(guest_copy_key_fetch_prot); test_errors_key_storage_prot_override() local 880 struct test_default t = test_default_init(guest_copy_key_fetch_prot_override); test_copy_key_fetch_prot_override() local 919 struct test_default t = test_default_init(guest_copy_key_fetch_prot_override); test_errors_key_fetch_prot_override_not_enabled() local 940 struct test_default t = test_default_init(guest_copy_key_fetch_prot_override); test_errors_key_fetch_prot_override_enabled() local 1011 struct test_default t = test_default_init(guest_idle); test_errors() local 1048 struct test_default t = test_default_init(guest_idle); test_errors_cmpxchg() local [all...] |
| /linux/drivers/md/ |
| H A D | dm-cache-policy.c | 23 struct dm_cache_policy_type *t; in __find_policy() local 25 list_for_each_entry(t, ®ister_list, list) in __find_policy() 26 if (!strcmp(t->name, name)) in __find_policy() 27 return t; in __find_policy() 34 struct dm_cache_policy_type *t = __find_policy(name); in __get_policy_once() local 36 if (t && !try_module_get(t->owner)) { in __get_policy_once() 38 t = ERR_PTR(-EINVAL); in __get_policy_once() 41 return t; in __get_policy_once() 46 struct dm_cache_policy_type *t; in get_policy_once() local 49 t = __get_policy_once(name); in get_policy_once() [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | cxgb3_defs.h | 47 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry() argument 50 return &t->atid_tab[atid - t->atid_base]; in atid2entry() 53 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry() argument 56 return &t->stid_tab[stid - t->stid_base]; in stid2entry() 62 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid() argument 65 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid() 66 &(t->tid_tab[tid]) : NULL; in lookup_tid() 74 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid() argument 79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid() 82 e = stid2entry(t, tid); in lookup_stid() [all …]
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | |