/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_sdiv.c | 1 // SPDX-License-Identifier: GPL-2.0 11 __description("SDIV32, non-zero imm divisor, check 1") 12 __success __success_unpriv __retval(-20) 15 asm volatile (" \ in sdiv32_non_zero_imm_1() 16 w0 = -41; \ in sdiv32_non_zero_imm_1() 23 __description("SDIV32, non-zero imm divisor, check 2") 24 __success __success_unpriv __retval(-20) 27 asm volatile (" \ in sdiv32_non_zero_imm_2() 29 w0 s/= -2; \ in sdiv32_non_zero_imm_2() 35 __description("SDIV32, non-zero imm divisor, check 3") [all …]
|
H A D | verifier_bounds_deduction_non_const.c | 1 // SPDX-License-Identifier: GPL-2.0 8 __description("check deducing bounds from non-const, jmp64, <non_const> == <const>, 1") 12 asm volatile (" \ in deducing_bounds_from_non_const_1() 21 r0 -= r1; \ in deducing_bounds_from_non_const_1() 29 __description("check deducing bounds from non-const, jmp64, <non_const> == <const>, 2") 33 asm volatile (" \ in deducing_bounds_from_non_const_2() 42 r0 -= r1; \ in deducing_bounds_from_non_const_2() 50 __description("check deducing bounds from non-const, jmp64, <non_const> != <const>, 1") 54 asm volatile (" \ in deducing_bounds_from_non_const_3() 64 r0 -= r1; \ in deducing_bounds_from_non_const_3() [all …]
|
H A D | verifier_cgroup_storage.c | 1 // SPDX-License-Identifier: GPL-2.0 35 asm volatile (" \ in valid_cgroup_storage_access() 55 asm volatile (" \ in invalid_cgroup_storage_access_1() 75 asm volatile (" \ in invalid_cgroup_storage_access_2() 94 asm volatile (" \ in invalid_cgroup_storage_access_3() 110 __failure __msg("invalid access to map value, value_size=64 off=-2 size=4") 115 asm volatile (" \ in __flag() 119 r1 = *(u32*)(r0 - 2); \ in __flag() 131 __failure __msg("get_local_storage() doesn't support non-zero flags") 135 asm volatile (" \ in invalid_cgroup_storage_access_5() [all …]
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | volatile-considered-harmful.rst | 1 .. include:: ../disclaimer-ita.rst 3 :Original: :ref:`Documentation/process/volatile-considered-harmful.rst <volatile_considered_harmful… 8 Perché la parola chiave "volatile" non dovrebbe essere usata 9 ------------------------------------------------------------ 13 a volte saranno tentati dall'utilizzare *volatile* nel kernel per le 15 *volatile* come una variabile atomica di facile utilizzo, ma non è così. 16 L'uso di *volatile* nel kernel non è quasi mai corretto; questo documento ne 19 Il punto chiave da capire su *volatile* è che il suo scopo è quello di 20 sopprimere le ottimizzazioni, che non è quasi mai quello che si vuole. 27 Come *volatile*, le primitive del kernel che rendono sicuro l'accesso ai dati [all …]
|
/openbmc/linux/include/asm-generic/bitops/ |
H A D | instrumented-non-atomic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * This file provides wrappers with sanitizer instrumentation for non-atomic 17 * ___set_bit - Set a bit in memory 21 * Unlike set_bit(), this function is non-atomic. If it is called on the same 26 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() 33 * ___clear_bit - Clears a bit in memory 37 * Unlike clear_bit(), this function is non-atomic. If it is called on the same 42 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() 49 * ___change_bit - Toggle a bit in memory 53 * Unlike change_bit(), this function is non-atomic. If it is called on the same [all …]
|
H A D | generic-non-atomic.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 * generic___set_bit - Set a bit in memory 23 * Unlike set_bit(), this function is non-atomic and may be reordered. 28 generic___set_bit(unsigned long nr, volatile unsigned long *addr) in generic___set_bit() 37 generic___clear_bit(unsigned long nr, volatile unsigned long *addr) in generic___clear_bit() 46 * generic___change_bit - Toggle a bit in memory 50 * Unlike change_bit(), this function is non-atomic and may be reordered. 55 generic___change_bit(unsigned long nr, volatile unsigned long *addr) in generic___change_bit() 64 * generic___test_and_set_bit - Set a bit and return its old value 68 * This operation is non-atomic and can be reordered. [all …]
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (C) 1998-2003 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 23 * set_bit - Atomically set a bit in memory 30 * restricted to acting on a single-word quantity. 34 * operate on hw-defined data-structures, so we can't easily change these 40 set_bit (int nr, volatile void *addr) in set_bit() 43 volatile __u32 *m; in set_bit() 46 m = (volatile __u32 *) addr + (nr >> 5); in set_bit() 56 * arch___set_bit - Set a bit in memory [all …]
|
/openbmc/linux/Documentation/block/ |
H A D | writeback_cache_control.rst | 2 Explicit volatile write back cache control 6 ------------ 8 Many storage devices, especially in the consumer market, come with volatile 10 operating system before data actually has hit the non-volatile storage. This 12 system needs to force data out to the non-volatile storage when it performs 21 ---------------------- 24 the filesystem and will make sure the volatile cache of the storage device 26 guarantees that previously completed write requests are on non-volatile 34 ------------------ 38 signaled after the data has been committed to non-volatile storage. [all …]
|
/openbmc/linux/tools/include/asm-generic/bitops/ |
H A D | non-atomic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * ___set_bit - Set a bit in memory 12 * Unlike set_bit(), this function is non-atomic and may be reordered. 17 ___set_bit(unsigned long nr, volatile unsigned long *addr) in ___set_bit() 26 ___clear_bit(unsigned long nr, volatile unsigned long *addr) in ___clear_bit() 35 * ___change_bit - Toggle a bit in memory 39 * Unlike change_bit(), this function is non-atomic and may be reordered. 44 ___change_bit(unsigned long nr, volatile unsigned long *addr) in ___change_bit() 53 * ___test_and_set_bit - Set a bit and return its old value 57 * This operation is non-atomic and can be reordered. [all …]
|
/openbmc/u-boot/arch/nios2/include/asm/bitops/ |
H A D | non-atomic.h | 7 * __set_bit - Set a bit in memory 11 * Unlike set_bit(), this function is non-atomic and may be reordered. 15 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit() 25 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit() 36 * __change_bit - Toggle a bit in memory 40 * Unlike change_bit(), this function is non-atomic and may be reordered. 44 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit() 53 * __test_and_set_bit - Set a bit and return its old value 57 * This operation is non-atomic and can be reordered. 61 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit() [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sol.robot | 20 @{setinprogress} set-complete set-in-progress commit-write 67 Set SOL Setting privilege-level ${item} 79 ... sol set privilege-level ${value} 91 ... sol set retry-count ${value} 103 ... sol set retry-interval ${value} 115 ... sol set character-accumulate-level ${value} 127 ... sol set character-send-threshold ${value} 143 # SOL_BIOS_OUTPUT - BIOS SOL console output 150 # SOL_LOGIN_OUTPUT - SOL output login prompt 159 Verify Deactivate Non Existing SOL [all …]
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 20 * (i.e. I get to shift by #5-2 (32 bits per long, 4 bytes per access), 27 * test_and_clear_bit - clear a bit and return its old value 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() 51 * test_and_set_bit - set a bit and return its old value 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() 77 * test_and_change_bit - toggle a bit and return its old value 81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() 106 static inline void clear_bit(int nr, volatile void *addr) in clear_bit() [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | bitops-op32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * The bit modifying instructions on SH-2A are only capable of working 9 * with a 3-bit immediate, which signifies the shift position for the bit 13 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) 22 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 40 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 59 * arch___change_bit - Toggle a bit in memory 63 * Unlike change_bit(), this function is non-atomic and may be reordered. 68 arch___change_bit(unsigned long nr, volatile unsigned long *addr) in arch___change_bit() 87 * arch___test_and_set_bit - Set a bit and return its old value [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * These have to be done with inline assembly: that way the bit-setting 29 set_bit(unsigned long nr, volatile void * addr) in set_bit() 47 * WARNING: non atomic version. 50 arch___set_bit(unsigned long nr, volatile unsigned long *addr) in arch___set_bit() 58 clear_bit(unsigned long nr, volatile void * addr) in clear_bit() 76 clear_bit_unlock(unsigned long nr, volatile void * addr) in clear_bit_unlock() 83 * WARNING: non atomic version. 86 arch___clear_bit(unsigned long nr, volatile unsigned long *addr) in arch___clear_bit() 94 __clear_bit_unlock(unsigned long nr, volatile void * addr) in __clear_bit_unlock() [all …]
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | tm.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <asm/asm-offsets.h> 20 * Save transactional state and TM-related registers. 22 * - r3 pointing to the vcpu struct 23 * - r4 containing the MSR with current TS bits: 25 * - r5 containing a flag indicating that non-volatile registers 34 stdu r1, -SWITCH_FRAME_SIZE(r1) 43 rldimi r8, r0, MSR_TM_LG, 63-MSR_TM_LG 48 rldicl. r4, r4, 64 - MSR_TS_S_LG, 62 54 /* Save CR on the stack - even if r5 == 0 we need to get cr7 back. */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pmem/ |
H A D | pmem-region.txt | 1 Device-tree bindings for persistent memory regions 2 ----------------------------------------------------- 16 ----------------------------- 19 - compatible = "pmem-region" 21 - reg = <base, size>; 33 - Any relevant NUMA associativity properties for the target platform. 35 - volatile; This property indicates that this region is actually 36 backed by non-persistent memory. This lets the OS know that it 41 is backed by non-volatile memory. 44 -------------------- [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 1994 - 1997, 1999, 2000 Ralf Baechle (ralf@gnu.org) 17 #include <asm-generic/bitops/fls.h> 18 #include <asm-generic/bitops/__fls.h> 19 #include <asm-generic/bitops/fls64.h> 20 #include <asm-generic/bitops/__ffs.h> 55 * set_bit - Atomically set a bit in memory 62 * restricted to acting on a single-word quantity. 65 set_bit(int nr, volatile void *addr) in set_bit() 80 * __set_bit - Set a bit in memory [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | bitops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 #include <asm-generic/bitops/__ffs.h> 19 #include <asm-generic/bitops/ffz.h> 20 #include <asm-generic/bitops/fls.h> 21 #include <asm-generic/bitops/__fls.h> 22 #include <asm-generic/bitops/fls64.h> 23 #include <asm-generic/bitops/sched.h> 24 #include <asm-generic/bitops/ffs.h> 26 #include <asm-generic/bitops/hweight.h> 65 * test_and_set_bit - Set a bit and return its old value [all …]
|
/openbmc/qemu/subprojects/libvhost-user/include/ |
H A D | compiler.h | 4 * See the COPYING file in the top-level directory. 50 const typeof(((type *) 0)->member) *__mptr = (ptr); \ 51 (type *) ((char *) __mptr - offsetof(type, member));}) 54 #define sizeof_field(type, field) sizeof(((type *)0)->field) 66 -offsetof(type, field)]; \ 69 #define typeof_field(type, field) typeof(((type *)0)->field) 70 #define type_check(t1,t2) ((t1*)0 - (t2*)0) 74 int:(x) ? -1 : 1; \ 81 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \ 93 #define __has_warning(x) 0 /* compatibility with non-clang compilers */ [all …]
|
/openbmc/qemu/subprojects/libvduse/include/ |
H A D | compiler.h | 4 * See the COPYING file in the top-level directory. 50 const typeof(((type *) 0)->member) *__mptr = (ptr); \ 51 (type *) ((char *) __mptr - offsetof(type, member));}) 54 #define sizeof_field(type, field) sizeof(((type *)0)->field) 66 -offsetof(type, field)]; \ 69 #define typeof_field(type, field) typeof(((type *)0)->field) 70 #define type_check(t1,t2) ((t1*)0 - (t2*)0) 74 int:(x) ? -1 : 1; \ 81 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \ 93 #define __has_warning(x) 0 /* compatibility with non-clang compilers */ [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | compiler.h | 4 * See the COPYING file in the top-level directory. 50 const typeof(((type *) 0)->member) *__mptr = (ptr); \ 51 (type *) ((char *) __mptr - offsetof(type, member));}) 54 #define sizeof_field(type, field) sizeof(((type *)0)->field) 66 -offsetof(type, field)]; \ 69 #define typeof_field(type, field) typeof(((type *)0)->field) 70 #define type_check(t1,t2) ((t1*)0 - (t2*)0) 74 int:(x) ? -1 : 1; \ 81 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \ 93 #define __has_warning(x) 0 /* compatibility with non-clang compilers */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/potentiometer/ |
H A D | microchip,mcp4531.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 15 * volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22096b.pdf 16 * non-volatile https://ww1.microchip.com/downloads/en/DeviceDoc/22107B.pdf 17 Part numbers as follows: mcp4ABC-XXX where 19 B = 3 (7-bit, volatile), 4 (7-bit, non-volatile), 20 5 (8-bit, volatile), 6 (8-bit, non-volatile), 28 - microchip,mcp4531-502 [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | PersistentMemory.interface.yaml | 4 - name: ModuleManufacturerID 8 JEP-106. 9 - name: ModuleProductID 12 The product ID of this memory module as defined by JEDEC in JEP-106. 13 - name: SubsystemVendorID 17 module as defined by JEDEC in JEP-106. 18 - name: SubsystemDeviceID 22 moduleas defined by JEDEC in JEP-106. 23 - name: VolatileRegionSizeLimitInKiB 26 Total size of volatile regions in kibibytes (KiB). [all …]
|
H A D | Dimm.interface.yaml | 4 - name: MemoryDataWidth 8 - name: MemorySizeInKB 12 - name: MemoryDeviceLocator 16 - name: MemoryType 20 - name: MemoryTypeDetail 24 - name: MaxMemorySpeedInMhz 28 - name: MemoryAttributes 33 - name: MemoryConfiguredSpeedInMhz 37 - name: ECC 40 Error-Correcting Code. [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | bitops.h | 10 * These have to be done with inline assembly: that way the bit-setting 17 #include <asm-generic/bitops/fls.h> 18 #include <asm-generic/bitops/__fls.h> 19 #include <asm-generic/bitops/fls64.h> 27 #define ADDR (*(volatile long *) addr) 30 * set_bit - Atomically set a bit in memory 37 * restricted to acting on a single-word quantity. 39 static __inline__ void set_bit(int nr, volatile void * addr) in set_bit() 48 * __set_bit - Set a bit in memory 52 * Unlike set_bit(), this function is non-atomic and may be reordered. [all …]
|