Searched refs:uf_lock (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbftdi/
H A Duftdi_dsd.c211 mutex_init(&uf->uf_lock, NULL, MUTEX_DRIVER,
320 mutex_enter(&uf->uf_lock);
323 mutex_exit(&uf->uf_lock);
401 mutex_enter(&uf->uf_lock);
404 mutex_exit(&uf->uf_lock);
407 mutex_exit(&uf->uf_lock);
416 mutex_enter(&uf->uf_lock);
420 mutex_exit(&uf->uf_lock);
424 mutex_exit(&uf->uf_lock);
445 mutex_enter(&uf->uf_lock);
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Duser.h90 kmutex_t uf_lock; /* per-fd lock [never copied] */ member in struct:uf_entry
135 * mutex_enter(&ufp->uf_lock);
138 * fi_list can change in the window between loading ufp and entering uf_lock.
156 * locks -- fi_lock and every fd's uf_lock -- to install a new file list.
163 mutex_enter(&ufp->uf_lock); \
166 mutex_exit(&ufp->uf_lock); \
169 #define UF_EXIT(ufp) mutex_exit(&ufp->uf_lock)
/illumos-gate/usr/src/uts/common/sys/usb/clients/usbser/usbftdi/
H A Duftdi_var.h70 kmutex_t uf_lock; /* structure lock */ member in struct:uftdi_state
112 _NOTE(MUTEX_PROTECTS_DATA(uftdi_state::uf_lock, uftdi_state))
/illumos-gate/usr/src/uts/common/os/
H A Dfio.c290 ASSERT(MUTEX_HELD(&ufp->uf_lock));
363 * fi_list and fi_nfiles cannot change while any uf_lock is held,
371 * could see the new fi_list, grab the new uf_lock, and then see
376 mutex_enter(&src->uf_lock);
379 mutex_enter(&dst->uf_lock);
419 mutex_exit(&dst->uf_lock);
429 mutex_exit(&src->uf_lock);
660 cv_wait_stop(&ufp->uf_wanted_cv, &ufp->uf_lock, 250);
706 * To do this, we must drop ufp->uf_lock and then
708 * and ufp->uf_lock a
[all...]
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp.c91 * locks, the fanout lock (uf_lock) and conn_lock. conn_lock
92 * protects the contents of the udp_t. uf_lock protects the address and the
94 * The lock order is conn_lock -> uf_lock.
96 * The fanout lock uf_lock:
406 us->us_bind_fanout_size)].uf_lock;
432 ASSERT(MUTEX_HELD(&uf->uf_lock));
780 mutex_enter(&udpf->uf_lock);
789 mutex_exit(&udpf->uf_lock);
4399 mutex_init(&us->us_bind_fanout[i].uf_lock, NULL, MUTEX_DEFAULT,
4438 mutex_destroy(&us->us_bind_fanout[i].uf_lock);
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dudp_impl.h65 kmutex_t uf_lock; member in struct:udp_fanout_s
166 * conn_lock and the fanout lock i.e. uf_lock. Need both locks to change
184 /* Following 2 fields protected by the uf_lock */

Completed in 309 milliseconds