Searched defs:lwps (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c42 static const char *lwps; variable
56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command);
57 (void) fprintf(stderr, " (set stopped processes or lwps "
75 PGRAB_RETAIN | PGRAB_NOSTOP, &gcode, &lwps)) == NULL) {
106 if (lwps != NULL) {
109 * lwp specification as a mask. We iterate over all lwps in the
114 * otherwise *all* lwps could be set running after detaching
115 * from the process and not only lwps, which were selected.
147 if (proc_lwp_in_set(lwps, info->pr_lwpid)) {
/illumos-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c42 static const char *lwps; variable
56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command);
58 " (stop processes or lwps with /proc request)\n");
75 PGRAB_NOSTOP | PGRAB_FORCE, &gcode, &lwps)) == NULL) {
79 } else if (lwps != NULL) {
82 * the lwp specification as a mask. We iterate over all lwps in
118 if (proc_lwp_in_set(lwps, info->pr_lwpid)) {
/illumos-gate/usr/src/cmd/truss/
H A Dipc.c184 gps->lwps[j] = lwplist;
221 const char *lwps; local
234 lwps = gps->lwps[i];
237 return (proc_lwp_in_set(lwps, lwpid));
H A Dramdata.h181 extern int truss_nlwp; /* number of truss lwps */
212 const char *lwps[1000]; /* optional lwp list */ member in struct:global_psinfo
H A Dmain.c58 * specified, then 'lwps' will be NULL.
62 const char *lwps; member in struct:proc_set
460 "\t[-o outfile] command | -p pid[/lwps] ...\n");
532 * victim process that has half a million lwps.
765 * lwps will not change in the process until we create all
806 * Create worker threads to match the lwps in the target process.
1335 * level, with all other lwps remaining stopped.
1336 * For this purpose, we have directed all lwps to
1341 * in truss will set any other lwps in the victim
2237 const char *lwps local
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_arg.c131 int *perr, const char **lwps, psinfo_t *psp)
140 if (lwps)
141 *lwps = NULL;
143 if (lwps != NULL && (slash = strrchr(arg, '/')) != NULL) {
154 *lwps = slash + 1;
156 if (proc_lwp_range_valid(*lwps) != 0) {
176 *lwps = slash + 1;
178 if (proc_lwp_range_valid(*lwps) != 0) {
244 int *perr, const char **lwps)
246 return (proc_grab_common(arg, path, oflag, gflag, perr, lwps, NUL
130 proc_grab_common(const char *arg, const char *path, int oflag, int gflag, int *perr, const char **lwps, psinfo_t *psp) argument
243 proc_arg_xgrab(const char *arg, const char *path, int oflag, int gflag, int *perr, const char **lwps) argument
270 proc_arg_xpsinfo(const char *arg, int oflag, psinfo_t *psp, int *perr, const char **lwps) argument
[all...]
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c405 lwpstatus_t *lwps; local
441 lwps = (lwpstatus_t *)(prh + 1);
445 pstatus->pr_pid, lwps->pr_lwpid, pctx->uarg) != 0)
448 lwps = (lwpstatus_t *)((char *)lwps + prh->pr_entsize);
715 * Reinstate the lwps we fini'd
/illumos-gate/usr/src/cmd/ptools/pflags/
H A Dpflags.c46 const char *lwps; member in struct:look_arg
106 "usage:\t%s [-r] { pid | core }[/lwps] ...\n", command);
148 &lookarg.lwps)) == NULL) {
244 (void) printf("No matching lwps found");
269 if (!proc_lwp_in_set(arg->lwps, pip->pr_lwpid))
/illumos-gate/usr/src/cmd/pbind/
H A Dpbind.c538 const char *lwps = (const char *)(++endstr); local
539 if (*lwps == '\0' ||
540 proc_lwp_range_valid(lwps) != 0) {
548 ret = do_lwps(pid, lwps, qflag ? PBIND_QUERY : cpu);
/illumos-gate/usr/src/cmd/psrset/
H A Dpsrset.c926 const char *lwps = (const char *)(++errptr); local
927 if (*lwps == '\0' ||
928 proc_lwp_range_valid(lwps) != 0) {
936 ret = do_lwps(pid, lwps, pset);
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c612 int lwps = 0; local
731 lwps++;
740 if (lwps != 0)
767 print_total(lwps, *data1, nreqs, cpc_setgrp_getname(accum));
/illumos-gate/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c132 const char *lwps; /* LWPs */ member in struct:plgrp_args
194 gettext("Usage:\t%s [-h] <pid> | <core> [/lwps] ...\n"), progname);
196 gettext("\t%s [-F] -a <lgroup list> <pid>[/lwps] ...\n"), progname);
199 " <pid>[/lwps] ...\n"), progname);
201 gettext("\t%s [-F] -H <lgroup list> <pid>[/lwps] ...\n"), progname);
1227 !proc_lwp_in_set(plgrp_args->lwps, lwpid))
1247 const char *lwps; local
1262 PR_ARG_ANY, force | PGRAB_RETAIN | PGRAB_NOSTOP, &error, &lwps);
1278 plgrp_todo->lwps = lwps;
[all...]
/illumos-gate/usr/src/cmd/ptools/pstack/
H A Dpstack.c131 const char *lwps; member in struct:pstack_handle
189 "usage:\t%s [-F] { pid | core }[/lwps] ...\n", command);
216 const char *lwps, *arg; local
223 Fflag, &gcode, &lwps)) == NULL) {
286 handle.lwps = lwps;
387 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid))
417 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid))
441 if (proc_lwp_in_set(h->lwps, status.pr_lwp.pr_lwpid)) {
459 if (!proc_lwp_in_set(h->lwps, ti
[all...]
/illumos-gate/usr/src/cmd/prstat/
H A Dprstat.c129 "Total: %d processes, %d lwps, load averages: %3.2f, %3.2f, %3.2f"
156 static uint_t total_lwps; /* total number of lwps */
160 static list_t lwps; /* list of lwps/processes */ variable
673 list_remove_lwp(&lwps, lwp_tmp);
873 lwp = list_add_lwp(&lwps, pid, lwpid);
887 lwp = list_add_lwp(&lwps, pid, lwpid);
1074 * This procedure removes all dead lwps from the linked list of all lwps.
1109 list_remove_lwp(&lwps, lw
[all...]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c1137 uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm,
1185 zone->zsz_lwps = lwps;
1198 sys->zss_lwps += lwps;
2204 uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm,
2233 *lwps = 0;
2289 vals[i++] = zsd_get_zone_rctl_limit("zone.max-lwps");
2290 vals[i++] = zsd_get_zone_rctl_usage("zone.max-lwps");
2334 *lwps = vals[i++];
2391 uint64_t lwps; local
2453 &lwps_cap, &lwps,
1134 zsd_mark_zone_found(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t cpu_shares, uint64_t cpu_cap, uint64_t ram_cap, uint64_t locked_cap, uint64_t vm_cap, uint64_t processes_cap, uint64_t processes, uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm, uint64_t shmids_cap, uint64_t shmids, uint64_t semids_cap, uint64_t semids, uint64_t msgids_cap, uint64_t msgids, uint64_t lofi_cap, uint64_t lofi, char *poolname, char *psetname, uint_t sched, uint_t cputype, uint_t iptype) argument
2201 zsd_get_zone_caps(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t *cpu_shares, uint64_t *cpu_cap, uint64_t *ram_cap, uint64_t *locked_cap, uint64_t *vm_cap, uint64_t *processes_cap, uint64_t *processes, uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm, uint64_t *shmids_cap, uint64_t *shmids, uint64_t *semids_cap, uint64_t *semids, uint64_t *msgids_cap, uint64_t *msgids, uint64_t *lofi_cap, uint64_t *lofi, uint_t *sched) argument
[all...]

Completed in 179 milliseconds