MCPcopy Create free account
hub / github.com/axboe/liburing / verify_buf_sync

Function verify_buf_sync

test/file-verify.c:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#define READ_BATCH 16
34
35static void verify_buf_sync(void *buf, size_t size, bool registered)
36{
37#if defined(__hppa__)
38 if (registered) {
39 unsigned long off = (unsigned long) buf & 4095;
40 unsigned long p = (unsigned long) buf & ~4095;
41 int i;
42
43 size += off;
44 for (i = 0; i < size; i += 32)
45 asm volatile("fdc 0(%0)" : : "r" (p + i));
46 }
47#endif
48}
49
50/*
51 * Each offset in the file has the offset / sizeof(int) stored for every

Callers 1

verify_bufFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected