Home | History | Annotate | Download | only in machine

Lines Matching defs:top_proc

90 struct top_proc
101 struct top_proc *next;
211 static struct top_proc **pactive;
212 static struct top_proc **nextactive;
270 update_procname(struct top_proc *proc, char *cmd)
289 * top_proc structure is freed, it is added to a freelist and reused.
292 static struct top_proc *freelist = NULL;
293 static struct top_proc *procblock = NULL;
294 static struct top_proc *procmax = NULL;
296 static struct top_proc *
299 struct top_proc *p;
316 p = procblock = (struct top_proc *)calloc(PROCBLOCK_SIZE,
317 sizeof(struct top_proc));
332 free_proc(struct top_proc *proc)
433 pactive = (struct top_proc **)malloc(sizeof(struct top_proc *) * INITIAL_ACTIVE_SIZE);
679 read_one_proc_stat(pid_t pid, pid_t taskpid, struct top_proc *proc, struct process_select *sel)
839 struct top_proc *proc;
840 struct top_proc *taskproc;
867 ((struct top_proc *)(hi->value))->state = 0;
874 ((struct top_proc *)(hi->value))->state = 0;
885 struct top_proc **active;
1011 pactive = (struct top_proc **)realloc(pactive,
1012 sizeof(struct top_proc *) * total_procs);
1021 proc = (struct top_proc *)(hi->value);
1066 qsort(pactive, si->p_active, sizeof(struct top_proc *),
1109 struct top_proc *p = *nextactive++;
1199 struct top_proc **pp1,
1200 struct top_proc **pp2)
1202 register struct top_proc *p1;
1203 register struct top_proc *p2;
1226 struct top_proc **pp1,
1227 struct top_proc **pp2)
1229 register struct top_proc *p1;
1230 register struct top_proc *p2;
1253 struct top_proc **pp1,
1254 struct top_proc **pp2)
1256 register struct top_proc *p1;
1257 register struct top_proc *p2;
1280 struct top_proc **pp1,
1281 struct top_proc **pp2)
1283 register struct top_proc *p1;
1284 register struct top_proc *p2;
1308 struct top_proc **pp1,
1309 struct top_proc **pp2)
1311 register struct top_proc *p1;
1312 register struct top_proc *p2;