Home
last modified time | relevance | path

Searched defs:lp (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/uts/common/disp/
H A Ddisp_lock.c58 disp_lock_init(disp_lock_t *lp, char *name) in disp_lock_init()
65 disp_lock_destroy(disp_lock_t *lp) in disp_lock_destroy()
71 disp_lock_enter_high(disp_lock_t *lp) in disp_lock_enter_high()
77 disp_lock_exit_high(disp_lock_t *lp) in disp_lock_exit_high()
86 disp_lock_enter(disp_lock_t *lp) in disp_lock_enter()
92 disp_lock_exit(disp_lock_t *lp) in disp_lock_exit()
106 disp_lock_exit_nopreempt(disp_lock_t *lp) in disp_lock_exit_nopreempt()
127 lock_t *lp = *tlpp; in thread_lock() local
170 lock_t *lp = *tlpp; in thread_lock_high() local
196 disp_lock_t *lp; in thread_transition() local
[all …]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c83 scsa1394_lun_t *lp; in scsa1394_sbp2_attach() local
123 scsa1394_lun_t *lp; in scsa1394_sbp2_detach() local
246 scsa1394_lun_t *lp; in scsa1394_sbp2_threads_init() local
276 scsa1394_lun_t *lp; in scsa1394_sbp2_threads_fini() local
304 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_login() local
318 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_logout() local
329 scsa1394_lun_t *lp = &sp->s_lun[lun]; in scsa1394_sbp2_req() local
440 scsa1394_lun_t *lp = &sp->s_lun[0]; in scsa1394_sbp2_disconnect() local
656 scsa1394_sbp2_nudge(scsa1394_lun_t *lp) in scsa1394_sbp2_nudge()
670 scsa1394_lun_t *lp = thr->thr_lun; in scsa1394_sbp2_worker_thread() local
[all …]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_list.c36 #define ELEM_TO_NODE(lp, e) \ argument
39 #define NODE_TO_ELEM(lp, n) \ argument
183 uu_list_t *lp, *next, *prev; in uu_list_create() local
232 uu_list_destroy(uu_list_t *lp) in uu_list_destroy()
481 uu_list_t *lp = wp->ulw_list; in uu_list_walk_next() local
543 uu_list_remove(uu_list_t *lp, void *elem) in uu_list_remove()
653 uu_list_numnodes(uu_list_t *lp) in uu_list_numnodes()
659 uu_list_first(uu_list_t *lp) in uu_list_first()
668 uu_list_last(uu_list_t *lp) in uu_list_last()
677 uu_list_next(uu_list_t *lp, void *elem) in uu_list_next()
[all …]
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c72 fmd_log_set_errno(fmd_log_t *lp, int err) in fmd_log_set_errno()
196 fmd_log_load_xref(fmd_log_t *lp, uint_t iflags, in fmd_log_load_xref()
280 fmd_log_load_xrdir(fmd_log_t *lp) in fmd_log_load_xrdir()
366 fmd_log_open_err(fmd_log_t *lp, int *errp, int err) in fmd_log_open_err()
381 fmd_log_t *lp; in fmd_log_open() local
499 fmd_log_close(fmd_log_t *lp) in fmd_log_close()
529 fmd_log_label(fmd_log_t *lp) in fmd_log_label()
557 fmd_log_rewind(fmd_log_t *lp) in fmd_log_rewind()
699 fmd_log_seek(fmd_log_t *lp, off64_t off) in fmd_log_seek()
733 fmd_log_errmsg(fmd_log_t *lp, int err) in fmd_log_errmsg()
[all …]
H A Dfmd_filter.c38 fmd_log_filter_class(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_class()
67 fmd_log_filter_uuid(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_uuid()
82 fmd_log_filter_before(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_before()
91 fmd_log_filter_after(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_after()
100 fmd_log_filter_nv(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_nv()
/illumos-gate/usr/src/uts/common/refhash/
H A Drefhash.c78 refhash_link_t *lp = obj_to_link(hp, op); in refhash_insert() local
92 refhash_link_t *lp = obj_to_link(hp, op); in refhash_delete() local
104 refhash_link_t *lp = obj_to_link(hp, op); in refhash_remove() local
117 refhash_link_t *lp; in refhash_lookup() local
137 refhash_link_t *lp; in refhash_linear_search() local
152 refhash_link_t *lp = obj_to_link(hp, op); in refhash_hold() local
160 refhash_link_t *lp = obj_to_link(hp, op); in refhash_rele() local
171 refhash_link_t *lp; in refhash_first() local
185 refhash_link_t *lp; in refhash_next() local
205 const refhash_link_t *lp = obj_to_link(hp, op); in refhash_obj_valid() local
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c47 av1394_list_init(av1394_list_t *lp) in av1394_list_init()
58 av1394_list_head(av1394_list_t *lp) in av1394_list_head()
69 av1394_list_put_tail(av1394_list_t *lp, void *item) in av1394_list_put_tail()
89 av1394_list_put_head(av1394_list_t *lp, void *item) in av1394_list_put_head()
109 av1394_list_get_head(av1394_list_t *lp) in av1394_list_get_head()
/illumos-gate/usr/src/uts/common/io/
H A Dwinlockio.c587 SegLock *lp; in winlock_devmap() local
708 SegLock *lp = sdp->lp; in winlockmap_dup() local
833 SegLock *lp; in seglock_findlock() local
855 SegLock *lp; in seglock_findkey() local
878 SegLock *lp; in seglock_createlock() local
1106 struct seglock *lp; in seglock_graballoc() local
1180 struct seglock *lp; in seglock_grabfree() local
1216 SegLock *lp; in seglock_settimeout() local
1256 SegLock *lp; in seglock_gettimeout() local
1581 SegLock *lp, *lpnext; in lock_destroyall() local
[all …]
H A Diwscons.c156 iwscn_list_t *lp, **lpp; in srrm() local
183 iwscn_list_t *lp; in srpush() local
216 iwscn_list_t *lp, **lpp; in srpop() local
258 iwscn_list_t *lp; in srhold() local
272 srrele(iwscn_list_t *lp) in srrele()
285 iwscn_list_t *lp; in iwscnread() local
300 iwscn_list_t *lp; in iwscnwrite() local
316 iwscn_list_t *lp; in iwscnpoll() local
332 iwscn_list_t *lp; in iwscnioctl() local
468 iwscn_list_t *lp; in iwscnopen() local
[all …]
/illumos-gate/usr/src/uts/sparc/v7/sys/
H A Dmutex_impl.h90 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner << PTR24_LSB)) argument
93 #define MUTEX_SET_WAITERS(lp) ((lp)->m_waiters = 1) argument
94 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_waiters != 0) argument
95 #define MUTEX_CLEAR_LOCK_AND_WAITERS(lp) \ argument
98 #define MUTEX_SET_TYPE(lp, type) (lp)->m_type = (type) argument
99 #define MUTEX_TYPE_ADAPTIVE(lp) ((lp)->m_type == MUTEX_ADAPTIVE) argument
100 #define MUTEX_TYPE_SPIN(lp) ((lp)->m_type == MUTEX_SPIN) argument
102 #define MUTEX_DESTROY(lp) \ argument
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dmutex_impl.h78 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) argument
81 #define MUTEX_SET_WAITERS(lp) \ argument
89 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_owner & MUTEX_WAITERS) argument
90 #define MUTEX_CLEAR_LOCK_AND_WAITERS(lp) (lp)->m_owner = 0 argument
92 #define MUTEX_SET_TYPE(lp, type) argument
93 #define MUTEX_TYPE_ADAPTIVE(lp) (((lp)->m_owner & MUTEX_DEAD) == 0) argument
94 #define MUTEX_TYPE_SPIN(lp) ((lp)->m_spin.m_dummylock == LOCK_HELD_VALUE) argument
96 #define MUTEX_DESTROY(lp) \ argument
/illumos-gate/usr/src/cmd/sgs/common/
H A Dalist.c99 Alist *lp = *lpp; in alist_insert() local
190 APlist *lp = *lpp; in aplist_insert() local
300 alist_delete(Alist *lp, Aliste *idxp) in alist_delete()
326 alist_delete_by_offset(Alist *lp, Aliste *offp) in alist_delete_by_offset()
338 aplist_delete(APlist *lp, Aliste *idxp) in aplist_delete()
375 aplist_delete_value(APlist *lp, const void *ptr) in aplist_delete_value()
423 APlist *lp = *lpp; in aplist_test() local
452 alist_reset(Alist *lp) in alist_reset()
461 aplist_reset(APlist *lp) in aplist_reset()
/illumos-gate/usr/src/uts/intel/sys/
H A Dmutex_impl.h81 #define MUTEX_OWNER(lp) ((kthread_id_t)((lp)->m_owner & MUTEX_THREAD)) argument
84 #define MUTEX_SET_WAITERS(lp) \ argument
92 #define MUTEX_HAS_WAITERS(lp) ((lp)->m_owner & MUTEX_WAITERS) argument
93 #define MUTEX_CLEAR_LOCK_AND_WAITERS(lp) (lp)->m_owner = 0 argument
95 #define MUTEX_SET_TYPE(lp, type) argument
96 #define MUTEX_TYPE_ADAPTIVE(lp) (((lp)->m_owner & MUTEX_DEAD) == 0) argument
97 #define MUTEX_TYPE_SPIN(lp) ((lp)->m_spin.m_dummylock == LOCK_HELD_VALUE) argument
99 #define MUTEX_DESTROY(lp) \ argument
/illumos-gate/usr/src/uts/common/os/
H A Dmutex.c242 mutex_panic(char *msg, mutex_impl_t *lp) in mutex_panic()
343 mutex_vector_enter(mutex_impl_t *lp) in mutex_vector_enter()
482 mutex_vector_tryenter(mutex_impl_t *lp) in mutex_vector_tryenter()
508 mutex_vector_exit(mutex_impl_t *lp) in mutex_vector_exit()
534 const mutex_impl_t *lp = (const mutex_impl_t *)mp; in mutex_owned() local
547 const mutex_impl_t *lp = (const mutex_impl_t *)mp; in mutex_owner() local
569 mutex_impl_t *lp = (mutex_impl_t *)mp; in mutex_init() local
621 mutex_impl_t *lp = (mutex_impl_t *)mp; in mutex_destroy() local
648 lock_set_spin(lock_t *lp) in lock_set_spin()
682 lock_set_spl_spin(lock_t *lp, int new_pil, ushort_t *old_pil_addr, int old_pil) in lock_set_spl_spin()
H A Drwlock.c215 rw_panic(char *msg, rwlock_impl_t *lp) in rw_panic()
237 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_destroy() local
253 rw_locked(rwlock_impl_t *lp, krw_t rw) in rw_locked()
274 rw_enter_sleep(rwlock_impl_t *lp, krw_t rw) in rw_enter_sleep()
405 rw_exit_wakeup(rwlock_impl_t *lp) in rw_exit_wakeup()
529 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_tryenter() local
565 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_downgrade() local
593 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_tryupgrade() local
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c109 fmd_log_write(fmd_log_t *lp, const void *buf, size_t n) in fmd_log_write()
131 fmd_log_write_hdr(fmd_log_t *lp, const char *tag) in fmd_log_write_hdr()
220 fmd_log_check_hdr(fmd_log_t *lp, const char *tag) in fmd_log_check_hdr()
448 fmd_log_close(fmd_log_t *lp) in fmd_log_close()
472 fmd_log_hold_pending(fmd_log_t *lp) in fmd_log_hold_pending()
488 fmd_log_hold(fmd_log_t *lp) in fmd_log_hold()
497 fmd_log_rele(fmd_log_t *lp) in fmd_log_rele()
723 fmd_log_commit(fmd_log_t *lp, fmd_event_t *e) in fmd_log_commit()
771 fmd_log_decommit(fmd_log_t *lp, fmd_event_t *e) in fmd_log_decommit()
963 fmd_log_update(fmd_log_t *lp) in fmd_log_update()
[all …]
H A Dfmd_list.c50 fmd_list_append(fmd_list_t *lp, void *new) in fmd_list_append()
69 fmd_list_prepend(fmd_list_t *lp, void *new) in fmd_list_prepend()
88 fmd_list_insert_before(fmd_list_t *lp, void *before_me, void *new) in fmd_list_insert_before()
105 fmd_list_insert_after(fmd_list_t *lp, void *after_me, void *new) in fmd_list_insert_after()
122 fmd_list_delete(fmd_list_t *lp, void *existing) in fmd_list_delete()
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_list.c44 cmd_list_append(cmd_list_t *lp, void *new) in cmd_list_append()
60 cmd_list_prepend(cmd_list_t *lp, void *new) in cmd_list_prepend()
76 cmd_list_insert_before(cmd_list_t *lp, void *before_me, void *new) in cmd_list_insert_before()
93 cmd_list_insert_after(cmd_list_t *lp, void *after_me, void *new) in cmd_list_insert_after()
110 cmd_list_delete(cmd_list_t *lp, void *existing) in cmd_list_delete()
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_list.c43 ipmi_list_append(ipmi_list_t *lp, void *new) in ipmi_list_append()
62 ipmi_list_prepend(ipmi_list_t *lp, void *new) in ipmi_list_prepend()
81 ipmi_list_insert_before(ipmi_list_t *lp, void *before_me, void *new) in ipmi_list_insert_before()
98 ipmi_list_insert_after(ipmi_list_t *lp, void *after_me, void *new) in ipmi_list_insert_after()
115 ipmi_list_delete(ipmi_list_t *lp, void *existing) in ipmi_list_delete()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_menu.c48 append_line(grub_menu_t *mp, grub_line_t *lp) in append_line()
65 grub_line_t *lp; in process_line() local
89 grub_line_t *lp; in check_entry() local
133 grub_line_t *lp; in default_entry() local
154 free_line(grub_line_t *lp) in free_line()
169 grub_line_t *lp; in free_linelist() local
202 grub_line_t *lp; in grub_menu_append_line() local
446 grub_menu_next_line(const grub_menu_t *mp, const grub_line_t *lp) in grub_menu_next_line()
456 grub_menu_prev_line(const grub_menu_t *mp, const grub_line_t *lp) in grub_menu_prev_line()
468 grub_line_t *lp; in grub_menu_get_line() local
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Derror.c32 err_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in err_short()
44 err_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in err_verb1()
59 err_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, in err_verb23_cmn()
77 err_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in err_verb2()
83 err_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in err_pretty()
H A Dinfo.c32 info_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in info_short()
44 info_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in info_verb1()
59 info_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, in info_verb23_cmn()
80 info_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in info_verb2()
86 info_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in info_pretty()
H A Dasru.c33 asru_short(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_short()
45 asru_verb1(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_verb1()
74 asru_verb23_cmn(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp, in asru_verb23_cmn()
110 asru_verb2(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_verb2()
116 asru_pretty(fmd_log_t *lp, const fmd_log_record_t *rp, FILE *fp) in asru_pretty()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dlex.c124 #define oldmode(lp) (lp->lexd.lastc>>CHAR_BIT) argument
125 #define endchar(lp) (lp->lexd.lastc&0xff) argument
144 static void refvar(Lex_t *lp, int type) in refvar()
188 register Lex_t *lp = (Lex_t*)context; in lex_advance() local
236 static int lexfill(Lex_t *lp) in lexfill()
295 int sh_lex(Lex_t *lp) in sh_lex()
324 int sh_lex(Lex_t* lp) in sh_lex()
2147 void sh_syntax(Lex_t *lp) in sh_syntax()
2473 Lex_t *lp; member
2494 register Lex_t *lp; in alias_exceptf() local
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dt_lock.h78 #define DISP_LOCK_INIT(lp) LOCK_INIT_CLEAR((lock_t *)(lp)) argument
79 #define DISP_LOCK_HELD(lp) LOCK_HELD((lock_t *)(lp)) argument
80 #define DISP_LOCK_DESTROY(lp) ASSERT(!DISP_LOCK_HELD(lp)) argument

12345678910>>...16