Lines Matching defs:nobj
57 static int sn_hwperf_enum_objects(int *nobj, struct sn_hwperf_object_info **ret)
83 *nobj = sn_hwperf_obj_cnt;
211 int nobj, int id)
216 for (i=0; i < nobj; i++, p++) {
226 int nobj, cnodeid_t node, cnodeid_t *near_mem_node, cnodeid_t *near_cpu_node)
258 for (i=0, op=objbuf; i < nobj; i++, op++) {
285 dest = sn_hwperf_findobj_id(objbuf, nobj, ptdata[j].conn_id);
318 dest = sn_hwperf_findobj_id(objbuf, nobj,
344 for (i=0, op=objbuf; i < nobj; i++, op++) {
694 int nobj;
748 if ((r = sn_hwperf_enum_objects(&nobj, &objs)) == 0) {
750 for (i = 0; i < nobj; i++) {
792 if ((r = sn_hwperf_enum_objects(&nobj, &objs)) == 0) {
793 if (a.arg >= nobj) {
799 for (i = 0; i < nobj; i++) {
804 if (i == nobj) {
942 int nobj;
944 if ((e = sn_hwperf_enum_objects(&nobj, &objbuf)) == 0) {
965 int nobj;
968 if ((e = sn_hwperf_enum_objects(&nobj, &objbuf)) == 0) {
969 e = sn_hwperf_get_nearest_node_objdata(objbuf, nobj,