Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 37) sorted by relevance

12

/tools/perf/
A Dperf-read-vdso.c16 size_t size, written; in main() local
24 written = fwrite(start, 1, size, stdout); in main()
25 if (!written) in main()
27 start += written; in main()
28 size -= written; in main()
/tools/testing/selftests/sched_ext/
A Dutil.c36 ssize_t written; in write_text() local
42 written = write(fd, buf, len); in write_text()
44 return written < 0 ? -errno : written; in write_text()
/tools/testing/selftests/safesetid/
A Dsafesetid-test.c56 ssize_t written; in vmaybe_write_file() local
76 written = write(fd, buf, buf_len); in vmaybe_write_file()
77 if (written != buf_len) { in vmaybe_write_file()
78 if (written >= 0) { in vmaybe_write_file()
186 ssize_t written; in write_uid_policies() local
192 written = write(fd, policy_str, strlen(policy_str)); in write_uid_policies()
193 if (written != strlen(policy_str)) { in write_uid_policies()
194 if (written >= 0) { in write_uid_policies()
210 ssize_t written; in write_gid_policies() local
217 if (written != strlen(policy_str)) { in write_gid_policies()
[all …]
/tools/testing/selftests/net/tcp_ao/lib/
A Dutils.c27 size_t len, written; in test_echo() local
44 written = fwrite(msg, 1, len, f); in test_echo()
47 return written == len ? 0 : -1; in test_echo()
/tools/testing/selftests/mm/
A Dpagemap_ioctl.c216 if (written < 0) in userfaultfd_tests()
683 int written; in base_tests() local
704 if (written < 0) in base_tests()
714 if (written < 0) in base_tests()
723 if (written < 0) in base_tests()
730 if (written < 0) in base_tests()
738 if (written < 0) in base_tests()
747 if (written < 0) in base_tests()
754 if (written < 0) in base_tests()
763 if (written < 0) in base_tests()
[all …]
/tools/include/nolibc/
A Dstdio.h197 size_t written; in fwrite() local
199 for (written = 0; written < nmemb; written++) { in fwrite()
204 return written; in fwrite()
255 unsigned int written, width; in __nolibc_printf() local
260 written = ofs = escape = lpref = 0; in __nolibc_printf()
362 written += 1; in __nolibc_printf()
368 written += len; in __nolibc_printf()
379 return written; in __nolibc_printf()
/tools/testing/selftests/mount/
A Dnosymfollow-test.c43 ssize_t written; in vmaybe_write_file() local
62 written = write(fd, buf, buf_len); in vmaybe_write_file()
63 if (written != buf_len) { in vmaybe_write_file()
64 if (written >= 0) { in vmaybe_write_file()
A Dunprivileged-remount-test.c61 ssize_t written; in vmaybe_write_file() local
80 written = write(fd, buf, buf_len); in vmaybe_write_file()
81 if (written != buf_len) { in vmaybe_write_file()
82 if (written >= 0) { in vmaybe_write_file()
/tools/testing/selftests/bpf/prog_tests/
A Dcore_autosize.c61 size_t written; in test_core_autosize() local
118 written = fwrite(raw_data, 1, raw_sz, f); in test_core_autosize()
119 if (CHECK(written != raw_sz, "btf_write", "written: %zu, errno: %d\n", written, errno)) in test_core_autosize()
/tools/testing/selftests/capabilities/
A Dtest_execve.c30 ssize_t written; in vmaybe_write_file() local
48 written = write(fd, buf, buf_len); in vmaybe_write_file()
49 if (written != buf_len) { in vmaybe_write_file()
50 if (written >= 0) { in vmaybe_write_file()
/tools/perf/util/bpf_skel/
A Daugmented_raw_syscalls.bpf.c506 int written = offsetof(struct augmented_arg, value) + aug_size; in augment_sys_enter() local
508 if (written < 0 || written > sizeof(struct augmented_arg)) in augment_sys_enter()
512 output += written; in augment_sys_enter()
513 payload_offset += written; in augment_sys_enter()
/tools/usb/
A Dp9_fwd.py142 written = self.ep_out.write(data)
143 assert written > 0
144 data = data[written:]
/tools/testing/selftests/zram/
A DREADME6 (<id> = 0, 1, ...). Pages written to these disks are compressed and stored
/tools/virtio/
A Dvringh_test.c201 u16 head, written; in parallel_test() local
219 written = 0; in parallel_test()
264 written = 0; in parallel_test()
271 written = err; in parallel_test()
276 err = vringh_complete_user(&vrh, head, written); in parallel_test()
/tools/testing/selftests/net/forwarding/
A DREADME41 These tests are written with switch ASICs in mind, but they can be run
53 o Where possible, tests shall be written so that they can be reused by
/tools/testing/selftests/tc-testing/creating-testcases/
A DAddingTestCases.txt24 for examples when in doubt. The match pattern is written in json, and
26 expression, but should be written using json syntax.
/tools/kvm/kvm_stat/
A Dkvm_stat.txt71 written to start of file to preserve the format.
/tools/bpf/bpftool/Documentation/
A Dbpftool-prog.rst101 If **file** is specified, the binary image will instead be written to
115 If *FILE* is specified image will be written to a file, otherwise it will
200 written to that file. Similarly, output context is written to the *FILE*
/tools/memory-model/Documentation/
A Drecipes.txt210 outcome in which the first load sees the value written by the second store
211 but the second load does not see the value written by the first store.
280 (address dependency, as shown above), the value written by a later store
360 each load reads the value written by the other CPU's store. In the
545 3. Write-to-write, where the next CPU overwrites the value written
/tools/perf/util/
A Dsrcline.c707 ssize_t written; in addr2line() local
739 written = len > 0 ? write(a2l->in, buf, len) : -1; in addr2line()
740 if (written != len) { in addr2line()
/tools/testing/selftests/tc-testing/creating-plugins/
A DAddingPlugins.txt8 A new plugin should be written in python as a class that inherits from TdcPlugin.
/tools/net/sunrpc/xdrgen/
A DREADME34 that is hand-written.
40 In addition, the current hand-written code in the Linux kernel is
/tools/testing/selftests/net/mptcp/
A Dmptcp_connect.c467 size_t written; in do_write() local
476 written = (size_t)bw; in do_write()
477 offset += written; in do_write()
/tools/usb/usbip/
A DCOPYING125 your rights to work written entirely by you; rather, the intent is to
142 b) Accompany it with a written offer, valid for at least three
235 the limitation as if written in the body of this License.
331 `Gnomovision' (which makes passes at compilers) written by James Hacker.
/tools/memory-model/
A DREADME10 short) of the Linux kernel, written in the "cat" language and executable

Completed in 37 milliseconds

12