Home
last modified time | relevance | path

Searched refs:lwps (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/lib/libproc/common/
H A Dproc_arg.c131 int *perr, const char **lwps, psinfo_t *psp) in proc_grab_common() argument
140 if (lwps) in proc_grab_common()
141 *lwps = NULL; in proc_grab_common()
143 if (lwps != NULL && (slash = strrchr(arg, '/')) != NULL) { in proc_grab_common()
154 *lwps = slash + 1; in proc_grab_common()
156 if (proc_lwp_range_valid(*lwps) != 0) { in proc_grab_common()
176 *lwps = slash + 1; in proc_grab_common()
178 if (proc_lwp_range_valid(*lwps) != 0) { in proc_grab_common()
244 int *perr, const char **lwps) in proc_arg_xgrab() argument
246 return (proc_grab_common(arg, path, oflag, gflag, perr, lwps, NULL)); in proc_arg_xgrab()
[all …]
/titanic_50/usr/src/cmd/perl/contrib/Sun/Solaris/Project/t/
H A DProject.t444 …[ 0, 0, { "allowunits" => 1 }, "value9:150::::task.max-lwps=(priv,1000M,deny,signal=SIGHUP),(priv,…
457 …[ 0, 0, { "allowunits" => 1 }, "rctl1:163::::task.max-lwps=(priv,1000,deny,signal=HUP),(priv,1000k…
458 [ 0, 0, {}, "rctl1:163::::task.max-lwps=(priv,1000,deny,signal=HUP),(priv,10001,deny,signal=15)" ],
481 …[ 0, 0, { "allowunits" => 1 }, "rctl19:181::::task.max-lwps=(basic,10,signal=1),(priv,100,deny,sig…
618 [ 0, 1, {}, "rctl1:199::::task.max-lwps=," ],
619 [ 0, 1, {}, "rctl2:200::::task.max-lwps=" ],
620 [ 0, 1, {}, "rctl3:201::::task.max-lwps=priv" ],
621 [ 0, 1, {}, "rctl4:202::::task.max-lwps=priv,1000" ],
622 [ 0, 1, {}, "rctl5:203::::task.max-lwps=priv,1000,deny" ],
623 [ 0, 1, {}, "rctl6:204::::task.max-lwps=(priv)" ],
[all …]
/titanic_50/usr/src/cmd/ptools/pstop/
H A Dpstop.c42 static const char *lwps; variable
75 PGRAB_NOSTOP | PGRAB_FORCE, &gcode, &lwps)) == NULL) { in stop()
79 } else if (lwps != NULL) { in stop()
118 if (proc_lwp_in_set(lwps, info->pr_lwpid)) { in lwpstop()
/titanic_50/usr/src/cmd/ptools/prun/
H A Dprun.c42 static const char *lwps; variable
75 PGRAB_RETAIN | PGRAB_NOSTOP, &gcode, &lwps)) == NULL) { in start()
106 if (lwps != NULL) { in start()
147 if (proc_lwp_in_set(lwps, info->pr_lwpid)) { in lwpstart()
/titanic_50/usr/src/cmd/truss/
H A Dipc.c184 gps->lwps[j] = lwplist; in procadd()
221 const char *lwps; in lwptrace() local
234 lwps = gps->lwps[i]; in lwptrace()
237 return (proc_lwp_in_set(lwps, lwpid)); in lwptrace()
H A Dramdata.h212 const char *lwps[1000]; /* optional lwp list */ member
H A Dmain.c61 const char *lwps; member
2236 const char *lwps = NULL; in pids() local
2238 if ((pid = proc_arg_xpsinfo(arg, PR_ARG_PIDS, NULL, &i, &lwps)) < 0) { in pids()
2250 grab[ngrab].lwps = lwps; in pids()
2515 procadd(set->pid, set->lwps); in grabit()
/titanic_50/usr/src/cmd/ptools/pstack/
H A Dpstack.c131 const char *lwps; member
216 const char *lwps, *arg; in main() local
223 Fflag, &gcode, &lwps)) == NULL) { in main()
286 handle.lwps = lwps; in main()
387 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid)) in thread_call_stack()
417 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid)) in lwp_call_stack()
441 if (proc_lwp_in_set(h->lwps, status.pr_lwp.pr_lwpid)) { in all_call_stacks()
459 if (!proc_lwp_in_set(h->lwps, tip->lwpid)) in all_call_stacks()
/titanic_50/usr/src/cmd/pbind/
H A Dpbind.c538 const char *lwps = (const char *)(++endstr); in main() local
539 if (*lwps == '\0' || in main()
540 proc_lwp_range_valid(lwps) != 0) { in main()
548 ret = do_lwps(pid, lwps, qflag ? PBIND_QUERY : cpu); in main()
/titanic_50/usr/src/cmd/prstat/
H A Dprstat.c160 static list_t lwps; /* list of lwps/processes */ variable
673 list_remove_lwp(&lwps, lwp_tmp); in list_clear()
873 lwp = list_add_lwp(&lwps, pid, lwpid); in add_proc()
887 lwp = list_add_lwp(&lwps, pid, lwpid); in add_lwp()
1109 list_remove_lwp(&lwps, lwp); in list_refresh()
1360 list_clear(&lwps); in Exit()
1564 list_alloc(&lwps, opts.o_ntop); in main()
1570 list_setkeyfunc(sortk, &opts, &lwps, LT_LWPS); in main()
1613 list_free(&lwps); in main()
1618 list_alloc(&lwps, opts.o_ntop); in main()
[all …]
/titanic_50/usr/src/cmd/ptools/plgrp/
H A Dplgrp.c132 const char *lwps; /* LWPs */ member
1227 !proc_lwp_in_set(plgrp_args->lwps, lwpid)) in Plwp_iter_handler()
1247 const char *lwps; in do_process() local
1262 PR_ARG_ANY, force | PGRAB_RETAIN | PGRAB_NOSTOP, &error, &lwps); in do_process()
1278 plgrp_todo->lwps = lwps; in do_process()
/titanic_50/usr/src/lib/libpctx/common/
H A Dlibpctx.c405 lwpstatus_t *lwps; in pctx_lwpiterate() local
441 lwps = (lwpstatus_t *)(prh + 1); in pctx_lwpiterate()
445 pstatus->pr_pid, lwps->pr_lwpid, pctx->uarg) != 0) in pctx_lwpiterate()
448 lwps = (lwpstatus_t *)((char *)lwps + prh->pr_entsize); in pctx_lwpiterate()
/titanic_50/usr/src/cmd/psrset/
H A Dpsrset.c926 const char *lwps = (const char *)(++errptr); in main() local
927 if (*lwps == '\0' || in main()
928 proc_lwp_range_valid(lwps) != 0) { in main()
936 ret = do_lwps(pid, lwps, pset); in main()
/titanic_50/usr/src/cmd/cpc/common/
H A Dcpustat.c612 int lwps = 0; in cpustat() local
731 lwps++; in cpustat()
740 if (lwps != 0) in cpustat()
767 print_total(lwps, *data1, nreqs, cpc_setgrp_getname(accum)); in cpustat()
/titanic_50/usr/src/cmd/ptools/pflags/
H A Dpflags.c46 const char *lwps; member
148 &lookarg.lwps)) == NULL) { in look()
269 if (!proc_lwp_in_set(arg->lwps, pip->pr_lwpid)) in lwplook()
/titanic_50/usr/src/cmd/zonecfg/
H A Dzonecfg_lex.l278 <TSTATE>max-lwps { return MAXLWPS; }
279 <CSTATE>max-lwps { return MAXLWPS; }
/titanic_50/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c1137 uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm, in zsd_mark_zone_found() argument
1185 zone->zsz_lwps = lwps; in zsd_mark_zone_found()
1198 sys->zss_lwps += lwps; in zsd_mark_zone_found()
2204 uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm, in zsd_get_zone_caps() argument
2233 *lwps = 0; in zsd_get_zone_caps()
2334 *lwps = vals[i++]; in zsd_get_zone_caps()
2391 uint64_t lwps; in zsd_refresh_zones() local
2453 &lwps_cap, &lwps, &shm_cap, &shm, &shmids_cap, &shmids, in zsd_refresh_zones()
2460 lwps, shm_cap, shm, shmids_cap, shmids, semids_cap, in zsd_refresh_zones()