/openbmc/linux/arch/sh/kernel/ |
H 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 …]
|
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
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_iter.c | 300 tinfo = kzalloc(sizeof(*tinfo), GFP_KERNEL); in bpf_iter_reg_target() 301 if (!tinfo) in bpf_iter_reg_target() 323 kfree(tinfo); in bpf_iter_unreg_target() 353 tinfo = iter; in bpf_iter_prog_supported() 358 tinfo = iter; in bpf_iter_prog_supported() 364 if (tinfo) { in bpf_iter_prog_supported() 542 tinfo = iter; in bpf_iter_link_attach() 547 if (!tinfo) in bpf_iter_link_attach() 559 link->tinfo = tinfo; in bpf_iter_link_attach() 583 priv_data->tinfo = tinfo; in init_seq_meta() [all …]
|
/openbmc/qemu/bsd-user/ |
H A D | signal.c | 174 memset(&tinfo->_reason, 0, sizeof(tinfo->_reason)); in host_to_target_siginfo_noswap() 186 tinfo->si_signo = sig; in host_to_target_siginfo_noswap() 188 tinfo->si_code = info->si_code; in host_to_target_siginfo_noswap() 189 tinfo->si_pid = info->si_pid; in host_to_target_siginfo_noswap() 190 tinfo->si_uid = info->si_uid; in host_to_target_siginfo_noswap() 198 tinfo->si_value.sival_ptr = in host_to_target_siginfo_noswap() 322 tswap_siginfo(tinfo, tinfo); in host_to_target_siginfo() 484 target_siginfo_t tinfo; in host_signal_handler() local 557 k->info = tinfo; in host_signal_handler() 758 if (tinfo) { in setup_frame() [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H 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 …]
|
H 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 …]
|
H A D | aic79xx_osm.c | 614 struct ahd_initiator_tinfo *tinfo; in ahd_linux_target_alloc() local 772 struct ahd_initiator_tinfo *tinfo; in ahd_linux_dev_reset() local 1292 tinfo, AHD_NEG_ALWAYS); in ahd_linux_initialize_scsi_bus() 1686 if (tinfo->curr.period != tinfo->goal.period in ahd_send_async() 1687 || tinfo->curr.width != tinfo->goal.width in ahd_send_async() 1688 || tinfo->curr.offset != tinfo->goal.offset in ahd_send_async() 1689 || tinfo->curr.ppr_options != tinfo->goal.ppr_options) in ahd_send_async() 2372 struct ahd_initiator_tinfo *tinfo in ahd_linux_set_period() local 2425 struct ahd_initiator_tinfo *tinfo in ahd_linux_set_offset() local 2443 period = tinfo->goal.period; in ahd_linux_set_offset() [all …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
/openbmc/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), 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 …]
|
H 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() 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() 250 tinfo->vid = vid; in br_parse_vlan_tunnel_info() [all …]
|
/openbmc/qemu/linux-user/ |
H A D | signal.c | 341 tinfo->si_signo = sig; in host_to_target_siginfo_noswap() 342 tinfo->si_errno = 0; in host_to_target_siginfo_noswap() 343 tinfo->si_code = info->si_code; in host_to_target_siginfo_noswap() 351 memset(tinfo->_sifields._pad, 0, sizeof(tinfo->_sifields._pad)); in host_to_target_siginfo_noswap() 388 tinfo->_sifields._sigchld._status in host_to_target_siginfo_noswap() 422 __put_user(info->si_signo, &tinfo->si_signo); in tswap_siginfo() 424 __put_user(si_code, &tinfo->si_code); in tswap_siginfo() 478 tswap_siginfo(tinfo, &tgt_tmp); in host_to_target_siginfo() 492 __get_user(info->si_code, &tinfo->si_code); in target_to_host_siginfo() 960 target_siginfo_t tinfo; in host_signal_handler() local [all …]
|
H A D | fd-trans.c | 1645 if (tinfo->ssi_signo == SIGBUS && in host_to_target_signalfd_siginfo() 1646 (tinfo->ssi_code == BUS_MCEERR_AR || in host_to_target_signalfd_siginfo() 1647 tinfo->ssi_code == BUS_MCEERR_AO)) { in host_to_target_signalfd_siginfo() 1654 tinfo->ssi_signo = tswap32(sig); in host_to_target_signalfd_siginfo() 1655 tinfo->ssi_errno = tswap32(tinfo->ssi_errno); in host_to_target_signalfd_siginfo() 1657 tinfo->ssi_pid = tswap32(info->ssi_pid); in host_to_target_signalfd_siginfo() 1658 tinfo->ssi_uid = tswap32(info->ssi_uid); in host_to_target_signalfd_siginfo() 1659 tinfo->ssi_fd = tswap32(info->ssi_fd); in host_to_target_signalfd_siginfo() 1660 tinfo->ssi_tid = tswap32(info->ssi_tid); in host_to_target_signalfd_siginfo() 1665 tinfo->ssi_int = tswap32(info->ssi_int); in host_to_target_signalfd_siginfo() [all …]
|
H A D | strace.c | 223 __get_user(si_errno, &tinfo->si_errno); in get_target_siginfo() 226 tinfo->si_signo = sig; in get_target_siginfo() 227 tinfo->si_errno = si_errno; in get_target_siginfo() 228 tinfo->si_code = si_code; in get_target_siginfo() 231 memset(tinfo->_sifields._pad, 0, sizeof(tinfo->_sifields._pad)); in get_target_siginfo() 311 print_signal(tinfo->si_signo, 1); in print_siginfo() 323 tinfo->_sifields._timer._timer1, in print_siginfo() 324 tinfo->_sifields._timer._timer2); in print_siginfo() 328 tinfo->_sifields._sigpoll._band, in print_siginfo() 329 tinfo->_sifields._sigpoll._fd); in print_siginfo() [all …]
|
H A D | signal-common.h | 62 void host_to_target_siginfo(target_siginfo_t *tinfo, const siginfo_t *info); 63 void target_to_host_siginfo(siginfo_t *info, const target_siginfo_t *tinfo);
|
/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_kmem.c | 103 pthread_t *tinfo; in alloc_kmem_smp() local 107 tinfo = calloc(nr_threads, sizeof(pthread_t)); in alloc_kmem_smp() 108 if (tinfo == NULL) 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() local 253 tinfo = calloc(nr_threads, sizeof(pthread_t)); in spawn_1000_threads() 254 if (tinfo == NULL) in spawn_1000_threads() 260 free(tinfo); in spawn_1000_threads() [all …]
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1727 len = ip_vs_receive(tinfo->sock, tinfo->buf, in sync_thread_backup() 1855 tinfo = &ti[id]; in start_sync_thread() 1861 if (!tinfo->buf) in start_sync_thread() 1864 tinfo->id = id; in start_sync_thread() 1902 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in start_sync_thread() 1903 if (tinfo->task) in start_sync_thread() 1915 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in start_sync_thread() 1916 if (tinfo->sock) in start_sync_thread() 1969 tinfo = &ti[id]; in stop_sync_thread() 2006 for (tinfo = ti + id; tinfo >= ti; tinfo--) { in stop_sync_thread() [all …]
|
/openbmc/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() 463 tinfo->tidlist = 0; in hfi1_user_exp_rcv_setup() 484 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_clear() argument 511 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_clear() 551 tinfo->tidcnt = 0; in hfi1_user_exp_rcv_invalid() [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() 1351 sizeof(tinfo.tidcnt))) in user_exp_rcv_setup() 1356 sizeof(tinfo.length))) in user_exp_rcv_setup() 1383 if (sizeof(tinfo) != len) in user_exp_rcv_clear() 1386 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_clear() 1393 sizeof(tinfo.tidcnt))) in user_exp_rcv_clear() 1416 if (sizeof(tinfo) != len) in user_exp_rcv_invalid() 1422 if (copy_from_user(&tinfo, (void __user *)arg, (sizeof(tinfo)))) in user_exp_rcv_invalid() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/ncurses/files/ |
H A D | 0001-Fix-CVE-2023-29491.patch | 12 ncurses/tinfo/lib_tgoto.c | 10 +++- 14 ncurses/tinfo/read_entry.c | 3 + 21 diff --git a/ncurses/tinfo/lib_tgoto.c b/ncurses/tinfo/lib_tgoto.c 23 --- a/ncurses/tinfo/lib_tgoto.c 24 +++ b/ncurses/tinfo/lib_tgoto.c 41 diff --git a/ncurses/tinfo/lib_tparm.c b/ncurses/tinfo/lib_tparm.c 43 --- a/ncurses/tinfo/lib_tparm.c 44 +++ b/ncurses/tinfo/lib_tparm.c 210 diff --git a/ncurses/tinfo/read_entry.c b/ncurses/tinfo/read_entry.c 212 --- a/ncurses/tinfo/read_entry.c [all …]
|
/openbmc/linux/net/ipv6/ |
H A D | seg6_iptunnel.c | 377 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->srh, in seg6_do_srh()
|
/openbmc/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()
|
/openbmc/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()
|