Classes | |
| struct | FdInfo |
| class | PartialCache |
Typedefs | |
| typedef ::Table< ShortIdKey, FdInfo * >::Default | FdTable |
| typedef ::Table< ShortIdKey, FdInfo * >::Iterator | FdIter |
Enumerations | |
| enum | OFlag { ro, rw, any } |
Functions | |
| int | open (ShortId sid, FdCache::OFlag ofl, FdCache::OFlag *oflout) throw () |
| int | tryopen (ShortId sid, FdCache::OFlag ofl, FdCache::OFlag *oflout) throw () |
| void | close (ShortId sid, int fd, FdCache::OFlag ofl) throw () |
| void | flush (ShortId sid, FdCache::OFlag ofl) throw () |
| void | getStats (Basics::uint32 &n_in_cache, Basics::uint64 &hits, Basics::uint64 &open_misses, Basics::uint64 &try_misses, Basics::uint64 &evictions, Basics::uint64 &expirations) |
| typedef ::Table<ShortIdKey, FdInfo*>::Iterator FdCache::FdIter |
| typedef ::Table<ShortIdKey, FdInfo*>::Default FdCache::FdTable |
| enum FdCache::OFlag |
| void FdCache::close | ( | ShortId | sid, | |
| int | fd, | |||
| FdCache::OFlag | ofl | |||
| ) | throw () |
Definition at line 366 of file FdCache.C.
References FdCache::PartialCache::close().
Referenced by any_fattr(), apply_sattr(), Copy(), CopyShortId(), do_create(), DoDeletions(), VLeaf::executable(), fd_inactive(), ReposUI::getMessage(), OS::GetProcessSize(), GlueInit(), VDirChangeable::insertMutableFile(), KeepDerived(), main(), VDirChangeable::makeEntryImmutable(), AtomicFile::open(), VLeaf::read(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::size(), StatShortid(), FS::TempFname(), VLeaf::timestamp(), FS::Touch(), and VLeaf::write().
Here is the call graph for this function:

Here is the caller graph for this function:

| void FdCache::flush | ( | ShortId | sid, | |
| FdCache::OFlag | ofl | |||
| ) | throw () |
Definition at line 414 of file FdCache.C.
References FdCache::PartialCache::flush().
Referenced by Tool_Relay::body(), ServerHandler::call(), ClientCall(), AtomicFile::close(), OS::ThreadIO::end_err(), OS::ThreadIO::end_out(), OS::ThreadIO::flush_buffered(), ReposUI::getMessage(), init(), main(), VDirChangeable::makeEntryImmutable(), Proc1(), RunTool(), SRPC_impl::send_bytes(), TCP_sock::send_data(), SRPC_impl::send_int16(), SRPC_impl::send_int32(), SRPC_impl::send_int64(), SRPC_impl::send_item_code(), Server(), ShipText(), Thread2(), Thread3(), and WriteFailure().
Here is the call graph for this function:

Here is the caller graph for this function:

| void FdCache::getStats | ( | Basics::uint32 & | n_in_cache, | |
| Basics::uint64 & | hits, | |||
| Basics::uint64 & | open_misses, | |||
| Basics::uint64 & | try_misses, | |||
| Basics::uint64 & | evictions, | |||
| Basics::uint64 & | expirations | |||
| ) |
| int FdCache::open | ( | ShortId | sid, | |
| FdCache::OFlag | ofl, | |||
| FdCache::OFlag * | oflout = NULL | |||
| ) | throw () |
Definition at line 266 of file FdCache.C.
References FdCache::PartialCache::open().
Referenced by apply_sattr(), Copy(), CopyShortId(), VLeaf::executable(), SourceOrDerived::fdcreate(), SourceOrDerived::fdopen(), fh_fd(), OS::GetProcessSize(), VDirChangeable::makeEntryImmutable(), VestaLog::open(), FS::FdStream::open(), FS::OFdStream::open(), FS::IFdStream::open(), AtomicFile::open(), VLeaf::read(), RunToolServerInit(), VLeaf::setExecutable(), VLeaf::setSize(), VLeaf::size(), FS::TempFname(), VLeaf::timestamp(), FS::Touch(), and VLeaf::write().
Here is the call graph for this function:

Here is the caller graph for this function:

| int FdCache::tryopen | ( | ShortId | sid, | |
| FdCache::OFlag | ofl, | |||
| FdCache::OFlag * | oflout = NULL | |||
| ) | throw () |
Definition at line 322 of file FdCache.C.
References FdCache::PartialCache::tryopen().
Referenced by any_fattr(), and StatShortid().
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1