Lines Matching defs:stmp
307 struct sigwork_entry *stmp;
341 SLIST_FOREACH(stmp, &swhead, sw_nextp)
342 do_sigwork(stmp);
371 stmp = SLIST_FIRST(&swhead);
373 free(stmp);
2153 struct sigwork_entry *sprev, *stmp;
2159 SLIST_FOREACH(stmp, &swhead, sw_nextp) {
2160 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname);
2164 if (ent->sig == stmp->sw_signum)
2166 if (ent->sig > stmp->sw_signum) {
2171 sprev = stmp;
2173 if (stmp != NULL && ndiff == 0)
2174 return (stmp);
2177 stmp = malloc(tmpsiz);
2179 stmp->sw_runcmd = 0;
2182 stmp->sw_pid = -1;
2183 stmp->sw_pidok = 0;
2184 stmp->sw_runcmd = 1;
2186 set_swpid(stmp, ent);
2188 stmp->sw_signum = ent->sig;
2189 strcpy(stmp->sw_fname, ent->pid_cmd_file);
2191 SLIST_INSERT_HEAD(&swhead, stmp, sw_nextp);
2193 SLIST_INSERT_AFTER(sprev, stmp, sw_nextp);
2194 return (stmp);