Searched refs:nvf_flags (Results 1 – 3 of 3) sorted by relevance
97 int nvf_flags; /* flags */ member113 #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)->nvf_flags |= NVF_F_READONLY)
137 static uint32_t nvf_flags; /* nvfile state flags */ variable162 nvf_flags = 0; in nvf_init()163 NVF_MARK_ACTIVE(nvf_flags); in nvf_init()179 NVF_CLEAR_ACTIVE(nvf_flags); in nvf_fini()180 if (NVF_IS_SCHED(nvf_flags)) { in nvf_fini()291 NVF_MARK_DIRTY(nvf_flags); in nvf_update()303 if (!NVF_IS_SCHED(nvf_flags)) { in nvf_update()304 NVF_MARK_SCHED(nvf_flags); in nvf_update()315 if (nvf_flags & NVF_ERROR) { in nvf_update()854 if (NVF_IS_ACTIVE(nvf_flags)) { in nvf_thread()[all …]
295 nvfdp->nvf_flags = 0; in nvf_register_file()866 nvfd->nvf_flags |= NVF_F_REBUILD_MSG; in nvf_read_file()871 nvfd->nvf_flags |= NVF_F_CREATE_MSG; in nvf_read_file()877 nvfd->nvf_flags |= NVF_F_REBUILD_MSG; in nvf_read_file()962 ASSERT((nvfd->nvf_flags & NVF_F_FLUSHING) == 0); in nvpflush_one()988 nvfd->nvf_flags |= NVF_F_FLUSHING; in nvpflush_one()995 nvfd->nvf_flags &= ~NVF_F_FLUSHING; in nvpflush_one()999 nvfd->nvf_flags &= ~(NVF_F_ERROR | NVF_F_DIRTY); in nvpflush_one()1000 } else if ((nvfd->nvf_flags & NVF_F_ERROR) == 0) { in nvpflush_one()1003 nvfd->nvf_flags |= NVF_F_ERROR | NVF_F_DIRTY; in nvpflush_one()[all …]