Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 214) sorted by relevance

123456789

/tools/perf/scripts/python/
Dcompaction-times.py138 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
147 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
206 sys.stdout.write("total: %s\n" % chead.str())
249 sys.stdout.write(usage)
250 sys.stdout.write("\n")
251 sys.stdout.write("-h display this help\n")
252 sys.stdout.write("-p display by process\n")
253 sys.stdout.write("-pv display by process (verbose)\n")
[all …]
Dexport-to-postgresql.py738 file.write(file_header)
742 file.write(file_trailer)
755 file.write(file_trailer)
978 evsel_file.write(value)
985 machine_file.write(value)
989 thread_file.write(value)
996 comm_file.write(value)
1001 comm_thread_file.write(value)
1012 dso_file.write(value)
1019 symbol_file.write(value)
[all …]
/tools/perf/util/
Dtrace-event-info.c59 if (write(output_fd, &size, hdr_sz) != hdr_sz) in record_file()
67 if (write(output_fd, buf, r) != r) in record_file()
104 if (write(output_fd, "header_page", 12) != 12) { in record_header_files()
128 if (write(output_fd, "header_event", 13) != 13) { in record_header_files()
192 if (write(output_fd, &count, 4) != 4) { in copy_event_system()
285 if (write(output_fd, &count, 4) != 4) { in record_event_files()
305 if (write(output_fd, dent->d_name, size) != size || in record_event_files()
331 return write(output_fd, &size, 4) != 4 ? -EIO : 0; in record_proc_kallsyms()
351 if (write(output_fd, &size, 4) != 4) in record_ftrace_printk()
379 if (write(output_fd, &size, 8) != 8) in record_saved_cmdline()
[all …]
/tools/testing/selftests/wireguard/qemu/
Dinit.c115 if (write(fd, "9\n", 2) != 2) in enable_logging()
121 if (write(fd, "1\n", 2) != 2) in enable_logging()
127 if (write(fd, "1\n", 2) != 2) in enable_logging()
203 if (write(fd, "success\n", 8) != 8) in launch_tests()
233 if (write(1, "\0\0\0\0\n", 5) == 5) in ensure_console()
247 write(fd, "clear\n", 5); in clear_leaks()
260 write(fd, "scan\n", 5); in check_leaks()
/tools/memory-model/litmus-tests/
DZ6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus9 * P0's write, which means that there are two non-rf links: P1() to P2()
10 * is a write-to-write link (AKA a "coherence" or just "co" link) and P2()
11 * to P0() is a read-to-write link (AKA a "from-reads" or just "fr" link).
DCoWW+poonceonce.litmus6 * Test of write-write coherence, that is, whether or not two successive
DCoWR+poonceonce+Once.litmus6 * Test of write-read coherence, that is, whether or not a write to a
DCoRW+poonceonce+Once.litmus6 * Test of read-write coherence, that is, whether or not a read from
7 * a given variable and a later write to that same variable are ordered.
DISA2+pooncelock+pooncelock+pombonce.litmus6 * This test shows that write-write ordering provided by locks
DISA2+pooncerelease+poacquirerelease+poacquireonce.litmus7 * to order P0()'s initial write against P2()'s final read. The reason
10 * write. In memory-model-speak, there is only one non-reads-from
/tools/testing/selftests/vm/
Dwrite_hugetlb_memory.sh8 write=$3
22 ./write_to_hugetlbfs -p "$path" -s "$size" "$write" "$populate" -m "$method" \
Dwrite_to_hugetlbfs.c74 int write = 0; in main() local
104 write = 1; in main()
144 if (!write) in main()
222 if (write) { in main()
Dgup_benchmark.c42 int i, fd, filed, opt, nr_pages = 1, thp = -1, repeats = 1, write = 0; in main() local
80 write = 1; in main()
104 if (write) in main()
Dcharge_reserved_hugetlb.sh151 local write="$4"
181 bash write_hugetlb_memory.sh "$size" "$populate" "$write" \
202 if [[ "$populate" == "-o" ]] || [[ "$write" == "-w" ]]; then
214 bash write_hugetlb_memory.sh "$size" "$populate" "$write" \
239 echo After write:
267 local write="$3"
291 "$write" "/mnt/huge/test" "$method" "$private" "$expect_failure" \
448 echo Test normal case with write.
547 echo Test normal case with write, multiple cgroups.
Dcompaction_test.c107 if (write(fd, "0", sizeof(char)) != sizeof(char)) { in check_compaction()
116 if (write(fd, "100000", (6*sizeof(char))) != (6*sizeof(char))) { in check_compaction()
145 if (write(fd, initial_nr_hugepages, strlen(initial_nr_hugepages)) in check_compaction()
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c55 FAIL_IF(write(c2p[1], &c, 1) != 1); in test()
61 FAIL_IF(write(p2c[1], &c, 1) != 1); in test()
74 FAIL_IF(write(p2c[1], &c, 1) != 1); in test()
Dbad_accesses.c39 int bad_access(char *p, bool write) in bad_access() argument
47 if (write) in bad_access()
Dsubpage_prot.c68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() argument
72 if (write) in check_faulted()
77 addr, page, subpage, write, in check_faulted()
/tools/virtio/virtio-trace/
DREADME8 - write trace data to stdout by using -o option
13 2) Create a read/write thread per CPU. Each thread is bound to a CPU.
14 The read/write threads hold it.
17 the controller wake read/write threads.
18 5) The read/write threads start to read trace data from ring-buffers and
19 write the data to virtio-serial.
20 6) If the controller receives a stop order from a host, the read/write threads
31 trace-agent-ctl.c: includes controller function for read/write threads
32 trace-agent-rw.c: includes read/write threads function
103 read/write threads in the agent wait for start order from host. If you add -o
/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c64 CHECK(write(pipe_c2p[1], buf, 1) != 1, "pipe_write", "err %d\n", -errno); in test_send_signal_common()
73 CHECK(write(pipe_c2p[1], buf, 1) != 1, "pipe_write", "err %d\n", -errno); in test_send_signal_common()
124 CHECK(write(pipe_p2c[1], buf, 1) != 1, "pipe_write", "err %d\n", -errno); in test_send_signal_common()
138 CHECK(write(pipe_p2c[1], buf, 1) != 1, "pipe_write", "err %d\n", -errno); in test_send_signal_common()
/tools/memory-model/Documentation/
Dcheatsheet.txt28 W: Write, for example, WRITE_ONCE(), or write portion of RMW
32 DW: Dependent write (address, data, or control dependency)
33 RMW: Atomic read-modify-write operation
/tools/testing/selftests/powerpc/pmu/
Dlib.c37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in sync_with_child()
59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent()
68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent_of_error()
/tools/cgroup/
Diocost_coef_gen.py111 f.write(elevator)
113 f.write(nomerges)
150 f.write('none')
152 f.write('1')
/tools/perf/trace/strace/groups/
Dfile20 write
/tools/testing/selftests/bpf/
Dtest_lirc_mode2_user.c107 ret = write(lircfd, &testir1, sizeof(testir1)); in main()
133 ret = write(lircfd, &testir2, sizeof(testir2)); in main()

123456789