Lines Matching refs:buffer
941 /*! Copies the node's name into the provided buffer.
942 The buffer should be B_FILE_NAME_LENGTH bytes large.
945 Inode::GetName(char* buffer, size_t size) const
958 strlcpy(buffer, name, size);
1044 Inode::ReadAttribute(const char* name, int32 type, off_t pos, uint8* buffer,
1069 status_t error = user_memcpy(buffer, smallData->Data() + pos,
1080 status = attribute->ReadAt(pos, (uint8*)buffer, _length);
1095 off_t pos, const uint8* buffer, size_t* _length, bool* _created)
1106 // TODO: we actually depend on that the contents of "buffer" are constant.
1146 status = _AddSmallData(transaction, node, name, type, pos, buffer,
1201 status = _AddSmallData(transaction, node, name, type, pos, buffer,
1216 status = attribute->WriteAt(transaction, pos, buffer,
1242 // _AddSmallData() already read the buffer
1243 user_memcpy(indexBuffer, buffer, length);
1575 Inode::ReadAt(off_t pos, uint8* buffer, size_t* _length)
1577 return file_cache_read(FileCache(), NULL, pos, buffer, _length);
1582 Inode::WriteAt(Transaction& transaction, off_t pos, const uint8* buffer,
1653 status_t status = file_cache_write(FileCache(), NULL, pos, buffer, _length);