Home
last modified time | relevance | path

Searched refs:copyIntoBuffer (Results 1 – 5 of 5) sorted by relevance

/dports/sysutils/lizardfs/lizardfs-3.12.0/src/chunkserver/
H A Doutput_buffer.h40 ssize_t copyIntoBuffer(int inputFileDescriptor, size_t len, off_t* offset);
41 ssize_t copyIntoBuffer(const void *mem, size_t len);
45 ssize_t copyIntoBuffer(const std::vector<uint8_t>& mem) { in copyIntoBuffer() function
46 return copyIntoBuffer(mem.data(), mem.size()); in copyIntoBuffer()
H A Doutput_buffer.cc68 ssize_t OutputBuffer::copyIntoBuffer(int inputFileDescriptor, size_t len, off_t* offset) { in copyIntoBuffer() function in OutputBuffer
90 ssize_t OutputBuffer::copyIntoBuffer(const void *mem, size_t len) { in copyIntoBuffer() function in OutputBuffer
H A Doutput_buffer_unittest.cc49 ASSERT_EQ(outputBuffer.copyIntoBuffer(buf, WRITE_SIZE), WRITE_SIZE); in TEST()
H A Dhddspacemgr.cc1430 bytesRead = outputBuffer->copyIntoBuffer(&emptyblockcrc, sizeof(uint32_t)); in hdd_read_crc_and_block()
1432 bytesRead += outputBuffer->copyIntoBuffer(zeros_block); in hdd_read_crc_and_block()
1445 outputBuffer->copyIntoBuffer(crc_data, sizeof(uint32_t)); in hdd_read_crc_and_block()
1446 bytesRead = outputBuffer->copyIntoBuffer(c->fd, MFSBLOCKSIZE, &off); in hdd_read_crc_and_block()
1475 bytesRead = outputBuffer->copyIntoBuffer(hdd_get_block_buffer(), kHddBlockSize); in hdd_read_crc_and_block()
1477 bytesRead = outputBuffer->copyIntoBuffer(c->fd, kHddBlockSize, &off); in hdd_read_crc_and_block()
1610 outputBuffer->copyIntoBuffer(crcBuff, sizeof(uint32_t)); in hdd_read()
1611 outputBuffer->copyIntoBuffer(tmp.data() + serializedSize(uint32_t()) + offsetWithinBlock, size); in hdd_read()
H A Dnetwork_worker_thread.cc140 if (outPacket->outputBuffer->copyIntoBuffer(packetPrefix) != (ssize_t)packetPrefix.size()) { in worker_create_detached_packet_with_output_buffer()