Home
last modified time | relevance | path

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

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