Lines Matching refs:clp
1001 classpids_t *clp; local
1003 for (clp = clpids; clp != &clpids[nclass]; clp++) {
1004 if (strcmp(clp->clp_clname, clname) == 0) {
1005 if (clp->clp_npids == clp->clp_pidlistsz)
1006 increase_pidlist(clp);
1008 (clp->clp_pidlist)[clp->clp_npids] = pid;
1009 clp->clp_npids++;
1017 increase_pidlist(classpids_t *clp) in increase_pidlist() argument
1019 if ((clp->clp_pidlist = realloc(clp->clp_pidlist, in increase_pidlist()
1020 (clp->clp_pidlistsz + NPIDS) * sizeof (pid_t))) == NULL) in increase_pidlist()
1026 clp->clp_pidlistsz += NPIDS; in increase_pidlist()