Home
last modified time | relevance | path

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

12

/linux/kernel/bpf/
A Dbpf_iter.c18 struct bpf_iter_target_info *tinfo; member
290 tinfo = kzalloc(sizeof(*tinfo), GFP_KERNEL); in bpf_iter_reg_target()
291 if (!tinfo) in bpf_iter_reg_target()
294 tinfo->reg_info = reg_info; in bpf_iter_reg_target()
312 list_del(&tinfo->list); in bpf_iter_unreg_target()
313 kfree(tinfo); in bpf_iter_unreg_target()
343 if (tinfo->btf_id && tinfo->btf_id == prog_btf_id) { in bpf_iter_prog_supported()
348 cache_btf_id(tinfo, prog); in bpf_iter_prog_supported()
547 link->tinfo = tinfo; in bpf_iter_link_attach()
571 priv_data->tinfo = tinfo; in init_seq_meta()
[all …]
/linux/arch/sh/kernel/
A Dirq.c62 struct thread_info tinfo; member
89 irqctx->tinfo.task = curctx->tinfo.task; in handle_one_irq()
96 irqctx->tinfo.preempt_count = in handle_one_irq()
128 irqctx->tinfo.task = NULL; in irq_ctx_init()
129 irqctx->tinfo.cpu = cpu; in irq_ctx_init()
131 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
136 irqctx->tinfo.task = NULL; in irq_ctx_init()
137 irqctx->tinfo.cpu = cpu; in irq_ctx_init()
138 irqctx->tinfo.preempt_count = 0; in irq_ctx_init()
139 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init()
[all …]
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/bridge/
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),
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()
79 rcu_assign_pointer(vlan->tinfo.tunnel_dst, metadata); in __vlan_tunnel_info_add()
80 WRITE_ONCE(vlan->tinfo.tunnel_id, key); in __vlan_tunnel_info_add()
165 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel() local
168 if (!vg || !tinfo) in br_handle_ingress_vlan_tunnel()
195 tunnel_id = READ_ONCE(vlan->tinfo.tunnel_id); in br_handle_egress_vlan_tunnel()
[all …]
A Dbr_netlink_tunnel.c32 __be32 tunid_curr = tunnel_id_to_key32(v_curr->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()
220 struct vtunnel_info *tinfo) in br_parse_vlan_tunnel_info() argument
227 memset(tinfo, 0, sizeof(*tinfo)); in br_parse_vlan_tunnel_info()
246 tinfo->tunid = tun_id; in br_parse_vlan_tunnel_info()
247 tinfo->vid = vid; in br_parse_vlan_tunnel_info()
[all …]
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()
A Dbr_private_tunnel.h20 struct vtunnel_info *tinfo);
/linux/drivers/scsi/aic7xxx/
A Daic79xx_proc.c99 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()
133 if ((tinfo->ppr_options & MSG_EXT_PPR_RTI) != 0) { in ahd_format_transinfo()
143 if (tinfo->width > 0) { in ahd_format_transinfo()
161 struct ahd_initiator_tinfo *tinfo; in ahd_dump_target_state() local
165 tinfo = ahd_fetch_transinfo(ahd, channel, our_id, in ahd_dump_target_state()
169 ahd_format_transinfo(m, &tinfo->user); in ahd_dump_target_state()
175 ahd_format_transinfo(m, &tinfo->goal); in ahd_dump_target_state()
[all …]
A Daic79xx_osm.c614 struct ahd_initiator_tinfo *tinfo; in ahd_linux_target_alloc() local
776 struct ahd_initiator_tinfo *tinfo; in ahd_linux_dev_reset() local
1296 tinfo, AHD_NEG_ALWAYS); in ahd_linux_initialize_scsi_bus()
1690 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async()
1691 || tinfo->curr.width != tinfo->goal.width in ahd_send_async()
1692 || tinfo->curr.offset != tinfo->goal.offset in ahd_send_async()
1693 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async()
2376 struct ahd_initiator_tinfo *tinfo in ahd_linux_set_period() local
2429 struct ahd_initiator_tinfo *tinfo in ahd_linux_set_offset() local
2447 period = tinfo->goal.period; in ahd_linux_set_offset()
[all …]
A Daic7xxx_proc.c102 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()
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()
149 ahc_format_transinfo(m, &tinfo->user); in ahc_dump_target_state()
155 ahc_format_transinfo(m, &tinfo->goal); in ahc_dump_target_state()
[all …]
A Daic7xxx_osm.c1180 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1466 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1610 if (tinfo->curr.period != tinfo->goal.period in ahc_send_async()
1611 || tinfo->curr.width != tinfo->goal.width in ahc_send_async()
1612 || tinfo->curr.offset != tinfo->goal.offset in ahc_send_async()
1613 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahc_send_async()
2330 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_period() local
2375 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_offset() local
2390 period = tinfo->goal.period; in ahc_linux_set_offset()
2404 struct ahc_initiator_tinfo *tinfo in ahc_linux_set_dt() local
[all …]
A Daic7xxx_core.c2382 if (tinfo != NULL) { in ahc_validate_offset()
2410 if (tinfo != NULL) { in ahc_validate_width()
2444 if (tinfo->curr.period != tinfo->goal.period in ahc_update_neg_request()
2445 || tinfo->curr.width != tinfo->goal.width in ahc_update_neg_request()
2446 || tinfo->curr.offset != tinfo->goal.offset in ahc_update_neg_request()
2447 || tinfo->curr.ppr_options != tinfo->goal.ppr_options in ahc_update_neg_request()
2970 dowide = tinfo->curr.width != tinfo->goal.width; in ahc_build_transfer_msg()
2971 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period; in ahc_build_transfer_msg()
4039 if (tinfo->goal.offset != tinfo->curr.offset) { in ahc_handle_msg_reject()
5440 memset(tinfo, 0, sizeof(*tinfo)); in ahc_init()
[all …]
A Daic79xx_core.c3769 if (tinfo != NULL) { in ahd_validate_offset()
3797 if (tinfo != NULL) { in ahd_validate_width()
3831 if (tinfo->curr.period != tinfo->goal.period in ahd_update_neg_request()
3832 || tinfo->curr.width != tinfo->goal.width in ahd_update_neg_request()
3833 || tinfo->curr.offset != tinfo->goal.offset in ahd_update_neg_request()
3834 || tinfo->curr.ppr_options != tinfo->goal.ppr_options in ahd_update_neg_request()
4082 period = tinfo->period; in ahd_update_neg_table()
4083 offset = tinfo->offset; in ahd_update_neg_table()
4518 dowide = tinfo->curr.width != tinfo->goal.width; in ahd_build_transfer_msg()
4519 dosync = tinfo->curr.offset != offset || tinfo->curr.period != period; in ahd_build_transfer_msg()
[all …]
/linux/tools/testing/selftests/cgroup/
A Dtest_kmem.c99 pthread_t *tinfo; in alloc_kmem_smp() local
103 tinfo = calloc(nr_threads, sizeof(pthread_t)); in alloc_kmem_smp()
104 if (tinfo == NULL) in alloc_kmem_smp()
110 free(tinfo); in alloc_kmem_smp()
116 ret = pthread_join(tinfo[i], NULL); in alloc_kmem_smp()
121 free(tinfo); in alloc_kmem_smp()
251 pthread_t *tinfo; in spawn_1000_threads() local
256 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads()
257 if (tinfo == NULL) in spawn_1000_threads()
263 free(tinfo); in spawn_1000_threads()
[all …]
/linux/net/netfilter/ipvs/
A Dip_vs_sync.c1734 len = ip_vs_receive(tinfo->sock, tinfo->buf, in sync_thread_backup()
1862 tinfo = &ti[id]; in start_sync_thread()
1868 if (!tinfo->buf) in start_sync_thread()
1871 tinfo->id = id; in start_sync_thread()
1909 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in start_sync_thread()
1910 if (tinfo->task) in start_sync_thread()
1922 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in start_sync_thread()
1923 if (tinfo->sock) in start_sync_thread()
1976 tinfo = &ti[id]; in stop_sync_thread()
2013 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in stop_sync_thread()
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Duser_exp_rcv.c247 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_setup() argument
257 if (!PAGE_ALIGNED(tinfo->vaddr)) in hfi1_user_exp_rcv_setup()
264 tidbuf->vaddr = tinfo->vaddr; in hfi1_user_exp_rcv_setup()
265 tidbuf->length = tinfo->length; in hfi1_user_exp_rcv_setup()
405 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
416 tinfo->tidlist = 0; in hfi1_user_exp_rcv_setup()
438 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_clear() argument
465 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_clear()
473 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_invalid() argument
505 tinfo->tidcnt = 0; in hfi1_user_exp_rcv_invalid()
[all …]
A Dfile_ops.c1300 struct hfi1_tid_info tinfo; in user_exp_rcv_setup() local
1302 if (sizeof(tinfo) != len) in user_exp_rcv_setup()
1305 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_setup()
1316 sizeof(tinfo.tidcnt))) in user_exp_rcv_setup()
1321 sizeof(tinfo.length))) in user_exp_rcv_setup()
1345 if (sizeof(tinfo) != len) in user_exp_rcv_clear()
1348 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_clear()
1355 sizeof(tinfo.tidcnt))) in user_exp_rcv_clear()
1378 if (sizeof(tinfo) != len) in user_exp_rcv_invalid()
1384 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_invalid()
[all …]
A Duser_exp_rcv.h52 struct hfi1_tid_info *tinfo);
54 struct hfi1_tid_info *tinfo);
56 struct hfi1_tid_info *tinfo);
/linux/net/ipv6/
A Dseg6_iptunnel.c253 struct seg6_iptunnel_encap *tinfo; in seg6_do_srh() local
256 tinfo = seg6_encap_lwtunnel(dst->lwtstate); in seg6_do_srh()
258 switch (tinfo->mode) { in seg6_do_srh()
263 err = seg6_do_srh_inline(skb, tinfo->srh); in seg6_do_srh()
279 err = seg6_do_srh_encap(skb, tinfo->srh, proto); in seg6_do_srh()
297 err = seg6_do_srh_encap(skb, tinfo->srh, IPPROTO_ETHERNET); in seg6_do_srh()
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/ksmbd/
A Dauth.c380 struct target_info *tinfo; in ksmbd_build_ntlmssp_challenge_blob() local
442 tinfo = (struct target_info *)(target_name + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
448 tinfo->Type = cpu_to_le16(type); in ksmbd_build_ntlmssp_challenge_blob()
449 tinfo->Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
450 memcpy(tinfo->Content, name, uni_len); in ksmbd_build_ntlmssp_challenge_blob()
451 tinfo = (struct target_info *)((char *)tinfo + 4 + uni_len); in ksmbd_build_ntlmssp_challenge_blob()
456 tinfo->Type = 0; in ksmbd_build_ntlmssp_challenge_blob()
457 tinfo->Length = 0; in ksmbd_build_ntlmssp_challenge_blob()
/linux/net/netfilter/
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/
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()
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()
1885 ret = compat_table_info(&tinfo, &repl); in compat_copy_everything_to_user()
1898 tmp.num_counters, tinfo.nentries); in compat_copy_everything_to_user()
[all …]
/linux/drivers/nvme/target/
A Dfcloop.c1409 struct nvmet_fc_port_info tinfo; in fcloop_create_target_port() local
1416 tinfo.node_name = nport->node_name; in fcloop_create_target_port()
1417 tinfo.port_name = nport->port_name; in fcloop_create_target_port()
1418 tinfo.port_id = nport->port_id; in fcloop_create_target_port()
1420 ret = nvmet_fc_register_targetport(&tinfo, &tgttemplate, NULL, in fcloop_create_target_port()
/linux/drivers/net/wireless/ath/ath9k/
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()

Completed in 81 milliseconds

12