Lines Matching refs:dcfd_handle
176 nvf_handle_t dcfd_handle;
185 dcfd_handle = nvf_register_file(&devid_cache_ops);
186 ASSERT(dcfd_handle);
188 list_create(nvf_list(dcfd_handle), sizeof (nvp_devid_t),
202 rw_enter(nvf_lock(dcfd_handle), RW_WRITER);
203 ASSERT(list_head(nvf_list(dcfd_handle)) == NULL);
204 (void) nvf_read_file(dcfd_handle);
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);
554 listp = nvf_list(dcfd_handle);
565 nvf_mark_dirty(dcfd_handle);
568 rw_exit(nvf_lock(dcfd_handle));
591 devid_nvp_unlink_and_free(dcfd_handle, np);
600 rw_exit(nvf_lock(dcfd_handle));
621 nvf_mark_dirty(dcfd_handle);
623 list_insert_tail(nvf_list(dcfd_handle), new_nvp);
625 rw_exit(nvf_lock(dcfd_handle));
657 rw_enter(nvf_lock(dcfd_handle), RW_WRITER);
659 listp = nvf_list(dcfd_handle);
671 rw_exit(nvf_lock(dcfd_handle));
693 rw_enter(nvf_lock(dcfd_handle), RW_WRITER);
695 listp = nvf_list(dcfd_handle);
704 nvf_mark_dirty(dcfd_handle);
707 devid_nvp_unlink_and_free(dcfd_handle, np);
711 rw_exit(nvf_lock(dcfd_handle));
795 listp = nvf_list(dcfd_handle);
890 rw_enter(nvf_lock(dcfd_handle), RW_READER);
895 rw_exit(nvf_lock(dcfd_handle));
907 rw_exit(nvf_lock(dcfd_handle));
1071 rw_enter(nvf_lock(dcfd_handle), RW_READER);
1073 listp = nvf_list(dcfd_handle);
1153 rw_exit(nvf_lock(dcfd_handle));