Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 25 of 26) 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/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 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_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()
[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.c104 pthread_t *tinfo; in alloc_kmem_smp() local
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() local
254 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
255 if (tinfo in spawn_1000_threads()
[all...]
/linux/net/netfilter/ipvs/
H A Dip_vs_sync.c1648 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_master() local
1649 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_master()
1650 struct ipvs_master_sync_state *ms = &ipvs->ms[tinfo->id]; in sync_thread_master()
1651 struct sock *sk = tinfo->sock->sk; in sync_thread_master()
1656 ipvs->mcfg.mcast_ifn, ipvs->mcfg.syncid, tinfo->id); in sync_thread_master()
1666 while (ip_vs_send_sync_msg(tinfo->sock, sb->mesg) < 0) { in sync_thread_master()
1700 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_backup() local
1701 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_backup()
1702 struct sock *sk = tinfo->sock->sk; in sync_thread_backup()
1708 ipvs->bcfg.mcast_ifn, ipvs->bcfg.syncid, tinfo->id); in sync_thread_backup()
[all …]
/linux/arch/sh/kernel/
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/net/ipv6/
H A Dseg6_iptunnel.c401 struct seg6_iptunnel_encap *tinfo; in seg6_do_srh() local
406 tinfo = slwt->tuninfo; in seg6_do_srh()
408 switch (tinfo->mode) { in seg6_do_srh()
413 err = __seg6_do_srh_inline(skb, tinfo->srh, cache_dst); in seg6_do_srh()
430 if (tinfo->mode == SEG6_IPTUN_MODE_ENCAP) in seg6_do_srh()
431 err = __seg6_do_srh_encap(skb, tinfo->srh, proto, in seg6_do_srh()
434 err = seg6_do_srh_encap_red(skb, tinfo->srh, proto, in seg6_do_srh()
455 if (tinfo->mode == SEG6_IPTUN_MODE_L2ENCAP) in seg6_do_srh()
456 err = __seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh()
460 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/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/fs/smb/server/
H A Dauth.c310 struct target_info *tinfo; in ksmbd_build_ntlmssp_challenge_blob() local
378 tinfo = (struct target_info *)(target_name + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
384 tinfo->Type = cpu_to_le16(type); in ksmbd_build_ntlmssp_challenge_blob()
385 tinfo->Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
386 memcpy(tinfo->Content, name, uni_len); in ksmbd_build_ntlmssp_challenge_blob()
387 tinfo = (struct target_info *)((char *)tinfo + 4 + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
392 tinfo->Type = 0; in ksmbd_build_ntlmssp_challenge_blob()
393 tinfo->Length = 0; in ksmbd_build_ntlmssp_challenge_blob()
/linux/kernel/trace/
H A Dtrace.c5995 void trace_user_fault_destroy(struct trace_user_buf_info *tinfo) in trace_user_fault_destroy() argument
6000 if (!tinfo || !tinfo->tbuf) in trace_user_fault_destroy()
6004 buf = per_cpu_ptr(tinfo->tbuf, cpu)->buf; in trace_user_fault_destroy()
6007 free_percpu(tinfo->tbuf); in trace_user_fault_destroy()
6010 static int user_fault_buffer_enable(struct trace_user_buf_info *tinfo, size_t size) in user_fault_buffer_enable() argument
6017 tinfo->tbuf = alloc_percpu(struct trace_user_buf); in user_fault_buffer_enable()
6018 if (!tinfo->tbuf) in user_fault_buffer_enable()
6021 tinfo->ref = 1; in user_fault_buffer_enable()
6022 tinfo->size = size; in user_fault_buffer_enable()
6026 per_cpu_ptr(tinfo->tbuf, cpu)->buf = NULL; in user_fault_buffer_enable()
[all …]
H A Dtrace.h1651 int trace_user_fault_init(struct trace_user_buf_info *tinfo, size_t size);
1652 int trace_user_fault_get(struct trace_user_buf_info *tinfo);
1653 int trace_user_fault_put(struct trace_user_buf_info *tinfo);
1654 void trace_user_fault_destroy(struct trace_user_buf_info *tinfo);
1655 char *trace_user_fault_read(struct trace_user_buf_info *tinfo,
/linux/net/bridge/netfilter/
H A Debtables.c1865 struct ebt_table_info tinfo; in compat_copy_everything_to_user() local
1869 memset(&tinfo, 0, sizeof(tinfo)); in compat_copy_everything_to_user()
1872 tinfo.entries_size = t->private->entries_size; in compat_copy_everything_to_user()
1873 tinfo.nentries = t->private->nentries; in compat_copy_everything_to_user()
1874 tinfo.entries = t->private->entries; in compat_copy_everything_to_user()
1877 tinfo.entries_size = t->table->entries_size; in compat_copy_everything_to_user()
1878 tinfo.nentries = t->table->nentries; in compat_copy_everything_to_user()
1879 tinfo.entries = t->table->entries; in compat_copy_everything_to_user()
1886 if (tmp.nentries != tinfo.nentries || in compat_copy_everything_to_user()
1887 (tmp.num_counters && tmp.num_counters != tinfo.nentries)) in compat_copy_everything_to_user()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dkublk.c1464 struct ublk_thread_info *tinfo; in ublk_start_daemon() local
1476 tinfo = calloc(sizeof(struct ublk_thread_info), dev->nthreads); in ublk_start_daemon()
1477 if (!tinfo) in ublk_start_daemon()
1520 tinfo[i].dev = dev; in ublk_start_daemon()
1521 tinfo[i].idx = i; in ublk_start_daemon()
1522 tinfo[i].ready = &ready; in ublk_start_daemon()
1523 tinfo[i].extra_flags = extra_flags; in ublk_start_daemon()
1524 tinfo[i].q_thread_map = q_thread_map; in ublk_start_daemon()
1535 tinfo[i].affinity = &affinity_buf[i]; in ublk_start_daemon()
1536 pthread_create(&tinfo[i].thread, NULL, in ublk_start_daemon()
[all …]
/linux/drivers/nvme/target/
H A Dfcloop.c1547 struct nvmet_fc_port_info tinfo; in fcloop_create_target_port() local
1554 tinfo.node_name = nport->node_name; in fcloop_create_target_port()
1555 tinfo.port_name = nport->port_name; in fcloop_create_target_port()
1556 tinfo.port_id = nport->port_id; in fcloop_create_target_port()
1558 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()
/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c828 void *tinfo) in tsi721_prep_rio_sg() argument
832 struct rio_dma_ext *rext = tinfo; in tsi721_prep_rio_sg()

12