Searched refs:lwp (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A DPlwpregs.c35 * This file implements the routines to read and write per-lwp register
43 * about an lwp in the core file, given its lwpid.
48 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
51 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_next(lwp)) {
52 if (lwp->lwp_id == lwpid)
53 return (lwp);
61 * Utility function to open and read the contents of a per-lwp /proc file.
71 (void) snprintf(fname, sizeof (fname), "%s/%d/lwp/%d/%s",
85 * Get the lwpstatus_t for an lwp fro
92 lwp_info_t *lwp; local
222 lwp_info_t *lwp; local
259 lwp_info_t *lwp; local
290 lwp_info_t *lwp; local
329 lwp_info_t *lwp; local
404 lwp_info_t *lwp; local
440 lwp_info_t *lwp; local
479 lwp_info_t *lwp; local
559 lwp_info_t *lwp; local
[all...]
H A DPservice.c173 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
176 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_next(lwp)) {
177 if (lwp->lwp_id == lwpid) {
178 if (lwp->lwp_xregs != NULL)
197 (void) snprintf(fname, sizeof (fname), "%s/%d/lwp/%d/xregs",
278 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
281 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_next(lwp)) {
282 if (lwp
[all...]
H A DPcore.c130 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
134 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_next(lwp)) {
135 if (lwp->lwp_id == id) {
136 P->core->core_lwp = lwp;
137 return (lwp);
139 if (lwp->lwp_id < id) {
144 next = lwp;
145 if ((lwp = calloc(1, sizeof (lwp_info_t))) == NULL)
148 list_link(lwp, nex
199 lwp_info_t *lwp; local
270 lwp_info_t *lwp; local
569 lwp_info_t *lwp = P->core->core_lwp; local
593 lwp_info_t *lwp = P->core->core_lwp; local
630 lwp_info_t *lwp = P->core->core_lwp; local
653 lwp_info_t *lwp = P->core->core_lwp; local
[all...]
H A Dpr_exit.c29 #include <sys/lwp.h>
77 * lwp_exit() system call -- executed by subject lwp.
H A DPcontrol.c912 str = "bad lwp specification";
936 lwp_info_t *nlwp, *lwp = list_next(&P->core->core_lwp_head); local
938 for (i = 0; i < P->core->core_nlwp; i++, lwp = nlwp) {
939 nlwp = list_next(lwp);
940 if (lwp->lwp_xregs != NULL)
941 free(lwp->lwp_xregs);
943 if (lwp->lwp_gwins != NULL)
944 free(lwp->lwp_gwins);
945 if (lwp->lwp_asrs != NULL)
946 free(lwp
2766 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head); local
2837 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head); local
[all...]
/osnet-11/usr/src/lib/libldap4/include/
H A Dlthread.h24 #include <lwp/lwp.h>
25 #include <lwp/stackdep.h>
/osnet-11/usr/src/lib/libc/port/sys/
H A Dlwp.c34 #include <sys/lwp.h>
/osnet-11/usr/src/lib/libproc/sparc/
H A DPisadep.c143 int rv = 0; /* Return value for skip to next lwp */
145 (void) snprintf(path, sizeof (path), "/proc/%d/lwp/%d/gwindows",
149 return (0); /* Nothing doing; skip to next lwp */
189 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
193 for (n = 0; n < P->core->core_nlwp; n++, lwp = list_next(lwp)) {
194 gwindows_t *gwin = lwp->lwp_gwins;
197 continue; /* No gwindows for this lwp */
200 * If this lwp has gwindows associated with it, iterate
/osnet-11/usr/src/lib/libproc/sparcv9/
H A DPisadep.c182 int rv = 0; /* Return value for skip to next lwp */
184 (void) snprintf(path, sizeof (path), "/proc/%d/lwp/%d/gwindows",
188 return (0); /* Nothing doing; skip to next lwp */
237 lwp_info_t *lwp = list_next(&P->core->core_lwp_head); local
241 for (n = 0; n < P->core->core_nlwp; n++, lwp = list_next(lwp)) {
242 gwindows_t *gwin = lwp->lwp_gwins;
245 continue; /* No gwindows for this lwp */
248 * If this lwp has gwindows associated with it, iterate
/osnet-11/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c35 #include <sys/lwp.h>
86 * *** Agent lwp considerations
89 * when they are being invoked on behalf of an agent lwp. To understand why
90 * it's impossible you have to understand how agent lwp syscalls work.
92 * The agent lwp syscall process works as follows:
94 * 2 The controlling process injects an agent lwp which is also stopped.
95 * This agent lwp assumes the userland stack and register values
96 * of another stopped lwp in the current process.
97 * 3 The controlling process configures the agent lwp to start
99 * 4 The controlling process configure /proc to stop the agent lwp whe
[all...]
/osnet-11/usr/src/lib/brand/sn1/sn1_brand/common/
H A Dsn1_brand.c35 #include <sys/lwp.h>
/osnet-11/usr/src/lib/libc/sparc/
H A DMakefile.com862 lwp.o \
1114 lwp.o \
1149 pics/rwlock.o pics/synch.o pics/lwp.o pics/door_calls.o := \
/osnet-11/usr/src/lib/libc/i386/
H A DMakefile.com829 lwp.o \
1077 lwp.o \
/osnet-11/usr/src/lib/libc/sparcv9/
H A DMakefile.com810 lwp.o \
1048 lwp.o \
/osnet-11/usr/src/lib/libc/amd64/
H A DMakefile793 lwp.o \
1021 lwp.o \
/osnet-11/usr/src/lib/libc/port/threads/
H A Dthr.c75 /* initial allocation, just enough for one lwp */
171 * Insert the lwp into the hash table.
193 * Delete the lwp from the hash table.
248 * Answer the question, "Is the lwp in question really dead?"
250 * because the lwp may have called lwp_exit() but it has not
365 * The previous lwp is gone; reuse the stack.
491 * Find a named lwp and return a pointer to its hash list location.
518 * Wake up all lwps waiting on this lwp for some reason.
531 * Find a named lwp and return a pointer to it.
845 * this lwp ha
2378 thr_getstate(thread_t tid, int *flag, lwpid_t *lwp, stack_t *ss, gregset_t rs) argument
[all...]
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_conspiracy.c56 #include <sys/lwp.h>
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_proc.c80 #include <sys/lwp.h>
/osnet-11/usr/src/lib/libc/inc/
H A Dthr_uberdata.h41 #include <sys/lwp.h>
545 lwpid_t ul_lwpid; /* thread id, aka the lwp id */
553 char pleasestop; /* lwp requested to stop itself */
558 char ul_signalled; /* this lwp was cond_signal()d */
559 char ul_dead; /* this lwp has called thr_exit */
593 char ul_mutator; /* lwp is a mutator (java interface) */
659 #define ul_pleasestop ul_cp.s.pleasestop /* lwp requested to stop */
931 * Grab and release the hash table lock for the specified lwp.
965 lwpid_t ul_lwpid; /* thread id, aka the lwp id */
973 char pleasestop; /* lwp requeste
[all...]
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc111 #include <sys/lwp.h>
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c38 #include <sys/lwp.h>

Completed in 111 milliseconds