Home
last modified time | relevance | path

Searched +full:write +full:- +full:file +full:- +full:atomic (Results 1 – 25 of 1224) sorted by relevance

12345678910>>...49

/aosp_15_r20/external/sg3_utils/doc/
H A Dsg_write_x.81 .TH SG_WRITE_X "8" "October 2021" "sg3_utils\-1.47" SG3_UTILS
3 sg_write_x \- SCSI WRITE normal/ATOMIC/SAME/SCATTERED/STREAM, ORWRITE commands
6 [\fI\-\-16\fR] [\fI\-\-32\fR] [\fI\-\-app\-tag=AT\fR] [\fI\-\-atomic=AB\fR]
7 [\fI\-\-bmop=OP,PGP\fR] [\fI\-\-bs=BS\fR] [\fI\-\-combined=DOF\fR]
8 [\fI\-\-dld=DLD\fR] [\fI\-\-dpo\fR] [\fI\-\-dry\-run\fR] [\fI\-\-fua\fR]
9 [\fI\-\-generation=EOG,NOG\fR] [\fI\-\-grpnum=GN\fR] [\fI\-\-help\fR]
10 \fI\-\-in=IF\fR [\fI\-\-lba=LBA[,LBA...]\fR] [\fI\-\-normal\fR]
11 [\fI\-\-num=NUM[,NUM...]\fR] [\fI\-\-offset=OFF[,DLEN]\fR] [\fI\-\-or\fR]
12 [\fI\-\-quiet\fR] [\fI\-\-ref\-tag=RT\fR] [\fI\-\-same=NDOB\fR]
13 [\fI\-\-scat\-file=SF\fR] [\fI\-\-scat\-raw\fR] [\fI\-\-scattered=RD\fR]
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Drace.go2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
14 // Public race detection API, present iff build with -race.
27 // RaceAcquire/RaceRelease/RaceReleaseMerge establish happens-before relations
31 // RaceAcquire establishes a happens-before relation with the preceding
52 // RaceReleaseMerge is like RaceRelease, but also establishes a happens-before
64 // Handling is re-enabled with RaceEnable. RaceDisable/RaceEnable can be nested.
65 // Non-synchronization events (memory accesses, function entry/exit) still affect
77 // RaceEnable re-enables handling of race events in the current goroutine.
82 gp.raceignore--
[all …]
Druntime2.go2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
11 "internal/runtime/atomic"
28 // TODO(austin): The _Gscan bit could be much lighter-weight.
30 // goroutines found in the run queue, rather than CAS-looping
32 // _Gscanwaiting -> _Gscanrunnable are actually okay because
58 // write parts of the stack under the appropriate channel
149 // the scheduler on Ps with non-empty run queues.
160 // as fast as spin locks (just a few user-level instructions),
167 // Futex-based impl treats it as uint32 key,
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/
H A DAtomicFile.java5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
18 import java.io.File;
27 * A helper class for performing atomic operations on a file by creating a backup file until a write
30 * <p>Atomic file guarantees file integrity by ensuring that a file has been completely written and
31 * synced to disk before removing its backup. As long as the backup file exists, the original file
32 * is considered to be invalid (left over from a previous attempt to write the file).
34 * <p>Atomic file does not confer any file locking semantics. Do not use this class when the file
36 * responsible for ensuring appropriate mutual exclusion invariants whenever it accesses the file.
42 private final File baseName;
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/
H A DAtomicFile.java5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
18 import java.io.File;
27 * A helper class for performing atomic operations on a file by creating a backup file until a write
30 * <p>Atomic file guarantees file integrity by ensuring that a file has been completely written and
31 * synced to disk before removing its backup. As long as the backup file exists, the original file
32 * is considered to be invalid (left over from a previous attempt to write the file).
34 * <p>Atomic file does not confer any file locking semantics. Do not use this class when the file
36 * responsible for ensuring appropriate mutual exclusion invariants whenever it accesses the file.
42 private final File baseName;
[all …]
/aosp_15_r20/external/mesa3d/src/intel/compiler/elk/
H A Delk_disasm.c42 if (devinfo->ver < 6) in elk_has_jip()
57 if (devinfo->ver < 6) in elk_has_uip()
60 return (devinfo->ver >= 7 && opcode == ELK_OPCODE_IF) || in elk_has_uip()
61 (devinfo->ver >= 8 && opcode == ELK_OPCODE_ELSE) || in elk_has_uip()
70 if (devinfo->ver < 8) in has_branch_ctrl()
109 [1] = "-",
193 [1] = "-"
224 [ELK_THREAD_ATOMIC] = "atomic",
283 /* SFIDs on Gfx4-5 */
290 [ELK_SFID_DATAPORT_WRITE] = "write",
[all …]
/aosp_15_r20/frameworks/base/core/java/android/util/
H A DAtomicFile.java5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
29 import java.io.File;
37 * Helper class for performing atomic operations on a file by writing to a new file and renaming it
38 * into the place of the original file after the write has successfully completed. If you need this
41 * Atomic file guarantees file integrity by ensuring that a file has been completely written and
42 * sync'd to disk before renaming it to the original file. Previously this is done by renaming the
43 * original file to a backup file beforehand, but this approach couldn't handle the case where the
44 * file is created for the first time. This class will also handle the backup file created by the
47 * Atomic file does not confer any file locking semantics. Do not use this class when the file may
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/poll/
Dfd_mutex.go2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 import "sync/atomic"
10 // lifetime of an fd and serializes access to Read, Write and Close
19 // 1 bit - whether FD is closed, if set all subsequent lock operations will fail.
20 // 1 bit - lock for read operations.
21 // 1 bit - lock for write operations.
22 // 20 bits - total number of references (read+write+misc).
23 // 20 bits - number of outstanding read waiters.
24 // 20 bits - number of outstanding write waiters.
[all …]
/aosp_15_r20/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/
H A DAtomicFU.kt2 …* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen…
5 @file:JvmName("AtomicFU")
6 @file:Suppress("NOTHING_TO_INLINE", "RedundantVisibilityModifier", "INVISIBLE_REFERENCE", "INVISIBL…
10 import java.util.concurrent.atomic.AtomicIntegerFieldUpdater
11 import java.util.concurrent.atomic.AtomicLongFieldUpdater
12 import java.util.concurrent.atomic.AtomicReferenceFieldUpdater
18 * Creates atomic reference with a given [initial] value.
20 * It can only be used in initialize of private read-only property, like this:
23 * private val f = atomic<Type>(initial)
26 public actual fun <T> atomic(initial: T, trace: TraceBase): AtomicRef<T> = AtomicRef<T>(initial, tr… in atomic() method
[all …]
/aosp_15_r20/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cc1 //===-- tsan_report.cc ----------------------------------------------------===//
5 // This file is distributed under the University of Illinois Open Source
8 //===----------------------------------------------------------------------===//
10 // This file is a part of ThreadSanitizer (TSan), a race detector.
12 //===----------------------------------------------------------------------===//
90 return "heap-use-after-free"; in ReportTypeString()
92 return "heap-use-after-free (virtual call vs free)"; in ReportTypeString()
104 return "read lock of a write locked mutex"; in ReportTypeString()
106 return "read unlock of a write locked mutex"; in ReportTypeString()
108 return "signal-unsafe call inside of a signal"; in ReportTypeString()
[all …]
/aosp_15_r20/external/sg3_utils/src/
H A Dsg_write_x.c2 * Copyright (c) 2017-2022 Douglas Gilbert.
4 * Use of this source code is governed by a BSD-style
5 * license that can be found in the BSD_LICENSE file.
7 * SPDX-License-Identifier: BSD-2-Clause
9 * The utility can send six variants of the SCSI WRITE command: (normal)
10 * WRITE(16 or 32), WRITE ATOMIC(16 or 32), ORWRITE(16 or 32),
11 * WRITE SAME(16 or 32), WRITE SCATTERED (16 or 32) or WRITE
45 * its fields: reference-tag (4 bytes), application-tag (2 bytes) and
46 * tag-mask (2 bytes) are often abbreviated to RT, AT and TM respectively.
47 * And the LBA Range Descriptor associated with the WRITE SCATTERED command
[all …]
/aosp_15_r20/external/crosvm/cros_tracing/src/
H A Dtrace_marker.rs2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 use std::fs::File;
9 use std::io::Write;
17 static TRACE_MARKER_FILE: Mutex<Option<File>> = Mutex::new(None);
20 /// This macro is used as a placeholder to let us iterate over the compile-time
40 /// If we run crosvm without `--disable-sandbox`, we need to add the `trace_marker`
41 /// file descriptor to the list of file descriptors allowed to be accessed by the
42 /// sandboxed process. We call this macro to add the file descriptor to the list
51 /// Prints a single non-scoped message without creating a trace context.
[all …]
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/uwb/aidl/android.hardware.uwb-V1-rust/android_arm64_armv8-2a_cortex-a55_source_apex33/
Dandroid_hardware_uwb_V1.rs11 * This file is auto-generated. DO NOT MODIFY.
12-x86/bin/aidl --lang=rust --structured --version 1 --hash 5bffd1b593a254bcbe9cb0b2fcf29f71452ae0af…
14 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
15 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
28 … cached_version: std::sync::atomic::AtomicI32 = std::sync::atomic::AtomicI32::new(-1),
36 fn get_descriptor() -> &'static str where Self: Sized { "android.hardware.uwb.IUwb" } in get_descriptor()
37 fn r#getChips<'a, >(&'a self) -> binder::Result<Vec<String>>;
38 …fn r#getChip<'a, 'l1, >(&'a self, _arg_name: &'l1 str) -> binder::Result<binder::Strong<dyn crate:…
39 fn r#getInterfaceVersion<'a, >(&'a self) -> binder::Result<i32> {
42 fn r#getInterfaceHash<'a, >(&'a self) -> binder::Result<String> {
[all …]
/aosp_15_r20/prebuilts/vndk/v34/arm/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v34/x86/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/arm/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm/include/system/libfmq/include/fmq/
DMessageQueueBase.h5 * you may not use this file except in compliance with the License.
8 * http://www.apache.org/licenses/LICENSE-2.0
19 #include <android-base/unique_fd.h>
26 #include <atomic>
41 * @param resetPointers bool indicating whether the read/write pointers
55 * @param bufferFd User-supplied file descriptor to map the memory for the ringbuffer
56 * By default, bufferFd=-1 means library will allocate ashmem region for ringbuffer.
57 * MessageQueue takes ownership of the file descriptor.
60 * Otherwise, operations will cause out-of-bounds memory access.
102 * Non-blocking write to FMQ.
[all …]

12345678910>>...49