Lines Matching defs:ulwp

447 	ulwp_t ulwp;
452 if (mdb_vread(&ulwp, sizeof (ulwp), addr) != sizeof (ulwp) &&
453 (bzero(&ulwp, sizeof (ulwp)),
454 mdb_vread(&ulwp, REPLACEMENT_SIZE, addr)) != REPLACEMENT_SIZE) {
455 mdb_warn("failed to read ulwp at 0x%p", addr);
464 prt_addr(ulwp.ul_self, 1),
465 prt_addr(ulwp.ul_uberdata, 0));
470 prt_addr(ulwp.ul_tlsent, 1),
471 ulwp.ul_ntlsent);
476 prt_addr(ulwp.ul_forw, 1),
477 prt_addr(ulwp.ul_back, 1),
478 prt_addr(ulwp.ul_next, 0));
483 prt_addr(ulwp.ul_hash, 1),
484 prt_addr(ulwp.ul_rval, 1),
485 prt_addr(ulwp.ul_stk, 0));
490 ulwp.ul_mapsiz,
491 ulwp.ul_guardsize,
492 prt_addr((void *)ulwp.ul_stktop, 1),
493 ulwp.ul_stksiz);
498 prt_addr(ulwp.ul_ustack.ss_sp, 1),
499 ulwp.ul_ustack.ss_size,
500 stack_flags(&ulwp.ul_ustack));
505 ulwp.ul_ix,
506 ulwp.ul_lwpid,
507 ulwp.ul_pri,
508 ulwp.ul_epri,
509 ulwp.ul_policy,
510 ulwp.ul_cid);
515 ulwp.ul_cursig);
516 mdb_printf(ulwp.ul_pleasestop? "0x%-8x " : "%-10d ",
517 ulwp.ul_pleasestop);
518 mdb_printf(ulwp.ul_stop? "0x%-8x " : "%-10d ",
519 ulwp.ul_stop);
521 ulwp.ul_signalled,
522 ulwp.ul_dead,
523 ulwp.ul_unwind);
528 ulwp.ul_detached,
529 ulwp.ul_writer,
530 ulwp.ul_stopping,
531 ulwp.ul_cancel_prologue,
532 ulwp.ul_preempt,
533 ulwp.ul_savpreempt);
538 ulwp.ul_sigsuspend,
539 ulwp.ul_main,
540 ulwp.ul_fork,
541 ulwp.ul_primarymap,
542 ulwp.ul_max_spinners,
543 ulwp.ul_door_noreserve);
548 ulwp.ul_queue_fifo,
549 ulwp.ul_cond_wait_defer,
550 ulwp.ul_error_detection,
551 ulwp.ul_async_safe,
552 ulwp.ul_rt,
553 ulwp.ul_rtqueued);
558 ulwp.ul_misaligned,
559 ulwp.ul_adaptive_spin,
560 ulwp.ul_queue_spin,
561 ulwp.ul_critical,
562 ulwp.ul_sigdefer,
563 ulwp.ul_vfork);
568 ulwp.ul_cancelable,
569 ulwp.ul_cancel_pending,
570 ulwp.ul_cancel_disabled,
571 ulwp.ul_cancel_async,
572 ulwp.ul_save_async,
573 ulwp.ul_mutator);
578 ulwp.ul_created,
579 ulwp.ul_replace,
580 ulwp.ul_nocancel,
581 ulwp.ul_errno,
582 prt_addr(ulwp.ul_errnop, 0));
587 prt_addr(ulwp.ul_clnup_hdr, 1),
588 prt_addr(ulwp.ul_schedctl_called, 1),
589 prt_addr((void *)ulwp.ul_schedctl, 0));
594 mdb_printf(ulwp.ul_bindflags? "0x%-8x " : "%-10d ",
595 ulwp.ul_bindflags);
596 mdb_printf("%-10d ", ulwp.ul_libc_locks);
598 prt_addr(ulwp.ul_stsd, 1),
604 ulwp.ul_td_evbuf.eventmask.event_bits[0],
605 ulwp.ul_td_evbuf.eventmask.event_bits[1],
606 ulwp.ul_td_evbuf.eventnum,
607 prt_addr(ulwp.ul_td_evbuf.eventdata, 0));
612 ulwp.ul_td_events_enable,
613 ulwp.ul_sync_obj_reg,
614 ulwp.ul_qtype,
615 ulwp.ul_cv_wake,
616 ulwp.ul_rtld);
617 mdb_printf(ulwp.ul_usropts? "0x%x\n" : "%d\n",
618 ulwp.ul_usropts);
623 prt_addr((void *)ulwp.ul_startpc, 1),
624 prt_addr(ulwp.ul_startarg, 1),
625 prt_addr(ulwp.ul_wchan, 0));
630 prt_addr(ulwp.ul_link, 1),
631 prt_addr(ulwp.ul_sleepq, 1),
632 prt_addr(ulwp.ul_cvmutex, 0));
637 prt_addr(ulwp.ul_mxchain, 1),
638 ulwp.ul_save_state);
643 ulwp.ul_rdlockcnt,
644 prt_addr(ulwp.ul_readlock.single.rd_rwlock, 1),
645 ulwp.ul_readlock.single.rd_count);
650 ulwp.ul_heldlockcnt,
651 prt_addr(ulwp.ul_heldlocks.single, 1),
652 prt_addr(ulwp.ul_tpdp, 0));
657 prt_addr(ulwp.ul_siglink, 1),
658 ulwp.ul_spin_lock_spin,
659 ulwp.ul_spin_lock_spin2,
660 ulwp.ul_spin_lock_sleep,
661 ulwp.ul_spin_lock_wakeup);
667 ulwp.ul_rtclassid,
668 ulwp.ul_pilocks);
674 if (ulwp.ul_replace)
680 ulwp.ul_sigmask.__sigbits[0],
681 ulwp.ul_sigmask.__sigbits[1],
682 ulwp.ul_sigmask.__sigbits[2],
683 ulwp.ul_sigmask.__sigbits[3]);
688 ulwp.ul_tmpmask.__sigbits[0],
689 ulwp.ul_tmpmask.__sigbits[1],
690 ulwp.ul_tmpmask.__sigbits[2],
691 ulwp.ul_tmpmask.__sigbits[3]);
703 ulwp.ul_tmem.tm_size,
936 ulwp_t ulwp;
940 if (mdb_vread(&ulwp, sizeof (ulwp), addr) != sizeof (ulwp) &&
941 (bzero(&ulwp, sizeof (ulwp)),
942 mdb_vread(&ulwp, REPLACEMENT_SIZE, addr)) != REPLACEMENT_SIZE) {
943 mdb_warn("failed to read ulwp at 0x%p", addr);
950 if ((wsp->walk_addr = (uintptr_t)ulwp.ul_forw)
953 return (wsp->walk_callback(addr, &ulwp, wsp->walk_cbdata));
960 whatis_walk_ulwp(uintptr_t addr, const ulwp_t *ulwp, mdb_whatis_t *w)
963 lwpid_t id = ulwp->ul_lwpid;
970 top = (uintptr_t)ulwp->ul_stktop;
971 size = ulwp->ul_stksiz;
988 if (ulwp->ul_ustack.ss_flags & SS_ONSTACK) {
989 base = (uintptr_t)ulwp->ul_ustack.ss_sp;
990 size = ulwp->ul_ustack.ss_size;
1042 tid2ulwp_walk(uintptr_t addr, ulwp_t *ulwp, tid2ulwp_walk_t *t2u)
1044 if (ulwp->ul_lwpid == t2u->t2u_tid) {
1061 if (mdb_walk("ulwp", (mdb_walk_cb_t)tid2ulwp_walk, &t2u) != 0) {
1062 mdb_warn("can't walk 'ulwp'");
1153 { "ulwp", ":", "print ulwp_t structure", d_ulwp, NULL },
1166 { "ulwp", "walk list of ulwp_t pointers",