Lines Matching refs:inode

85 	virtual	status_t			Match(Inode* inode,
124 virtual status_t Match(Inode* inode,
182 virtual status_t Match(Inode* inode,
365 /*! Matches the inode's attribute value with the equation.
370 Equation::Match(Inode* inode, const char* attributeName, int32 type,
374 NodeGetter nodeGetter(inode->GetVolume());
387 status_t status = nodeGetter.SetTo(inode);
391 recursive_lock_lock(&inode->SmallDataLock());
395 buffer = (uint8*)inode->Name(nodeGetter.Node());
397 recursive_lock_unlock(&inode->SmallDataLock());
405 buffer = (uint8*)&inode->Node().data.size;
407 value.Int64 = inode->Size();
412 buffer = (uint8*)&inode->Node().last_modified_time;
414 value.Int64 = inode->Node().LastModifiedTime();
420 status_t status = nodeGetter.SetTo(inode);
426 recursive_lock_lock(&inode->SmallDataLock());
427 small_data* smallData = inode->FindSmallData(nodeGetter.Node(),
436 recursive_lock_unlock(&inode->SmallDataLock());
439 if (inode->GetAttribute(fAttribute, &attribute) == B_OK) {
448 inode->ReleaseAttribute(attribute);
451 inode->ReleaseAttribute(attribute);
462 recursive_lock_unlock(&inode->SmallDataLock());
613 Inode* inode;
614 if ((status = vnode.Get(&inode)) != B_OK) {
616 FATAL(("could not get inode %" B_PRIdOFF " in index \"%s\"!\n",
632 // inode matches with the rest of the expression - we don't have to
638 status = Match(inode);
656 status = other->Match(inode);
669 dirent->d_pino = volume->ToVnode(inode->Parent());
672 if (inode->GetName(dirent->d_name) < B_OK) {
673 FATAL(("inode %" B_PRIdOFF " in query has no name!\n",
674 inode->BlockNumber()));
915 Operator::Match(Inode* inode, const char* attribute, int32 type,
919 status_t status = fLeft->Match(inode, attribute, type, key, size);
923 return fRight->Match(inode, attribute, type, key, size);
936 status_t status = first->Match(inode, attribute, type, key, size);
940 return second->Match(inode, attribute, type, key, size);
1360 Query::LiveUpdate(Inode* inode, const char* attribute, int32 type,
1369 status_t oldStatus = fExpression->Root()->Match(inode, attribute, type,
1371 status_t newStatus = fExpression->Root()->Match(inode, attribute, type,
1392 // we may need to get the name of the inode
1398 if (inode->GetName(nameBuffer) != B_OK)
1410 fVolume->ToVnode(inode->Parent()), name, inode->ID());
1413 fVolume->ToVnode(inode->Parent()), name, inode->ID());
1416 fVolume->ToVnode(inode->Parent()), name, inode->ID());
1422 Query::LiveUpdateRenameMove(Inode* inode, ino_t oldDirectoryID,
1431 status_t oldStatus = fExpression->Root()->Match(inode, "name",
1433 status_t newStatus = fExpression->Root()->Match(inode, "name",
1443 oldDirectoryID, oldName, inode->ID());
1446 newDirectoryID, newName, inode->ID());