Lines Matching defs:self
59 ulwp_t *self;
66 if ((self = __curthread()) != NULL) {
67 panic_thread = self;
68 lwpid = self->ul_lwpid;
96 ulwp_t *self;
99 if ((self = __curthread()) != NULL)
100 enter_critical(self);
165 ulwp_t *self;
176 if ((self = __curthread()) != NULL) {
177 if (assert_thread == self)
179 enter_critical(self);
181 assert_thread = self;
182 lwpid = self->ul_lwpid;
183 udp = self->ul_uberdata;
186 self = NULL;
215 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
239 if (self != NULL)
240 exit_critical(self);
256 ulwp_t *self;
268 if ((self = __curthread()) != NULL) {
269 if (assert_thread == self)
271 enter_critical(self);
273 assert_thread = self;
274 lwpid = self->ul_lwpid;
275 udp = self->ul_uberdata;
278 self = NULL;
296 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
328 if (self != NULL)
329 exit_critical(self);
343 ulwp_t *self;
347 if ((self = __curthread()) != NULL) {
348 if (assert_thread == self)
350 enter_critical(self);
352 assert_thread = self;
353 lwpid = self->ul_lwpid;
354 udp = self->ul_uberdata;
356 self = NULL;
367 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
376 if (self != NULL)
377 exit_critical(self);
392 ulwp_t *self;
396 if ((self = __curthread()) != NULL) {
397 if (assert_thread == self)
399 enter_critical(self);
401 assert_thread = self;
402 lwpid = self->ul_lwpid;
404 self = NULL;
410 ultos((uint64_t)(uintptr_t)self, 16, buf + strlen(buf));
426 * if (self != NULL)
427 * exit_critical(self);