/linux/include/linux/ |
H A D | call_once.h | 11 struct once { struct 16 static inline void __once_init(struct once *once, const char *name, in __once_init() argument 19 atomic_set(&once->state, ONCE_NOT_STARTED); in __once_init() 20 __mutex_init(&once->lock, name, key); in __once_init() 23 #define once_init(once) \ argument 26 __once_init((once), #once, &__key); \ 30 * call_once - Ensure a function has been called exactly once 32 * @once: Tracking struct 35 * If @once has never completed successfully before, call @cb and, if 36 * it returns a zero or positive value, mark @once as completed. Return [all …]
|
H A D | once.h | 20 /* Call a function exactly once. The idea of DO_ONCE() is to perform 22 * once, where DO_ONCE() can live in the fast-path. After @func has 49 static bool __section(".data..once") ___done = false; \ 67 static bool __section(".data..once") ___done = false; \
|
/linux/tools/memory-model/litmus-tests/ |
H A D | README | 5 CoRR+poonceonce+Once.litmus 9 CoRW+poonceonce+Once.litmus 14 CoWR+poonceonce+Once.litmus 140 WRC+poonceonces+Once.litmus 141 WRC+pooncerelease+fencermbonceonce+Once.litmus 172 each process exactly once, so litmus tests not fitting this description 224 smp_load_acquire(), so next is "Once". Thus far, we have "Rfi Once". 230 READ_ONCE(), we add another "Once" descriptor. 234 WRITE_ONCE(), which as before gives the descriptor "Once". The string 235 thus far is thus "Rfi Once PodRR Once Fre Once". [all …]
|
/linux/Documentation/watchdog/ |
H A D | watchdog-parameters.rst | 33 Watchdog cannot be stopped once started 46 Watchdog cannot be stopped once started 55 Watchdog cannot be stopped once started 67 Watchdog cannot be stopped once started 94 Watchdog cannot be stopped once started 103 Watchdog cannot be stopped once started 112 Watchdog cannot be stopped once started 137 Watchdog cannot be stopped once started 152 Watchdog cannot be stopped once started 158 Watchdog cannot be stopped once started [all …]
|
/linux/tools/memory-model/Documentation/ |
H A D | herd-representation.txt | 30 | READ_ONCE | R[once] | 32 | WRITE_ONCE | W[once] | 38 | smp_store_mb | W[once] ->po F[mb] | 52 | rcu_dereference | R[once] | 63 | atomic_add | R*[noreturn] ->rmw W*[once] | 69 | atomic_add_return | F[mb] ->po R*[once] | 70 | | ->rmw W*[once] ->po F[mb] | 76 | atomic_add_return_relaxed | R*[once] ->rmw W*[once] | 82 | atomic_add_return_acquire | R*[acquire] ->rmw W*[once] | 88 | atomic_add_return_release | R*[once] ->rmw W*[release] | [all …]
|
/linux/tools/memory-model/ |
H A D | linux-kernel.def | 8 // ONCE 9 READ_ONCE(X) __load{once}(X) 10 WRITE_ONCE(X,V) { __store{once}(X,V); } 16 rcu_dereference(X) __load{once}(X) 17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; } 32 xchg_relaxed(X,V) __xchg{once}(X,V) 36 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W) 72 atomic_add_return_relaxed(V,X) __atomic_op_return{once}(X,+,V) 76 atomic_fetch_add_relaxed(V,X) __atomic_fetch_op{once}(X,+,V) 81 atomic_inc_return_relaxed(X) __atomic_op_return{once}(X,+,1) [all …]
|
H A D | linux-kernel.bell | 16 enum Accesses = 'once (*READ_ONCE,WRITE_ONCE*) || 20 instructions R[{'once,'acquire,'noreturn}] 21 instructions W[{'once,'release}] 22 instructions RMW[{'once,'acquire,'release}] 76 let Marked = (~M) | IW | Once | Release | Acquire | domain(rmw) | range(rmw) |
|
/linux/tools/perf/pmu-events/arch/x86/skylake/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational double precision floa… 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational single precision floa… 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …"PublicDescription": "Counts once for most SIMD 256-bit packed double computational precision floa… 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …"PublicDescription": "Counts once for most SIMD 256-bit packed single computational precision floa… 48 …"BriefDescription": "Counts once for most SIMD scalar computational floating-point instructions re… 52 …"PublicDescription": "Counts once for most SIMD scalar computational single precision and double p… [all …]
|
/linux/tools/perf/pmu-events/arch/x86/cascadelakex/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational double precision floa… 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational single precision floa… 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …"PublicDescription": "Counts once for most SIMD 256-bit packed double computational precision floa… 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …"PublicDescription": "Counts once for most SIMD 256-bit packed single computational precision floa… 75 …"BriefDescription": "Counts once for most SIMD scalar computational floating-point instructions re… 79 …"PublicDescription": "Counts once for most SIMD scalar computational single precision and double p… [all …]
|
/linux/arch/sh/lib/ |
H A D | memmove.S | 33 bt/s 8f ! if it's too small, copy a byte at once 62 ! copy a byte at once 94 2: ! Second, copy a long word at once 103 ! Third, copy a byte at once, if necessary 127 2: ! Second, read a long word and write a long word at once 160 ! Third, copy a byte at once, if necessary 179 2: ! Second, read a word and write a word at once 189 ! Third, copy a byte at once, if necessary 215 2: ! Second, read a long word and write a long word at once 249 ! Third, copy a byte at once, if necessary
|
H A D | memcpy.S | 24 bt/s 7f ! if it's too small, copy a byte at once 52 ! copy a byte at once 81 2: ! Second, copy a long word at once 89 ! Third, copy a byte at once, if necessary 111 2: ! Second, read a long word and write a long word at once 141 ! Third, copy a byte at once, if necessary 159 2: ! Second, read a word and write a word at once 169 ! Third, copy a byte at once, if necessary 192 2: ! Second, read a long word and write a long word at once 223 ! Third, copy a byte at once, if necessary
|
/linux/tools/perf/pmu-events/arch/x86/skylakex/ |
H A D | floating-point.json | 3 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational double precision float… 7 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational double precision floa… 12 …"BriefDescription": "Counts once for most SIMD 128-bit packed computational single precision float… 16 …"PublicDescription": "Counts once for most SIMD 128-bit packed computational single precision floa… 21 …"BriefDescription": "Counts once for most SIMD 256-bit packed double computational precision float… 25 …"PublicDescription": "Counts once for most SIMD 256-bit packed double computational precision floa… 30 …"BriefDescription": "Counts once for most SIMD 256-bit packed single computational precision float… 34 …"PublicDescription": "Counts once for most SIMD 256-bit packed single computational precision floa… 75 …"BriefDescription": "Counts once for most SIMD scalar computational floating-point instructions re… 79 …"PublicDescription": "Counts once for most SIMD scalar computational single precision and double p… [all …]
|
/linux/fs/smb/client/ |
H A D | cifs_debug.h | 34 #define ONCE 8 macro 76 if ((type) & ONCE) \ 77 cifs_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 101 if ((type) & ONCE) \ 102 cifs_server_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 125 if ((type) & ONCE) \ 126 cifs_tcon_dbg_func(once, type, fmt, ##__VA_ARGS__); \
|
/linux/tools/perf/Documentation/ |
H A D | perf-ftrace.txt | 89 by using this option more than once. The function argument also 96 argument. Like -T option, this can be used more than once to 111 than once to specify multiple functions. It will be passed to 119 executed from the given function. This can be used more than once to 169 Multiple functions can be given by using this option more than once. 176 can be used more than once to specify multiple functions (or glob 183 can be used more than once to specify multiple functions. It will be 191 can be used more than once to specify multiple functions. It will be
|
/linux/fs/xfs/ |
H A D | xfs_extfree_item.h | 32 * On allocation, both references are the responsibility of the caller. Once the 34 * transfers to the transaction. The reference is dropped once the EFI is 38 * means to detect failure once the transaction is committed, however. 42 * Once an EFD is allocated and dirtied in a transaction, reference two 43 * transfers to the transaction. The EFD reference is dropped once it reaches
|
/linux/Documentation/leds/ |
H A D | ledtrig-transient.rst | 12 features that require an on or off state to be held just once and then stay in 37 being able to actually change the LED state. Once driver is resumed, triggers 91 is used to start a timer that runs once. This value doesn't 114 allow user app to set the time once and activate it to run it once for the 150 echo 1 > activate - start timer = duration to run once 151 echo 1 > activate - start timer = duration to run once
|
/linux/include/linux/dma/ |
H A D | sprd-dma.h | 18 * configurations. Once the source channel's transaction is done, it will 50 * automatically once the source channel's fragment request is done. 52 * automatically once the source channel's block request is done. 54 * automatically once the source channel's transfer request is done. 56 * automatically once the source channel's link-list request is done. 121 * @wrap_addr: the wrap address for link-list mode, which means once the 134 * Once trigger the DMA transfer, the DMA controller will load 'configuration
|
/linux/drivers/md/dm-vdo/ |
H A D | action-manager.c | 186 * We are about to apply to the last zone. Once that is finished, we're done, so go in apply_to_zone() 278 * @preamble: A method to be invoked on the initiator thread once this action is started but before 281 * @conclusion: A method to be invoked back on the initiator thread once the action has been 283 * @parent: The object to notify once the action is complete or if the action can not be scheduled; 305 * @preamble: A method to be invoked on the initiator thread once this action is started but before 308 * @conclusion: A method to be invoked back on the initiator thread once the action has been 310 * @parent: The object to notify once the action is complete or if the action can not be scheduled; 334 * @preamble: A method to be invoked on the initiator thread once this action is started but before 337 * @conclusion: A method to be invoked back on the initiator thread once the action has been 341 * @parent: The object to notify once the action is complete or if the action can not be scheduled;
|
/linux/drivers/atm/ |
H A D | Kconfig | 92 Burst sixteen words at once in the send direction. This may work 99 Burst eight words at once in the send direction. This is the default 106 Burst four words at once in the send direction. You may want to try 114 Burst two words at once in the send direction. You may want to try 122 Burst sixteen words at once in the receive direction. This may work 129 Burst eight words at once in the receive direction. This may work 137 Burst four words at once in the receive direction. This is the 145 Burst two words at once in the receive direction. You may want to
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | method-tracing.rst | 67 # echo "method-once" > /sys/module/acpi/parameters/trace_state 133 # echo "method-once" > trace_state 157 acpi.trace_method_name=\_SB.LID0._LID acpi.trace_state=opcode-once 209 "method-once" 213 during method execution of "trace_method_name" will be logged only once. 221 "opcode-once" 226 once.
|
/linux/arch/m68k/include/asm/ |
H A D | sun3xflop.h | 48 static int once = 0; in sun3x_82072_fd_inb() local 60 if(!once) { in sun3x_82072_fd_inb() 61 once = 1; in sun3x_82072_fd_inb() 205 static int once = 0; in sun3xflop_request_irq() local 208 if(!once) { in sun3xflop_request_irq() 209 once = 1; in sun3xflop_request_irq()
|
/linux/Documentation/networking/ |
H A D | nf_conntrack-sysctl.rst | 98 Note that connection tracking entries are added to the table twice -- once 99 for the original direction and once for the reply direction (i.e., with 218 enabled. This option cannot be disabled once it is enabled. 225 Once aged, the connection is returned to nf conntrack. 232 Once aged, the connection is returned to nf conntrack.
|
/linux/include/uapi/linux/ |
H A D | um_timetravel.h | 134 * Note that if a calendar sends this message once, the host may 142 * @UM_TIMETRAVEL_GET_TOD: Return time of day, typically used once at 206 * shared memory times, and once shared memory is initialized, any interaction 232 * &enum um_timetravel_schedshm_cap, set by client once after getting the 253 * set by controller once at init, clients must check this after mapping 256 * @len: Length of all the memory including header (@hdr), clients should once 272 * @max_clients: size of @clients array, set once at init by the controller.
|
/linux/lib/ |
H A D | dhry_1.c | 38 /* executed once */ in Proc_3() 51 /* executed once */ in Proc_1() 82 /* executed once */ in Proc_2() 90 /* executed once */ in Proc_2() 103 /* executed once */ in Proc_4() 115 /* executed once */ in Proc_5() 190 /* loop body executed once */ in dhry()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_vpu_if.h | 56 * vpu_dec_start - start decoding, basically the function will be invoked once 66 * vpu_dec_end - end decoding, basically the function will be invoked once 91 * vpu_dec_core - core start decoding, basically the function will be invoked once 99 * vpu_dec_core_end - core end decoding, basically the function will be invoked once
|