Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 25 of 27) 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
71 static inline bool bpf_iter_target_support_resched(const struct bpf_iter_target_info *tinfo) in bpf_iter_target_support_resched() argument
73 return tinfo->reg_info->feature & BPF_ITER_RESCHED; in bpf_iter_target_support_resched()
82 return bpf_iter_target_support_resched(iter_priv->tinfo); in bpf_iter_support_resched()
253 return link->tinfo->reg_info->seq_info; in __get_seq_info()
298 struct bpf_iter_target_info *tinfo; in bpf_iter_reg_target() local
300 tinfo = kzalloc(sizeof(*tinfo), GFP_KERNEL); in bpf_iter_reg_target()
301 if (!tinfo) in bpf_iter_reg_target()
304 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.c103 pthread_t *tinfo; in alloc_kmem_smp()
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()
253 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
254 if (tinfo in spawn_1000_threads()
101 pthread_t *tinfo; alloc_kmem_smp() local
246 pthread_t *tinfo; spawn_1000_threads() local
[all...]
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1652 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_master() local
1653 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_master()
1654 struct ipvs_master_sync_state *ms = &ipvs->ms[tinfo->id]; in sync_thread_master()
1655 struct sock *sk = tinfo->sock->sk; in sync_thread_master()
1660 ipvs->mcfg.mcast_ifn, ipvs->mcfg.syncid, tinfo->id); in sync_thread_master()
1670 while (ip_vs_send_sync_msg(tinfo->sock, sb->mesg) < 0) { in sync_thread_master()
1704 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_backup() local
1705 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_backup()
1706 struct sock *sk = tinfo->sock->sk; in sync_thread_backup()
1712 ipvs->bcfg.mcast_ifn, ipvs->bcfg.syncid, tinfo->id); in sync_thread_backup()
[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 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 …]
H A Duser_exp_rcv.h55 struct hfi1_tid_info *tinfo);
57 struct hfi1_tid_info *tinfo);
59 struct hfi1_tid_info *tinfo);
/linux/net/ipv6/
H A Dseg6_iptunnel.c377 struct seg6_iptunnel_encap *tinfo; in seg6_do_srh() local
380 tinfo = seg6_encap_lwtunnel(dst->lwtstate); in seg6_do_srh()
382 switch (tinfo->mode) { in seg6_do_srh()
387 err = seg6_do_srh_inline(skb, tinfo->srh); in seg6_do_srh()
404 if (tinfo->mode == SEG6_IPTUN_MODE_ENCAP) in seg6_do_srh()
405 err = seg6_do_srh_encap(skb, tinfo->srh, proto); in seg6_do_srh()
407 err = seg6_do_srh_encap_red(skb, tinfo->srh, proto); in seg6_do_srh()
427 if (tinfo->mode == SEG6_IPTUN_MODE_L2ENCAP) in seg6_do_srh()
428 err = seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh()
431 err = seg6_do_srh_encap_red(skb, tinfo in seg6_do_srh()
[all...]
H A Drpl_iptunnel.c192 struct rpl_iptunnel_encap *tinfo; in rpl_do_srh() local
197 tinfo = rpl_encap_lwtunnel(dst->lwtstate); in rpl_do_srh()
199 return rpl_do_srh_inline(skb, rlwt, tinfo->srh); in rpl_do_srh()
/linux/fs/smb/server/
H A Dauth.c416 struct target_info *tinfo; in ksmbd_build_ntlmssp_challenge_blob() local
484 tinfo = (struct target_info *)(target_name + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
490 tinfo->Type = cpu_to_le16(type); in ksmbd_build_ntlmssp_challenge_blob()
491 tinfo->Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
492 memcpy(tinfo->Content, name, uni_len); in ksmbd_build_ntlmssp_challenge_blob()
493 tinfo = (struct target_info *)((char *)tinfo + 4 + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
498 tinfo->Type = 0; in ksmbd_build_ntlmssp_challenge_blob()
499 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/drivers/nvme/target/
H A Dfcloop.c1422 struct nvmet_fc_port_info tinfo; in fcloop_create_target_port() local
1429 tinfo.node_name = nport->node_name; in fcloop_create_target_port()
1430 tinfo.port_name = nport->port_name; in fcloop_create_target_port()
1431 tinfo.port_id = nport->port_id; in fcloop_create_target_port()
1433 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