Lines Matching refs:stmp
297 struct sigwork_entry *stmp;
331 SLIST_FOREACH(stmp, &swhead, sw_nextp)
332 do_sigwork(stmp);
359 stmp = SLIST_FIRST(&swhead);
361 free(stmp);
2082 struct sigwork_entry *sprev, *stmp;
2088 SLIST_FOREACH(stmp, &swhead, sw_nextp) {
2089 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname);
2093 if (ent->sig == stmp->sw_signum)
2095 if (ent->sig > stmp->sw_signum) {
2100 sprev = stmp;
2102 if (stmp != NULL && ndiff == 0)
2103 return (stmp);
2106 stmp = malloc(tmpsiz);
2108 stmp->sw_runcmd = 0;
2111 stmp->sw_pid = -1;
2112 stmp->sw_pidok = 0;
2113 stmp->sw_runcmd = 1;
2115 set_swpid(stmp, ent);
2117 stmp->sw_signum = ent->sig;
2118 strcpy(stmp->sw_fname, ent->pid_cmd_file);
2120 SLIST_INSERT_HEAD(&swhead, stmp, sw_nextp);
2122 SLIST_INSERT_AFTER(sprev, stmp, sw_nextp);
2123 return (stmp);