Lines Matching defs:argp
762 proccmp(proc_t *pp, struct pcmpargs *argp)
776 (*argp->pcmp_cntp)++; /* Increment count of procs in the set */
778 if (*argp->pcmp_cidp == PC_CLNULL) {
784 *argp->pcmp_cidp = pp->p_tlist->t_cid;
788 if (tx->t_cid == *argp->pcmp_cidp) {
800 if (*argp->pcmp_retthreadp == NULL) {
805 *argp->pcmp_retthreadp = ty;
807 tx = *argp->pcmp_retthreadp;
812 *argp->pcmp_retthreadp = ty;
827 threadcmp(struct pcmpargs *argp, kthread_t *tp)
834 (*argp->pcmp_cntp)++; /* Increment count of procs in the set */
835 if (*argp->pcmp_cidp == PC_CLNULL) {
841 *argp->pcmp_cidp = tp->t_cid;
843 if (tp->t_cid == *argp->pcmp_cidp) {
844 if (*argp->pcmp_retthreadp == NULL) {
848 *argp->pcmp_retthreadp = tp;
850 tx = *argp->pcmp_retthreadp;
865 *argp->pcmp_retthreadp = tp;