Home
last modified time | relevance | path

Searched full:guard (Results 1 – 25 of 730) sorted by relevance

12345678910>>...30

/openbmc/docs/designs/
H A Dguard-on-bmc.md1 # Guard on BMC
13 process of isolation is mentioned as guard in this document, which means
18 **Guard**: Guarding the system against failures by permanently isolating faulty
21 **Guard Records**: A file in the persistent storage with the list of permanently
24 **Manual guard**: An operation to manually add a unit to the list of isolated
30 The guard in the servers is for managing a record of faulty components to keep
34 the examples are guard on motherboard components managed by the host, guard on
35 the fans can be managed by the fan control application, or the guard on the
42 is named as Guard Record. The guard record will be deleted after a repair action
43 or manually by service personnel. Most of the time, the host creates the guard
[all …]
/openbmc/qemu/scripts/
H A Dclean-header-guards.pl20 # - Header files without a recognizable header guard are skipped.
22 # renames guard symbols, and explain how to find occurrences of these
24 # - Warn about duplicate header guard symbols. To make full use of
26 # - Warn when preprocessing a header with its guard symbol defined
89 my ($fname, $guard) = @_;
91 open(my $pipe, "-|", "$opt_c -E -D$guard -c -P - <$fname")
110 skipping($fname, "no recognizable header guard", "$&\n");
116 skipping($fname, "no recognizable header guard", "$&\n");
124 skipping($fname, "no recognizable header guard", $line1, $line2);
127 my $guard = $3;
[all …]
/openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/
H A Dguardlist4 # @brief: Collect GUARD record information.
10 desc="GUARD Records"
13 guard_part_file="/var/lib/phosphor-software-manager/hostfw/running/GUARD"
21 guard_log_file=guard.log
22 if [ -e "/usr/bin/guard" ]; then
23 desc="Guard list"
25 add_cmd_output "/usr/bin/guard -l" "$guard_log_file" "$desc"
27 desc="Guard resolved records"
29 add_cmd_output "/usr/bin/guard -a" "$guard_log_file" "$desc"
31 desc="Guard ephemeral records"
[all …]
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/
H A Dguardlist4 # @brief: Collect GUARD record information.
10 desc="GUARD Records"
13 guard_part_file="/var/lib/phosphor-software-manager/hostfw/running/GUARD"
21 guard_log_file=guard.log
22 if [ -e "/usr/bin/guard" ]; then
23 desc="Guard list"
25 add_cmd_output "/usr/bin/guard -l" "$guard_log_file" "$desc"
27 desc="Guard resolved records"
29 add_cmd_output "/usr/bin/guard -a" "$guard_log_file" "$desc"
31 desc="Guard ephemeral records"
[all …]
/openbmc/linux/rust/kernel/sync/
H A Dlock.rs3 //! Generic kernel lock and guard.
5 //! It contains a generic Rust lock and guard that allow for different backends (e.g., mutexes,
118 pub fn lock(&self) -> Guard<'_, T, B> { in lock()
123 unsafe { Guard::new(self, state) } in lock()
127 /// A lock guard.
130 /// when a guard goes out of scope. It also provides a safe and convenient way to access the data
132 #[must_use = "the lock unlocks immediately when the guard is unused"]
133 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
139 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument
140 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation
[all …]
H A Dcondvar.rs8 use super::{lock::Backend, lock::Guard, LockClassKey};
51 /// let mut guard = e.value.lock();
52 /// while *guard != v {
53 /// e.value_changed.wait_uninterruptible(&mut guard);
106 fn wait_internal<T: ?Sized, B: Backend>(&self, wait_state: u32, guard: &mut Guard<'_, T, B>) { in wait_internal()
118 guard.do_unlocked(|| unsafe { bindings::schedule() }); in wait_internal()
126 /// Atomically releases the given lock (whose ownership is proven by the guard) and puts the
133 pub fn wait<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) -> bool { in wait()
134 self.wait_internal(bindings::TASK_INTERRUPTIBLE, guard); in wait()
142 pub fn wait_uninterruptible<T: ?Sized, B: Backend>(&self, guard: &mut Guard<'_, T, B>) { in wait_uninterruptible()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dphal_service_actions.cpp12 using GardType = openpower::guard::GardType;
25 * @param[in] guardTypeStr guard type enum value as a string
53 * @brief Helper function to create guard records.
62 * @param[in] plid - The PEL ID to be associated with the guard
75 lg2::error("GUARD: Callout JSON isn't an array"); in createGuardRecords()
91 // Get Entity path required for guard D-bus method in createGuardRecords()
96 "GUARD: Callout data, missing EntityPath information"); in createGuardRecords()
109 lg2::info("GUARD: ({GUARD_TARGET})", "GUARD_TARGET", s); in createGuardRecords()
111 // Get Guard type in createGuardRecords()
116 "GUARD: doesn't have Severity, setting to GARD_Predictive"); in createGuardRecords()
[all …]
/openbmc/openpower-hw-diags/analyzer/ras-data/schema/
H A Dras-data-schema-v02.json101 "guard": { object
118 "not": { "required": ["priority", "guard"] }
128 "required": ["priority", "guard"],
139 "required": ["name", "priority", "guard"]
149 "required": ["name", "priority", "guard"]
159 "required": ["name", "priority", "guard"]
169 "required": ["name", "priority", "guard"],
189 "not": { "required": ["guard"] },
205 "not": { "required": ["guard"] },
222 "required": ["priority", "guard"]
/openbmc/openpower-hw-diags/analyzer/ras-data/
H A Dras-data-definition.md99 Actions with a `guard` keyword can only use the following values (boolean):
101 | Guard | Description |
103 | true | Request guard on associated part. |
104 | false | No guard request. |
124 | guard | See `guard` table above. |
135 | guard | See `guard` table above. |
146 | guard | See `guard` table above. |
165 | guard | See `guard` table above. |
176 | guard | See `guard` table above. |
241 "guard" : false
H A Dras-data-parser.cpp382 auto guard = a.at("guard").get<bool>(); in parseAction() local
387 path, getPriority(priority), guard)); in parseAction()
393 auto guard = a.at("guard").get<bool>(); in parseAction() local
398 path, getPriority(priority), guard)); in parseAction()
404 auto guard = a.at("guard").get<bool>(); in parseAction() local
410 getPriority(priority), guard)); in parseAction()
416 auto guard = a.at("guard").get<bool>(); in parseAction() local
422 getPriority(priority), guard)); in parseAction()
428 auto guard = a.at("guard").get<bool>(); in parseAction() local
440 m.at(name), getPriority(priority), guard)); in parseAction()
/openbmc/linux/drivers/char/tpm/
H A Dtpm_tis_i2c.c33 /* Default Guard Time of 250µs until interface capability register is read */
37 /* Guard Time of 250µs after I2C slave NACK */
41 /* Guard Time bit masks; SR is repeated start, RW is read then write, etc. */
277 * Guard Time:
282 * Before the Guard Time is read (or after the TPM failed to send an I2C NACK),
283 * a Guard Time of 250µs applies.
285 * Various flags in the same register indicate if a guard time is needed:
286 * - SR: <I2C read with repeated start> <guard time> <I2C read>
287 * - RR: <I2C read> <guard time> <I2C read>
288 * - RW: <I2C read> <guard time> <I2C write>
[all …]
/openbmc/linux/include/rdma/
H A Dsignature.h33 * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
45 * @bg_type: T10-DIF block guard type (CRC|CSUM)
47 * @bg: seed of guard computation.
48 * @app_tag: application tag of guard block
49 * @ref_tag: initial guard block reference tag.
103 * | GUARD | APPTAG | REFTAG |
/openbmc/openbmc/meta-openpower/recipes-bsp/guard/
H A Dguard_git.bb1 HOMEPAGE = "https://github.com/open-power/guard"
2 SUMMARY = "Guard the faulty components"
3 DESCRIPTION = "Provide a way to guard the faulty component from the system"
13 SRC_URI = "git://git@github.com/open-power/guard;branch="main";protocol=https"
/openbmc/linux/Documentation/mm/
H A Dvmalloced-kernel-stacks.rst25 Virtually-mapped kernel stacks with guard pages causes kernel stack
30 support for virtually mapped stacks with guard pages. This feature
53 - If the stack overflows into a guard page, something reasonable
64 with guard pages. This causes kernel stack overflows to be caught
123 Leading and trailing guard pages help detect stack overflows. When stack
124 overflows into the guard pages, handlers have to be careful not overflow
131 Testing VMAP allocation with guard pages
135 and trailing guard page? The following lkdtm tests can help detect any
/openbmc/qemu/target/hexagon/
H A Dfma_emu.c167 uint8_t guard; member
177 p->guard = 0; in accum_init()
186 a.mant = int128_or(a.mant, int128_make64(a.guard)); in accum_norm_left()
187 a.guard = a.round; in accum_norm_left()
197 a.round | a.guard | int128_nz(a.mant); in accum_norm_right()
198 a.guard = a.round = 0; in accum_norm_right()
205 a.sticky |= a.round | a.guard | (int128_getlo(a.mant) != 0); in accum_norm_right()
206 a.guard = (int128_getlo(a.mant) >> 63) & 1; in accum_norm_right()
215 a.round = a.guard; in accum_norm_right()
216 a.guard = int128_getlo(a.mant) & 1; in accum_norm_right()
[all …]
/openbmc/openpower-hw-diags/analyzer/ras-data/data/
H A Dras-data-p10-20.json149 "guard": true, boolean
155 "guard": true, boolean
173 "guard": true, boolean
179 "guard": true, boolean
197 "guard": true, boolean
203 "guard": true, boolean
221 "guard": true, boolean
227 "guard": true, boolean
245 "guard": true, boolean
251 "guard": true, boolean
[all …]
H A Dras-data-p10-10.json149 "guard": true, boolean
155 "guard": true, boolean
173 "guard": true, boolean
179 "guard": true, boolean
197 "guard": true, boolean
203 "guard": true, boolean
221 "guard": true, boolean
227 "guard": true, boolean
245 "guard": true, boolean
251 "guard": true, boolean
[all …]
H A Dras-data-odyssey-10.json11 "guard": true, boolean
17 "guard": false, boolean
29 "guard": true, boolean
35 "guard": false, boolean
47 "guard": true, boolean
65 "guard": true, boolean
71 "guard": false, boolean
83 "guard": true, boolean
89 "guard": false, boolean
101 "guard": true, boolean
[all …]
/openbmc/openbmc/meta-yadro/recipes-yadro/cli/
H A Dobmc-yadro-fwupdate_git.bb18 PACKAGECONFIG[reboot-guard-support] = "-Dreboot-guard-support=true,-Dreboot-guard-support=false"
21 PACKAGECONFIG ??= " obmc-phosphor-image reboot-guard-support "
/openbmc/linux/arch/parisc/math-emu/
H A Dcnv_float.h88 #define Dbl_to_sgl_mantissa(srcA,srcB,dest,inexact,guard,sticky,odd) \ argument
90 guard = Dbit3p2(srcB); \
92 inexact = guard | sticky; \
95 #define Dbl_to_sgl_denormalized(srcA,srcB,exp,dest,inexact,guard,sticky,odd,tiny) \ argument
101 guard = inexact >> 31; \
124 if (guard && (sticky || odd)) { \
134 guard = odd; \
136 inexact |= guard; \
144 guard = inexact >> 31; \
157 guard = inexact >> 31; \
[all …]
/openbmc/openpower-hw-diags/analyzer/
H A Dresolution.hpp36 * @param i_guard True, if guard is required. False, otherwise.
51 /** True, if guard is required. False, otherwise. */
69 * @param i_guard The guard type for this callout.
90 /** True, if guard is required. False, otherwise. */
111 * @param i_guard The guard type for this callout.
132 /** True, if guard is required. False, otherwise. */
147 * @param i_guard The guard type for this callout.
161 /** True, if guard is required. False, otherwise. */
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_vma_resource.h82 * @guard: The size of guard area preceding and trailing the bind.
129 u32 guard; member
194 * @guard: The size of the guard area preceding and trailing the bind.
214 u32 guard) in i915_vma_resource_init() argument
232 vma_res->guard = guard; in i915_vma_resource_init()
/openbmc/openpower-hw-diags/test/
H A Dtest-pll-unlock.cpp72 "Guard": false, in TEST()
145 "Guard": false, in TEST()
151 "Guard": false, in TEST()
205 "Guard": true, in TEST()
211 "Guard": false, in TEST()
277 "Guard": true, in TEST()
283 "Guard": false, in TEST()
289 "Guard": false, in TEST()
349 "Guard": true, in TEST()
355 "Guard": false, in TEST()
/openbmc/linux/arch/x86/include/asm/
H A Dcpu_entry_area.h35 /* The exception stacks' physical storage. No guard pages required */
40 /* The effective cpu entry area mapping with guard pages. */
95 * a read-only guard page. On 32-bit the GDT must be writeable, so
96 * it needs an extra guard page.
116 * Exception stacks used for IST entries with guard pages.
/openbmc/linux/scripts/
H A Dsyscallnr.sh57 guard=_ASM_$(basename "$outfile" |
62 echo "#ifndef $guard"
63 echo "#define $guard"
73 echo "#endif /* $guard */"

12345678910>>...30