Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 7 of 7) sorted by relevance

/tools/bpf/bpftool/
Djson_writer.c311 json_writer_t *wr = jsonw_new(stdout); in main() local
313 jsonw_start_object(wr); in main()
314 jsonw_pretty(wr, true); in main()
315 jsonw_name(wr, "Vyatta"); in main()
316 jsonw_start_object(wr); in main()
317 jsonw_string_field(wr, "url", "http://vyatta.com"); in main()
318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
319 jsonw_float_field(wr, "stock", 8.16); in main()
321 jsonw_name(wr, "ARGV"); in main()
322 jsonw_start_array(wr); in main()
[all …]
/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c33 static void child(int size, int wr) in child() argument
35 volatile uint8_t *addr = &var[32 + wr]; in child()
112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument
125 child(wr_size, wr); in run_test()
204 int wr, wp, size; in main() local
215 for (wr = 0; wr <= 32; wr = wr + size) { in main()
216 for (wp = wr - size; wp <= wr + size; wp = wp + size) { in main()
217 result = run_test(size, MIN(size, 8), wr, wp); in main()
218 if ((result && wr == wp) || in main()
219 (!result && wr != wp)) in main()
[all …]
/tools/testing/selftests/net/
Dtcp_mmap.c504 int64_t wr = FILE_SZ - total; in main() local
506 if (wr > chunk_size) in main()
507 wr = chunk_size; in main()
509 wr = send(fd, buffer, (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()
510 if (wr <= 0) in main()
512 total += wr; in main()
/tools/testing/selftests/powerpc/nx-gzip/
Dgzip_vas.c289 int nxu_touch_pages(void *buf, long buf_len, long page_len, int wr) in nxu_touch_pages() argument
298 (buf + buf_len), buf_len, wr)); in nxu_touch_pages()
305 if (wr) in nxu_touch_pages()
312 if (wr) in nxu_touch_pages()
Dgunz_test.c173 int wr) in nx_touch_pages_dde() argument
199 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
202 buf_sz), page_sz, wr); in nx_touch_pages_dde()
230 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
236 nxu_touch_pages((void *)buf_addr, buf_len, page_sz, wr); in nx_touch_pages_dde()
/tools/memory-model/
Dlinux-kernel.cat184 let wr-vis = fence | (strong-fence ; xbstar ; r-pre-bounded) |
192 let wr-incoh = pre-race & rf & rw-xbstar^-1
193 let rw-incoh = pre-race & fr & wr-vis^-1
195 empty (wr-incoh | rw-incoh | ww-incoh) as plain-coherence
198 let ww-nonrace = ww-vis & ((Marked * W) | rw-xbstar) & ((W * Marked) | wr-vis)
200 let wr-race = (pre-race & (co? ; rf)) \ wr-vis \ rw-xbstar^-1
203 flag ~empty (ww-race | wr-race | rw-race) as data-race
/tools/testing/selftests/powerpc/nx-gzip/include/
Dnxu.h576 extern int nxu_touch_pages(void *buf, long buf_len, long page_len, int wr);