Searched refs:nvfd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Ddevcache_impl.h113 #define NVF_IS_DIRTY(nvfd) ((nvfd)->nvf_flags & NVF_F_DIRTY)
114 #define NVF_MARK_DIRTY(nvfd) ((nvfd)->nvf_flags |= NVF_F_DIRTY)
115 #define NVF_CLEAR_DIRTY(nvfd) ((nvfd)->nvf_flags &= ~NVF_F_DIRTY)
117 #define NVF_IS_READONLY(nvfd) ((nvfd)->nvf_flags & NVF_F_READONLY)
118 #define NVF_MARK_READONLY(nvfd) ((nvfd)
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Ddevcache.c754 e_fwrite_nvlist(nvfd_t *nvfd, nvlist_t *nvl) argument
758 if ((err = fwrite_nvlist(nvfd->nvf_cache_path, nvl)) == 0)
762 NVF_MARK_READONLY(nvfd);
782 fread_nvp_list(nvfd_t *nvfd) argument
791 ASSERT(RW_WRITE_HELD(&(nvfd->nvf_lock)));
793 rval = fread_nvlist(nvfd->nvf_cache_path, &nvl);
817 ASSERT(RW_WRITE_HELD(&(nvfd->nvf_lock)));
818 rv = (nvfd->nvf_unpack_nvlist)
819 ((nvf_handle_t)nvfd, sublist, name);
820 ASSERT(RW_WRITE_HELD(&(nvfd
852 nvfd_t *nvfd = (nvfd_t *)nvf_handle; local
955 nvpflush_one(nvfd_t *nvfd) argument
[all...]

Completed in 57 milliseconds