Lines Matching refs:stmp
314 struct sigwork_entry *stmp;
348 SLIST_FOREACH(stmp, &swhead, sw_nextp)
349 do_sigwork(stmp);
378 stmp = SLIST_FIRST(&swhead);
380 free(stmp);
2116 struct sigwork_entry *sprev, *stmp;
2122 SLIST_FOREACH(stmp, &swhead, sw_nextp) {
2123 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname);
2127 if (ent->sig == stmp->sw_signum)
2129 if (ent->sig > stmp->sw_signum) {
2134 sprev = stmp;
2136 if (stmp != NULL && ndiff == 0)
2137 return (stmp);
2140 stmp = malloc(tmpsiz);
2142 stmp->sw_runcmd = 0;
2145 stmp->sw_pid = -1;
2146 stmp->sw_pidok = 0;
2147 stmp->sw_runcmd = 1;
2149 set_swpid(stmp, ent);
2151 stmp->sw_signum = ent->sig;
2152 strcpy(stmp->sw_fname, ent->pid_cmd_file);
2154 SLIST_INSERT_HEAD(&swhead, stmp, sw_nextp);
2156 SLIST_INSERT_AFTER(sprev, stmp, sw_nextp);
2157 return (stmp);