Home
last modified time | relevance | path

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

12

/linux/kernel/bpf/
H A Dbpf_iter.c19 struct bpf_iter_target_info *tinfo; member
23 struct bpf_iter_target_info *tinfo; member
70 static inline bool bpf_iter_target_support_resched(const struct bpf_iter_target_info *tinfo) in bpf_iter_target_support_resched() argument
72 return tinfo->reg_info->feature & BPF_ITER_RESCHED; in bpf_iter_target_support_resched()
81 return bpf_iter_target_support_resched(iter_priv->tinfo); in bpf_iter_support_resched()
252 return link->tinfo->reg_info->seq_info; in __get_seq_info()
296 struct bpf_iter_target_info *tinfo; in bpf_iter_reg_target() local
298 tinfo = kzalloc_obj(*tinfo); in bpf_iter_reg_target()
299 if (!tinfo) in bpf_iter_reg_target()
302 tinfo->reg_info = reg_info; in bpf_iter_reg_target()
[all …]
/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 Daic79xx_osm.c619 struct ahd_initiator_tinfo *tinfo; in ahd_linux_target_alloc() local
632 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_target_alloc()
648 spi_min_period(starget) = tinfo->user.period; in ahd_linux_target_alloc()
649 spi_max_offset(starget) = tinfo->user.offset; in ahd_linux_target_alloc()
652 tinfo = ahd_fetch_transinfo(ahd, channel, ahd->our_id, in ahd_linux_target_alloc()
777 struct ahd_initiator_tinfo *tinfo; in ahd_linux_dev_reset() local
817 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_dev_reset()
831 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_dev_reset()
1289 struct ahd_initiator_tinfo *tinfo; in ahd_linux_initialize_scsi_bus() local
1292 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_initialize_scsi_bus()
[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_osm.c1169 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local
1183 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus()
1188 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1415 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local
1471 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command()
1474 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1475 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1602 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local
1609 tinfo = ahc_fetch_transinfo(ahc, channel, in ahc_send_async()
1618 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
[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_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()
H A Dbr_private_tunnel.h20 struct vtunnel_info *tinfo);
/linux/tools/testing/selftests/cgroup/
H A Dtest_kmem.c104 pthread_t *tinfo; in alloc_kmem_smp()
108 tinfo = calloc(nr_threads, sizeof(pthread_t)); in alloc_kmem_smp()
109 if (tinfo == NULL) in alloc_kmem_smp()
113 if (pthread_create(&tinfo[i], NULL, &alloc_kmem_fn, in alloc_kmem_smp()
115 free(tinfo); in alloc_kmem_smp()
121 ret = pthread_join(tinfo[i], NULL); in alloc_kmem_smp()
126 free(tinfo); in alloc_kmem_smp()
249 pthread_t *tinfo; in spawn_1000_threads()
254 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
255 if (tinfo in spawn_1000_threads()
103 pthread_t *tinfo; alloc_kmem_smp() local
248 pthread_t *tinfo; spawn_1000_threads() local
[all...]
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1651 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_master() local
1652 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_master()
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() local
1704 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_backup()
1705 struct sock *sk = tinfo->sock->sk; in sync_thread_backup()
1711 ipvs->bcfg.mcast_ifn, ipvs->bcfg.syncid, tinfo->id); in sync_thread_backup()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Duser_exp_rcv.c244 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_setup() argument
255 if (!PAGE_ALIGNED(tinfo->vaddr)) in hfi1_user_exp_rcv_setup()
257 if (tinfo->length == 0) in hfi1_user_exp_rcv_setup()
265 tidbuf->vaddr = tinfo->vaddr; in hfi1_user_exp_rcv_setup()
266 tidbuf->length = tinfo->length; in hfi1_user_exp_rcv_setup()
439 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
440 tinfo->length = mapped_pages * PAGE_SIZE; in hfi1_user_exp_rcv_setup()
442 if (copy_to_user(u64_to_user_ptr(tinfo->tidlist), in hfi1_user_exp_rcv_setup()
458 tinfo->tidlist = (unsigned long)tidlist; in hfi1_user_exp_rcv_setup()
459 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.c295 struct target_info *tinfo; in ksmbd_build_ntlmssp_challenge_blob() local
363 tinfo = (struct target_info *)(target_name + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
369 tinfo->Type = cpu_to_le16(type); in ksmbd_build_ntlmssp_challenge_blob()
370 tinfo->Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
371 memcpy(tinfo->Content, name, uni_len); in ksmbd_build_ntlmssp_challenge_blob()
372 tinfo = (struct target_info *)((char *)tinfo + 4 + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
377 tinfo->Type = 0; in ksmbd_build_ntlmssp_challenge_blob()
378 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/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/tools/testing/selftests/ublk/
H A Dkublk.c1091 struct ublk_thread_info *tinfo; in ublk_start_daemon() local
1101 tinfo = calloc(sizeof(struct ublk_thread_info), dev->nthreads); in ublk_start_daemon()
1102 if (!tinfo) in ublk_start_daemon()
1143 tinfo[i].dev = dev; in ublk_start_daemon()
1144 tinfo[i].idx = i; in ublk_start_daemon()
1145 tinfo[i].ready = &ready; in ublk_start_daemon()
1146 tinfo[i].extra_flags = extra_flags; in ublk_start_daemon()
1147 tinfo[i].q_thread_map = q_thread_map; in ublk_start_daemon()
1158 tinfo[i].affinity = &affinity_buf[i]; in ublk_start_daemon()
1159 pthread_create(&tinfo[i].thread, NULL, in ublk_start_daemon()
[all …]
/linux/kernel/trace/
H A Dtrace.c6565 void trace_user_fault_destroy(struct trace_user_buf_info *tinfo) in trace_user_fault_destroy() argument
6570 if (!tinfo || !tinfo->tbuf) in trace_user_fault_destroy()
6574 buf = per_cpu_ptr(tinfo->tbuf, cpu)->buf; in trace_user_fault_destroy()
6577 free_percpu(tinfo->tbuf); in trace_user_fault_destroy()
6580 static int user_fault_buffer_enable(struct trace_user_buf_info *tinfo, size_t size) in user_fault_buffer_enable() argument
6587 tinfo->tbuf = alloc_percpu(struct trace_user_buf); in user_fault_buffer_enable()
6588 if (!tinfo->tbuf) in user_fault_buffer_enable()
6591 tinfo->ref = 1; in user_fault_buffer_enable()
6592 tinfo->size = size; in user_fault_buffer_enable()
6596 per_cpu_ptr(tinfo->tbuf, cpu)->buf = NULL; in user_fault_buffer_enable()
[all …]

12