Lines Matching defs:generic_so
2477 td_so_un_t generic_so;
2485 &generic_so, sizeof (generic_so)) != PS_OK) {
2487 if (ps_pdread(ph_p, sh_p->sh_unique, &generic_so.condition,
2488 sizeof (generic_so.condition)) != PS_OK)
2492 switch (generic_so.condition.cond_magic) {
2495 &generic_so.lock, sizeof (generic_so.lock)) != PS_OK)
2499 (generic_so.lock.mutex_type & USYNC_PROCESS);
2500 (void) memcpy(si_p->si_flags, &generic_so.lock.mutex_flag,
2501 sizeof (generic_so.lock.mutex_flag));
2503 (generic_so.lock.mutex_lockw != 0);
2504 si_p->si_size = sizeof (generic_so.lock);
2505 si_p->si_has_waiters = generic_so.lock.mutex_waiters;
2506 si_p->si_rcount = generic_so.lock.mutex_rcount;
2507 si_p->si_prioceiling = generic_so.lock.mutex_ceiling;
2511 generic_so.lock.mutex_ownerpid;
2513 si_p->si_owner.th_unique = generic_so.lock.mutex_owner;
2519 (generic_so.condition.cond_type & USYNC_PROCESS);
2520 (void) memcpy(si_p->si_flags, generic_so.condition.flags.flag,
2521 sizeof (generic_so.condition.flags.flag));
2522 si_p->si_size = sizeof (generic_so.condition);
2524 (generic_so.condition.cond_waiters_user |
2525 generic_so.condition.cond_waiters_kernel)? 1 : 0;
2529 &generic_so.semaphore, sizeof (generic_so.semaphore))
2534 (generic_so.semaphore.type & USYNC_PROCESS);
2535 si_p->si_state.sem_count = generic_so.semaphore.count;
2536 si_p->si_size = sizeof (generic_so.semaphore);
2538 ((lwp_sema_t *)&generic_so.semaphore)->flags[7];
2540 si_p->si_data = (psaddr_t)generic_so.semaphore.count;
2547 &generic_so.rwlock, sizeof (generic_so.rwlock)) != PS_OK)
2551 (generic_so.rwlock.rwlock_type & USYNC_PROCESS);
2552 si_p->si_size = sizeof (generic_so.rwlock);
2554 rwstate = (uint32_t)generic_so.rwlock.rwlock_readers;
2560 generic_so.rwlock.rwlock_owner;
2563 generic_so.rwlock.rwlock_ownerpid;
2570 si_p->si_data = (psaddr_t)generic_so.rwlock.readers;
2874 td_so_un_t generic_so;
2890 if (ps_pdread(ph_p, sh_p->sh_unique, &generic_so,
2891 sizeof (generic_so)) != PS_OK) {
2893 if (ps_pdread(ph_p, sh_p->sh_unique, &generic_so.condition,
2894 sizeof (generic_so.condition)) != PS_OK) {
2905 switch (generic_so.condition.mutex_magic) {
2908 &generic_so.lock, sizeof (generic_so.lock)) != PS_OK) {
2912 generic_so.lock.mutex_lockw = (uint8_t)value;
2913 if (ps_pdwrite(ph_p, sh_p->sh_unique, &generic_so.lock,
2914 sizeof (generic_so.lock)) != PS_OK)
2919 &generic_so.semaphore, sizeof (generic_so.semaphore))
2924 generic_so.semaphore.count = value;
2925 if (ps_pdwrite(ph_p, sh_p->sh_unique, &generic_so.semaphore,
2926 sizeof (generic_so.semaphore)) != PS_OK)
2935 &generic_so.rwlock, sizeof (generic_so.rwlock)) != PS_OK) {
2939 rwstate = (uint32_t *)&generic_so.rwlock.readers;
2945 if (ps_pdwrite(ph_p, sh_p->sh_unique, &generic_so.rwlock,
2946 sizeof (generic_so.rwlock)) != PS_OK)