Lines Matching defs:attribute

267 			// no (empty) attribute directory
280 // The attribute directory has changed in the meantime -- get rid
286 // get the attribute directory node
295 ERROR("checksumfs: attribute directory (%" B_PRIu64 ") of node %"
315 Node* attribute;
321 attribute(NULL),
328 if (attribute != NULL)
329 attribute->GetVolume()->PutNode(attribute);
728 /*! Gets the node's attribute directory.
729 If a transaction is given and the attribute directory doesn't exist, a new
731 On success the caller gets a reference to the attribute directory and is
732 responsible for putting it. If a transaction was given, the attribute
743 // get the attribute directory node
752 ERROR("checksumfs: attribute directory (%" B_PRIu64 ") of node %"
758 // no (i.e. empty) attribute directory yet
778 // We have published the attribute directory, so don't delete it when
1420 st->st_type = 0; /* attribute/index type */
1572 // don't allow opening an attribute this way
1735 // don't allow opening an attribute directory this way
1795 // #pragma mark - attribute directory operations
1864 // #pragma mark - attribute operations
1879 // create the attribute cookie
1889 // are involved is: node -> attribute directory -> attribute.
1900 // get the attribute directory (create, if necessary)
1907 // open/create the attribute
1911 false, cookie->fileCookie, cookie->attribute, created);
1916 cookie->attribute->SetMode(cookie->attribute->Mode() | S_ATTR);
1917 cookie->attribute->SetAttributeType(type);
1946 // create the attribute cookie
1954 // Get the node's attribute directory (don't create it, if it doesn't exist
1958 // attributes are involved is: node -> attribute directory -> attribute.
1974 // look up the attribute
1981 error = volume->GetNode(blockIndex, cookie->attribute);
1986 // open the attribute
1987 error = open_file(volume, cookie->attribute, openMode, transaction, false,
2042 return cookie->attribute->Read(pos, buffer, *_length, *_length);
2072 status_t error = cookie->attribute->Write(pos, buffer, *_length, *_length,
2082 if (transaction.AddNode(cookie->attribute) != B_OK)
2085 cookie->attribute->Touched(NODE_MODIFIED);
2088 if (cookie->attribute->ParentDirectory() != 0) {
2096 // attribute has been removed -- no notifications needed
2111 st->st_size = cookie->attribute->Size();
2112 st->st_type = cookie->attribute->AttributeType();
2138 // get the attribute directory
2155 // get the attribute node
2156 Node* attribute;
2157 error = volume->GetNode(blockIndex, attribute);
2160 NodePutter attributePutter(attribute);
2162 error = transaction.AddNode(attribute);
2164 volume->PutNode(attribute);
2174 // remove the attribute node
2175 error = volume->RemoveNode(attribute);
2178 transaction.UpdateNodeFlags(attribute, TRANSACTION_UNREMOVE_NODE_ON_ERROR);
2180 // if the attribute directory is empty now, remove it too
2192 attribute->SetHardLinks(0);
2368 /* attribute directory operations */
2375 /* attribute operations */