Lines Matching refs:inode

206 	// Inode::Create() will keep the inode locked for us
221 uint16 oldLength, const uint8 *newKey, uint16 newLength, Inode *inode)
241 fVolume->UpdateLiveQueries(inode, name, type, oldKey, oldLength, newKey, newLength);
254 fVolume->UpdateLiveQueries(inode, name, Type(), oldKey, oldLength, newKey, newLength);
263 status = tree->Remove(transaction, (const uint8 *)oldKey, oldLength, inode->ID());
274 status = tree->Insert(transaction, (const uint8 *)newKey, newLength, inode->ID());
281 Index::InsertName(Transaction *transaction, const char *name, Inode *inode)
283 return UpdateName(transaction, NULL, name, inode);
288 Index::RemoveName(Transaction *transaction, const char *name, Inode *inode)
290 return UpdateName(transaction, name, NULL, inode);
295 Index::UpdateName(Transaction *transaction, const char *oldName, const char *newName, Inode *inode)
300 (uint8 *)newName, newLength, inode);
305 Index::InsertSize(Transaction *transaction, Inode *inode)
307 off_t size = inode->Size();
308 return Update(transaction, "size", B_INT64_TYPE, NULL, 0, (uint8 *)&size, sizeof(int64), inode);
313 Index::RemoveSize(Transaction *transaction, Inode *inode)
316 off_t size = inode->OldSize();
317 return Update(transaction, "size", B_INT64_TYPE, (uint8 *)&size, sizeof(int64), NULL, 0, inode);
322 Index::UpdateSize(Transaction *transaction, Inode *inode)
324 off_t oldSize = inode->OldSize();
325 off_t newSize = inode->Size();
328 sizeof(int64), (uint8 *)&newSize, sizeof(int64), inode);
330 inode->UpdateOldSize();
337 Index::InsertLastModified(Transaction *transaction, Inode *inode)
339 off_t modified = inode->LastModified();
341 (uint8 *)&modified, sizeof(int64), inode);
346 Index::RemoveLastModified(Transaction *transaction, Inode *inode)
349 off_t modified = inode->OldLastModified();
351 sizeof(int64), NULL, 0, inode);
356 Index::UpdateLastModified(Transaction *transaction, Inode *inode, off_t modified)
358 off_t oldModified = inode->OldLastModified();
364 sizeof(int64), (uint8 *)&modified, sizeof(int64), inode);
366 inode->Node()->last_modified_time = modified;
368 inode->UpdateOldLastModified();