Searched refs:BUFSIZE (Results 1 - 4 of 4) sorted by relevance

/fuchsia/zircon/kernel/tests/
H A Dbenchmarks.cpp25 const size_t BUFSIZE = (3 * 1024 * 1024); // must be smaller than max allowed heap allocation variable
26 const size_t ITER = (1UL * 1024 * 1024 * 1024 / BUFSIZE); // enough iterations to have to copy/set 1GB of memory
29 uint32_t* buf = (uint32_t*)malloc(BUFSIZE);
51 uint8_t* buf = (uint8_t*)memalign(PAGE_SIZE, BUFSIZE);
61 memset(buf, 0, BUFSIZE);
66 uint64_t bytes_cycle = (BUFSIZE * ITER * 1000ULL) / count;
69 count, BUFSIZE, ITER, BUFSIZE * ITER, bytes_cycle / 1000, bytes_cycle % 1000);
75 uint8_t* buf = (uint8_t*)memalign(PAGE_SIZE, BUFSIZE);
85 for (size_t j = 0; j < BUFSIZE;
[all...]
/fuchsia/zircon/system/uapp/netreflector/
H A Dnetreflector.c21 #define BUFSIZE 2048 macro
134 e->length = BUFSIZE;
213 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) {
219 0, iovmo, 0, count * BUFSIZE, (uintptr_t*)&iobuf)) < 0) {
232 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = NULL,
244 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = buf,
/fuchsia/zircon/system/uapp/netdump/
H A Dnetdump.c25 #define BUFSIZE 2048 macro
317 e->length = BUFSIZE;
430 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) {
437 0, iovmo, 0, count * BUFSIZE, (uintptr_t*)&iobuf)) < 0) {
460 .offset = n * BUFSIZE,
461 .length = BUFSIZE,
/fuchsia/zircon/system/uapp/ethtool/
H A Dethtool.c25 #define BUFSIZE 2048 macro
159 if ((status = zx_vmo_create(count * BUFSIZE, ZX_VMO_NON_RESIZABLE, &iovmo)) < 0) {

Completed in 85 milliseconds