Lines Matching full:stmp
329 struct sigwork_entry *stmp; in main() local
363 SLIST_FOREACH(stmp, &swhead, sw_nextp) in main()
364 do_sigwork(stmp); in main()
393 stmp = SLIST_FIRST(&swhead); in main()
395 free(stmp); in main()
2293 struct sigwork_entry *sprev, *stmp; in save_sigwork() local
2299 SLIST_FOREACH(stmp, &swhead, sw_nextp) { in save_sigwork()
2300 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname); in save_sigwork()
2304 if (ent->sig == stmp->sw_signum) in save_sigwork()
2306 if (ent->sig > stmp->sw_signum) { in save_sigwork()
2311 sprev = stmp; in save_sigwork()
2313 if (stmp != NULL && ndiff == 0) in save_sigwork()
2314 return (stmp); in save_sigwork()
2317 stmp = malloc(tmpsiz); in save_sigwork()
2319 stmp->sw_runcmd = 0; in save_sigwork()
2322 stmp->sw_pid = -1; in save_sigwork()
2323 stmp->sw_pidok = 0; in save_sigwork()
2324 stmp->sw_runcmd = 1; in save_sigwork()
2326 set_swpid(stmp, ent); in save_sigwork()
2328 stmp->sw_signum = ent->sig; in save_sigwork()
2329 strcpy(stmp->sw_fname, ent->pid_cmd_file); in save_sigwork()
2331 SLIST_INSERT_HEAD(&swhead, stmp, sw_nextp); in save_sigwork()
2333 SLIST_INSERT_AFTER(sprev, stmp, sw_nextp); in save_sigwork()
2334 return (stmp); in save_sigwork()