Lines Matching refs:p

214 	char *p;  in ia64_mca_printk()  local
226 for (p = temp_buf; *p; p++) { in ia64_mca_printk()
229 mlogbuf[mlogbuf_end] = *p; in ia64_mca_printk()
249 char *p; in ia64_mlogbuf_dump() local
257 p = temp_buf; in ia64_mlogbuf_dump()
264 *p = mlogbuf[index]; in ia64_mlogbuf_dump()
266 if (!*p) in ia64_mlogbuf_dump()
268 p++; in ia64_mlogbuf_dump()
272 *p = '\0'; in ia64_mlogbuf_dump()
877 char *p, comm[sizeof(current->comm)]; in ia64_mca_modify_comm() local
883 if ((p = strchr(previous_current->comm, ' '))) in ia64_mca_modify_comm()
884 l = p - previous_current->comm; in ia64_mca_modify_comm()
971 char *p; in ia64_mca_modify_original_stack() local
992 if ((p = strchr(current->comm, ' '))) in ia64_mca_modify_original_stack()
993 *p = '\0'; in ia64_mca_modify_original_stack()
1064 va.p = old_bspstore; in ia64_mca_modify_original_stack()
1086 p = (char *)r12 - sizeof(*regs); in ia64_mca_modify_original_stack()
1087 old_regs = (struct pt_regs *)p; in ia64_mca_modify_original_stack()
1109 p -= sizeof(struct switch_stack); in ia64_mca_modify_original_stack()
1110 old_sw = (struct switch_stack *)p; in ia64_mca_modify_original_stack()
1123 previous_current->thread.ksp = (u64)p - 16; in ia64_mca_modify_original_stack()
1228 struct ia64_tr_entry *p; in mca_insert_tr() local
1237 p = ia64_idtrs[cpu] + (iord - 1) * IA64_TR_ALLOC_MAX; in mca_insert_tr()
1238 if (p->pte & 0x1) { in mca_insert_tr()
1239 old_rr = ia64_get_rr(p->ifa); in mca_insert_tr()
1240 if (old_rr != p->rr) { in mca_insert_tr()
1241 ia64_set_rr(p->ifa, p->rr); in mca_insert_tr()
1244 ia64_ptr(iord, p->ifa, p->itir >> 2); in mca_insert_tr()
1247 ia64_itr(0x1, i, p->ifa, p->pte, p->itir >> 2); in mca_insert_tr()
1251 ia64_itr(0x2, i, p->ifa, p->pte, p->itir >> 2); in mca_insert_tr()
1254 if (old_rr != p->rr) { in mca_insert_tr()
1255 ia64_set_rr(p->ifa, old_rr); in mca_insert_tr()
1781 struct task_struct *p = (struct task_struct *)((char *)mca_data + offset); in format_mca_init_stack() local
1783 memset(p, 0, KERNEL_STACK_SIZE); in format_mca_init_stack()
1784 ti = task_thread_info(p); in format_mca_init_stack()
1787 ti->task = p; in format_mca_init_stack()
1789 p->stack = ti; in format_mca_init_stack()
1790 p->__state = TASK_UNINTERRUPTIBLE; in format_mca_init_stack()
1791 cpumask_set_cpu(cpu, &p->cpus_mask); in format_mca_init_stack()
1792 INIT_LIST_HEAD(&p->tasks); in format_mca_init_stack()
1793 p->parent = p->real_parent = p->group_leader = p; in format_mca_init_stack()
1794 INIT_LIST_HEAD(&p->children); in format_mca_init_stack()
1795 INIT_LIST_HEAD(&p->sibling); in format_mca_init_stack()
1796 strscpy(p->comm, type, sizeof(p->comm)-1); in format_mca_init_stack()