Searched refs:nvfd (Results 1 – 2 of 2) sorted by relevance
754 e_fwrite_nvlist(nvfd_t *nvfd, nvlist_t *nvl) in e_fwrite_nvlist() argument758 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() argument791 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 …]
113 #define NVF_IS_DIRTY(nvfd) ((nvfd)->nvf_flags & NVF_F_DIRTY) argument114 #define NVF_MARK_DIRTY(nvfd) ((nvfd)->nvf_flags |= NVF_F_DIRTY) argument115 #define NVF_CLEAR_DIRTY(nvfd) ((nvfd)->nvf_flags &= ~NVF_F_DIRTY) argument117 #define NVF_IS_READONLY(nvfd) ((nvfd)->nvf_flags & NVF_F_READONLY) argument118 #define NVF_MARK_READONLY(nvfd) ((nvfd)->nvf_flags |= NVF_F_READONLY) argument