Searched defs:lsp (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsema.c85 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...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dpropfuncs.c109 * entry's contents (buf) and its linked-list representation (listp). lsp
115 * contain only the property information in lsp.
119 process_prop_set(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, argument
127 if (lsp->ls_propname == NULL) {
136 if (strcmp(lip->li_name, lsp->ls_propname) == 0)
156 nlip->li_name = lsp->ls_propname;
177 for (i = 0; i < *lsp->ls_valcntp; i++) {
182 (*lvpp)->lv_name = lsp->ls_propval[i];
188 generate_prop_line(lsp->ls_name, buf, listp, statusp);
190 generate_prop_line(lsp
212 process_prop_get(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, prop_db_info_t *listp, dladm_status_t *statusp) argument
258 process_prop_init(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, prop_db_info_t *listp, dladm_status_t *statusp) argument
394 process_prop_line(dladm_handle_t handle, prop_db_state_t *lsp, char *buf, dladm_status_t *statusp) argument
472 prop_db_state_t *lsp = arg; local
[all...]
/illumos-gate/usr/src/cmd/nohup/
H A Dnohup.c356 lwp_abort(void *data, const lwpstatus_t *lsp) argument
364 if (!(lsp->pr_flags & PR_ASLEEP) || !lwp_restartable(lsp->pr_syscall))
367 L = Lgrab(g_proc, lsp->pr_lwpid, &err);
381 lwp_restart(void *data, const lwpstatus_t *lsp) argument
390 if (lsp->pr_flags & PR_ASLEEP) {
391 if (!lwp_restartable(lsp->pr_syscall))
395 lsp->pr_lwpid, lsp->pr_syscall, Pstatus(g_proc)->pr_pid);
399 if (lsp
[all...]
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c278 getstack(void *data, const lwpstatus_t *lsp) argument
282 if (Plwp_alt_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) {
284 stacks[*np].lwps_lwpid = lsp->pr_lwpid;
288 if (Plwp_main_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) {
289 stacks[*np].lwps_lwpid = lsp->pr_lwpid;
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c370 const lwpstatus_t *lsp, *end; local
373 lsp = wsp->walk_arg;
375 wsp->walk_arg = (void *)(lsp + 1);
377 if (lsp < end) {
378 uintptr_t addr = lsp->pr_oldcontext;
/illumos-gate/usr/src/lib/fm/libldom/sparc/
H A Dldmsvcs_utils.c128 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...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPgcore.c176 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, argument
181 if (lsp->pr_flags & PR_STOPPED)
183 if (lsp->pr_flags & PR_ISTOP)
185 if (lsp->pr_flags & PR_DSTOP)
187 if (lsp->pr_flags & PR_ASLEEP)
189 if (lsp->pr_flags & PR_FORK)
191 if (lsp->pr_flags & PR_RLC)
197 if (lsp->pr_flags & PR_PCINVAL)
199 if (lsp->pr_flags & PR_ISSYS)
201 if (lsp
301 mkprstatus32(struct ps_prochandle *P, const lwpstatus_t *lsp, const lwpsinfo_t *lip, prstatus32_t *psp) argument
457 old_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) argument
508 new_per_lwp(void *data, const lwpstatus_t *lsp, const lwpsinfo_t *lip) argument
[all...]
H A DPcontrol.c1762 prldump(const char *caller, lwpstatus_t *lsp) argument
1767 switch (lsp->pr_why) {
1773 proc_signame(lsp->pr_what, name, sizeof (name)));
1777 proc_fltname(lsp->pr_what, name, sizeof (name)));
1781 proc_sysname(lsp->pr_what, name, sizeof (name)));
1785 proc_sysname(lsp->pr_what, name, sizeof (name)));
1789 proc_signame(lsp->pr_what, name, sizeof (name)));
1799 if (lsp->pr_cursig)
1800 dprintf("%s: p_cursig = %d\n", caller, lsp->pr_cursig);
1802 bits = *((uint32_t *)&lsp
[all...]
/illumos-gate/usr/src/cmd/ptools/pmap/
H A Dpmap.c172 getstack(void *data, const lwpstatus_t *lsp) argument
176 if (Plwp_alt_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) {
178 stacks[*np].lwps_lwpid = lsp->pr_lwpid;
182 if (Plwp_main_stack(Pr, lsp->pr_lwpid, &stacks[*np].lwps_stack) == 0) {
183 stacks[*np].lwps_lwpid = lsp->pr_lwpid;
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c977 register STRING lsp; local
982 lsp = lnp->n_string;
985 llen = wcslen((wchar_t *)(lsp = exprstring(lnp)));
987 (void) memcpy(cp, (wchar_t *)lsp, llen * sizeof (wchar_t));
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1019 lsrec_t *lsp, **current, **first, **sort_buf, **merge_buf; local
1436 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1438 lsp = (lsrec_t *)((char *)lsp + g_recsize)) {
1439 ev_count[lsp->ls_event] += lsp->ls_count;
1440 ev_time[lsp->ls_event] += lsp->ls_time;
1453 lsp = newlsp;
1469 bcopy(oldlsp, lsp, LS_TIM
1622 lsrec_t *lsp; local
1812 lsrec_t *lsp; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c131 * on the "master" key held in the lsp and the block number of the buffer.
276 lofi_free_comp_cache(struct lofi_state *lsp) argument
280 while ((lc = list_remove_head(&lsp->ls_comp_cache)) != NULL) {
281 kmem_free(lc->lc_data, lsp->ls_uncomp_seg_sz);
283 lsp->ls_comp_cache_count--;
285 ASSERT(lsp->ls_comp_cache_count == 0);
289 is_opened(struct lofi_state *lsp) argument
296 if (lsp->ls_open_lyr[i]) {
303 if (lsp->ls_open_reg[i]) {
312 lofi_set_cleanup(struct lofi_state *lsp) argument
323 lofi_free_crypto(struct lofi_state *lsp) argument
364 struct lofi_state *lsp; local
443 struct lofi_state *lsp; local
521 lofi_destroy(struct lofi_state *lsp, cred_t *credp) argument
597 lofi_free_dev(struct lofi_state *lsp) argument
615 struct lofi_state *lsp; local
656 struct lofi_state *lsp; local
763 struct lofi_state *lsp; local
813 lofi_blk_mech(struct lofi_state *lsp, longlong_t lblkno) argument
897 lofi_crypto(struct lofi_state *lsp, struct buf *bp, caddr_t plaintext, caddr_t ciphertext, size_t len, boolean_t op_encrypt) argument
954 lofi_rdwr(caddr_t bufaddr, offset_t offset, struct buf *bp, struct lofi_state *lsp, size_t len, int method, caddr_t bcopy_locn) argument
1025 lofi_mapped_rdwr(caddr_t bufaddr, offset_t offset, struct buf *bp, struct lofi_state *lsp) argument
1154 lofi_find_comp_data(struct lofi_state *lsp, uint64_t seg_index) argument
1187 lofi_add_comp_data(struct lofi_state *lsp, uint64_t seg_index, uchar_t *data) argument
1286 struct lofi_state *lsp; local
1639 struct lofi_state *lsp; local
1786 struct lofi_state *lsp; local
1806 lofi_create_minor_nodes(struct lofi_state *lsp, boolean_t labeled) argument
1842 lofi_zone_bind(struct lofi_state *lsp) argument
1865 lofi_zone_unbind(struct lofi_state *lsp) argument
1878 struct lofi_state *lsp; local
1950 struct lofi_state *lsp; local
1994 struct lofi_state *lsp; local
2107 lofi_access(struct lofi_state *lsp) argument
2123 struct lofi_state *lsp; local
2204 fake_disk_geometry(struct lofi_state *lsp) argument
2246 fake_disk_vtoc(struct lofi_state *lsp, struct vtoc *vt) argument
2315 lofi_map_compressed_file(struct lofi_state *lsp, char *buf) argument
2406 lofi_init_crypto(struct lofi_state *lsp, struct lofi_ioctl *klip) argument
2579 lofi_init_compress(struct lofi_state *lsp) argument
2660 struct lofi_state *lsp = NULL; local
2713 lofi_create_inquiry(struct lofi_state *lsp, struct scsi_inquiry *inq) argument
2779 struct lofi_state *lsp = NULL; local
2954 struct lofi_state *lsp; local
3043 struct lofi_state *lsp; local
3182 struct lofi_state *lsp; local
3445 struct lofi_state *lsp; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c5142 pt_copy_lwp(lwpstatus_t **lspp, const lwpstatus_t *lsp) argument
5144 bcopy(lsp, *lspp, sizeof (lwpstatus_t));
5152 lwpstatus_t *lsp, *lbuf; local
5165 lsp = lbuf = mdb_alloc(sizeof (lwpstatus_t) * nlwp, UM_SLEEP);
5168 (void) Plwp_iter(t->t_pshandle, (proc_lwp_f *)pt_copy_lwp, &lsp);
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_state.c2522 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2526 rc = (lsp->rls_lockid.bits.boottime == id->bits.boottime &&
2527 lsp->rls_lockid.bits.type == id->bits.type &&
2528 lsp->rls_lockid.bits.ident == id->bits.ident &&
2529 lsp->rls_lockid.bits.pid == id->bits.pid);
2537 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2539 return (&lsp->rls_lockid);
2545 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2547 if (rfs4_dbe_is_invalid(lsp->rls_dbe))
2549 if (lsp
2559 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2609 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2639 rfs4_lo_state_rele(rfs4_lo_state_t *lsp, bool_t unlock_fp) argument
2649 rfs4_lo_state_t *lsp; local
2664 rfs4_lo_state_t *lsp = key; local
2672 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
2689 rfs4_lo_state_t *lsp; local
2991 rfs4_update_lock_sequence(rfs4_lo_state_t *lsp) argument
3009 rfs4_update_lock_resp(rfs4_lo_state_t *lsp, nfs_resop4 *resp) argument
3370 rfs4_check_lo_stateid_seqid(rfs4_lo_state_t *lsp, stateid4 *stateid) argument
3425 rfs4_lo_state_t *lsp; local
3454 rfs4_lo_state_t *lsp = NULL; local
3567 rfs4_lo_state_t *lsp; local
3849 rfs4_lo_state_t *lsp = (rfs4_lo_state_t *)u_entry; local
[all...]
H A Dnfs4_srv.c3895 rfs4_lo_state_t *lsp; local
3997 for (lsp = list_head(&sp->rs_lostatelist);
3998 lsp != NULL;
3999 lsp = list_next(&sp->rs_lostatelist, lsp)) {
4000 if (lsp->rls_locker == lo) {
4001 rfs4_dbe_lock(lsp->rls_dbe);
4002 rfs4_dbe_invalidate(lsp->rls_dbe);
4003 rfs4_dbe_unlock(lsp->rls_dbe);
7265 rfs4_check_lock_seqid(seqid4 seqid, rfs4_lo_state_t *lsp, nfs_resop argument
8372 rfs4_lo_state_t *lsp; local
8640 rfs4_do_lock(rfs4_lo_state_t *lsp, nfs_lock_type4 locktype, offset4 offset, length4 length, cred_t *cred, nfs_resop4 *resop) argument
8801 rfs4_lo_state_t *lsp = NULL; local
9222 rfs4_lo_state_t *lsp; local
[all...]

Completed in 146 milliseconds