Searched defs:ulp (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dulp.c26 #pragma ident "%Z%%M% %I% %E% SMI" /* ulp.c */
30 #include "ulp.h"
43 void t1_ulp_intr_enable(struct peulp *ulp) argument
46 if (t1_is_asic(ulp->adapter)) {
47 u32 pl_intr = t1_read_reg_4(ulp->adapter, A_PL_ENABLE);
49 t1_write_reg_4(ulp->adapter, A_ULP_INT_ENABLE, ULP_INTR_MASK);
50 t1_write_reg_4(ulp->adapter, A_PL_ENABLE,
55 void t1_ulp_intr_clear(struct peulp *ulp) argument
57 if (t1_is_asic(ulp->adapter)) {
58 t1_write_reg_4(ulp
63 t1_ulp_intr_disable(struct peulp *ulp) argument
74 t1_ulp_intr_handler(struct peulp *ulp) argument
119 t1_ulp_init(struct peulp *ulp, unsigned int pm_tx_base) argument
153 struct peulp *ulp = t1_os_malloc_wait_zero(sizeof(*ulp)); local
160 t1_ulp_destroy(struct peulp * ulp) argument
165 t1_ulp_get_intr_counts(struct peulp *ulp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c86 struct ulockfs *ulp; local
89 error = ufs_lockfs_begin_getpage(ufsvfsp, &ulp, segkmap, !iswrite,
206 if (ulp) {
207 ufs_lockfs_end(ulp);
254 struct ulockfs *ulp; local
267 error = ufs_lockfs_begin_getpage(ufsvfsp, &ulp, segkmap, 0, &protp);
274 if (ulp) {
282 ufs_lockfs_end(ulp);
515 if (ulp) {
521 ufs_lockfs_end(ulp);
[all...]
H A Dufs_filio.c315 struct ulockfs *ulp; local
338 ulp = &ufsvfsp->vfs_ulockfs;
346 mutex_enter(&ulp->ul_lock);
349 if (ULOCKFS_IS_HLOCK(ulp)) {
354 if (ULOCKFS_IS_ELOCK(ulp)) {
359 if (error = ufs_quiesce(ulp))
392 cv_broadcast(&ulp->ul_cv);
393 mutex_exit(&ulp->ul_lock);
410 struct ulockfs *ulp; local
417 ulp
[all...]
H A Dufs_thread.c246 struct ulockfs *ulp; local
280 if (ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_DELETE_MASK))
287 ulp = NULL;
289 ulp = &ufsvfsp->vfs_ulockfs;
358 if (ulp) {
415 if (ulp) {
418 ufs_lockfs_end(ulp);
H A Dufs_lockfs.c95 struct ulockfs *ulp; member in struct:_ulockfs_info
104 #define IS_REC_VOP(found, head, ulp, free) \
111 (_curr->ulp == NULL)) \
113 if (_curr->ulp == ulp) { \
124 #define SEARCH_ULOCKFSP(head, ulp, info) \
130 if (_curr->ulp == ulp) { \
208 ufs_freeze(struct ulockfs *ulp, struct lockfs *lockfsp) argument
213 ulp
235 ufs_quiesce(struct ulockfs *ulp) argument
506 ufs_thaw(struct vfs *vfsp, struct ufsvfs *ufsvfsp, struct ulockfs *ulp) argument
879 struct ulockfs *ulp; local
1226 struct ulockfs *ulp; local
1259 ufs_check_lockfs(struct ufsvfs *ufsvfsp, struct ulockfs *ulp, ulong_t mask) argument
1318 ufs_lockfs_is_under_rawlockfs(struct ulockfs *ulp) argument
1333 struct ulockfs *ulp; local
1485 ufs_lockfs_end(struct ulockfs *ulp) argument
1540 struct ulockfs *ulp; local
1693 struct ulockfs *ulp; local
[all...]
H A Dufs_alloc.c1569 struct ulockfs *ulp; local
1586 ulp = &ufsvfsp->vfs_ulockfs;
1716 if (ULOCKFS_IS_HLOCK(ulp) || ULOCKFS_IS_ELOCK(ulp) ||
1717 ULOCKFS_IS_ROELOCK(ulp)) {
1738 if (CV_HAS_WAITERS(&ulp->ul_cv)) {
1744 mutex_enter(&ulp->ul_lock);
1745 cv_broadcast(&ulp->ul_cv);
1746 mutex_exit(&ulp->ul_lock);
1751 } /* end of CV_HAS_WAITERS(&ulp
[all...]
H A Dufs_dir.c189 struct ulockfs *ulp; local
210 ulp = &dp->i_ufsvfs->vfs_ulockfs;
659 struct ulockfs *ulp; local
691 ulp = &tdp->i_ufsvfs->vfs_ulockfs;
3171 struct ulockfs *ulp; local
3213 err = ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_MKDIR_MASK);
3226 if (ulp) {
3282 if (ulp) {
3286 ufs_lockfs_end(ulp);
3300 if (ulp) {
[all...]
H A Dufs_vfsops.c579 struct ulockfs *ulp = &ufsvfsp->vfs_ulockfs; local
601 mutex_enter(&ulp->ul_lock);
661 error = ufs_quiesce(ulp);
749 cv_broadcast(&ulp->ul_cv);
750 mutex_exit(&ulp->ul_lock);
778 cv_broadcast(&ulp->ul_cv);
779 mutex_exit(&ulp->ul_lock);
1379 struct ulockfs *ulp = &ufsvfsp->vfs_ulockfs; local
1417 mutex_enter(&ulp->ul_lock);
1423 if (!ULOCKFS_IS_HLOCK(ulp)) {
2012 struct ulockfs *ulp; local
2119 struct ulockfs *ulp; local
[all...]
H A Dlufs.c855 struct ulockfs *ulp; local
921 ulp = &ufsvfsp->vfs_ulockfs;
922 mutex_enter(&ulp->ul_lock);
924 (void) ufs_quiesce(ulp);
943 mutex_exit(&ulp->ul_lock);
991 struct ulockfs *ulp; local
1139 ulp = &ufsvfsp->vfs_ulockfs;
1140 mutex_enter(&ulp->ul_lock);
1173 mutex_exit(&ulp->ul_lock);
1225 mutex_exit(&ulp
[all...]
H A Dufs_panic.c2312 struct ulockfs *ulp = &f->uf_ufsvfsp->vfs_ulockfs; local
2321 ASSERT(MUTEX_NOT_HELD(&ulp->ul_lock));
2323 mutex_enter(&ulp->ul_lock);
2324 cp = ulp->ul_lockfs.lf_comment;
2325 comlen = ulp->ul_lockfs.lf_comlen;
2326 errlocked = (int)ULOCKFS_IS_ELOCK(ulp);
2327 mutex_exit(&ulp->ul_lock);
H A Dufs_vnops.c308 struct ulockfs *ulp = NULL; local
329 error = ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_READ_MASK);
346 if (ulp)
347 ufs_lockfs_end(ulp);
351 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) &&
372 if (ulp && (ioflag & FRSYNC) && (ioflag & (FSYNC | FDSYNC)) &&
390 if (ulp) {
391 ufs_lockfs_end(ulp);
438 struct ulockfs *ulp; local
481 error = ufs_lockfs_begin(ufsvfsp, &ulp, ULOCKFS_WRITE_MAS
1562 struct ulockfs *ulp; local
2113 struct ulockfs *ulp; local
2468 struct ulockfs *ulp; local
2624 struct ulockfs *ulp; local
2732 struct ulockfs *ulp; local
2918 struct ulockfs *ulp; local
3200 struct ulockfs *ulp; local
3267 struct ulockfs *ulp; local
3374 struct ulockfs *ulp = NULL; local
3769 struct ulockfs *ulp; local
3845 struct ulockfs *ulp; local
3917 struct ulockfs *ulp; local
4123 struct ulockfs *ulp; local
4470 struct ulockfs *ulp; local
4538 struct ulockfs *ulp; local
5618 struct ulockfs *ulp; local
5828 struct ulockfs *ulp = NULL; local
5951 struct ulockfs *ulp; local
6423 struct ulockfs *ulp; local
6455 struct ulockfs *ulp = NULL; local
6600 struct ulockfs *ulp; local
[all...]
/illumos-gate/usr/src/cmd/cpio/
H A Dutils.c271 get_ull_tok(const char *str, uint64_t *ulp) argument
288 *ulp = ul;
/illumos-gate/usr/src/cmd/mdb/common/modules/libuutil/
H A Dlibuutil.c61 uu_list_pool_t ulp; local
79 if (mdb_vread(&ulp, sizeof (uu_list_pool_t), addr) == -1) {
84 mdb_printf("%0?p %-30s %08x %c\n", addr, ulp.ulp_name, ulp.ulp_cmp,
85 ulp.ulp_debug ? 'D' : ' ');
153 uu_list_pool_t ulp; local
157 if (mdb_vread(&ulp, sizeof (uu_list_pool_t),
163 status = wsp->walk_callback(ulpw->ulpw_current, &ulp, wsp->walk_cbdata);
168 ulpw->ulpw_current = (uintptr_t)ulp.ulp_next;
189 uu_list_pool_t ulp; local
252 uu_list_pool_t ulp; local
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_log.c609 ml_unit_t **ulp; local
615 for (ulp = &ul_list; *ulp && (*ulp != ul); ulp = &(*ulp)->un_next);
616 if (*ulp) {
617 *ulp = ul->un_next;
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dprivcmd.c213 ulong_t *ulp; local
229 for (i = 0, ulp = mmb->arr;
230 i < mmb->num; i++, addr += PAGESIZE, ulp++) {
233 if (fulword(ulp, &mfn) != 0) {
256 if (sulword(ulp, mfn) != 0) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr.c219 xdr_u_long(XDR *xdrs, ulong_t *ulp) argument
226 if (*ulp > UINT32_MAX)
229 ui = (uint32_t)*ulp;
234 *ulp = (ulong_t)ui;
/illumos-gate/usr/src/cmd/mdb/common/modules/fctl/
H A Dfctl.c248 fc_ulp_modinfo_t ulp; local
285 if (mdb_vread(&ulp, sizeof (fc_ulp_modinfo_t),
288 (uintptr_t)ulp.ulp_name) > 0) {
290 ulp_name, ulp.ulp_type, ulp.ulp_rev);
293 mdb_warn("failed to read ulp at %p",
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfcomp.c73 u_long *ulp; local
139 if (i & -(1 - sizeof(*ulp)))
141 for (i /= sizeof(u_long), ulp = (u_long *)fr; i > 0; i--) {
142 fprintf(fp, "%s%#lx", and, *ulp++);
163 u_long *ulp; local
214 ulp = fr->fr_data;
216 fprintf(fp, "%s%#lx", and, *ulp++);
/illumos-gate/usr/src/lib/libdevice/
H A Ddevctl.c1327 dc_cmd(uint_t cmd, uint_t flags, struct devctl_hdl *dcp, nvlist_t *ulp, argument
1334 (void) printf("dc_cmd: %x dcp %p ulp %p flags %x rv %p\n", cmd,
1335 (void *)dcp, (void *)ulp, flags, retinfo);
1348 if (ulp != NULL) {
1349 if (rv = nvlist_pack(ulp, (char **)&iocdata.nvl_user,
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.h207 struct peulp *ulp; member in struct:ch
/illumos-gate/usr/src/uts/i86xpv/os/
H A Devtchn.c1471 volatile ulong_t *ulp; local
1483 ulp = (volatile ulong_t *)&si->evtchn_mask[evi];
1484 atomic_and_ulong(ulp, ~(1ul << evb));
1495 ulp = (volatile ulong_t *)&vci->evtchn_pending_sel;
1496 if (!(*ulp & (1ul << evi))) {
1497 atomic_or_ulong(ulp, (1ul << evi));
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c3099 ulong_t *ulp; local
3122 ulp = &upup->pr_minf;
3124 *ulp++ = (ulong_t)*ullp++;
3132 uint32_t *ulp; local
3155 ulp = &upup->pr_minf;
3157 *ulp++ = (uint32_t)*ullp++;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c406 {"ulp", TOK_ulp, SPD_EXT_PROTO},
4652 int ulp; local
4653 ulp = parse_int(act_props->pattern[i]);
4654 if (ulp == -1) {
4659 cptr->ips_ulp_prot = ulp;
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_hw.h1316 } ulp[2]; member in struct:mbx_common_query_fw_config::__anon7692::__anon7694
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c1764 uint8_t ulp = connp->conn_proto; local
1768 if ((ulp == IPPROTO_TCP || ulp == IPPROTO_UDP || ulp == IPPROTO_SCTP) &&
1790 return (SA_UNIQUE_ID(connp->conn_fport, connp->conn_lport, ulp, 0));

Completed in 150 milliseconds