Lines Matching refs:objs
147 struct sn_hwperf_object_info *objs) in sn_hwperf_generic_ordinal() argument
152 for (ordinal=0, p=objs; p != obj; p++) { in sn_hwperf_generic_ordinal()
168 struct sn_hwperf_object_info *objs, int *ordinal) in sn_hwperf_get_slabname() argument
178 *ordinal = sn_hwperf_generic_ordinal(obj, objs); in sn_hwperf_get_slabname()
391 struct sn_hwperf_object_info *objs = s->private; /* all objects */ in sn_topology_show() local
402 if (obj == objs) { in sn_topology_show()
442 slabname = sn_hwperf_get_slabname(obj, objs, &ordinal); in sn_topology_show()
454 if (sn_hwperf_get_nearest_node_objdata(objs, sn_hwperf_obj_cnt, in sn_topology_show()
504 for (ordinal=0, p=objs; p != obj; p++) { in sn_topology_show()
509 for (p = objs, i = 0; i < sn_hwperf_obj_cnt; i++, p++) { in sn_topology_show()
553 struct sn_hwperf_object_info *objs = s->private; in sn_topology_start() local
556 return (void *)(objs + *pos); in sn_topology_start()
693 struct sn_hwperf_object_info *objs; in sn_hwperf_ioctl() local
749 if ((r = sn_hwperf_enum_objects(&nobj, &objs)) == 0) { in sn_hwperf_ioctl()
754 if (!SN_HWPERF_IS_NODE(objs + i)) in sn_hwperf_ioctl()
756 node = sn_hwperf_obj_to_cnode(objs + i); in sn_hwperf_ioctl()
771 "%s%c", objs[i].location, in sn_hwperf_ioctl()
776 vfree(objs); in sn_hwperf_ioctl()
795 if ((r = sn_hwperf_enum_objects(&nobj, &objs)) == 0) { in sn_hwperf_ioctl()
798 vfree(objs); in sn_hwperf_ioctl()
801 if (objs[i].id != a.arg) { in sn_hwperf_ioctl()
803 if (objs[i].id == a.arg) in sn_hwperf_ioctl()
809 vfree(objs); in sn_hwperf_ioctl()
813 if (!SN_HWPERF_IS_NODE(objs + i) && in sn_hwperf_ioctl()
814 !SN_HWPERF_IS_IONODE(objs + i)) { in sn_hwperf_ioctl()
816 vfree(objs); in sn_hwperf_ioctl()
820 *(u64 *)p = (u64)sn_hwperf_obj_to_cnode(objs + i); in sn_hwperf_ioctl()
821 vfree(objs); in sn_hwperf_ioctl()