Home
last modified time | relevance | path

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

12345678910>>...16

/illumos-gate/usr/src/uts/common/disp/
H A Ddisp_lock.c56 disp_lock_init(disp_lock_t *lp, char *name) in disp_lock_init()
63 disp_lock_destroy(disp_lock_t *lp) in disp_lock_destroy()
69 disp_lock_enter_high(disp_lock_t *lp) in disp_lock_enter_high()
75 disp_lock_exit_high(disp_lock_t *lp) in disp_lock_exit_high()
84 disp_lock_enter(disp_lock_t *lp) in disp_lock_enter()
90 disp_lock_exit(disp_lock_t *lp) in disp_lock_exit()
104 disp_lock_exit_nopreempt(disp_lock_t *lp) in disp_lock_exit_nopreempt()
125 lock_t *lp = *tlpp; in thread_lock() local
168 lock_t *lp = *tlpp; in thread_lock_high() local
194 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
296 scsa1394_sbp2_get_lun_type(scsa1394_lun_t *lp) in scsa1394_sbp2_get_lun_type()
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
339 scsa1394_sbp2_req_bus_reset(scsa1394_lun_t *lp) in scsa1394_sbp2_req_bus_reset()
405 scsa1394_sbp2_req_reconnect(scsa1394_lun_t *lp) in scsa1394_sbp2_req_reconnect()
[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()
264 list_insert(uu_list_t *lp, uu_list_node_impl_t *np, uu_list_node_impl_t *prev, in list_insert()
293 uu_list_insert(uu_list_t *lp, void *elem, uu_list_index_t idx) in uu_list_insert()
316 uu_list_find(uu_list_t *lp, void *elem, void *private, uu_list_index_t *out) in uu_list_find()
351 uu_list_nearest_next(uu_list_t *lp, uu_list_index_t idx) in uu_list_nearest_next()
376 uu_list_nearest_prev(uu_list_t *lp, uu_list_index_t idx) in uu_list_nearest_prev()
400 list_walk_init(uu_list_walk_t *wp, uu_list_t *lp, uint32_t flags) in list_walk_init()
[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()
87 fmd_log_dprintf(fmd_log_t *lp, const char *format, ...) in fmd_log_dprintf()
105 fmd_log_load_record(fmd_log_t *lp, uint_t iflags, fmd_log_record_t *rp) in fmd_log_load_record()
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()
321 fmd_log_load_xrefs(fmd_log_t *lp, uint_t iflags, fmd_log_record_t *rp) in fmd_log_load_xrefs()
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()
[all …]
H A Dfmd_filter.c40 fmd_log_filter_class(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_class()
69 fmd_log_filter_uuid(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_uuid()
84 fmd_log_filter_before(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_before()
93 fmd_log_filter_after(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_after()
102 fmd_log_filter_nv(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_nv()
162 fmd_log_filter_nv_multi(fmd_log_t *lp, const fmd_log_record_t *rp, void *arg) in fmd_log_filter_nv_multi()
/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.c45 av1394_list_init(av1394_list_t *lp) in av1394_list_init()
56 av1394_list_head(av1394_list_t *lp) in av1394_list_head()
67 av1394_list_put_tail(av1394_list_t *lp, void *item) in av1394_list_put_tail()
87 av1394_list_put_head(av1394_list_t *lp, void *item) in av1394_list_put_head()
107 av1394_list_get_head(av1394_list_t *lp) in av1394_list_get_head()
/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
H A Dlogsubr.c121 log_t *lp = (log_t *)q->q_ptr; in log_flushq() local
283 log_t *lp; in log_alloc() local
319 log_free(log_t *lp) in log_free()
400 log_t *lp; in log_update() local
452 log_error(log_t *lp, log_ctl_t *lc) in log_error()
460 log_trace(log_t *lp, log_ctl_t *lc) in log_trace()
487 log_console(log_t *lp, log_ctl_t *lc) in log_console()
565 log_t *lp; in log_sendmsg() local
762 struct log *lp = buf; in log_cons_constructor() local
774 struct log *lp = buf; in log_cons_destructor() local
/illumos-gate/usr/src/uts/common/io/
H A Diwscons.c136 srinterrupt(iwscn_list_t *lp, boolean_t wait) in srinterrupt()
156 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
[all …]
/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()
206 fmd_log_check_err(fmd_log_t *lp, int err, const char *msg) in fmd_log_check_err()
220 fmd_log_check_hdr(fmd_log_t *lp, const char *tag) in fmd_log_check_hdr()
331 fmd_log_open_exacct(fmd_log_t *lp, int aflags, int oflags) in fmd_log_open_exacct()
352 fmd_log_t *lp = fmd_zalloc(sizeof (fmd_log_t), FMD_SLEEP); in fmd_log_xopen() local
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()
[all …]
H A Dfmd_list.c48 fmd_list_append(fmd_list_t *lp, void *new) in fmd_list_append()
67 fmd_list_prepend(fmd_list_t *lp, void *new) in fmd_list_prepend()
86 fmd_list_insert_before(fmd_list_t *lp, void *before_me, void *new) in fmd_list_insert_before()
103 fmd_list_insert_after(fmd_list_t *lp, void *after_me, void *new) in fmd_list_insert_after()
120 fmd_list_delete(fmd_list_t *lp, void *existing) in fmd_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/lib/libipmi/common/
H A Dipmi_list.c41 ipmi_list_append(ipmi_list_t *lp, void *new) in ipmi_list_append()
60 ipmi_list_prepend(ipmi_list_t *lp, void *new) in ipmi_list_prepend()
79 ipmi_list_insert_before(ipmi_list_t *lp, void *before_me, void *new) in ipmi_list_insert_before()
96 ipmi_list_insert_after(ipmi_list_t *lp, void *after_me, void *new) in ipmi_list_insert_after()
113 ipmi_list_delete(ipmi_list_t *lp, void *existing) in ipmi_list_delete()
/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.c121 #define pushlevel(lp,c,s) ((lp->lexd.level>=lp->lexd.lex_max?stack_grow(lp):1) &&\ argument
124 #define oldmode(lp) (lp->lexd.lastc>>CHAR_BIT) argument
125 #define endchar(lp) (lp->lexd.lastc&0xff) argument
126 #define setchar(lp,c) (lp->lexd.lastc = ((lp->lexd.lastc&~0xff)|(c))) argument
127 #define poplevel(lp) (lp->lexd.lastc=lp->lexd.lex_match[--lp->lexd.level]) 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()
268 Lex_t *sh_lexopen(Lex_t *lp, Shell_t *sp, int mode) in sh_lexopen()
295 int sh_lex(Lex_t *lp) in sh_lex()
[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
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_list.c57 topo_list_append(topo_list_t *lp, void *new) in topo_list_append()
76 topo_list_prepend(topo_list_t *lp, void *new) in topo_list_prepend()
95 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) in topo_list_insert_before()
112 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) in topo_list_insert_after()
129 topo_list_delete(topo_list_t *lp, void *existing) in topo_list_delete()

12345678910>>...16