Lines Matching refs:lock

39 	mutex_t		lock;
383 * Because the old libthread_db enabled lock tracking by default,
405 * disable lock tracking when we delete the
422 * Utility function to grab the readers lock and return the prochandle,
424 * Returns non-NULL with the lock held, or NULL with the lock not held.
452 * Utility function to grab the readers lock and return the prochandle,
454 * Returns non-NULL with the lock held, or NULL with the lock not held.
467 * Utility function to grab the readers lock and return the prochandle,
469 * Returns non-NULL with the lock held, or NULL with the lock not held.
502 * reader lock on the thread agent while it is using it.
511 * This is the only place we grab the writer lock.
1764 * The caller holds the prochandle lock
2659 &generic_so.lock, sizeof (generic_so.lock)) != PS_OK)
2663 (generic_so.lock.mutex_type & USYNC_PROCESS);
2664 (void) memcpy(si_p->si_flags, &generic_so.lock.mutex_flag,
2665 sizeof (generic_so.lock.mutex_flag));
2667 (generic_so.lock.mutex_lockw != 0);
2668 si_p->si_size = sizeof (generic_so.lock);
2669 si_p->si_has_waiters = generic_so.lock.mutex_waiters;
2670 si_p->si_rcount = generic_so.lock.mutex_rcount;
2671 si_p->si_prioceiling = generic_so.lock.mutex_ceiling;
2675 generic_so.lock.mutex_ownerpid;
2677 si_p->si_owner.th_unique = generic_so.lock.mutex_owner;
3025 * 1) mutex lock state set to value
3027 * 3) writer's lock set by value < 0
3028 * 4) reader's lock number of readers set to value >= 0
3072 &generic_so.lock, sizeof (generic_so.lock)) != PS_OK) {
3076 generic_so.lock.mutex_lockw = (uint8_t)value;
3077 if (ps_pdwrite(ph_p, sh_p->sh_unique, &generic_so.lock,
3078 sizeof (generic_so.lock)) != PS_OK)