Lines Matching refs:pfound

3601   const Hwcentry *pfound = NULL;
3612 pfound = ptrarray_find ((const Hwcentry**) cpcx_std[forKernel], nameOnly, NULL, 1, regno);
3613 if (pfound)
3615 pfound);
3617 if (!pfound)
3619 pfound = ptrarray_find ((const Hwcentry**) cpcx_hidden[forKernel], nameOnly, NULL, 1, regno);
3620 if (pfound)
3621 hwcentry_print (DBG_LT1, "hwctable: process_ctr_def: found in stdlist(hidden):", pfound);
3623 if (!pfound)
3625 pfound = ptrarray_find_by_name (cpcx_raw[forKernel], nameOnly); /* (regno match checked later) */
3626 if (pfound)
3627 hwcentry_print (DBG_LT1, "hwctable: process_ctr_def: found in rawlist:", pfound);
3629 if (!pfound)
3631 pfound = ptrarray_find ((const Hwcentry**) cpcx_std[forKernel], nameOnly, NULL, 1, REGNO_ANY);
3632 if (pfound)
3633 hwcentry_print (DBG_LT1, "hwctable: process_ctr_def: found in stdlist but regno didn't match:", pfound);
3635 if (!pfound)
3637 pfound = ptrarray_find ((const Hwcentry**) cpcx_hidden[forKernel], nameOnly, NULL, 1, REGNO_ANY);
3638 if (pfound)
3639 hwcentry_print (DBG_LT1, "hwctable: process_ctr_def: found in stdlist(hidden) but regno didn't match:", pfound);
3641 if (!pfound)
3651 pfound = tmp;
3654 if (pfound)
3655 hwcentry_print (DBG_LT1, "hwctable: process_ctr_def: counter specified by numeric value:", pfound);
3657 if (!pfound)
3668 *pret_ctr = *pfound; /* shallow copy */
3669 pret_ctr->int_name = NULL; /* so free doesn't try to free these pfound's ptrs */
3670 pret_ctr->name = NULL; /* so free doesn't try to free these pfound's ptrs */
3754 if (!regno_is_valid (pfound, regno))
3760 get_regnolist (buf, sizeof (buf), pfound->reg_list, 1));
3765 if (REG_LIST_EOL (pfound->reg_list[1]))
3768 pret_ctr->reg_num = pfound->reg_list[0];
3825 if (pfound->int_name)
3831 pret_ctr->int_name = strdup (pfound->int_name);
3836 size_t sz = strlen (pfound->int_name) + strlen (attrs) + 1;
3839 snprintf (tbuf, sz, "%s%s", pfound->int_name, attrs);
4112 const Hwcentry *pfound;
4121 pfound = static_table_find (stdlist_get_table (cpuver),
4123 if (!pfound) /* try the generic list */
4124 pfound = static_table_find (papi_generic_list,
4126 if (pfound)
4129 *pret_ctr = *pfound; /* shallow copy */
4174 if (pfound)