Searched refs:fInode (Results 1 - 25 of 59) sorted by relevance

123

/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DVnodeToInode.cpp16 if (fInode == NULL) {
17 status_t result = fFileSystem->GetInode(fID, &fInode);
19 fInode = NULL;
22 return fInode;
31 delete fInode;
33 fInode = newInode;
41 if (fInode != NULL && !IsRoot()) {
42 bool removed = fInode->GetFileSystem()->InoIdMap()->RemoveName(fID,
45 delete fInode;
46 fInode
[all...]
H A DVnodeToInode.h41 Inode* fInode; member in class:VnodeToInode
65 fInode(NULL),
106 return fInode && fFileSystem && fInode->ID() == fFileSystem->Root()->ID();
113 return fInode;
H A DDelegation.cpp21 fInode(inode),
32 fInode->SyncAndCommit(true);
59 fInode->GetOpenState())) {
H A DDirectoryCache.cpp83 fInode(inode),
113 entry_cache_remove(fInode->GetFileSystem()->DevId(), fInode->ID(),
153 return entry_cache_add(fInode->GetFileSystem()->DevId(), fInode->ID(),
199 entry_cache_remove(fInode->GetFileSystem()->DevId(), fInode->ID(),
225 status_t result = fInode->GetDirSnapshot(&newSnapshot, NULL, &fChange,
257 if (fInode->GetChangeInfo(&change, fAttrDir) != B_OK) {
306 notify_attribute_changed(fInode
[all...]
H A DDelegation.h38 Inode* fInode; member in class:Delegation
53 return fInode;
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DSymlink.cpp14 fInode(inode),
29 void* pointerToMap = DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize());
54 int len = fInode->DirBlockSize();
60 fInode->FileSystemBlockToAddr(fMap.br_startblock);
62 if (read_pos(fInode->GetVolume()->Device(), readPos, fSymlinkBuffer, len)
77 size_t lengthToRead = fInode->Size();
82 char* offset = (char*)(DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize()));
108 if (fInode
[all...]
H A DNodeAttribute.cpp14 fInode(inode),
48 int len = fInode->DirBlockSize();
61 NodeHeader* header = NodeHeader::Create(fInode,fNodeBuffer);
65 if (!VerifyHeader<NodeHeader>(header, fNodeBuffer, fInode, 0, fMap, ATTR_NODE)) {
79 void* attributeFork = DIR_AFORK_PTR(fInode->Buffer(),
80 fInode->CoreInodeSize(), fInode->ForkOffset());
101 xfs_extnum_t totalExtents = fInode->AttrExtentsCount();
119 int len = fInode->DirBlockSize();
122 fInode
[all...]
H A DShortDirectory.cpp12 fInode(inode),
15 fHeader = (ShortFormHeader*)(DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize()));
28 ASSERT(fInode->HasFileTypeField() == true);
63 if (fInode->HasFileTypeField())
75 + (fInode->HasFileTypeField() ? sizeof(uint8) : 0)
86 xfs_ino_t rootIno = fInode->GetVolume()->Root();
87 if (strcmp(name, ".") == 0 || (rootIno == fInode->ID())) {
88 *ino = fInode->ID();
125 *ino = fInode
[all...]
H A DLeafDirectory.cpp15 fInode(inode),
46 FillMapEntry(fInode->DataExtentsCount()-1, fLeafMap);
53 ExtentDataHeader* data = ExtentDataHeader::Create(fInode, fDataBuffer);
56 if (!VerifyHeader<ExtentDataHeader>(data, fDataBuffer, fInode, 0, fDataMap, XFS_LEAF)) {
67 ExtentLeafHeader* leaf = ExtentLeafHeader::Create(fInode, fLeafBuffer);
70 if (!VerifyHeader<ExtentLeafHeader>(leaf, fLeafBuffer, fInode, 0, fLeafMap, XFS_LEAF)) {
85 if (fInode->BlockCount() == 1
86 || fInode->DataExtentsCount() == 1
87 || (uint64) fInode->Size() !=
88 (fInode
[all...]
H A DNode.cpp14 fInode(inode),
38 int len = fInode->DataExtentsCount();
41 void* directoryFork = DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize());
49 if (startoff == LEAF_STARTOFFSET(fInode->GetVolume()->BlockLog()))
89 void* directoryFork = DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize());
122 ssize_t len = fInode->DirBlockSize();
129 xfs_daddr_t readPos = fInode->FileSystemBlockToAddr(map->br_startblock
132 if (read_pos(fInode
[all...]
H A DBPlusTree.cpp14 fInode(inode),
31 fSingleDirBlock = new(std::nothrow) char[fInode->DirBlockSize()];
38 DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize()), sizeof(BlockInDataFork));
65 return fInode->SizeOfLongBlock();
87 if (fInode->ForkOffset() != 0)
88 lengthOfDataFork = fInode->ForkOffset() << 3;
89 if (fInode->ForkOffset() == 0) {
90 lengthOfDataFork = fInode->GetVolume()->InodeSize()
91 - fInode
[all...]
H A DExtent.cpp15 fInode(inode),
50 int len = fInode->DirBlockSize();
56 fInode->FileSystemBlockToAddr(fMap->br_startblock);
58 if (read_pos(fInode->GetVolume()->Device(), readPos, fBlockBuffer, len)
76 void* pointerToMap = DIR_DFORK_PTR(fInode->Buffer(), fInode->CoreInodeSize());
86 ExtentDataHeader* header = ExtentDataHeader::Create(fInode, fBlockBuffer);
89 if (!VerifyHeader<ExtentDataHeader>(header, fBlockBuffer, fInode, 0, fMap, XFS_BLOCK)) {
103 (fBlockBuffer + fInode->DirBlockSize() - sizeof(ExtentBlockTail));
112 return address & (fInode
[all...]
/haiku/src/add-ons/kernel/file_systems/exfat/
H A DDirectoryIterator.cpp39 fInode(inode),
72 if (fInode->ID() == 1)
73 *_id = fInode->ID();
75 *_id = fInode->Parent();
87 *_id = fInode->ID();
110 "%" B_PRIdINO " name: \"%s\", length: %zu\n", fInode->Cluster(),
124 *_id = fInode->ID();
127 if (fInode->ID() == 1)
128 *_id = fInode->ID();
130 *_id = fInode
[all...]
H A DDataStream.cpp29 fInode(inode),
51 cluster_t cluster = fInode->StartCluster();
53 cluster = fInode->NextCluster(cluster);
59 cluster_t extentEnd = fInode->NextCluster(cluster);
67 B_PRIdOFF "\n", fInode->ID(), clusterIndex, pos, physical);
H A DDataStream.h32 Inode* fInode; member in class:DataStream
/haiku/src/bin/bfs_tools/lib/
H A DInode.cpp28 fInode(inode)
30 fInode->AcquireBuffer();
35 fInode->ReleaseBuffer();
39 Inode* fInode; member in class:NodeGetter
49 fInode(inode),
65 fInode(inode.fInode),
87 free(fInode);
89 fInode = NULL;
105 fInode
[all...]
H A DInode.h26 bool IsFile() const { return S_ISREG(fInode->mode); }
27 bool IsDirectory() const { return S_ISDIR(fInode->mode); }
28 bool IsSymlink() const { return S_ISLNK(fInode->mode); }
29 bool IsIndex() const { return S_ISINDEX(fInode->mode); }
31 { return (fInode->mode & S_ATTR) != 0; }
33 { return (fInode->mode & S_ATTR_DIR) != 0; }
36 int32 Mode() const { return fInode->mode; }
37 int32 Flags() const { return fInode->flags; }
38 off_t Size() const { return fInode->data.size; }
44 block_run Parent() const { return fInode
91 bfs_inode *fInode; member in class:Inode
[all...]
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DDirectoryIterator.cpp24 fInode(inode),
58 *_id = fInode->ID();
67 if (fInode->ID() == BTRFS_FIRST_SUBVOLUME) {
68 *_id = fInode->ID();
71 return fInode->FindParent(_id);
114 || fInode->ID() == BTRFS_FIRST_SUBVOLUME) {
115 *_id = fInode->ID();
118 return fInode->FindParent(_id);
124 key.SetObjectID(fInode->ID());
126 BTree::Path path(fInode
[all...]
H A DAttributeIterator.h34 Inode* fInode; member in class:AttributeIterator
H A DInode.h110 fInode(NULL)
118 fInode(NULL)
134 if (fInode != NULL) {
135 put_vnode(fInode->GetVolume()->FSVolume(), fInode->ID());
136 fInode = NULL;
145 return fStatus = get_vnode(volume->FSVolume(), id, (void**)&fInode);
150 *_inode = fInode;
157 fInode = NULL;
162 Inode* fInode; member in class:Vnode
[all...]
H A DDirectoryIterator.h38 Inode* fInode; member in class:DirectoryIterator
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInodeJournal.h25 Inode* fInode; member in class:InodeJournal
H A DInode.h182 fInode(NULL)
190 fInode(NULL)
206 if (fInode != NULL) {
207 put_vnode(fInode->GetVolume()->FSVolume(), fInode->ID());
208 fInode = NULL;
217 return fStatus = get_vnode(volume->FSVolume(), id, (void**)&fInode);
222 *_inode = fInode;
229 fInode = NULL;
253 fInode
266 Inode* fInode; member in class:Vnode
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp24 fInode(inode),
35 fInode(inode),
72 return fInode->CheckPermissions(open_mode_to_access(openMode)
85 if (recursive_lock_lock(&fInode->SmallDataLock()) == B_OK) {
86 status_t status = fNodeGetter.SetTo(fInode);
90 fSmall = fInode->FindSmallData(fNodeGetter.Node(), (const char*)name);
94 recursive_lock_unlock(&fInode->SmallDataLock());
99 return fInode->GetAttribute(name, &fAttribute);
107 recursive_lock_unlock(&fInode->SmallDataLock());
113 fInode
[all...]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DDirectoryIterator.cpp26 fInode(inode)
48 *_id = fInode->ID();
72 status_t status = fInode->ReadAt(fOffset, (uint8_t*)&direct, &size);

Completed in 415 milliseconds

123