/linux/kernel/bpf/ |
A D | bpf_iter.c | 18 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 D | irq.c | 62 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 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/net/bridge/ |
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), 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 D | br_netlink_tunnel.c | 32 __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 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()
|
A D | br_private_tunnel.h | 20 struct vtunnel_info *tinfo);
|
/linux/drivers/scsi/aic7xxx/ |
A D | aic79xx_proc.c | 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() 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 D | aic79xx_osm.c | 614 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 D | aic7xxx_proc.c | 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() 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 D | aic7xxx_osm.c | 1180 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 D | aic7xxx_core.c | 2382 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 D | aic79xx_core.c | 3769 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 D | test_kmem.c | 99 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 D | ip_vs_sync.c | 1734 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 D | user_exp_rcv.c | 247 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 D | file_ops.c | 1300 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 D | user_exp_rcv.h | 52 struct hfi1_tid_info *tinfo); 54 struct hfi1_tid_info *tinfo); 56 struct hfi1_tid_info *tinfo);
|
/linux/net/ipv6/ |
A D | seg6_iptunnel.c | 253 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 D | rpl_iptunnel.c | 192 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 D | auth.c | 380 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 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/ |
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() 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 D | fcloop.c | 1409 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 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()
|