Searched refs:copyIntoBuffer (Results 1 – 5 of 5) sorted by relevance
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/chunkserver/ |
H A D | output_buffer.h | 40 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 D | output_buffer.cc | 68 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 D | output_buffer_unittest.cc | 49 ASSERT_EQ(outputBuffer.copyIntoBuffer(buf, WRITE_SIZE), WRITE_SIZE); in TEST()
|
H A D | hddspacemgr.cc | 1430 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 D | network_worker_thread.cc | 140 if (outPacket->outputBuffer->copyIntoBuffer(packetPrefix) != (ssize_t)packetPrefix.size()) { in worker_create_detached_packet_with_output_buffer()
|