Lines Matching refs:clpids
322 classpids_t *clpids; in print_procs() local
384 if ((clpids = (classpids_t *)malloc(sizeof (classpids_t) * nclass)) == in print_procs()
394 (void) strncpy(clpids[cid].clp_clname, pcinfo.pc_clname, in print_procs()
402 clpids[cid].clp_pidlist = (pid_t *)NULL; in print_procs()
403 clpids[cid].clp_pidlistsz = 0; in print_procs()
404 clpids[cid].clp_npids = 0; in print_procs()
410 ids2pids(idtype, idlist, nids, clpids, nclass); in print_procs()
422 if (clpids[cid].clp_npids == 0) in print_procs()
427 CLASSPATH, clpids[cid].clp_clname, clpids[cid].clp_clname, in print_procs()
431 clpids[cid].clp_clname); in print_procs()
433 free(clpids[cid].clp_pidlist); in print_procs()
437 (void) printf("%s\n", clpids[cid].clp_clname); in print_procs()
440 clpids[cid].clp_clname); in print_procs()
442 free(clpids[cid].clp_pidlist); in print_procs()
445 (void) fwrite(clpids[cid].clp_pidlist, sizeof (pid_t), in print_procs()
446 clpids[cid].clp_npids, pipe_to_subcmd); in print_procs()
450 free(clpids[cid].clp_pidlist); in print_procs()
453 free(clpids); in print_procs()
794 ids2pids(idtype, idlist, nids, clpids, nclass) in ids2pids() argument
798 classpids_t *clpids;
877 add_pid_tolist(clpids, nclass,
886 add_pid_tolist(clpids, nclass,
895 add_pid_tolist(clpids, nclass,
904 add_pid_tolist(clpids, nclass,
912 clname = clpids[idlist[i]].clp_clname;
915 add_pid_tolist(clpids, nclass,
924 add_pid_tolist(clpids, nclass,
933 add_pid_tolist(clpids, nclass,
942 add_pid_tolist(clpids, nclass,
951 add_pid_tolist(clpids, nclass,
960 add_pid_tolist(clpids, nclass,
969 add_pid_tolist(clpids, nclass,
976 add_pid_tolist(clpids, nclass, prinfo.pr_lwp.pr_clname,
995 add_pid_tolist(clpids, nclass, clname, pid) in add_pid_tolist() argument
996 classpids_t *clpids; in add_pid_tolist()
1003 for (clp = clpids; clp != &clpids[nclass]; clp++) {