/illumos-gate/usr/src/lib/libc/port/unwind/ |
H A D | unwind.c | 74 ulwp_t *self = curthread; local 79 if (self->ul_ex_unwind == NULL && 80 (self->ul_ex_unwind = dlsym(RTLD_PROBE, "_ex_unwind")) == NULL) 81 self->ul_ex_unwind = (void *)-1; 83 if (self->ul_ex_unwind == (void *)-1) 86 fptr = (void (*)())self->ul_ex_unwind; 93 if ((head = self->ul_clnup_hdr) != NULL && fp == head->fp) { 94 self->ul_clnup_hdr = head->next; 100 if (fptr != NULL && self->ul_unwind) {
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | thrp_unwind.c | 89 ulwp_t *self = curthread; local 90 __cleanup_t **headp = &self->ul_clnup_hdr; 95 if (self->ul_ex_unwind == NULL && 96 (self->ul_ex_unwind = dlsym(RTLD_PROBE, "_ex_unwind")) == NULL) 97 self->ul_ex_unwind = (void *)-1; 99 if (self->ul_ex_unwind == (void *)-1) 102 fptr = (void (*)())self->ul_ex_unwind;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | atfork.c | 52 ulwp_t *self = curthread; local 53 uberdata_t *udp = self->ul_uberdata; 59 if (self->ul_fork) {
|
H A D | stack.c | 49 ulwp_t *self = curthread; local 59 sigoff(self); 60 self->ul_ustack = *sp; 61 sigon(self);
|
H A D | atexit.c | 64 * If they call back to us, we are self-consistent and everything 98 * Be careful about dereferencing self->ul_uberdata->atexit_root. 103 ulwp_t *self; local 110 if ((self = __curthread()) == NULL) 113 arp = &self->ul_uberdata->atexit_root; 122 if (self != NULL) 240 ulwp_t *self = curthread; local 241 uberdata_t *udp = self->ul_uberdata; 261 if (self->ul_fork) { 393 ulwp_t *self; local [all...] |
/illumos-gate/usr/src/lib/libc/sparc/threads/ |
H A D | machdep.c | 94 _thrp_setup(ulwp_t *self) argument 98 if (self->ul_fpuenv.fpu_en) 99 _setfsr(&self->ul_fpuenv.fsr); 101 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz); 102 self->ul_ustack.ss_size = self->ul_stksiz; 103 self->ul_ustack.ss_flags = 0; 104 (void) setustack(&self 184 ulwp_t *self = curthread; local [all...] |
/illumos-gate/usr/src/lib/pysolaris/common/ |
H A D | misc.c | 35 py_sid_to_id(PyObject *self, PyObject *args) argument 58 py_sid_to_name(PyObject *self, PyObject *args) argument 94 py_isglobalzone(PyObject *self, PyObject *args) argument 100 py_gettext(PyObject *self, PyObject *args) argument
|
/illumos-gate/usr/src/lib/libc/amd64/threads/ |
H A D | machdep.c | 104 _thrp_setup(ulwp_t *self) argument 106 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz); 107 self->ul_ustack.ss_size = self->ul_stksiz; 108 self->ul_ustack.ss_flags = 0; 109 (void) setustack(&self->ul_ustack); 111 update_sched(self); 115 sigon(self); 177 ulwp_t *self = curthread; local [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | cmt_policy.c | 67 int self) 77 if (self && bitset_in_set(&here->cmt_cpus_actv_set, CPU->cpu_seqid)) 123 int self = 0; local 138 self = 1; 158 nsiblings = GROUP_SIZE(siblings); /* self inclusive */ 196 if (cmt_should_migrate(pg, tpg, pg->cmt_policy, self)) 66 cmt_should_migrate(pg_cmt_t *here, pg_cmt_t *there, pg_cmt_policy_t policy, int self) argument
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | cancel.c | 38 ulwp_t *self = curthread; local 39 uberdata_t *udp = self->ul_uberdata; 51 } else if (ulwp == self) { 53 * Unlock self before cancelling. 55 ulwp_unlock(self, udp); 56 self->ul_nocancel = 0; /* cancellation is now possible */ 57 if (self->ul_sigdefer == 0) 60 self->ul_cancel_pending = 1; 61 set_cancel_pending_flag(self, 0); 94 ulwp_t *self local 151 ulwp_t *self = curthread; local 205 ulwp_t *self = curthread; local 219 ulwp_t *self = curthread; local 237 ulwp_t *self = curthread; local 255 ulwp_t *self = curthread; local 274 ulwp_t *self = curthread; local 293 ulwp_t *self = curthread; local 312 set_cancel_pending_flag(ulwp_t *self, int clear_flags) argument 338 set_cancel_eintr_flag(ulwp_t *self) argument 360 set_parking_flag(ulwp_t *self, int park) argument 396 ulwp_t *self = curthread; local [all...] |
H A D | sema.c | 86 ulwp_t *self = curthread; local 87 uberdata_t *udp = self->ul_uberdata; 101 self->ul_sp = stkptr(); 102 self->ul_wchan = lsp; 103 if (__td_event_report(self, TD_SLEEP, udp)) { 104 self->ul_td_evbuf.eventnum = TD_SLEEP; 105 self->ul_td_evbuf.eventdata = lsp; 118 set_parking_flag(self, 1); 119 if (self->ul_cursig != 0 || 120 (self 233 ulwp_t *self = curthread; local 300 ulwp_t *self = curthread; local [all...] |
H A D | tls.c | 126 * total size we are given and that they are self-consistent. 218 ulwp_t *self = curthread; local 219 tls_metadata_t *tlsm = &self->ul_uberdata->tls_metadata; 231 sigoff(self); 233 if ((moduleid = tls_index->ti_moduleid) < self->ul_ntlsent) 234 tlsent = self->ul_tlsent; 238 if (self->ul_tlsent != NULL) { 239 (void) memcpy(tlsent, self->ul_tlsent, 240 self->ul_ntlsent * sizeof (tls_t)); 241 lfree(self 299 ulwp_t *self = curthread; local 319 ulwp_t *self = curthread; local 374 ulwp_t *self = curthread; local [all...] |
H A D | tsd.c | 269 ulwp_t *self = curthread; local 270 tsd_metadata_t *tsdm = &self->ul_uberdata->tsd_metadata; 296 nkeys = ((stsd = self->ul_stsd) != NULL)? stsd->tsd_nalloc : 8; 316 self->ul_stsd = ntsd; 326 ulwp_t *self = curthread; local 348 enter_critical(self); 350 exit_critical(self); 388 ulwp_t *self = curthread; local 389 tsd_metadata_t *tsdm = &self->ul_uberdata->tsd_metadata; 404 (val = self 447 ulwp_t *self = curthread; local [all...] |
H A D | alloc.c | 184 ulwp_t *self; local 208 if ((self = __curthread()) == NULL) 211 udp = self->ul_uberdata; 220 if (self != NULL) 244 if (self != NULL) 259 if (self != NULL) 274 ulwp_t *self; local 304 if ((self = __curthread()) == NULL) 307 bp = &self->ul_uberdata->bucket[bucketnum]; 312 if (self ! [all...] |
H A D | tdb_agent.c | 229 ulwp_t *self = curthread; local 230 uberdata_t *udp = self->ul_uberdata; 241 if (!self->ul_primarymap) 258 if (self->ul_sync_obj_reg) /* recursive call */ 260 self->ul_sync_obj_reg = 1; 347 self->ul_sync_obj_reg = 0;
|
H A D | assfail.c | 65 ulwp_t *self; local 72 if ((self = __curthread()) != NULL) { 73 panic_thread = self; 74 lwpid = self->ul_lwpid; 102 ulwp_t *self; local 105 if ((self = __curthread()) != NULL) 106 enter_critical(self); 178 ulwp_t *self; local 189 if ((self = __curthread()) != NULL) { 190 if (assert_thread == self) 269 ulwp_t *self; local 356 ulwp_t *self; local 405 ulwp_t *self; local [all...] |
H A D | sigaction.c | 73 ulwp_t *self = curthread; local 74 uberdata_t *udp = self->ul_uberdata; 86 set_parking_flag(self, 0); 88 if (__td_event_report(self, TD_CATCHSIG, udp)) { 89 self->ul_td_evbuf.eventnum = TD_CATCHSIG; 90 self->ul_td_evbuf.eventdata = (void *)(intptr_t)sig; 95 * Get a self-consistent set of flags, handler, and mask 115 if (self->ul_vfork || 138 * signal mask for sigsuspend() or pollsys() (self->ul_tmpmask) but 142 * level equals self 241 ulwp_t *self = curthread; local 291 ulwp_t *self = curthread; local 365 ulwp_t *self = curthread; local 467 ulwp_t *self = curthread; local 488 block_all_signals(ulwp_t *self) argument 524 ulwp_t *self = curthread; local 596 ulwp_t *self = curthread; local 726 ulwp_t *self = curthread; local [all...] |
/illumos-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_cmp.c | 53 s1394_target_t *self); 370 * Notify registered targets except 'self' about register value change 374 s1394_target_t *self) 396 * comparing with self is safe because the target should 399 if (target == self) { 373 s1394_cmp_notify_reg_change(s1394_hal_t *hal, t1394_cmp_reg_t reg, s1394_target_t *self) argument
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_sasl.c | 65 * 1 use self/gssapi connection only 89 * NS_LDAP_SELF_GSSAPI_CONFIG_NONE: No credential level self and 92 * NS_LDAP_SELF_GSSAPI_CONFIG_ONLY: Only credential level self and 96 * configured, including self. 100 * __s_api_crosscheck makes sure self and sasl/GSSAPI pair up if they do 114 int self = 0, other_level = 0, gssapi = 0, other_method = 0; local 174 self++; 185 if (self > 0 && gssapi > 0) {
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 562 update_sched(ulwp_t *self) argument 571 ASSERT(self == curthread); 573 enter_critical(self); 575 if ((scp = self->ul_schedctl) == NULL && 577 if (self->ul_policy < 0) { 578 self->ul_cid = 0; 579 self->ul_pri = 0; 581 self->ul_policy = SCHED_OTHER; 583 exit_critical(self); 587 if (self [all...] |
/illumos-gate/usr/src/cmd/write/ |
H A D | write.c | 90 static struct utmpx self; local 91 char ownname[sizeof (self.ut_user) + 1]; 92 static char rterminal[sizeof ("/dev/") + sizeof (self.ut_line)] = 176 for (self.ut_pid = 0, count = 0; (ubuf = getutxent()) != NULL; ) { 183 sizeof (ubuf->ut_line)) == 0) self = *ubuf; 271 if (self.ut_pid == 0) { 280 (void) strlcpy(&ownname[0], self.ut_user, 281 sizeof (self.ut_user)); 311 else if (self.ut_pid == 0) { 324 strncpy(&ownname[0], self [all...] |
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_info.c | 179 hp_node_t self, branch; local 191 if ((self = new_device_node(parent, dev)) == NULL) 199 if ((rv = copy_hotplug(self, dev, NULL, flags, 200 &self->hp_child)) != 0) { 201 free(self); 204 *rootp = self; 216 if ((rv = copy_devices(self, child, flags, &branch)) != 0) { 218 free(self); 224 self->hp_child = children.head; 227 *rootp = self; [all...] |
/illumos-gate/usr/src/uts/common/io/sdcard/impl/ |
H A D | sda_slot.c | 85 kt_did_t self = ddi_get_kt_did(); local 87 if (slot->s_owner == self) { 90 while ((slot->s_owner != 0) && (slot->s_owner != self)) { 93 slot->s_owner = self;
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | vthread.h | 144 { _vtself_t self; /* self-handle */ member in struct:_vthread_s
|
/illumos-gate/usr/src/lib/libc/i386/threads/ |
H A D | machdep.c | 120 * to pass down self pointer and set %gs selector 149 _thrp_setup(ulwp_t *self) argument 151 self->ul_ustack.ss_sp = (void *)(self->ul_stktop - self->ul_stksiz); 152 self->ul_ustack.ss_size = self->ul_stksiz; 153 self->ul_ustack.ss_flags = 0; 154 (void) setustack(&self->ul_ustack); 156 update_sched(self); 219 ulwp_t *self = curthread; local [all...] |