Searched refs:pc_lock (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c824 mutex_init(&portq->portq_pcp->pc_lock, NULL, MUTEX_DEFAULT, NULL);
H A Dport_fd.c116 mutex_enter(&pcp->pc_lock);
124 mutex_exit(&pcp->pc_lock);
148 ASSERT(MUTEX_HELD(&pcp->pc_lock));
200 mutex_enter(&pcp->pc_lock);
212 mutex_exit(&pcp->pc_lock);
247 mutex_exit(&pcp->pc_lock);
322 * The pc_lock can get dropped and reaquired in VOP_POLL.
323 * In the window pc_lock is dropped another thread in
336 mutex_exit(&pcp->pc_lock);
358 * The pc_lock ca
[all...]
H A Dport_vnops.c262 mutex_destroy(&portq->portq_pcp->pc_lock);
/illumos-gate/usr/src/uts/common/os/
H A Dport_subr.c556 ASSERT(MUTEX_HELD(&pcp->pc_lock));
625 ASSERT(MUTEX_HELD(&pcp->pc_lock));
679 mutex_enter(&pcp->pc_lock);
681 mutex_exit(&pcp->pc_lock);
/illumos-gate/usr/src/uts/common/io/
H A Dpcic.c684 mutex_enter(&pcic->pc_lock);
688 mutex_exit(&pcic->pc_lock);
1470 mutex_init(&pcic->pc_lock, NULL, MUTEX_DRIVER,
1514 mutex_init(&pcic->pc_lock, NULL, MUTEX_DRIVER, NULL);
1538 mutex_enter(&pcic->pc_lock);
1559 mutex_exit(&pcic->pc_lock);
1612 mutex_destroy(&pcic->pc_lock);
1627 mutex_destroy(&pcic->pc_lock);
1677 mutex_destroy(&pcic->pc_lock);
1695 mutex_enter(&pcic->pc_lock);
[all...]
H A Ddevpoll.c265 ASSERT(MUTEX_HELD(&pcp->pc_lock));
729 * unecessary since the pollcache itself is protected by pc_lock.
863 mutex_exit(&pcp->pc_lock);
865 mutex_enter(&pcp->pc_lock);
1286 &pcp->pc_lock, deadline);
1329 mutex_enter(&pcp->pc_lock);
1335 mutex_exit(&pcp->pc_lock);
1340 mutex_exit(&pcp->pc_lock);
1348 mutex_exit(&pcp->pc_lock);
1354 mutex_exit(&pcp->pc_lock);
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dpcic_var.h180 kmutex_t pc_lock; /* general register lock */ member in struct:pcicdev_t
H A Dport_kernel.h125 * pc_lock must be the first element of port_fdcache_t to keep it
126 * synchronized with the offset of pc_lock in pollcache_t (see pollrelock()).
129 kmutex_t pc_lock; /* lock to protect portcache */ member in struct:port_fdcache
H A Dpoll_impl.h195 * requires holding pc_lock in the respective pcl_parent_pc or pcl_child_pc
234 * The offset of pc_lock field must be kept in sync with the pc_lock offset
235 * of port_fdcache_t, both structs implement pc_lock with offset 0 (see also
239 kmutex_t pc_lock; /* lock to protect pollcache */ member in struct:pollcache
/illumos-gate/usr/src/uts/common/io/ksocket/
H A Dksocket.c774 mutex_enter(&pcp->pc_lock);
779 mutex_exit(&pcp->pc_lock);
810 mutex_enter(&pcp->pc_lock);
828 rval = cv_wait_sig(&pcp->pc_cv, &pcp->pc_lock);
830 rval = cv_timedwait_sig(&pcp->pc_cv, &pcp->pc_lock,
839 mutex_exit(&pcp->pc_lock);
/illumos-gate/usr/src/uts/common/syscall/
H A Dpoll.c132 * is on that pollhead. This is modified atomically under pc_lock.
136 * This is modified atomically under pc_lock.
153 * The two key locks in poll proper is ps_lock and pc_lock.
160 * The pc_lock protects most of the fields in pollcache structure and polldat
169 * Poll(2) system call is the only path which ps_lock and pc_lock are both
171 * lwp_exit; and pc_lock with pollwakeup.
173 * The locking interaction between pc_lock and PHLOCK take into account
174 * that poll acquires these locks in the order of pc_lock and then PHLOCK
184 * The locking interaction between pc_lock and uf_lock has similar
185 * issues. Poll holds ps_lock and/or pc_lock acros
[all...]

Completed in 120 milliseconds