Home
last modified time | relevance | path

Searched refs:write_buf (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/directiotest/
Ddirectiotest.c176 void *read_buf = NULL, *write_buf = NULL; in main() local
213 write_buf = pagealign_alloc(test_size); in main()
214 if (!read_buf || !write_buf) { in main()
239 init_test_buf(write_buf, cur_blk, test_size); in main()
241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != in main()
252 if (memcmp(write_buf, read_buf, test_size)) { in main()
256 dump_hex(write_buf, test_size); in main()
269 if (write_buf) in main()
270 pagealign_free(write_buf, test_size); in main()
/system/core/trusty/storage/proxy/
Drpmb.c146 const uint8_t* write_buf = req->payload; in send_mmc_rpmb_req() local
153 mmc_ioc_cmd_set_data((*cmd), write_buf); in send_mmc_rpmb_req()
156 print_buf("request: ", write_buf, req->reliable_write_size); in send_mmc_rpmb_req()
158 write_buf += req->reliable_write_size; in send_mmc_rpmb_req()
169 mmc_ioc_cmd_set_data((*cmd), write_buf); in send_mmc_rpmb_req()
172 print_buf("request: ", write_buf, req->write_size); in send_mmc_rpmb_req()
174 write_buf += req->write_size; in send_mmc_rpmb_req()
202 const uint8_t* write_buf = req->payload; in send_ufs_rpmb_req() local
221 req->reliable_write_size, (void*)write_buf, (unsigned char*)&out_cdb, in send_ufs_rpmb_req()
228 write_buf += req->reliable_write_size; in send_ufs_rpmb_req()
[all …]
/system/core/trusty/utils/rpmb_dev/
Drpmb.h52 void* write_buf,
/system/libziparchive/
Dzip_archive.cc1264 std::vector<uint8_t> write_buf(kBufSize); in inflateImpl() local
1277 zstream.next_out = &write_buf[0]; in inflateImpl()
1305 incfs::util::clearAndFree(write_buf); in inflateImpl()
1341 const size_t write_size = zstream.next_out - &write_buf[0]; in inflateImpl()
1342 if (!writer->Append(&write_buf[0], write_size)) { in inflateImpl()
1346 crc = crc32(crc, &write_buf[0], static_cast<uint32_t>(write_size)); in inflateImpl()
1350 zstream.next_out = &write_buf[0]; in inflateImpl()