/linux-4.4.14/arch/sh/kernel/ |
D | irq.c | 60 struct thread_info tinfo; member 87 irqctx->tinfo.task = curctx->tinfo.task; in handle_one_irq() 88 irqctx->tinfo.previous_sp = current_stack_pointer; in handle_one_irq() 94 irqctx->tinfo.preempt_count = in handle_one_irq() 95 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in handle_one_irq() 96 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in handle_one_irq() 126 irqctx->tinfo.task = NULL; in irq_ctx_init() 127 irqctx->tinfo.cpu = cpu; in irq_ctx_init() 128 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init() 129 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init() [all …]
|
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() 80 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
|
/linux-4.4.14/arch/metag/kernel/ |
D | irq.c | 20 struct thread_info tinfo; member 81 irqctx->tinfo.task = curctx->tinfo.task; in do_IRQ() 87 irqctx->tinfo.preempt_count = in do_IRQ() 88 (irqctx->tinfo.preempt_count & ~SOFTIRQ_MASK) | in do_IRQ() 89 (curctx->tinfo.preempt_count & SOFTIRQ_MASK); in do_IRQ() 132 irqctx->tinfo.task = NULL; in irq_ctx_init() 133 irqctx->tinfo.cpu = cpu; in irq_ctx_init() 134 irqctx->tinfo.preempt_count = HARDIRQ_OFFSET; in irq_ctx_init() 135 irqctx->tinfo.addr_limit = MAKE_MM_SEG(0); in irq_ctx_init() 140 irqctx->tinfo.task = NULL; in irq_ctx_init() [all …]
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
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 …]
|
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 …]
|
D | aic79xx_osm.c | 616 struct ahd_initiator_tinfo *tinfo; in ahd_linux_target_alloc() local 629 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_target_alloc() 645 spi_min_period(starget) = tinfo->user.period; in ahd_linux_target_alloc() 646 spi_max_offset(starget) = tinfo->user.offset; in ahd_linux_target_alloc() 649 tinfo = ahd_fetch_transinfo(ahd, channel, ahd->our_id, in ahd_linux_target_alloc() 790 struct ahd_initiator_tinfo *tinfo; in ahd_linux_dev_reset() local 831 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_dev_reset() 845 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_dev_reset() 1305 struct ahd_initiator_tinfo *tinfo; in ahd_linux_initialize_scsi_bus() local 1308 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_initialize_scsi_bus() [all …]
|
D | aic7xxx_osm.c | 567 struct ahc_initiator_tinfo *tinfo; in ahc_linux_target_alloc() local 616 tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, in ahc_linux_target_alloc() 1181 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local 1195 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus() 1200 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus() 1427 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local 1483 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command() 1486 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command() 1487 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command() 1615 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local [all …]
|
D | aic7xxx_core.c | 1062 struct ahc_transinfo *tinfo; in ahc_handle_seqint() local 1079 tinfo = &targ_info->curr; in ahc_handle_seqint() 1102 if (tinfo->protocol_version <= SCSI_REV_2 in ahc_handle_seqint() 1872 struct ahc_initiator_tinfo *tinfo; in ahc_handle_scsiint() local 1879 tinfo = ahc_fetch_transinfo(ahc, in ahc_handle_scsiint() 1884 tinfo->curr.transport_version = 2; in ahc_handle_scsiint() 1885 tinfo->goal.transport_version = 2; in ahc_handle_scsiint() 1886 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint() 2217 struct ahc_initiator_tinfo *tinfo, in ahc_devlimited_syncrate() argument 2248 transinfo = &tinfo->user; in ahc_devlimited_syncrate() [all …]
|
D | aic79xx_core.c | 130 struct ahd_transinfo *tinfo); 1919 struct ahd_transinfo *tinfo; in ahd_handle_seqint() local 1952 tinfo = &targ_info->curr; in ahd_handle_seqint() 3135 struct ahd_initiator_tinfo *tinfo; in ahd_handle_nonpkt_busfree() local 3152 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel, in ahd_handle_nonpkt_busfree() 3155 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ)!=0) { in ahd_handle_nonpkt_busfree() 3171 tinfo->curr.transport_version = 2; in ahd_handle_nonpkt_busfree() 3172 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree() 3173 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree() 3698 struct ahd_initiator_tinfo *tinfo, in ahd_devlimited_syncrate() argument [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | dumpstack.c | 45 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument 54 task = tinfo->task; in print_ftrace_graph_addr() 71 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument 82 static inline int valid_stack_ptr(struct thread_info *tinfo, in valid_stack_ptr() argument 85 void *t = tinfo; in valid_stack_ptr() 96 print_context_stack(struct thread_info *tinfo, in print_context_stack() argument 103 while (valid_stack_ptr(tinfo, stack, sizeof(*stack), end)) { in print_context_stack() 115 print_ftrace_graph_addr(addr, data, ops, tinfo, graph); in print_context_stack() 124 print_context_stack_bp(struct thread_info *tinfo, in print_context_stack_bp() argument 132 while (valid_stack_ptr(tinfo, ret_addr, sizeof(*ret_addr), end)) { in print_context_stack_bp() [all …]
|
D | dumpstack_64.c | 156 struct thread_info *tinfo; in dump_trace() local 182 tinfo = task_thread_info(task); in dump_trace() 205 bp = ops->walk_stack(tinfo, stack, bp, ops, in dump_trace() 221 bp = ops->walk_stack(tinfo, stack, bp, in dump_trace() 243 bp = ops->walk_stack(tinfo, stack, bp, ops, data, NULL, &graph); in dump_trace()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | process.c | 111 static inline int valid_stack_ptr(struct thread_info *tinfo, unsigned long p) in valid_stack_ptr() argument 113 return (p > (unsigned long)tinfo) in valid_stack_ptr() 114 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr() 122 struct thread_info *tinfo; in show_trace_log_lvl() local 136 tinfo = task_thread_info(tsk); in show_trace_log_lvl() 138 while (valid_stack_ptr(tinfo, fp)) { in show_trace_log_lvl() 182 struct thread_info *tinfo; in show_stack_log_lvl() local 188 sp = (unsigned long)&tinfo; in show_stack_log_lvl() 193 tinfo = task_thread_info(tsk); in show_stack_log_lvl() 195 if (valid_stack_ptr(tinfo, sp)) { in show_stack_log_lvl() [all …]
|
/linux-4.4.14/arch/avr32/oprofile/ |
D | backtrace.c | 28 static inline int valid_stack_ptr(struct thread_info *tinfo, unsigned long p) in valid_stack_ptr() argument 30 return (p > (unsigned long)tinfo) in valid_stack_ptr() 31 && (p < (unsigned long)tinfo + THREAD_SIZE - 3); in valid_stack_ptr()
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 1683 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_master() local 1684 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_master() 1685 struct ipvs_master_sync_state *ms = &ipvs->ms[tinfo->id]; in sync_thread_master() 1686 struct sock *sk = tinfo->sock->sk; in sync_thread_master() 1691 ipvs->mcfg.mcast_ifn, ipvs->mcfg.syncid, tinfo->id); in sync_thread_master() 1701 while (ip_vs_send_sync_msg(tinfo->sock, sb->mesg) < 0) { in sync_thread_master() 1730 sock_release(tinfo->sock); in sync_thread_master() 1731 kfree(tinfo); in sync_thread_master() 1739 struct ip_vs_sync_thread_data *tinfo = data; in sync_thread_backup() local 1740 struct netns_ipvs *ipvs = tinfo->ipvs; in sync_thread_backup() [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | stacktrace.h | 17 typedef unsigned long (*walk_stack_t)(struct thread_info *tinfo, 26 print_context_stack(struct thread_info *tinfo, 32 print_context_stack_bp(struct thread_info *tinfo,
|
/linux-4.4.14/net/netfilter/ |
D | xt_NFQUEUE.c | 33 const struct xt_NFQ_info *tinfo = par->targinfo; in nfqueue_tg() local 35 return NF_QUEUE_NR(tinfo->queuenum); in nfqueue_tg()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | file_ops.c | 212 struct hfi1_tid_info tinfo; in hfi1_file_write() local 248 copy = sizeof(tinfo); in hfi1_file_write() 249 dest = &tinfo; in hfi1_file_write() 326 ret = exp_tid_setup(fp, &tinfo); in hfi1_file_write() 337 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in hfi1_file_write() 338 sizeof(tinfo.tidcnt) + in hfi1_file_write() 339 sizeof(tinfo.length))) in hfi1_file_write() 344 ret = exp_tid_free(fp, &tinfo); in hfi1_file_write() 1568 static int exp_tid_setup(struct file *fp, struct hfi1_tid_info *tinfo) in exp_tid_setup() argument 1581 vaddr = tinfo->vaddr; in exp_tid_setup() [all …]
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | traps.c | 44 static inline int valid_stack_ptr(struct thread_info *tinfo, void *p) in valid_stack_ptr() argument 46 return p > (void *)tinfo && p < (void *)tinfo + THREAD_SIZE - 3; in valid_stack_ptr()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebtables.c | 1802 struct ebt_table_info tinfo; in compat_copy_everything_to_user() local 1806 memset(&tinfo, 0, sizeof(tinfo)); in compat_copy_everything_to_user() 1809 tinfo.entries_size = t->private->entries_size; in compat_copy_everything_to_user() 1810 tinfo.nentries = t->private->nentries; in compat_copy_everything_to_user() 1811 tinfo.entries = t->private->entries; in compat_copy_everything_to_user() 1814 tinfo.entries_size = t->table->entries_size; in compat_copy_everything_to_user() 1815 tinfo.nentries = t->table->nentries; in compat_copy_everything_to_user() 1816 tinfo.entries = t->table->entries; in compat_copy_everything_to_user() 1823 if (tmp.nentries != tinfo.nentries || in compat_copy_everything_to_user() 1824 (tmp.num_counters && tmp.num_counters != tinfo.nentries)) in compat_copy_everything_to_user() [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
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-4.4.14/drivers/rapidio/devices/ |
D | tsi721_dma.c | 759 void *tinfo) in tsi721_prep_rio_sg() argument 763 struct rio_dma_ext *rext = tinfo; in tsi721_prep_rio_sg()
|