/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_001_pos.ksh | 101 pidlist="$pidlist $($MKBUSY \ 104 "(pidlist: $pidlist)" 105 [[ -z $pidlist ]] && \ 112 pidlist="$pidlist $($MKBUSY \ 115 "(pidlist: $pidlist)" 116 [[ -z $pidlist ]] && \ 123 pidlist="$pidlist $($MKBUSY \ 126 "(pidlist: $pidlist)" 127 [[ -z $pidlist ]] && \ 136 pidlist="$pidlist $($MKBUSY $mpt_dir)" [all …]
|
H A D | zfs_destroy_005_neg.ksh | 104 pidlist=$($MKBUSY $mntpt/$TESTFILE0) 105 log_note "$MKBUSY $mntpt/$TESTFILE0 (pidlist: $pidlist)" 106 [[ -z $pidlist ]] && log_fail "Failure from mkbusy" 141 log_must $KILL $pidlist 143 pidlist="" 153 pidlist=$($MKBUSY $TESTDIR1/$TESTFILE0) 154 log_note "$MKBUSY $TESTDIR1/$TESTFILE0 (pidlist: $pidlist)" 155 [[ -z $pidlist ]] && log_fail "Failure from mkbusy" 184 log_must $KILL $pidlist 186 pidlist="" [all …]
|
/titanic_50/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 143 char **pidlist; in main() local 214 pidlist = argv + optind; in main() 250 pidlist = &curpid_ptr; in main() 260 return (do_processes(npids, pidlist)); in main() 317 do_processes(int npids, char **pidlist) in do_processes() argument 328 pid = strtol(*pidlist, &next, 10); in do_processes() 329 if (*next != '\0' || !isdigit(**pidlist)) { in do_processes() 332 *pidlist); in do_processes() 337 perror(*pidlist); in do_processes() 343 *pidlist, process_path, content_str); in do_processes() [all …]
|
/titanic_50/usr/src/cmd/priocntl/ |
H A D | sdcpriocntl.c | 110 pid_t *pidlist; in main() local 119 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) { in main() 127 (void) printf("%7ld\n", pidlist[i]); in main() 130 free_pidlist(pidlist); in main()
|
H A D | fsspriocntl.c | 219 pid_t *pidlist; in print_fssprocs() local 230 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) in print_fssprocs() 240 (void) printf("%7ld", pidlist[i]); in print_fssprocs() 241 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FSS", in print_fssprocs() 249 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fssprocs() 267 free_pidlist(pidlist); in print_fssprocs()
|
H A D | tspriocntl.c | 235 pid_t *pidlist; in print_tsprocs() local 246 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) in print_tsprocs() 256 (void) printf("%7ld", pidlist[i]); in print_tsprocs() 257 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "TS", TS_KY_UPRI, in print_tsprocs() 264 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_tsprocs() 281 free_pidlist(pidlist); in print_tsprocs()
|
H A D | subr.c | 467 pid_t *pidlist = NULL; in read_pidlist() local 472 if ((pidlist = (pid_t *)realloc(pidlist, in read_pidlist() 476 nitems = fread(pidlist + *npidsp, sizeof (pid_t), NPIDS, filep); in read_pidlist() 483 return (pidlist); in read_pidlist() 488 free_pidlist(pid_t *pidlist) in free_pidlist() argument 490 free(pidlist); in free_pidlist()
|
H A D | iapriocntl.c | 253 pid_t *pidlist; in print_iaprocs() local 265 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) in print_iaprocs() 275 (void) printf("%7ld", pidlist[i]); in print_iaprocs() 276 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "IA", in print_iaprocs() 284 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_iaprocs() 301 free_pidlist(pidlist); in print_iaprocs()
|
H A D | rtpriocntl.c | 275 pid_t *pidlist; in print_rtprocs() local 288 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) in print_rtprocs() 298 (void) printf("%7ld", pidlist[i]); in print_rtprocs() 299 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "RT", in print_rtprocs() 314 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_rtprocs() 332 free_pidlist(pidlist); in print_rtprocs()
|
H A D | fxpriocntl.c | 271 pid_t *pidlist; in print_fxprocs() local 285 if ((pidlist = read_pidlist(&numread, stdin)) == NULL) in print_fxprocs() 296 (void) printf("%7ld", pidlist[i]); in print_fxprocs() 297 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FX", in print_fxprocs() 313 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fxprocs() 331 free_pidlist(pidlist); in print_fxprocs()
|
/titanic_50/usr/src/cmd/sulogin/ |
H A D | sulogin.c | 107 static pid_t pidlist[10]; variable 302 pidlist[nchild++] = originalpid; in main() 341 pidlist[nchild++] = pid; in main() 402 pidlist[nchild++] = pid; in doit() 755 if (pidlist[i] != si->__data.__proc.__pid) in parenthandler() 756 (void) sigsend(P_PID, pidlist[i], SIGTERM); in parenthandler() 781 if (pidlist[i] != getppid()) in childcleanup() 782 (void) sigsend(P_PID, pidlist[i], SIGHUP); in childcleanup()
|
/titanic_50/usr/src/cmd/tnf/prex/ |
H A D | prexgram.y | 111 %type <pidlistval> pidlist 310 | PFILTER ADD pidlist NL 312 | PFILTER DELETE pidlist NL 353 pidlist : pidlist COMMA singlepid
|
/titanic_50/usr/src/cmd/latencytop/common/ |
H A D | display.c | 343 print_taskbar_process(pid_t *pidlist, int pidlist_len, int pidlist_index) in print_taskbar_process() argument 369 const char *pname = lt_stat_proc_get_name(pidlist[i]); in print_taskbar_process() 375 "<%d>", pidlist[i]); in print_taskbar_process() 412 print_taskbar_thread(pid_t *pidlist, id_t *tidlist, int list_len, in print_taskbar_thread() argument 443 if (pidlist[i] != last_pid) { in print_taskbar_thread() 444 pname = lt_stat_proc_get_name(pidlist[i]); in print_taskbar_thread() 445 last_pid = pidlist[i]; in print_taskbar_thread() 459 "<%d>", pidlist[i]); in print_taskbar_thread()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | utssys.c | 317 pid_t npids, pidx, *pidlist; in dofusers() local 337 pidlist = kmem_alloc(v_proc * sizeof (pid_t), KM_SLEEP); in dofusers() 341 pidlist[npids++] = prp->p_pid; in dofusers() 353 pid_t pid = pidlist[pidx]; in dofusers() 618 kmem_free(pidlist, v_proc * sizeof (pid_t)); in dofusers()
|
/titanic_50/usr/src/cmd/init/ |
H A D | init.c | 404 static struct pidlist { struct 408 struct pidlist *pl_next; /* Next in list */ argument 2366 struct pidlist *pp; in childeath_single() 3620 struct pidlist *plp; in sigpoll() 3621 struct pidlist *tp, *savetp; in sigpoll() 3646 plp = (struct pidlist *)calloc(DELTA, in sigpoll() 3647 sizeof (struct pidlist)); in sigpoll() 3753 struct pidlist *savep, *p; in cleanaux()
|