Home
last modified time | relevance | path

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

/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.c327 DEBUGASSERT(tfo && tfo->tfo_refs > 0); in tmpfs_release_lockedfile()
333 if (tfo->tfo_refs == 1 && (tfo->tfo_flags & TFO_FLAG_UNLINKED) != 0) in tmpfs_release_lockedfile()
344 if(tfo->tfo_refs > 0) in tmpfs_release_lockedfile()
346 tfo->tfo_refs--; in tmpfs_release_lockedfile()
493 tfo->tfo_refs = 1; in tmpfs_alloc_file()
1014 if (tfo->tfo_refs > 0) in tmpfs_close()
1016 tfo->tfo_refs--; in tmpfs_close()
1023 if (tfo->tfo_refs == 0 && (tfo->tfo_flags & TFO_FLAG_UNLINKED) != 0) in tmpfs_close()
1979 if (tfo->tfo_refs > 1) in tmpfs_unlink()
1987 tfo->tfo_refs--; in tmpfs_unlink()
[all …]
Dfs_tmpfs.h153 uint8_t tfo_refs; /* Reference count */ member