/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | sema.c | 85 lwp_sema_t *lsp = (lwp_sema_t *)sp; local 102 self->ul_wchan = lsp; 105 self->ul_td_evbuf.eventdata = lsp; 109 if (ssp && lsp->count == 0) { 111 if (lsp->count == 0) /* still looks like sleep */ 117 if (lsp->type == USYNC_PROCESS) { /* kernel-level */ 123 error = ___lwp_sema_timedwait(lsp, tsp, 1); 126 lsp->count != 0) { /* and non-blocking */ 133 lsp->count--; 140 qp = queue_lock(lsp, C 232 lwp_sema_t *lsp = (lwp_sema_t *)sp; local 299 lwp_sema_t *lsp = (lwp_sema_t *)sp; local [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | propfuncs.c | 108 * entry's contents (buf) and its linked-list representation (listp). lsp 114 * contain only the property information in lsp. 118 process_prop_set(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument 126 if (lsp->ls_propname == NULL) { 135 if (strcmp(lip->li_name, lsp->ls_propname) == 0) 155 nlip->li_name = lsp->ls_propname; 176 for (i = 0; i < *lsp->ls_valcntp; i++) { 181 (*lvpp)->lv_name = lsp->ls_propval[i]; 187 generate_prop_line(lsp->ls_name, buf, listp, statusp); 189 generate_prop_line(lsp 211 process_prop_get(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, prop_db_info_t *listp, dladm_status_t *statusp) argument 257 process_prop_init(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, prop_db_info_t *listp, dladm_status_t *statusp) argument 393 process_prop_line(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, dladm_status_t *statusp) argument 471 prop_db_state_t *lsp = arg; local [all...] |
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pgcore.c | 139 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, argument 144 if (lsp->pr_flags & PR_STOPPED) 146 if (lsp->pr_flags & PR_ISTOP) 148 if (lsp->pr_flags & PR_DSTOP) 150 if (lsp->pr_flags & PR_ASLEEP) 152 if (lsp->pr_flags & PR_FORK) 154 if (lsp->pr_flags & PR_RLC) 160 if (lsp->pr_flags & PR_PCINVAL) 162 if (lsp->pr_flags & PR_ISSYS) 164 if (lsp 264 mkprstatus32(struct ps_prochandle *P, const lwpstatus_t *lsp, const lwpsinfo_t *lip, prstatus32_t *psp) argument 420 old_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) argument 469 new_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) argument [all...] |
H A D | Pcontrol.c | 1567 prldump(const char *caller, lwpstatus_t *lsp) argument 1572 switch (lsp->pr_why) { 1578 proc_signame(lsp->pr_what, name, sizeof (name))); 1582 proc_fltname(lsp->pr_what, name, sizeof (name))); 1586 proc_sysname(lsp->pr_what, name, sizeof (name))); 1590 proc_sysname(lsp->pr_what, name, sizeof (name))); 1594 proc_signame(lsp->pr_what, name, sizeof (name))); 1604 if (lsp->pr_cursig) 1605 dprintf("%s: p_cursig = %d\n", caller, lsp->pr_cursig); 1607 bits = *((uint32_t *)&lsp [all...] |
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 128 static int channel_openreset(struct ldmsvcs_info *lsp); 129 static int read_msg(struct ldmsvcs_info *lsp); 154 channel_close(struct ldmsvcs_info *lsp) argument 156 (void) pthread_mutex_lock(&lsp->mt); 158 if (lsp->fds_chan.state == CHANNEL_OPEN || 159 lsp->fds_chan.state == CHANNEL_READY) { 160 (void) close(lsp->fds_chan.fd); 161 lsp->cv_twait = get_smf_int_val(LDM_INIT_TO_PROP_NM, 163 lsp->fds_chan.state = CHANNEL_CLOSED; 166 (void) pthread_mutex_unlock(&lsp 447 struct ldmsvcs_info *lsp; local 523 poller_init(struct ldmsvcs_info *lsp) argument 581 fds_send(struct ldmsvcs_info *lsp, void *msg, size_t msglen) argument 687 fds_svc_add(struct ldmsvcs_info *lsp, ds_reg_req_t *req, int minor) argument 728 fds_svc_reset(struct ldmsvcs_info *lsp, int index) argument 756 fds_svc_remove(struct ldmsvcs_info *lsp, ds_svc_hdl_t svc_handle) argument 776 ds_handle_msg_noop(struct ldmsvcs_info *lsp, void *buf, size_t len) argument 781 ds_handle_init_req(struct ldmsvcs_info *lsp, void *buf, size_t len) argument 851 ds_handle_reg_req(struct ldmsvcs_info *lsp, void *buf, size_t len) argument 920 ds_handle_unreg(struct ldmsvcs_info *lsp, void *buf, size_t len) argument 983 fds_svc_alloc(struct ldmsvcs_info *lsp) argument 1009 fds_svc_lookup(struct ldmsvcs_info *lsp, char *name) argument 1073 read_msg(struct ldmsvcs_info *lsp) argument 1120 channel_openreset(struct ldmsvcs_info *lsp) argument 1179 struct ldmsvcs_info *lsp; local 1288 struct ldmsvcs_info *lsp; local [all...] |