Searched refs:nvf_lock (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c150 rw_enter(nvf_lock(rio_store_handle), RW_WRITER);
153 rw_exit(nvf_lock(rio_store_handle));
180 ASSERT(RW_WRITE_HELD(nvf_lock(nvfh)));
201 ASSERT(RW_WRITE_HELD(nvf_lock(nvfh)));
255 ASSERT(RW_WRITE_HELD(nvf_lock(nvfh)));
331 rw_enter(nvf_lock(rio_store_handle), RW_WRITER);
343 rw_exit(nvf_lock(rio_store_handle));
358 rw_exit(nvf_lock(rio_store_handle));
377 rw_enter(nvf_lock(rio_store_handle), RW_WRITER);
395 rw_exit(nvf_lock(rio_store_handl
[all...]
H A Ddevcache.c97 * can be accessed with nvf_lock(). The lock must be held
296 rw_init(&nvfdp->nvf_lock, NULL, RW_DRIVER, NULL);
329 nvf_lock(nvf_handle_t handle) function
331 return (&(((nvfd_t *)handle)->nvf_lock));
343 ASSERT(RW_WRITE_HELD(&(((nvfd_t *)handle)->nvf_lock)));
350 ASSERT(RW_LOCK_HELD(&(((nvfd_t *)handle)->nvf_lock)));
770 ASSERT(RW_WRITE_HELD(&nvf->nvf_lock));
772 ASSERT(RW_WRITE_HELD(&nvf->nvf_lock));
791 ASSERT(RW_WRITE_HELD(&(nvfd->nvf_lock)));
817 ASSERT(RW_WRITE_HELD(&(nvfd->nvf_lock)));
[all...]
H A Ddevid_cache.c202 rw_enter(nvf_lock(dcfd_handle), RW_WRITER);
205 rw_exit(nvf_lock(dcfd_handle));
226 ASSERT(RW_WRITE_HELD(nvf_lock(dcfd_handle)));
259 ASSERT(RW_WRITE_HELD(nvf_lock(dcfd_handle)));
299 ASSERT(RW_WRITE_HELD(nvf_lock(dcfd_handle)));
552 rw_enter(nvf_lock(dcfd_handle), RW_WRITER);
568 rw_exit(nvf_lock(dcfd_handle));
600 rw_exit(nvf_lock(dcfd_handle));
625 rw_exit(nvf_lock(dcfd_handle));
657 rw_enter(nvf_lock(dcfd_handl
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Ddevcache.h70 krwlock_t *nvf_lock(nvf_handle_t);
H A Ddevcache_impl.h99 krwlock_t nvf_lock; /* lock for data list */ member in struct:nvfiledesc
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dnvfile.c138 static kmutex_t nvf_lock; /* lock for file */ variable
171 mutex_init(&nvf_lock, NULL, MUTEX_DRIVER, NULL);
178 mutex_enter(&nvf_lock);
182 mutex_exit(&nvf_lock);
184 mutex_enter(&nvf_lock);
193 mutex_exit(&nvf_lock);
196 mutex_destroy(&nvf_lock);
208 mutex_enter(&nvf_lock);
214 mutex_exit(&nvf_lock);
220 mutex_exit(&nvf_lock);
[all...]
/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ncache.c174 rw_enter(nvf_lock(sdevfd_handle), RW_WRITER);
179 rw_exit(nvf_lock(sdevfd_handle));
211 ASSERT(RW_WRITE_HELD(nvf_lock(fd)));
238 ASSERT(RW_WRITE_HELD(nvf_lock(fd)));
293 ASSERT(RW_WRITE_HELD(nvf_lock(fd)));
367 ASSERT(RW_WRITE_HELD(nvf_lock(sdevfd_handle)));
417 rw_enter(nvf_lock(fd), RW_WRITER);
419 rw_exit(nvf_lock(fd));
442 rw_enter(nvf_lock(sdevfd_handle), RW_WRITER);
468 rw_exit(nvf_lock(sdevfd_handl
[all...]
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c282 rw_enter(nvf_lock(puafd_handle), RW_WRITER);
284 rw_exit(nvf_lock(puafd_handle));
337 ASSERT(RW_WRITE_HELD(nvf_lock(hdl)));
382 ASSERT(RW_WRITE_HELD(nvf_lock(hdl)));
409 rw_enter(nvf_lock(puafd_handle), RW_READER);
421 rw_exit(nvf_lock(puafd_handle));
432 rw_enter(nvf_lock(puafd_handle), RW_WRITER);
448 rw_exit(nvf_lock(puafd_handle));

Completed in 92 milliseconds