Home
last modified time | relevance | path

Searched refs:BUF_SZ (Results 1 – 3 of 3) sorted by relevance

/third_party/f2fs-tools/fsck/
Ddump.c24 #define BUF_SZ 80 macro
43 char buf[BUF_SZ]; in nat_dump()
69 memset(buf, 0, BUF_SZ); in nat_dump()
70 snprintf(buf, BUF_SZ, in nat_dump()
90 memset(buf, 0, BUF_SZ); in nat_dump()
91 snprintf(buf, BUF_SZ, in nat_dump()
115 char buf[BUF_SZ]; in sit_dump()
125 snprintf(buf, BUF_SZ, "segment_type(0:HD, 1:WD, 2:CD, " in sit_dump()
133 memset(buf, 0, BUF_SZ); in sit_dump()
134 snprintf(buf, BUF_SZ, in sit_dump()
[all …]
/third_party/lwip/test/unit/api/
Dtest_sockets.c280 #define BUF_SZ (TCP_SND_BUF/4) in test_sockets_msgapi_tcp() macro
281 #define TOTAL_DATA_SZ (BUF_SZ*8) /* ~(TCP_SND_BUF*2) that accounts for integer rounding */ in test_sockets_msgapi_tcp()
282 #define NEED_TRAILER (BUF_SZ % 4 != 0) in test_sockets_msgapi_tcp()
345 snd_buf = (u8_t*)mem_malloc(BUF_SZ); in test_sockets_msgapi_tcp()
348 for (i = 0; i < BUF_SZ; i++,val++) { in test_sockets_msgapi_tcp()
355 siovs[i].iov_len = BUF_SZ; in test_sockets_msgapi_tcp()
359 rcv_buf = (u8_t*)mem_calloc(1, BUF_SZ); in test_sockets_msgapi_tcp()
363 riovs[i].iov_base = &rcv_buf[i*(BUF_SZ/4)]; in test_sockets_msgapi_tcp()
364 riovs[i].iov_len = BUF_SZ/4; in test_sockets_msgapi_tcp()
368 if ((BUF_SZ % 4) != 0) { in test_sockets_msgapi_tcp()
[all …]
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify21.c31 #define BUF_SZ 4096 macro
61 static char event_buf[BUF_SZ];