| /tools/perf/ |
| A D | perf-read-vdso.c | 16 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 D | util.c | 36 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 D | safesetid-test.c | 56 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 D | utils.c | 27 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 D | pagemap_ioctl.c | 216 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 D | stdio.h | 197 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 D | nosymfollow-test.c | 43 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 D | unprivileged-remount-test.c | 61 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 D | core_autosize.c | 61 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 D | test_execve.c | 30 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 D | augmented_raw_syscalls.bpf.c | 506 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 D | p9_fwd.py | 142 written = self.ep_out.write(data) 143 assert written > 0 144 data = data[written:]
|
| /tools/testing/selftests/zram/ |
| A D | README | 6 (<id> = 0, 1, ...). Pages written to these disks are compressed and stored
|
| /tools/virtio/ |
| A D | vringh_test.c | 201 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 D | README | 41 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 D | AddingTestCases.txt | 24 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 D | kvm_stat.txt | 71 written to start of file to preserve the format.
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-prog.rst | 101 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 D | recipes.txt | 210 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 D | srcline.c | 707 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 D | AddingPlugins.txt | 8 A new plugin should be written in python as a class that inherits from TdcPlugin.
|
| /tools/net/sunrpc/xdrgen/ |
| A D | README | 34 that is hand-written. 40 In addition, the current hand-written code in the Linux kernel is
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_connect.c | 467 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 D | COPYING | 125 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 D | README | 10 short) of the Linux kernel, written in the "cat" language and executable
|