Lines Matching defs:self
65 ulwp_t *self;
72 if ((self = __curthread()) != NULL) {
73 panic_thread = self;
74 lwpid = self->ul_lwpid;
102 ulwp_t *self;
105 if ((self = __curthread()) != NULL)
106 enter_critical(self);
178 ulwp_t *self;
189 if ((self = __curthread()) != NULL) {
190 if (assert_thread == self)
192 enter_critical(self);
194 assert_thread = self;
195 lwpid = self->ul_lwpid;
196 udp = self->ul_uberdata;
199 self = NULL;
228 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
252 if (self != NULL)
253 exit_critical(self);
269 ulwp_t *self;
281 if ((self = __curthread()) != NULL) {
282 if (assert_thread == self)
284 enter_critical(self);
286 assert_thread = self;
287 lwpid = self->ul_lwpid;
288 udp = self->ul_uberdata;
291 self = NULL;
309 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
341 if (self != NULL)
342 exit_critical(self);
356 ulwp_t *self;
360 if ((self = __curthread()) != NULL) {
361 if (assert_thread == self)
363 enter_critical(self);
365 assert_thread = self;
366 lwpid = self->ul_lwpid;
367 udp = self->ul_uberdata;
369 self = NULL;
380 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
389 if (self != NULL)
390 exit_critical(self);
405 ulwp_t *self;
409 if ((self = __curthread()) != NULL) {
410 if (assert_thread == self)
412 enter_critical(self);
414 assert_thread = self;
415 lwpid = self->ul_lwpid;
417 self = NULL;
435 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
455 * if (self != NULL)
456 * exit_critical(self);