/linux/kernel/bpf/ |
H A D | bpf_iter.c | 19 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() 297 struct bpf_iter_target_info *tinfo; in bpf_iter_reg_target() local 299 tinfo = kzalloc(sizeof(*tinfo), GFP_KERNEL); in bpf_iter_reg_target() 300 if (!tinfo) in bpf_iter_reg_target() 303 tinfo->reg_info = reg_info; in bpf_iter_reg_target() [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_proc.c | 93 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 D | aic79xx_osm.c | 619 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 D | aic7xxx_proc.c | 94 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 D | aic7xxx_osm.c | 1169 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 D | aic7xxx_core.c | 1055 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 D | aic79xx_core.c | 122 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 D | br_vlan_tunnel.c | 25 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 D | br_netlink_tunnel.c | 32 __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 D | br_vlan_options.c | 14 __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 D | br_private_tunnel.h | 20 struct vtunnel_info *tinfo);
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_kmem.c | 103 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 D | ip_vs_sync.c | 1652 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 D | user_exp_rcv.c | 247 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 D | user_exp_rcv.h | 55 struct hfi1_tid_info *tinfo); 57 struct hfi1_tid_info *tinfo); 59 struct hfi1_tid_info *tinfo);
|
H A D | file_ops.c | 1335 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 D | seg6_iptunnel.c | 383 struct seg6_iptunnel_encap *tinfo; in seg6_do_srh() local 386 tinfo = seg6_encap_lwtunnel(dst->lwtstate); in seg6_do_srh() 388 switch (tinfo->mode) { in seg6_do_srh() 393 err = __seg6_do_srh_inline(skb, tinfo->srh, cache_dst); in seg6_do_srh() 410 if (tinfo->mode == SEG6_IPTUN_MODE_ENCAP) in seg6_do_srh() 411 err = __seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh() 414 err = seg6_do_srh_encap_red(skb, tinfo->srh, in seg6_do_srh() 435 if (tinfo->mode == SEG6_IPTUN_MODE_L2ENCAP) in seg6_do_srh() 436 err = __seg6_do_srh_encap(skb, tinfo->srh, in seg6_do_srh() 440 err = seg6_do_srh_encap_red(skb, tinfo->srh, in seg6_do_srh()
|
H A D | rpl_iptunnel.c | 194 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/arch/sh/kernel/ |
H A D | dumpstack.c | 57 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/fs/smb/server/ |
H A D | auth.c | 416 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 D | xt_NFQUEUE.c | 31 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 D | ebtables.c | 1856 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 D | fcloop.c | 1422 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 D | mci.c | 87 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 D | tsi721_dma.c | 829 void *tinfo) in tsi721_prep_rio_sg() argument 833 struct rio_dma_ext *rext = tinfo; in tsi721_prep_rio_sg()
|