/titanic_44/usr/src/uts/common/disp/ |
H A D | disp_lock.c | 58 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 …]
|
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 83 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 …]
|
/titanic_44/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 36 #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 …]
|
/titanic_44/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_log.c | 72 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 D | fmd_filter.c | 38 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()
|
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_list.c | 47 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()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_hash.c | 84 refhash_link_t *lp = obj_to_link(hp, op); in refhash_insert() local 98 refhash_link_t *lp = obj_to_link(hp, op); in refhash_delete() local 110 refhash_link_t *lp = obj_to_link(hp, op); in refhash_remove() local 123 refhash_link_t *lp; in refhash_lookup() local 143 refhash_link_t *lp; in refhash_linear_search() local 158 refhash_link_t *lp = obj_to_link(hp, op); in refhash_hold() local 166 refhash_link_t *lp = obj_to_link(hp, op); in refhash_rele() local 177 refhash_link_t *lp; in refhash_first() local 191 refhash_link_t *lp; in refhash_next() local 212 const refhash_link_t *lp = obj_to_link(hp, op); in refhash_obj_valid() local
|
/titanic_44/usr/src/uts/sparc/v7/sys/ |
H A D | mutex_impl.h | 90 #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
|
/titanic_44/usr/src/uts/sparc/v9/sys/ |
H A D | mutex_impl.h | 78 #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
|
/titanic_44/usr/src/cmd/sgs/tools/common/ |
H A D | alist.c | 99 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()
|
/titanic_44/usr/src/uts/intel/sys/ |
H A D | mutex_impl.h | 81 #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
|
/titanic_44/usr/src/uts/common/io/ |
H A D | winlockio.c | 306 struct seglock *lp; /* associated lock context */ member 334 #define LOCK(lp) (*((lp)->lockptr)) argument 405 #define seglock_findclient(lp) seglock_find_specific((lp), CURPROC_ID) argument 406 #define seglock_allocclient(lp) seglock_alloc_specific((lp), CURPROC_ID) argument 587 SegLock *lp; in winlock_devmap() local 660 SegLock *lp = seglock_findlock((uint_t)off); /* returns w/ mutex held */ in winlockmap_map() local 708 SegLock *lp = sdp->lp; in winlockmap_dup() local 751 SegLock *lp = sdp->lp; in winlockmap_unmap() local 788 SegLock *lp = sdp->lp; in winlockmap_access() local 833 SegLock *lp; in seglock_findlock() local [all …]
|
H A D | iwscons.c | 136 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 …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | mutex.c | 241 mutex_panic(char *msg, mutex_impl_t *lp) in mutex_panic() 342 mutex_vector_enter(mutex_impl_t *lp) in mutex_vector_enter() 481 mutex_vector_tryenter(mutex_impl_t *lp) in mutex_vector_tryenter() 507 mutex_vector_exit(mutex_impl_t *lp) in mutex_vector_exit() 533 const mutex_impl_t *lp = (const mutex_impl_t *)mp; in mutex_owned() local 546 const mutex_impl_t *lp = (const mutex_impl_t *)mp; in mutex_owner() local 568 mutex_impl_t *lp = (mutex_impl_t *)mp; in mutex_init() local 620 mutex_impl_t *lp = (mutex_impl_t *)mp; in mutex_destroy() local 647 lock_set_spin(lock_t *lp) in lock_set_spin() 681 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 D | rwlock.c | 215 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() 277 rw_enter_sleep(rwlock_impl_t *lp, krw_t rw) in rw_enter_sleep() 411 rw_exit_wakeup(rwlock_impl_t *lp) in rw_exit_wakeup() 536 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_tryenter() local 574 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_downgrade() local 603 rwlock_impl_t *lp = (rwlock_impl_t *)rwlp; in rw_tryupgrade() local
|
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_log.c | 111 fmd_log_write(fmd_log_t *lp, const void *buf, size_t n) in fmd_log_write() 133 fmd_log_write_hdr(fmd_log_t *lp, const char *tag) in fmd_log_write_hdr() 208 fmd_log_check_err(fmd_log_t *lp, int err, const char *msg) in fmd_log_check_err() 222 fmd_log_check_hdr(fmd_log_t *lp, const char *tag) in fmd_log_check_hdr() 333 fmd_log_open_exacct(fmd_log_t *lp, int aflags, int oflags) in fmd_log_open_exacct() 354 fmd_log_t *lp = fmd_zalloc(sizeof (fmd_log_t), FMD_SLEEP); in fmd_log_xopen() local 450 fmd_log_close(fmd_log_t *lp) in fmd_log_close() 474 fmd_log_hold_pending(fmd_log_t *lp) in fmd_log_hold_pending() 490 fmd_log_hold(fmd_log_t *lp) in fmd_log_hold() 499 fmd_log_rele(fmd_log_t *lp) in fmd_log_rele() [all …]
|
H A D | fmd_list.c | 50 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()
|
/titanic_44/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_list.c | 44 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()
|
/titanic_44/usr/src/lib/libipmi/common/ |
H A D | ipmi_list.c | 43 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()
|
/titanic_44/usr/src/cmd/fm/fmdump/common/ |
H A D | error.c | 32 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 D | info.c | 32 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 D | asru.c | 33 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()
|
/titanic_44/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_menu.c | 48 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
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | t_lock.h | 80 #define DISP_LOCK_INIT(lp) LOCK_INIT_CLEAR((lock_t *)(lp)) argument 81 #define DISP_LOCK_HELD(lp) LOCK_HELD((lock_t *)(lp)) argument 82 #define DISP_LOCK_DESTROY(lp) ASSERT(!DISP_LOCK_HELD(lp)) argument
|
/titanic_44/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_list.c | 54 topo_list_append(topo_list_t *lp, void *new) in topo_list_append() 73 topo_list_prepend(topo_list_t *lp, void *new) in topo_list_prepend() 92 topo_list_insert_before(topo_list_t *lp, void *before_me, void *new) in topo_list_insert_before() 109 topo_list_insert_after(topo_list_t *lp, void *after_me, void *new) in topo_list_insert_after() 126 topo_list_delete(topo_list_t *lp, void *existing) in topo_list_delete()
|