Lines Matching refs:writer
195 UserDataWriter writer; in _user_get_next_disk_device_id() local
196 device->WriteUserData(writer); in _user_get_next_disk_device_id()
198 writer.AllocatedSize()); in _user_get_next_disk_device_id()
230 UserDataWriter writer; in _user_find_disk_device() local
231 device->WriteUserData(writer); in _user_find_disk_device()
232 error = copy_to_user_value(neededSize, writer.AllocatedSize()); in _user_find_disk_device()
266 UserDataWriter writer; in _user_find_partition() local
267 device->WriteUserData(writer); in _user_find_partition()
268 error = copy_to_user_value(neededSize, writer.AllocatedSize()); in _user_find_partition()
298 UserDataWriter writer; in _user_find_file_disk_device() local
299 device->WriteUserData(writer); in _user_find_file_disk_device()
300 error = copy_to_user_value(neededSize, writer.AllocatedSize()); in _user_find_file_disk_device()
363 UserDataWriter writer; in _user_get_disk_device_data() local
364 device->WriteUserData(writer); in _user_get_disk_device_data()
365 size_t neededSize = writer.AllocatedSize(); in _user_get_disk_device_data()
384 writer.SetTo(kernelBuffer, bufferSize); in _user_get_disk_device_data()
385 device->WriteUserData(writer); in _user_get_disk_device_data()
387 if (writer.AllocatedSize() != neededSize) { in _user_get_disk_device_data()
393 status_t error = writer.Relocate(buffer); in _user_get_disk_device_data()