Home
last modified time | relevance | path

Searched refs:sobj (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/dtrace/demo/sched/
H A Dwhatfor.d33 self->sobj = curlwpsinfo->pr_stype;
44 /self->bedtime && !self->sobj/
51 /self->sobj/
53 @[self->sobj == SOBJ_MUTEX ? "kernel-level lock" :
54 self->sobj == SOBJ_RWLOCK ? "rwlock" :
55 self->sobj == SOBJ_CV ? "condition variable" :
56 self->sobj == SOBJ_SEMA ? "semaphore" :
57 self->sobj == SOBJ_USER ? "user-level lock" :
58 self->sobj == SOBJ_USER_PI ? "user-level prio-inheriting lock" :
59 self->sobj == SOBJ_SHUTTLE ? "shuttle" : "unknown"] =
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dturnstile.c139 #define IS_UPI(sobj) \ argument
140 ((uintptr_t)(sobj) - (uintptr_t)upimutextab < sizeof (upimutextab))
163 #define TURNSTILE_SOBJ_HASH(sobj) \ argument
164 ((((ulong_t)sobj >> 2) + ((ulong_t)sobj >> 9)) & TURNSTILE_HASH_MASK)
165 #define TURNSTILE_SOBJ_BUCKET(sobj) \ argument
166 ((IS_UPI(sobj) ? 0 : TURNSTILE_HASH_SIZE) + TURNSTILE_SOBJ_HASH(sobj))
167 #define TURNSTILE_CHAIN(sobj) turnstile_table[TURNSTILE_SOBJ_BUCKET(sobj)] argument
282 turnstile_lookup(void *sobj) in turnstile_lookup() argument
285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_lookup()
290 if (ts->ts_sobj == sobj) in turnstile_lookup()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dsobj.c270 sobj_ops_t sobj; member
278 if (wc->sobj.sobj_type == SOBJ_NONE) { in wchaninfo_twalk()
279 (void) mdb_vread(&wc->sobj, sizeof (sobj_ops_t), in wchaninfo_twalk()
313 wc.sobj.sobj_type = SOBJ_NONE; in wchaninfo_walk()
321 wc.sobj.sobj_type == SOBJ_CV ? "cond" : in wchaninfo_walk()
322 wc.sobj.sobj_type == SOBJ_SEMA ? "sema" : "??", in wchaninfo_walk()
689 #define TURNSTILE_SOBJ_HASH(sobj) \ argument
690 ((((int)sobj >> 2) + ((int)sobj >> 9)) & TURNSTILE_HASH_MASK)
H A Dfindstack.c609 const char *sobj = NULL; in stacks() local
649 's', MDB_OPT_STR, &sobj, in stacks()
657 if (sobj != NULL || excl_sobj != NULL || in stacks()
695 if (sobj != NULL && text_to_sobj(sobj, &sobj_ops) != 0) in stacks()
869 char sobj[100]; in stacks() local
874 sobj, sizeof (sobj)); in stacks()
878 cur->se_thread, state, sobj, count); in stacks()
881 cur->se_thread, state, sobj, "-"); in stacks()
H A DMakefile.files76 sobj.c \
/illumos-gate/usr/src/uts/common/sys/
H A Dsobject.h68 #define SOBJ_OWNER(sobj_ops, sobj) (*(sobj_ops->sobj_owner))(sobj) argument
/illumos-gate/usr/src/cmd/latencytop/
H A Dstat.c1028 lt_sobj_t *sobj; in lt_stat_update_sobj() local
1040 sobj = lookup_sobj(&id); in lt_stat_update_sobj()
1042 if (sobj == NULL) { in lt_stat_update_sobj()
1046 cause_id = sobj->lt_so_cause_id; in lt_stat_update_sobj()
1049 sobj->lt_so_string, GROUP_SOBJ); in lt_stat_update_sobj()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_anon.c3593 anon_array_enter(struct anon_map *amp, ulong_t an_idx, anon_sync_obj_t *sobj) in anon_array_enter() argument
3611 sobj->sync_mutex = mtx = &anon_array_lock[hash].pad_mutex; in anon_array_enter()
3612 sobj->sync_cv = cv = &anon_array_cv[hash]; in anon_array_enter()
3618 sobj->sync_data = ap_slot; in anon_array_enter()
3624 anon_sync_obj_t *sobj) in anon_array_try_enter() argument
3643 sobj->sync_mutex = mtx = &anon_array_lock[hash].pad_mutex; in anon_array_try_enter()
3644 sobj->sync_cv = &anon_array_cv[hash]; in anon_array_try_enter()
3654 sobj->sync_data = ap_slot; in anon_array_try_enter()
3660 anon_array_exit(anon_sync_obj_t *sobj) in anon_array_exit() argument
3662 mutex_enter(sobj->sync_mutex); in anon_array_exit()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_addr.c903 sctp_saddr_ipif_t *sobj; in sctp_update_saddrs() local
923 sobj = list_head(&sctp->sctp_saddrs[idx].sctp_ipif_list); in sctp_update_saddrs()
926 if (sobj->saddr_ipifp == oipif) { in sctp_update_saddrs()
928 sobj->saddr_ipifp = nipif; in sctp_update_saddrs()
938 sobj = list_next(&sctp->sctp_saddrs[idx].sctp_ipif_list, in sctp_update_saddrs()
939 sobj); in sctp_update_saddrs()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c3284 sobj_ops_t *sobj; in prgetlwpsinfo() local
3312 if ((sobj = t->t_sobj_ops) != NULL) in prgetlwpsinfo()
3313 psp->pr_stype = SOBJ_TYPE(sobj); in prgetlwpsinfo()
3350 sobj_ops_t *sobj; in prgetlwpsinfo32() local
3378 if ((sobj = t->t_sobj_ops) != NULL) in prgetlwpsinfo32()
3379 psp->pr_stype = SOBJ_TYPE(sobj); in prgetlwpsinfo32()
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_sobj.c2819 lwpsobj_owner(caddr_t sobj) in lwpsobj_owner() argument