Home
last modified time | relevance | path

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

12

/tools/perf/
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()
Dbuiltin-record.c213 ssize_t aio_ret, written; in record__aio_complete() local
219 written = aio_ret = aio_return(cblock); in record__aio_complete()
223 written = 0; in record__aio_complete()
226 rem_size = cblock->aio_nbytes - written; in record__aio_complete()
243 rem_off = cblock->aio_offset + written; in record__aio_complete()
244 rem_buf = (void *)(cblock->aio_buf + written); in record__aio_complete()
/tools/testing/selftests/safesetid/
Dsafesetid-test.c44 ssize_t written; in vmaybe_write_file() local
64 written = write(fd, buf, buf_len); in vmaybe_write_file()
65 if (written != buf_len) { in vmaybe_write_file()
66 if (written >= 0) { in vmaybe_write_file()
150 ssize_t written; in write_policies() local
156 written = write(fd, policy_str, strlen(policy_str)); in write_policies()
157 if (written != strlen(policy_str)) { in write_policies()
158 if (written >= 0) { in write_policies()
/tools/testing/selftests/mount/
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()
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/
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/
Dtest_execve.c38 ssize_t written; in vmaybe_write_file() local
56 written = write(fd, buf, buf_len); in vmaybe_write_file()
57 if (written != buf_len) { in vmaybe_write_file()
58 if (written >= 0) { in vmaybe_write_file()
/tools/testing/selftests/net/forwarding/
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/filesystems/incfs/
Dincfs_stress.c170 int written = ioctl(fd, INCFS_IOC_FILL_BLOCKS, &fill_blocks); in write_data() local
172 if (written != 1) { in write_data()
Dincfs_perf.c249 int written = ioctl(fd, INCFS_IOC_FILL_BLOCKS, &fill_blocks); in write_data() local
251 if (written != 1) { in write_data()
/tools/testing/selftests/zram/
DREADME6 (<id> = 0, 1, ...). Pages written to these disks are compressed and stored
/tools/virtio/
Dvringh_test.c198 u16 head, written; in parallel_test() local
216 written = 0; in parallel_test()
261 written = 0; in parallel_test()
268 written = err; in parallel_test()
273 err = vringh_complete_user(&vrh, head, written); in parallel_test()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-field_get_val.txt29 written into _s_.
42 written into _s_.
Dlibtraceevent-tseq.txt41 characters already written in _s_ will be deleted.
/tools/testing/selftests/tc-testing/creating-testcases/
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/bpf/bpftool/Documentation/
Dbpftool-prog.rst97 written to *FILE*.
111 If *FILE* is specified image will be written to a file,
185 data is written to that file. Similarly, output context is
186 written to the *FILE* passed with **ctx_out**. For both
/tools/kvm/kvm_stat/
Dkvm_stat.txt71 written to start of file to preserve the format.
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c348 size_t written; in do_write() local
357 written = (size_t)bw; in do_write()
358 offset += written; in do_write()
/tools/memory-model/Documentation/
Drecipes.txt206 outcome in which the first load sees the value written by the second store
207 but the second load does not see the value written by the first store.
276 (address dependency, as shown above), the value written by a later store
356 each load reads the value written by the other CPU's store. In the
541 3. Write-to-write, where the next CPU overwrites the value written
Dglossary.txt88 Data Dependency: When the data written by a later store is computed based
Dexplanation.txt59 Warning: The code examples in this document are not written in the
84 Each load instruction must obtain the value written by the most recent
189 by each load is simply the value written by the most recently executed
335 that X is po-before Y (written as "X ->po Y" in formulas) if X occurs
352 kernel code written in C, and the mapping from C to machine code can
501 though it had been written there by an imaginary initial store that
575 hardware-centric view, the order in which the stores get written to
1852 in the example had been written as:
1931 by plain accesses are not concurrently read or written by any other
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt8 A new plugin should be written in python as a class that inherits from TdcPlugin.
/tools/usb/usbip/
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/
DREADME10 short) of the Linux kernel, written in the "cat" language and executable
/tools/perf/Documentation/
Djitdump-specification.txt39 … value is 4-byte long and represents the string "JiTD" in ASCII form. It written is as 0x4A695444.…

12