Lines Matching refs:inst_num
240 int inst_num = -1; in print_evt() local
261 inst_num = atoi(value); in print_evt()
275 if ((cnt_ksp = kstat_lookup(kc, device, inst_num, "counters")) in print_evt()
303 if ((pic_ksp = find_pic_kstat(device, inst_num, in print_evt()
617 add_dev_node(char *dev_name, int inst_num) in add_dev_node() argument
627 inst_num, "counters")) == NULL) { in add_dev_node()
630 dev_name, inst_num); in add_dev_node()
657 if (find_dev_node(dev_name, inst_num, pic_num) != NULL) { in add_dev_node()
666 new_dev_node->dev_inst = inst_num; in add_dev_node()
671 if ((pic_ksp = find_pic_kstat(dev_name, inst_num, in add_dev_node()
691 } else if (find_dev_node(dev_name, inst_num, pic_num) == NULL) { in add_dev_node()
1390 find_dev_node(char *name, int inst_num, int pic_num) in find_dev_node() argument
1398 (curr_node->dev_inst == inst_num) && in find_dev_node()
1437 find_pic_kstat(char *dev_name, int inst_num, char *pic) in find_pic_kstat() argument
1443 if ((p_ksp = kstat_lookup(kc, dev_name, inst_num, pic)) == NULL) { in find_pic_kstat()