Lines Matching defs:Inode

7 //! Inode access functions
11 #include "Inode.h"
21 Create(Inode* inode, Inode* parent, const char* name, int32 mode,
48 Inode* fInode;
50 Inode* fParent;
60 Remove(Inode* inode, const char* name)
75 Inode* fInode;
82 Action(const char* action, Inode* inode)
97 Inode* fInode;
104 Resize(Inode* inode, off_t oldSize, off_t newSize, bool trim)
122 Inode* fInode;
137 /*! A helper class used by Inode::Create() to keep track of the belongings
148 Inode** _inode);
158 Inode* fInode;
195 block_run& run, fs_vnode_ops* vnodeOps, Inode** _inode)
209 fInode = new(std::nothrow) Inode(volume, *fTransaction,
298 Inode* inode = (Inode*)_inode;
337 // #pragma mark - Inode
340 Inode::Inode(Volume* volume, ino_t id)
349 PRINT(("Inode::Inode(volume = %p, id = %" B_PRIdINO ") @ %p\n",
373 Inode::Inode(Volume* volume, Transaction& transaction, ino_t id, mode_t mode,
383 PRINT(("Inode::Inode(volume = %p, transaction = %p, id = %" B_PRIdINO
419 Inode::~Inode()
421 PRINT(("Inode::~Inode() @ %p\n", this));
433 Inode::InitCheck(bool checkNode) const
473 Inode::WriteLockInTransaction(Transaction& transaction)
495 Inode::WriteBack(Transaction& transaction)
508 Inode::UpdateNodeFromDisk()
525 Inode::CheckPermissions(int accessMode) const
540 Inode::_AddIterator(AttributeIterator* iterator)
548 Inode::_RemoveIterator(AttributeIterator* iterator)
560 Inode::_MakeSpaceForSmallData(Transaction& transaction, bfs_inode* node,
593 Inode* attribute;
606 Inode* attributes;
626 Inode::_RemoveSmallData(bfs_inode* node, small_data* item, int32 index)
664 Inode::_RemoveSmallData(Transaction& transaction, NodeGetter& nodeGetter,
713 Inode::_AddSmallData(Transaction& transaction, NodeGetter& nodeGetter,
878 Inode::_GetNextSmallData(bfs_inode* node, small_data** _smallData) const
908 Inode::FindSmallData(const bfs_inode* node, const char* name) const
927 Inode::Name(const bfs_inode* node) const
945 Inode::GetName(char* buffer, size_t size) const
970 Inode::SetName(Transaction& transaction, const char* name)
988 Inode::_RemoveAttribute(Transaction& transaction, const char* name,
993 Inode* attributes;
1000 Inode* attribute;
1044 Inode::ReadAttribute(const char* name, int32 type, off_t pos, uint8* buffer,
1077 Inode* attribute;
1094 Inode::WriteAttribute(Transaction& transaction, const char* name, int32 type,
1116 Inode* attribute = NULL;
1266 Inode::RemoveAttribute(Transaction& transaction, const char* name)
1309 Inode::GetAttribute(const char* name, Inode** _attribute)
1316 Inode* attributes;
1318 FATAL(("get_vnode() failed in Inode::GetAttribute(name = \"%s\")\n",
1333 Inode* inode;
1348 Inode::ReleaseAttribute(Inode* attribute)
1358 Inode::CreateAttribute(Transaction& transaction, const char* name, uint32 type,
1359 Inode** attribute)
1363 status_t status = Inode::Create(transaction, this, NULL,
1369 Inode* attributes;
1373 // Inode::Create() locks the inode for us
1374 return Inode::Create(transaction, attributes, name,
1383 Inode::IsEmpty()
1407 Inode::ContainerContentsChanged(Transaction& transaction)
1426 could be cached in the inode structure or Inode object, though).
1429 Inode::AllocatedSize() const
1472 Inode::FindBlockRun(off_t pos, block_run& run, off_t& offset)
1575 Inode::ReadAt(off_t pos, uint8* buffer, size_t* _length)
1582 Inode::WriteAt(Transaction& transaction, off_t pos, const uint8* buffer,
1664 It's more or less a copy of Inode::WriteAt() but it can handle
1669 Inode::FillGapWithZeros(off_t pos, off_t newSize)
1694 Inode::_AllocateBlockArray(Transaction& transaction, block_run& run,
1723 Inode::_GrowStream(Transaction& transaction, off_t size)
2066 Inode::_DoubleIndirectBlockLength() const
2079 Inode::_FreeStaticStreamArray(Transaction& transaction, int32 level,
2153 Inode::_FreeStreamArray(Transaction& transaction, block_run* array,
2206 Inode::_ShrinkStream(Transaction& transaction, off_t size)
2270 Inode::SetFileSize(Transaction& transaction, off_t size)
2305 Inode::Append(Transaction& transaction, off_t bytes)
2316 Inode::NeedsTrimming() const
2335 Inode::TrimPreallocation(Transaction& transaction)
2350 Inode::Free(Transaction& transaction)
2354 // Perhaps there should be an implementation of Inode::ShrinkStream() that
2387 Inode::Sync()
2491 Inode::TransactionDone(bool success)
2502 Inode::RemovedFromTransaction()
2521 Inode::Remove(Transaction& transaction, const char* name, ino_t* _id,
2538 Inode* inode;
2548 // Inode::IsContainer() is true also for indices (furthermore, the S_IFDIR
2584 // In balance to the Inode::Create() method, the main indices
2620 Inode::Create(Transaction& transaction, Inode* parent, const char* name,
2622 Inode** _inode, fs_vnode_ops* vnodeOps, uint32 publishFlags)
2659 Inode* inode;
2718 Inode* inode;
2845 AttributeIterator::AttributeIterator(Inode* inode)
2953 Inode* attribute;