Searched refs:inode (Results 1 - 25 of 98) sorted by relevance

1234

/haiku/src/add-ons/kernel/file_systems/bfs/
H A DIndex.h35 uint16 newLength, Inode* inode);
38 const char* name, Inode* inode);
40 const char* name, Inode* inode);
43 Inode* inode);
45 status_t InsertSize(Transaction& transaction, Inode* inode);
46 status_t RemoveSize(Transaction& transaction, Inode* inode);
47 status_t UpdateSize(Transaction& transaction, Inode* inode);
50 Inode* inode);
52 Inode* inode);
54 Inode* inode, bigtime_
[all...]
H A DFileSystemVisitor.cpp36 /*! Visit the next inode.
51 Inode* inode; local
60 // open inode
62 status = vnode.Get(&inode);
69 if (inode != NULL && inode->IsDeleted())
79 if (inode->IsContainer()) {
81 BPlusTree* tree = inode->Tree();
83 status = OpenBPlusTreeFailed(inode);
89 fParent = inode;
269 VisitDirectoryEntry(Inode* inode, Inode* parent, const char* treeName) argument
287 VisitInode(Inode* inode, const char* treeName) argument
318 OpenBPlusTreeFailed(Inode* inode) argument
[all...]
H A DIndex.cpp207 // Inode::Create() will keep the inode locked for us
222 uint16 newLength, Inode* inode)
246 fVolume->UpdateLiveQueries(inode, name, type, oldKey, oldLength,
265 inode->ID());
277 inode->ID());
285 Index::InsertName(Transaction& transaction, const char* name, Inode* inode) argument
287 return UpdateName(transaction, NULL, name, inode);
292 Index::RemoveName(Transaction& transaction, const char* name, Inode* inode) argument
294 return UpdateName(transaction, name, NULL, inode);
300 const char* newName, Inode* inode)
220 Update(Transaction& transaction, const char* name, int32 type, const uint8* oldKey, uint16 oldLength, const uint8* newKey, uint16 newLength, Inode* inode) argument
299 UpdateName(Transaction& transaction, const char* oldName, const char* newName, Inode* inode) argument
312 InsertSize(Transaction& transaction, Inode* inode) argument
323 RemoveSize(Transaction& transaction, Inode* inode) argument
335 UpdateSize(Transaction& transaction, Inode* inode) argument
353 InsertLastModified(Transaction& transaction, Inode* inode) argument
364 RemoveLastModified(Transaction& transaction, Inode* inode) argument
376 UpdateLastModified(Transaction& transaction, Inode* inode, bigtime_t modified) argument
[all...]
H A DCheckVisitor.cpp22 inode(NULL)
28 Inode* inode; member in struct:check_index
202 CheckVisitor::VisitDirectoryEntry(Inode* inode, Inode* parent, argument
205 Control().inode = inode->ID();
206 Control().mode = inode->Mode();
211 // check if the inode's name is the same as in the b+tree
212 if (inode->IsRegularNode()) {
213 RecursiveLocker locker(inode->SmallDataLock());
214 NodeGetter node(GetVolume(), inode); local
273 VisitInode(Inode* inode, const char* treeName) argument
361 OpenBPlusTreeFailed(Inode* inode) argument
382 _RemoveInvalidNode(Inode* parent, BPlusTree* tree, Inode* inode, const char* name) argument
460 _CheckInodeBlocks(Inode* inode, const char* name) argument
672 Inode* inode; local
715 _AddInodeToIndex(Inode* inode) argument
[all...]
H A DCheckVisitor.h38 virtual status_t VisitDirectoryEntry(Inode* inode,
40 virtual status_t VisitInode(Inode* inode, const char* treeName);
45 virtual status_t OpenBPlusTreeFailed(Inode* inode);
51 BPlusTree* tree, Inode* inode,
57 status_t _CheckInodeBlocks(Inode* inode,
66 status_t _AddInodeToIndex(Inode* inode);
H A DDebug.cpp111 dump_inode(const bfs_inode* inode) argument
113 kprintf("inode:\n");
114 kprintf(" magic1 = %08x (%s) %s\n", (int)inode->Magic1(),
115 get_tupel(inode->magic1),
116 (inode->magic1 == INODE_MAGIC1 ? "valid" : "INVALID"));
117 dump_block_run( " inode_num = ", inode->inode_num);
118 kprintf(" uid = %u\n", (unsigned)inode->UserID());
119 kprintf(" gid = %u\n", (unsigned)inode->GroupID());
120 kprintf(" mode = %08x\n", (int)inode->Mode());
121 kprintf(" flags = %08x\n", (int)inode
295 Inode* inode = (Inode*)address; local
[all...]
H A Dkernel_interface.cpp43 extern void fill_stat_buffer(Inode* inode, struct stat& stat);
70 fill_stat_buffer(Inode* inode, struct stat& stat) argument
72 const bfs_inode& node = inode->Node();
74 stat.st_dev = inode->GetVolume()->ID();
75 stat.st_ino = inode->ID();
86 if (inode->IsSymLink() && (inode->Flags() & INODE_LONG_SYMLINK) == 0) {
90 stat.st_size = inode->Size();
92 stat.st_blocks = inode->AllocatedSize() / 512;
101 Inode* inode local
113 Inode* inode = (Inode*)cookie; local
314 Inode* inode = new(std::nothrow) Inode(volume, id); local
337 Inode* inode = (Inode*)_node->private_node; local
364 Inode* inode = (Inode*)_node->private_node; local
412 Inode* inode = (Inode*)_node->private_node; local
454 Inode* inode = (Inode*)_node->private_node; local
498 Inode* inode = (Inode*)_node->private_node; local
527 Inode* inode = (Inode*)_node->private_node; local
610 Inode* inode; local
625 Inode* inode = (Inode*)_node->private_node; local
827 Inode* inode = (Inode*)_node->private_node; local
837 Inode* inode = (Inode*)_node->private_node; local
850 Inode* inode = (Inode*)_node->private_node; local
1005 Inode* inode; local
1186 Inode* inode; local
1333 Inode* inode = (Inode*)_node->private_node; local
1395 Inode* inode = (Inode*)_node->private_node; local
1412 Inode* inode = (Inode*)_node->private_node; local
1470 Inode* inode = (Inode*)_node->private_node; local
1561 Inode* inode = (Inode*)_node->private_node; local
1576 Inode* inode = (Inode*)_node->private_node; local
1684 Inode* inode = (Inode*)_node->private_node; local
[all...]
/haiku/src/bin/bfs_tools/lib/
H A Ddump.h20 extern void dump_data_stream(const bfs_inode* inode, const data_stream* stream,
22 extern void dump_small_data(Inode* inode);
23 extern void dump_inode(const Inode* node, const bfs_inode* inode,
H A Ddump.cpp83 dump_data_stream(const bfs_inode *inode, const data_stream *stream, bool showOffsets) argument
101 offset += stream->direct[i].length * inode->inode_size;
125 dump_inode(const Inode *nameNode, const bfs_inode *inode, bool showOffsets) argument
128 Print("inode \"%s\":\n", nameNode->Name());
130 Print("inode:\n");
132 Print(" magic1 = %08" B_PRIx32 " (%s) %s\n",inode->magic1,
133 get_tupel(inode->magic1),
134 (inode->magic1 == INODE_MAGIC1 ? "valid" : "INVALID"));
135 dump_block_run( " inode_num = ",inode->inode_num);
136 Print(" uid = %" B_PRIu32 "\n",inode
168 dump_small_data(Inode *inode) argument
[all...]
H A DInode.h19 Inode(Disk* disk, bfs_inode* inode, bool ownBuffer = true);
20 Inode(const Inode &inode);
23 status_t SetTo(bfs_inode *inode);
72 static Inode* Factory(Disk* disk, bfs_inode* inode,
75 static Inode* Factory(Disk* disk, Inode* inode,
105 DataStream(Disk *disk, bfs_inode *inode, bool ownBuffer = true);
106 DataStream(const Inode &inode);
131 File(Disk *disk, bfs_inode *inode, bool ownBuffer = true);
132 File(const Inode &inode);
143 Attribute(Disk *disk, bfs_inode *inode, boo
[all...]
H A DInode.cpp26 NodeGetter(Inode* inode) argument
28 fInode(inode)
46 Inode::Inode(Disk* disk, bfs_inode* inode, bool ownBuffer) argument
49 fInode(inode),
57 if (inode != NULL)
58 fBlockRun = inode->inode_num;
62 Inode::Inode(const Inode& inode) argument
64 fDisk(inode.fDisk),
65 fInode(inode.fInode),
68 fBlockRun(inode
101 SetTo(bfs_inode *inode) argument
439 Inode *inode; local
548 Factory(Disk *disk, bfs_inode *inode, bool ownBuffer) argument
573 bfs_inode *inode = (bfs_inode *)malloc(disk->BlockSize()); local
589 Factory(Disk *disk, Inode *inode, bool copyBuffer) argument
608 bfs_inode *inode = (bfs_inode *)malloc(disk->BlockSize()); local
643 DataStream(Disk *disk, bfs_inode *inode, bool ownBuffer) argument
651 DataStream(const Inode &inode) argument
919 File(Disk *disk, bfs_inode *inode,bool ownBuffer) argument
925 File(const Inode &inode) argument
996 Attribute(Disk *disk, bfs_inode *inode, bool ownBuffer) argument
1002 Attribute(const Inode &inode) argument
1040 Directory(Disk *disk, bfs_inode *inode, bool ownBuffer) argument
1047 Directory(const Inode &inode) argument
1181 Contains(const Inode *inode) argument
1235 AddEntry(Inode *inode) argument
1312 Symlink(Disk *disk, bfs_inode *inode,bool ownBuffer) argument
1318 Symlink(const Inode &inode) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInodeJournal.cpp27 InodeJournal::InodeJournal(Inode* inode) argument
30 fInode(inode)
32 if (inode == NULL)
35 Volume* volume = inode->GetVolume();
42 if (inode->HasFileCache())
43 inode->DeleteFileCache();
H A Dkernel_interface.cpp51 Inode* inode = (Inode*)cookie; local
53 return file_map_translate(inode->Map(), offset, size, vecs, _count,
54 inode->GetVolume()->BlockSize());
63 Inode* inode = (Inode*)cookie; local
64 rw_lock_read_unlock(inode->Lock());
223 ERROR("invalid inode id %" B_PRIdINO " requested!\n", id);
227 Inode* inode = new(std::nothrow) Inode(volume, id); local
228 if (inode == NULL)
231 status_t status = inode->InitCheck();
233 delete inode;
260 Inode* inode = (Inode*)_node->private_node; local
311 Inode* inode = (Inode*)_node->private_node; local
355 Inode* inode = (Inode*)_node->private_node; local
401 Inode* inode = (Inode*)_node->private_node; local
431 Inode* inode = (Inode*)_node->private_node; local
580 Inode* inode = (Inode*)_node->private_node; local
588 Inode* inode = (Inode*)_node->private_node; local
755 Inode* inode; local
904 Inode* inode; local
1013 Inode* inode; local
1137 Inode* inode = (Inode*)_node->private_node; local
1198 Inode* inode = (Inode*)_node->private_node; local
1215 Inode* inode = (Inode*)_node->private_node; local
1271 Inode* inode = (Inode*)_node->private_node; local
1287 Inode* inode = (Inode*)_node->private_node; local
1296 Inode* inode = (Inode*)_node->private_node; local
1391 Inode* inode; local
1427 Inode* inode = (Inode*)_node->private_node; local
1517 Inode* inode = (Inode*)_node->private_node; local
1558 Inode* inode = (Inode*)_node->private_node; local
1612 Inode* inode = (Inode*)_node->private_node; local
1646 Inode* inode = (Inode*)_node->private_node; local
1668 Inode* inode = (Inode*)_node->private_node; local
[all...]
H A DInodeJournal.h18 InodeJournal(Inode* inode);
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp59 Inode* inode = (Inode*)cookie; local
61 return file_map_translate(inode->Map(), offset, size, vecs, _count,
62 inode->GetVolume()->BlockSize());
71 Inode* inode = (Inode*)cookie; local
72 rw_lock_read_unlock(inode->Lock());
227 Inode* inode = new(std::nothrow) Inode(volume, id); local
228 if (inode == NULL)
231 status_t status = inode->InitCheck();
233 delete inode;
236 _node->private_node = inode;
267 Inode* inode = (Inode*)_node->private_node; local
311 Inode* inode = (Inode*)_node->private_node; local
340 Inode* inode = (Inode*)_node->private_node; local
423 Inode* inode = (Inode*)_node->private_node; local
451 Inode* inode = (Inode*)_node->private_node; local
491 Inode* inode = (Inode*)_node->private_node; local
514 Inode* inode = (Inode*)_node->private_node; local
527 Inode* inode = (Inode*)_node->private_node; local
536 Inode* inode = (Inode*)_node->private_node; local
547 Inode* inode = (Inode*)_node->private_node; local
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/
H A DInode.h17 #define ASSERT_READ_LOCKED_INODE(inode) inode->AssertReadLocked()
18 #define ASSERT_WRITE_LOCKED_INODE(inode) inode->AssertWriteLocked()
54 friend void dump_inode(Inode& inode);
73 InodeReadLocker(Inode* inode) argument
75 fLock(&inode->Lock())
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp41 Inode* inode = (Inode*)cookie; local
43 return file_map_translate(inode->Map(), offset, size, vecs, _count,
44 inode->GetVolume()->BlockSize());
53 Inode* inode = (Inode*)cookie; local
54 rw_lock_read_unlock(inode->Lock());
176 Inode* inode = new(std::nothrow) Inode(volume, id); local
177 if (inode == NULL)
180 status_t status = inode->InitCheck();
182 delete inode;
187 _node->private_node = inode;
216 Inode* inode = (Inode*)_node->private_node; local
260 Inode* inode = (Inode*)_node->private_node; local
289 Inode* inode = (Inode*)_node->private_node; local
368 Inode* inode = (Inode*)_node->private_node; local
396 Inode* inode = (Inode*)_node->private_node; local
436 Inode* inode = (Inode*)_node->private_node; local
459 Inode* inode = (Inode*)_node->private_node; local
472 Inode* inode = (Inode*)_node->private_node; local
481 Inode* inode = (Inode*)_node->private_node; local
555 Inode* inode = Inode::Create(transaction, id, directory, mode); local
625 Inode* inode = (Inode*)_node->private_node; local
716 Inode* inode = (Inode*)_node->private_node; local
800 Inode* inode = (Inode*)_node->private_node; local
831 Inode* inode = (Inode*)_node->private_node; local
852 Inode* inode = (Inode*)_node->private_node; local
[all...]
H A DAttributeIterator.cpp20 AttributeIterator::AttributeIterator(Inode* inode) argument
23 fInode(inode),
28 key.SetObjectID(inode->ID());
30 fIterator = new(std::nothrow) TreeIterator(inode->GetVolume()->FSTree(),
H A DAttributeIterator.h13 //! Used to traverse through attributes of a given inode
16 //! Constructs an AttributeIterator object for Inode object *inode
17 AttributeIterator(Inode* inode);
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A Dkernel_interface.cpp208 Inode* inode = fs->Root(); local
209 if (inode == NULL) {
219 VnodeToInode* vti = new VnodeToInode(inode->ID(), fs);
226 vti->Replace(inode);
227 result = publish_vnode(volume, inode->ID(), vti, &gNFSv4VnodeOps,
228 inode->Type(), 0);
232 *_rootVnodeID = inode->ID();
234 TRACE("*_rootVnodeID = %" B_PRIi64, inode->ID());
251 Inode* inode;
252 status_t result = fs->GetInode(id, &inode);
289 RootInode* inode = reinterpret_cast<RootInode*>(fs->Root()); local
307 Inode* inode = vti->Get(); local
373 Inode* inode = vti->Get(); local
417 Inode* inode = vti->Get(); local
456 Inode* inode = vti->Get(); local
504 Inode* inode = vti->Get(); local
520 Inode* inode = vti->Get(); local
537 Inode* inode = vti->Get(); local
572 Inode* inode = vti->Get(); local
586 Inode* inode = vti->Get(); local
686 Inode* inode = vti->Get(); local
701 Inode* inode = vti->Get(); local
721 Inode* inode = vti->Get(); local
733 Inode* inode; local
778 Inode* inode = vti->Get(); local
832 Inode* inode = vti->Get(); local
866 Inode* inode = vti->Get(); local
888 Inode* inode = vti->Get(); local
913 Inode* inode = vti->Get(); local
938 Inode* inode = vti->Get(); local
963 Inode* inode = vti->Get(); local
991 Inode* inode = vti->Get(); local
1029 Inode* inode = vti->Get(); local
1075 Inode* inode = vti->Get(); local
1114 Inode* inode = vti->Get(); local
1162 Inode* inode = vti->Get(); local
1187 Inode* inode = vti->Get(); local
1219 Inode* inode = vti->Get(); local
1240 Inode* inode = vti->Get(); local
1256 Inode* inode = vti->Get(); local
1272 Inode* inode = vti->Get(); local
1288 Inode* inode = vti->Get(); local
1322 Inode* inode = vti->Get(); local
1340 Inode* inode = vti->Get(); local
1359 Inode* inode = vti->Get(); local
1377 Inode* inode = vti->Get(); local
[all...]
H A DDelegation.cpp16 Delegation::Delegation(const OpenDelegationData& data, Inode* inode, argument
21 fInode(inode),
24 ASSERT(inode != NULL);
/haiku/src/bin/bfs_tools/
H A Dbfswhich.cpp47 checkNode(Disk &disk, Inode *inode, block_run checkForRun) argument
49 // check the inode space itself
50 if (checkForBlockRunIntersection(inode->BlockRun(), checkForRun))
54 if (inode->IsSymlink() && (inode->Flags() & INODE_LONG_SYMLINK) == 0)
59 const data_stream* data = &inode->InodeBuffer()->data;
80 DataStream *stream = dynamic_cast<DataStream *>(inode);
117 scanNode(Disk& disk, Inode* inode, const char* name, argument
120 if (checkNode(disk, inode, checkForRun)) {
122 inode
159 Inode *inode = Inode::Factory(&disk, run); local
[all...]
H A Dbfsinfo.cpp225 "\t-i\tdump inode\n"
339 bfs_inode inode; local
340 if (disk.ReadAt(disk.ToOffset(disk.Root()), (void *)&inode,
345 dump_inode(NULL, &inode, showOffsets);
346 dump_indirect_stream(disk, &inode, showOffsets);
354 Inode *inode = NULL; local
372 inode = Inode::Factory(&disk, bfsInode, false);
373 if (inode == NULL || inode->InitCheck() < B_OK) {
374 fprintf(stderr,"Not a valid inode!\
[all...]
H A Dchkindex.cpp32 // along the position of the inode.
108 Inode *inode = Inode::Factory(&disk,run); local
109 if (inode != NULL)
111 if (inode->IsDirectory())
112 collectFiles(disk,static_cast<Directory *>(inode));
114 delete inode;
117 printf(" Directory \"%s\" (%ld, %d) points to corrupt inode \"%s\" (%ld, %d)\n",
157 printf(" inode at (%ld, %d), offset %Ld, doesn't exist!",run.allocation_group,run.start,offset);
216 Inode *inode = NULL; local
223 delete inode;
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c449 * has been created without an inode, it won't overflow the buffer.
479 * the buffer, since we created the search context without an inode.
512 * using inode
517 * get inode of parent
520 int utils_inode_get_name(ntfs_inode *inode, char *buffer, int bufsize) argument
535 if (!inode || !buffer) {
540 vol = inode->vol;
547 ctx = ntfs_attr_get_search_ctx(inode, NULL);
553 //ntfs_log_debug("i = %d, inode = %p (%lld)\n", i, inode, inod
848 utils_is_metadata(ntfs_inode *inode) argument
[all...]

Completed in 181 milliseconds

1234