Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 25 of 27) sorted by relevance

12

/linux/arch/sh/kernel/
H A Dirq.c62 struct thread_info tinfo; member
89 irqctx->tinfo.task = curctx->tinfo.task; in handle_one_irq()
90 irqctx->tinfo.previous_sp = current_stack_pointer; in handle_one_irq()
96 irqctx->tinfo.preempt_count = in handle_one_irq()
97 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq()
98 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq()
128 irqctx->tinfo.task = NULL; in irq_ctx_init()
129 irqctx->tinfo.cpu = cpu; in irq_ctx_init()
130 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init()
131 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
[all …]
H A Ddumpstack.c57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
59 struct task_struct *task = tinfo->task; in print_ftrace_graph_addr()
83 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
/linux/drivers/scsi/aic7xxx/
H A Daic79xx_proc.c93 ahd_format_transinfo(struct seq_file *m, struct ahd_transinfo *tinfo) in ahd_format_transinfo() argument
99 if (tinfo->period == AHD_PERIOD_UNKNOWN) { in ahd_format_transinfo()
105 if (tinfo->offset != 0) { in ahd_format_transinfo()
106 freq = ahd_calc_syncsrate(tinfo->period); in ahd_format_transinfo()
109 speed *= (0x01 << tinfo->width); in ahd_format_transinfo()
121 if ((tinfo->ppr_options & MSG_EXT_PPR_RD_STRM) != 0) { in ahd_format_transinfo()
125 if ((tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0) { in ahd_format_transinfo()
129 if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_format_transinfo()
133 if ((tinfo->ppr_options & MSG_EXT_PPR_RTI) != 0) { in ahd_format_transinfo()
137 if ((tinfo->ppr_options & MSG_EXT_PPR_QAS_REQ) != 0) { in ahd_format_transinfo()
[all …]
H A Daic7xxx_proc.c94 ahc_format_transinfo(struct seq_file *m, struct ahc_transinfo *tinfo) in ahc_format_transinfo() argument
102 if (tinfo->offset != 0) { in ahc_format_transinfo()
103 freq = ahc_calc_syncsrate(tinfo->period); in ahc_format_transinfo()
106 speed *= (0x01 << tinfo->width); in ahc_format_transinfo()
116 (tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0 in ahc_format_transinfo()
117 ? " DT" : "", tinfo->offset); in ahc_format_transinfo()
120 if (tinfo->width > 0) { in ahc_format_transinfo()
126 seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); in ahc_format_transinfo()
139 struct ahc_initiator_tinfo *tinfo; in ahc_dump_target_state() local
143 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_dump_target_state()
[all …]
H A Daic7xxx_core.c1055 struct ahc_transinfo *tinfo; in ahc_handle_seqint() local
1072 tinfo = &targ_info->curr; in ahc_handle_seqint()
1095 if (tinfo->protocol_version <= SCSI_REV_2 in ahc_handle_seqint()
1849 struct ahc_initiator_tinfo *tinfo; in ahc_handle_scsiint() local
1856 tinfo = ahc_fetch_transinfo(ahc, in ahc_handle_scsiint()
1861 tinfo->curr.transport_version = 2; in ahc_handle_scsiint()
1862 tinfo->goal.transport_version = 2; in ahc_handle_scsiint()
1863 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint()
2192 struct ahc_initiator_tinfo *tinfo, in ahc_devlimited_syncrate() argument
2223 transinfo = &tinfo->user; in ahc_devlimited_syncrate()
[all …]
H A Daic79xx_core.c122 struct ahd_transinfo *tinfo);
3103 struct ahd_initiator_tinfo *tinfo; in ahd_handle_nonpkt_busfree() local
3120 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel, in ahd_handle_nonpkt_busfree()
3123 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ)!=0) { in ahd_handle_nonpkt_busfree()
3139 tinfo->curr.transport_version = 2; in ahd_handle_nonpkt_busfree()
3140 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree()
3141 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree()
3664 struct ahd_initiator_tinfo *tinfo, in ahd_devlimited_syncrate() argument
3689 transinfo = &tinfo->user; in ahd_devlimited_syncrate()
3691 transinfo = &tinfo->goal; in ahd_devlimited_syncrate()
[all …]
/linux/net/bridge/
H A Dbr_vlan_tunnel.c25 return vle->tinfo.tunnel_id != tunid; in br_vlan_tunid_cmp()
30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
46 struct metadata_dst *tdst = rtnl_dereference(vlan->tinfo.tunnel_dst); in vlan_tunnel_info_release()
48 WRITE_ONCE(vlan->tinfo.tunnel_id, 0); in vlan_tunnel_info_release()
49 RCU_INIT_POINTER(vlan->tinfo.tunnel_dst, NULL); in vlan_tunnel_info_release()
56 if (!rcu_access_pointer(vlan->tinfo.tunnel_dst)) in vlan_tunnel_info_del()
66 struct metadata_dst *metadata = rtnl_dereference(vlan->tinfo.tunnel_dst); in __vlan_tunnel_info_add()
80 rcu_assign_pointer(vlan->tinfo.tunnel_dst, metadata); in __vlan_tunnel_info_add()
81 WRITE_ONCE(vlan->tinfo.tunnel_id, key); in __vlan_tunnel_info_add()
166 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel() local
[all …]
H A Dbr_netlink_tunnel.c32 __be32 tunid_curr = tunnel_id_to_key32(v_curr->tinfo.tunnel_id); in vlan_tunid_inrange()
33 __be32 tunid_last = tunnel_id_to_key32(v_last->tinfo.tunnel_id); in vlan_tunid_inrange()
46 if (!br_vlan_should_use(v) || !v->tinfo.tunnel_id) in __get_num_vlan_tunnel_infos()
127 vtbegin->tinfo.tunnel_id, in br_fill_vlan_tinfo_range()
133 vtend->tinfo.tunnel_id, in br_fill_vlan_tinfo_range()
139 vtbegin->tinfo.tunnel_id, in br_fill_vlan_tinfo_range()
162 if (!v->tinfo.tunnel_dst) in br_fill_vlan_tunnel_info()
223 struct vtunnel_info *tinfo) in br_parse_vlan_tunnel_info() argument
230 memset(tinfo, 0, sizeof(*tinfo)); in br_parse_vlan_tunnel_info()
249 tinfo->tunid = tun_id; in br_parse_vlan_tunnel_info()
[all …]
H A Dbr_private_tunnel.h20 struct vtunnel_info *tinfo);
H A Dbr_vlan_options.c14 __be32 tid = tunnel_id_to_key32(v->tinfo.tunnel_id); in __vlan_tun_put()
17 if (!v->tinfo.tunnel_dst) in __vlan_tun_put()
35 return (!v_curr->tinfo.tunnel_dst && !range_end->tinfo.tunnel_dst) || in __vlan_tun_can_enter_range()
/linux/tools/testing/selftests/cgroup/
H A Dtest_kmem.c103 pthread_t *tinfo; in alloc_kmem_smp() local
107 tinfo = calloc(nr_threads, sizeof(pthread_t)); in alloc_kmem_smp()
108 if (tinfo == NULL) in alloc_kmem_smp()
112 if (pthread_create(&tinfo[i], NULL, &alloc_kmem_fn, in alloc_kmem_smp()
114 free(tinfo); in alloc_kmem_smp()
120 ret = pthread_join(tinfo[i], NULL); in alloc_kmem_smp()
125 free(tinfo); in alloc_kmem_smp()
248 pthread_t *tinfo; in spawn_1000_threads() local
253 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
254 if (tinfo == NULL) in spawn_1000_threads()
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1651 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_master()
1652 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_master() local
1653 struct ipvs_master_sync_state *ms = &ipvs->ms[tinfo->id]; in sync_thread_master()
1654 struct sock *sk = tinfo->sock->sk; in sync_thread_master()
1659 ipvs->mcfg.mcast_ifn, ipvs->mcfg.syncid, tinfo->id); in sync_thread_master()
1669 while (ip_vs_send_sync_msg(tinfo->sock, sb->mesg) < 0) { in sync_thread_master()
1703 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_backup()
1704 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_backup() local
1705 struct sock *sk = tinfo->sock->sk; in sync_thread_backup()
1711 ipvs->bcfg.mcast_ifn, ipvs->bcfg.syncid, tinfo in sync_thread_backup()
1742 struct ip_vs_sync_thread_data *ti = NULL, *tinfo; start_sync_thread() local
1935 struct ip_vs_sync_thread_data *ti, *tinfo; stop_sync_thread() local
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c247 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_setup() argument
258 if (!PAGE_ALIGNED(tinfo->vaddr)) in hfi1_user_exp_rcv_setup()
260 if (tinfo->length == 0) in hfi1_user_exp_rcv_setup()
268 tidbuf->vaddr = tinfo->vaddr; in hfi1_user_exp_rcv_setup()
269 tidbuf->length = tinfo->length; in hfi1_user_exp_rcv_setup()
442 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
443 tinfo->length = mapped_pages * PAGE_SIZE; in hfi1_user_exp_rcv_setup()
445 if (copy_to_user(u64_to_user_ptr(tinfo->tidlist), in hfi1_user_exp_rcv_setup()
461 tinfo->tidlist = (unsigned long)tidlist; in hfi1_user_exp_rcv_setup()
462 hfi1_user_exp_rcv_clear(fd, tinfo); in hfi1_user_exp_rcv_setup()
[all …]
H A Duser_exp_rcv.h55 struct hfi1_tid_info *tinfo);
57 struct hfi1_tid_info *tinfo);
59 struct hfi1_tid_info *tinfo);
H A Dfile_ops.c1335 struct hfi1_tid_info tinfo; in user_exp_rcv_setup() local
1337 if (sizeof(tinfo) != len) in user_exp_rcv_setup()
1340 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_setup()
1343 ret = hfi1_user_exp_rcv_setup(fd, &tinfo); in user_exp_rcv_setup()
1350 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_setup()
1351 sizeof(tinfo.tidcnt))) in user_exp_rcv_setup()
1355 if (!ret && copy_to_user((void __user *)addr, &tinfo.length, in user_exp_rcv_setup()
1356 sizeof(tinfo.length))) in user_exp_rcv_setup()
1360 hfi1_user_exp_rcv_invalid(fd, &tinfo); in user_exp_rcv_setup()
1381 struct hfi1_tid_info tinfo; in user_exp_rcv_clear() local
[all …]
/linux/net/ipv6/
H A Dseg6_iptunnel.c385 struct seg6_iptunnel_encap *tinfo; in seg6_do_srh() local
388 tinfo = seg6_encap_lwtunnel(dst->lwtstate); in seg6_do_srh()
390 switch (tinfo->mode) { in seg6_do_srh()
395 err = __seg6_do_srh_inline(skb, tinfo->srh, cache_dst); in seg6_do_srh()
412 if (tinfo->mode == SEG6_IPTUN_MODE_ENCAP) in seg6_do_srh()
413 err = __seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh()
416 err = seg6_do_srh_encap_red(skb, tinfo->srh, in seg6_do_srh()
437 if (tinfo->mode == SEG6_IPTUN_MODE_L2ENCAP) in seg6_do_srh()
438 err = __seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh()
442 err = seg6_do_srh_encap_red(skb, tinfo->srh, in seg6_do_srh()
H A Drpl_iptunnel.c194 struct rpl_iptunnel_encap *tinfo; in rpl_do_srh() local
199 tinfo = rpl_encap_lwtunnel(dst->lwtstate); in rpl_do_srh()
201 return rpl_do_srh_inline(skb, rlwt, tinfo->srh, cache_dst); in rpl_do_srh()
/linux/fs/smb/server/
H A Dauth.c293 struct target_info *tinfo; in ksmbd_build_ntlmssp_challenge_blob() local
361 tinfo = (struct target_info *)(target_name + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
367 tinfo->Type = cpu_to_le16(type); in ksmbd_build_ntlmssp_challenge_blob()
368 tinfo->Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
369 memcpy(tinfo->Content, name, uni_len); in ksmbd_build_ntlmssp_challenge_blob()
370 tinfo = (struct target_info *)((char *)tinfo + 4 + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
375 tinfo->Type = 0; in ksmbd_build_ntlmssp_challenge_blob()
376 tinfo->Length = 0; in ksmbd_build_ntlmssp_challenge_blob()
/linux/net/netfilter/
H A Dxt_NFQUEUE.c31 const struct xt_NFQ_info *tinfo = par->targinfo; in nfqueue_tg() local
33 return NF_QUEUE_NR(tinfo->queuenum); in nfqueue_tg()
/linux/tools/testing/selftests/ublk/
H A Dkublk.c984 struct ublk_thread_info *tinfo; in ublk_start_daemon() local
993 tinfo = calloc(sizeof(struct ublk_thread_info), dev->nthreads); in ublk_start_daemon()
994 if (!tinfo) in ublk_start_daemon()
1024 tinfo[i].dev = dev; in ublk_start_daemon()
1025 tinfo[i].idx = i; in ublk_start_daemon()
1026 tinfo[i].ready = &ready; in ublk_start_daemon()
1027 tinfo[i].extra_flags = extra_flags; in ublk_start_daemon()
1038 tinfo[i].affinity = &affinity_buf[i]; in ublk_start_daemon()
1039 pthread_create(&tinfo[i].thread, NULL, in ublk_start_daemon()
1041 &tinfo[ in ublk_start_daemon()
[all...]
/linux/net/bridge/netfilter/
H A Debtables.c1856 struct ebt_table_info tinfo; in compat_copy_everything_to_user() local
1860 memset(&tinfo, 0, sizeof(tinfo)); in compat_copy_everything_to_user()
1863 tinfo.entries_size = t->private->entries_size; in compat_copy_everything_to_user()
1864 tinfo.nentries = t->private->nentries; in compat_copy_everything_to_user()
1865 tinfo.entries = t->private->entries; in compat_copy_everything_to_user()
1868 tinfo.entries_size = t->table->entries_size; in compat_copy_everything_to_user()
1869 tinfo.nentries = t->table->nentries; in compat_copy_everything_to_user()
1870 tinfo.entries = t->table->entries; in compat_copy_everything_to_user()
1877 if (tmp.nentries != tinfo.nentries || in compat_copy_everything_to_user()
1878 (tmp.num_counters && tmp.num_counters != tinfo.nentries)) in compat_copy_everything_to_user()
[all …]
/linux/kernel/trace/
H A Dtrace.c7318 * @tinfo: The descriptor to free up
7322 void trace_user_fault_destroy(struct trace_user_buf_info *tinfo) in trace_user_fault_destroy() argument
7327 if (!tinfo || !tinfo->tbuf) in trace_user_fault_destroy()
7331 buf = per_cpu_ptr(tinfo->tbuf, cpu)->buf; in trace_user_fault_destroy()
7334 free_percpu(tinfo->tbuf); in trace_user_fault_destroy()
7337 static int user_fault_buffer_enable(struct trace_user_buf_info *tinfo, size_t size) in user_fault_buffer_enable() argument
7344 tinfo->tbuf = alloc_percpu(struct trace_user_buf); in user_fault_buffer_enable()
7345 if (!tinfo->tbuf) in user_fault_buffer_enable()
7348 tinfo in user_fault_buffer_enable()
7368 user_buffer_free(struct trace_user_buf_info ** tinfo) user_buffer_free() argument
7378 user_buffer_init(struct trace_user_buf_info ** tinfo,size_t size) user_buffer_init() argument
7400 user_buffer_put(struct trace_user_buf_info ** tinfo) user_buffer_put() argument
7427 trace_user_fault_init(struct trace_user_buf_info * tinfo,size_t size) trace_user_fault_init() argument
7451 trace_user_fault_get(struct trace_user_buf_info * tinfo) trace_user_fault_get() argument
7470 trace_user_fault_put(struct trace_user_buf_info * tinfo) trace_user_fault_put() argument
7513 trace_user_fault_read(struct trace_user_buf_info * tinfo,const char __user * ptr,size_t size,trace_user_buf_copy copy_func,void * data) trace_user_fault_read() argument
[all...]
H A Dtrace.h1559 int trace_user_fault_init(struct trace_user_buf_info *tinfo, size_t size);
1560 int trace_user_fault_get(struct trace_user_buf_info *tinfo);
1561 int trace_user_fault_put(struct trace_user_buf_info *tinfo);
1562 void trace_user_fault_destroy(struct trace_user_buf_info *tinfo);
1563 char *trace_user_fault_read(struct trace_user_buf_info *tinfo,
/linux/drivers/nvme/target/
H A Dfcloop.c1540 struct nvmet_fc_port_info tinfo; in fcloop_create_target_port() local
1547 tinfo.node_name = nport->node_name; in fcloop_create_target_port()
1548 tinfo.port_name = nport->port_name; in fcloop_create_target_port()
1549 tinfo.port_id = nport->port_id; in fcloop_create_target_port()
1551 ret = nvmet_fc_register_targetport(&tinfo, &tgttemplate, NULL, in fcloop_create_target_port()
/linux/drivers/net/wireless/ath/ath9k/
H A Dmci.c87 struct ath_mci_profile_info *info, *tinfo; in ath_mci_flush_profile() local
95 list_for_each_entry_safe(info, tinfo, &mci->info, list) { in ath_mci_flush_profile()

12