Home
last modified time | relevance | path

Searched refs:ulp (Results 1 – 25 of 49) sorted by relevance

12

/titanic_44/usr/src/uts/common/io/chxge/com/
H A Dulp.c43 void t1_ulp_intr_enable(struct peulp *ulp) in t1_ulp_intr_enable() argument
46 if (t1_is_asic(ulp->adapter)) { in t1_ulp_intr_enable()
47 u32 pl_intr = t1_read_reg_4(ulp->adapter, A_PL_ENABLE); in t1_ulp_intr_enable()
49 t1_write_reg_4(ulp->adapter, A_ULP_INT_ENABLE, ULP_INTR_MASK); in t1_ulp_intr_enable()
50 t1_write_reg_4(ulp->adapter, A_PL_ENABLE, in t1_ulp_intr_enable()
55 void t1_ulp_intr_clear(struct peulp *ulp) in t1_ulp_intr_clear() argument
57 if (t1_is_asic(ulp->adapter)) { in t1_ulp_intr_clear()
58 t1_write_reg_4(ulp->adapter, A_PL_CAUSE, F_PL_INTR_ULP); in t1_ulp_intr_clear()
59 t1_write_reg_4(ulp->adapter, A_ULP_INT_CAUSE, 0xffffffff); in t1_ulp_intr_clear()
63 void t1_ulp_intr_disable(struct peulp *ulp) in t1_ulp_intr_disable() argument
[all …]
H A Dulp.h50 void t1_ulp_destroy(struct peulp *ulp);
51 int t1_ulp_init(struct peulp *ulp, unsigned int pm_tx_base);
53 void t1_ulp_intr_enable(struct peulp *ulp);
54 void t1_ulp_intr_clear(struct peulp *ulp);
55 void t1_ulp_intr_disable(struct peulp *ulp);
56 int t1_ulp_intr_handler(struct peulp *ulp);
57 const struct ulp_intr_counts *t1_ulp_get_intr_counts(struct peulp *ulp);
H A Dch_subr.c990 t1_ulp_intr_disable(adapter->ulp); in t1_interrupts_enable()
1034 t1_ulp_intr_disable(adapter->ulp); in t1_interrupts_disable()
1071 t1_ulp_intr_clear(adapter->ulp); in t1_interrupts_clear()
1121 (void) t1_ulp_intr_handler(adapter->ulp); in asic_slow_intr()
1247 if (adapter->ulp && t1_ulp_init(adapter->ulp, in t1_init_hw_modules()
1329 if (adapter->ulp) in t1_free_sw_modules()
1330 t1_ulp_destroy(adapter->ulp); in t1_free_sw_modules()
1421 adapter->ulp = t1_ulp_create(adapter); in t1_init_sw_modules()
1422 if (!adapter->ulp) { in t1_init_sw_modules()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c95 struct ulockfs *ulp; member
104 #define IS_REC_VOP(found, head, ulp, free) \ argument
111 (_curr->ulp == NULL)) \
113 if (_curr->ulp == ulp) { \
124 #define SEARCH_ULOCKFSP(head, ulp, info) \ argument
130 if (_curr->ulp == ulp) { \
208 ufs_freeze(struct ulockfs *ulp, struct lockfs *lockfsp) in ufs_freeze() argument
213 ulp->ul_lockfs.lf_lock = lockfsp->lf_lock; in ufs_freeze()
214 ulp->ul_lockfs.lf_key = lockfsp->lf_key; in ufs_freeze()
215 ulp->ul_lockfs.lf_comlen = lockfsp->lf_comlen; in ufs_freeze()
[all …]
H A Dufs_vnops.c308 struct ulockfs *ulp = NULL; in ufs_read() local
329 error = ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_READ_MASK); in ufs_read()
346 if (ulp) in ufs_read()
347 ufs_lockfs_end(ulp); in ufs_read()
351 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) && in ufs_read()
372 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) && in ufs_read()
390 if (ulp) { in ufs_read()
391 ufs_lockfs_end(ulp); in ufs_read()
438 struct ulockfs *ulp; in ufs_write() local
481 error = ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_WRITE_MASK); in ufs_write()
[all …]
H A Dufs_filio.c315 struct ulockfs *ulp; in ufs_fiosdio() local
338 ulp = &ufsvfsp->vfs_ulockfs; in ufs_fiosdio()
346 mutex_enter(&ulp->ul_lock); in ufs_fiosdio()
349 if (ULOCKFS_IS_HLOCK(ulp)) { in ufs_fiosdio()
354 if (ULOCKFS_IS_ELOCK(ulp)) { in ufs_fiosdio()
359 if (error = ufs_quiesce(ulp)) in ufs_fiosdio()
392 cv_broadcast(&ulp->ul_cv); in ufs_fiosdio()
393 mutex_exit(&ulp->ul_lock); in ufs_fiosdio()
410 struct ulockfs *ulp; in ufs_fioffs() local
417 ulp = &ufsvfsp->vfs_ulockfs; in ufs_fioffs()
[all …]
H A Dufs_vfsops.c581 struct ulockfs *ulp = &ufsvfsp->vfs_ulockfs; in remountfs() local
603 mutex_enter(&ulp->ul_lock); in remountfs()
663 error = ufs_quiesce(ulp); in remountfs()
751 cv_broadcast(&ulp->ul_cv); in remountfs()
752 mutex_exit(&ulp->ul_lock); in remountfs()
780 cv_broadcast(&ulp->ul_cv); in remountfs()
781 mutex_exit(&ulp->ul_lock); in remountfs()
1381 struct ulockfs *ulp = &ufsvfsp->vfs_ulockfs; in ufs_unmount() local
1419 mutex_enter(&ulp->ul_lock); in ufs_unmount()
1425 if (!ULOCKFS_IS_HLOCK(ulp)) { in ufs_unmount()
[all …]
H A Dufs_extvnops.c86 struct ulockfs *ulp; in ufs_rdwr_data() local
89 error = ufs_lockfs_begin_getpage(ufsvfsp, &ulp, segkmap, !iswrite, in ufs_rdwr_data()
206 if (ulp) { in ufs_rdwr_data()
207 ufs_lockfs_end(ulp); in ufs_rdwr_data()
254 struct ulockfs *ulp; in ufs_alloc_data() local
267 error = ufs_lockfs_begin_getpage(ufsvfsp, &ulp, segkmap, 0, &protp); in ufs_alloc_data()
274 if (ulp) { in ufs_alloc_data()
282 ufs_lockfs_end(ulp); in ufs_alloc_data()
515 if (ulp) { in ufs_alloc_data()
521 ufs_lockfs_end(ulp); in ufs_alloc_data()
H A Dlufs.c855 struct ulockfs *ulp; in lufs_disable() local
921 ulp = &ufsvfsp->vfs_ulockfs; in lufs_disable()
922 mutex_enter(&ulp->ul_lock); in lufs_disable()
924 (void) ufs_quiesce(ulp); in lufs_disable()
943 mutex_exit(&ulp->ul_lock); in lufs_disable()
991 struct ulockfs *ulp; in lufs_enable() local
1139 ulp = &ufsvfsp->vfs_ulockfs; in lufs_enable()
1140 mutex_enter(&ulp->ul_lock); in lufs_enable()
1173 mutex_exit(&ulp->ul_lock); in lufs_enable()
1225 mutex_exit(&ulp->ul_lock); in lufs_enable()
[all …]
H A Dufs_thread.c246 struct ulockfs *ulp; in ufs_delete() local
280 if (ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_DELETE_MASK)) in ufs_delete()
287 ulp = NULL; in ufs_delete()
289 ulp = &ufsvfsp->vfs_ulockfs; in ufs_delete()
358 if (ulp) { in ufs_delete()
415 if (ulp) { in ufs_delete()
418 ufs_lockfs_end(ulp); in ufs_delete()
/titanic_44/usr/src/cmd/mdb/common/modules/libuutil/
H A Dlibuutil.c61 uu_list_pool_t ulp; in uutil_listpool() local
79 if (mdb_vread(&ulp, sizeof (uu_list_pool_t), addr) == -1) { in uutil_listpool()
84 mdb_printf("%0?p %-30s %08x %c\n", addr, ulp.ulp_name, ulp.ulp_cmp, in uutil_listpool()
85 ulp.ulp_debug ? 'D' : ' '); in uutil_listpool()
153 uu_list_pool_t ulp; in uutil_listpool_walk_step() local
157 if (mdb_vread(&ulp, sizeof (uu_list_pool_t), in uutil_listpool_walk_step()
163 status = wsp->walk_callback(ulpw->ulpw_current, &ulp, wsp->walk_cbdata); in uutil_listpool_walk_step()
168 ulpw->ulpw_current = (uintptr_t)ulp.ulp_next; in uutil_listpool_walk_step()
189 uu_list_pool_t ulp; in uutil_list_walk_init() local
191 if (mdb_vread(&ulp, sizeof (uu_list_pool_t), wsp->walk_addr) == -1) { in uutil_list_walk_init()
[all …]
/titanic_44/usr/src/uts/i86xpv/io/
H A Dprivcmd.c213 ulong_t *ulp; in do_privcmd_mmapbatch() local
229 for (i = 0, ulp = mmb->arr; in do_privcmd_mmapbatch()
230 i < mmb->num; i++, addr += PAGESIZE, ulp++) { in do_privcmd_mmapbatch()
233 if (fulword(ulp, &mfn) != 0) { in do_privcmd_mmapbatch()
256 if (sulword(ulp, mfn) != 0) { in do_privcmd_mmapbatch()
/titanic_44/usr/src/lib/libm/i386/src/
H A Dnextafterf.s73 subl $1,%eax / x - ulp
78 addl $1,%eax / x + ulp
H A Dnextafter.s83 subl $1,%eax / low x - ulp
91 addl $1,%eax / low x + ulp
/titanic_44/usr/src/uts/common/sys/fs/
H A Dufs_fs.h764 if (ulp && ULOCKFS_IS_SLOCK(ulp)) {\
785 if (ulp && ULOCKFS_IS_SLOCK(ulp)) {\
788 ufs_lockfs_end(ulp);\
H A Dufs_trans.h335 #define TRANS_WRITE_RESV(ip, uiop, ulp, resvp, residp) \ argument
336 if ((TRANS_ISTRANS(ip->i_ufsvfs) != NULL) && (ulp != NULL)) \
339 #define TRANS_WRITE(ip, uiop, ioflag, err, ulp, cr, resv, resid) \ argument
340 if ((TRANS_ISTRANS(ip->i_ufsvfs) != NULL) && (ulp != NULL)) \
/titanic_44/usr/src/lib/libnsl/rpc/
H A Dxdr.c217 xdr_u_long(XDR *xdrs, ulong_t *ulp) in xdr_u_long() argument
224 if (*ulp > UINT32_MAX) in xdr_u_long()
227 ui = (uint32_t)*ulp; in xdr_u_long()
232 *ulp = (ulong_t)ui; in xdr_u_long()
/titanic_44/usr/src/uts/intel/io/fibre-channel/impl/
H A Dfp.conf58 load-ulp-list="1","fcp";
/titanic_44/usr/src/uts/sparc/io/fibre-channel/impl/
H A Dfp.conf58 load-ulp-list="1","fcp";
/titanic_44/usr/src/uts/intel/fcp/
H A DMakefile42 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp
/titanic_44/usr/src/uts/intel/fcsm/
H A DMakefile43 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
/titanic_44/usr/src/uts/sparc/fcp/
H A DMakefile42 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp
/titanic_44/usr/src/uts/sparc/fcsm/
H A DMakefile43 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
/titanic_44/usr/src/uts/intel/fcip/
H A DMakefile43 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
/titanic_44/usr/src/uts/sparc/fcip/
H A DMakefile43 CONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/

12