Home
last modified time | relevance | path

Searched full:fault (Results 1 – 25 of 1057) sorted by relevance

12345678910>>...43

/freebsd/crypto/openssl/test/helpers/
H A Dquictestlib.c134 QTEST_FAULT **fault, BIO **tracebio) in qtest_create_quic_objects() argument
168 if (fault != NULL) { in qtest_create_quic_objects()
169 *fault = OPENSSL_zalloc(sizeof(**fault)); in qtest_create_quic_objects()
170 if (*fault == NULL) in qtest_create_quic_objects()
172 bdata->fault = *fault; in qtest_create_quic_objects()
275 if (!TEST_ptr(fault)) in qtest_create_quic_objects()
302 (*fault)->noiseargs.cbio = cbio; in qtest_create_quic_objects()
303 (*fault)->noiseargs.sbio = sbio; in qtest_create_quic_objects()
304 (*fault)->noiseargs.tracebio = tmpbio; in qtest_create_quic_objects()
305 (*fault)->noiseargs.flags = flags; in qtest_create_quic_objects()
[all …]
H A Dquictestlib.h13 /* Type to represent the Fault Injector */
18 struct qtest_fault *fault; member
23 * make changes to the contents of structure objects as required and the fault
46 * keyfile, create a server and client instances as well as a fault injector
52 QTEST_FAULT **fault, BIO **tracebio);
67 * Free up a Fault Injector instance
69 void qtest_fault_free(QTEST_FAULT *fault);
118 typedef int (*qtest_fault_on_packet_plain_cb)(QTEST_FAULT *fault,
124 int qtest_fault_set_packet_plain_listener(QTEST_FAULT *fault,
137 int qtest_fault_resize_plain_packet(QTEST_FAULT *fault, size_t newlen);
[all …]
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dquic-fault-injector.md1 QUIC Fault Injector
10 The QUIC Fault Injector is a component within the OpenSSL test framework that
15 fault) into an otherwise normal QUIC connection. Therefore the fault injector
22 The QUIC Fault Injector will be external to libssl (it will be in the test
33 Fault Injector based tests may need to inject faults directly into the TLS
50 and so only usable by the Fault Injector.
91 algorithm prior to it being sent. Fault Injector based tests may need to inject
136 packet in a single datagram. Fault Injector based tests may need to inject
142 In order to provide this functionality the QUIC Fault Injector will insert
145 being associated with the Fault Injector. Similarly a second BIO_s_dgram_pair()
[all …]
/freebsd/sys/i386/i386/
H A Dtrap.c127 [T_PRIVINFLT] = { .ei = true, .msg = "privileged instruction fault" },
128 [T_BPTFLT] = { .ei = false, .msg = "breakpoint instruction fault" },
130 [T_PROTFLT] = { .ei = true, .msg = "general protection fault" },
132 [T_PAGEFLT] = { .ei = true, .msg = "page fault" },
133 [T_ALIGNFLT] = { .ei = true, .msg = "alignment fault" },
134 [T_DIVIDE] = { .ei = true, .msg = "integer divide fault" },
137 [T_BOUND] = { .ei = true, .msg = "FPU bounds check fault" },
139 [T_DOUBLEFLT] = { .ei = false, .msg = "double fault" },
140 [T_FPOPFLT] = { .ei = true, .msg = "FPU operand fetch fault" },
141 [T_TSSFLT] = { .ei = true, .msg = "invalid TSS fault" },
[all …]
/freebsd/sys/x86/include/
H A Dtrap.h46 #define T_PROTFLT 9 /* protection fault */
48 #define T_PAGEFLT 12 /* page fault */
49 #define T_ALIGNFLT 14 /* alignment fault */
51 #define T_DIVIDE 18 /* integer divide fault */
54 #define T_BOUND 21 /* bound instruction fault */
55 #define T_DNA 22 /* device not available fault */
56 #define T_DOUBLEFLT 23 /* double fault */
57 #define T_FPOPFLT 24 /* fp coprocessor operand fetch fault */
58 #define T_TSSFLT 25 /* invalid tss fault */
59 #define T_SEGNPFLT 26 /* segment not present fault */
[all …]
/freebsd/sys/amd64/amd64/
H A Dtrap.c117 [T_PRIVINFLT] = "privileged instruction fault",
119 [T_BPTFLT] = "breakpoint instruction fault",
125 [T_PROTFLT] = "general protection fault",
128 [T_PAGEFLT] = "page fault",
130 [T_ALIGNFLT] = "alignment fault",
134 [T_DIVIDE] = "integer divide fault",
137 [T_BOUND] = "FPU bounds check fault",
139 [T_DOUBLEFLT] = "double fault",
140 [T_FPOPFLT] = "FPU operand fetch fault",
141 [T_TSSFLT] = "invalid TSS fault",
[all …]
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dcpuvar_defs.h33 #define CPU_DTRACE_NOFAULT 0x0001 /* Don't fault */
35 #define CPU_DTRACE_BADADDR 0x0004 /* DTrace fault: bad address */
36 #define CPU_DTRACE_BADALIGN 0x0008 /* DTrace fault: bad alignment */
37 #define CPU_DTRACE_DIVZERO 0x0010 /* DTrace fault: divide by zero */
38 #define CPU_DTRACE_ILLOP 0x0020 /* DTrace fault: illegal operation */
39 #define CPU_DTRACE_NOSCRATCH 0x0040 /* DTrace fault: out of scratch */
40 #define CPU_DTRACE_KPRIV 0x0080 /* DTrace fault: bad kernel access */
41 #define CPU_DTRACE_UPRIV 0x0100 /* DTrace fault: bad user access */
42 #define CPU_DTRACE_TUPOFLOW 0x0200 /* DTrace fault: tuple stack overflow */
47 #define CPU_DTRACE_BADSTACK 0x1000 /* DTrace fault: bad stack */
/freebsd/sys/riscv/riscv/
H A Dsupport.S58 la a6, fsu_fault /* Load the fault handler */
67 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */
79 la a6, fsu_fault /* Load the fault handler */
88 SET_FAULT_HANDLER(x0, a6) /* Reset the fault handler */
100 la a6, fsu_fault /* Load the fault handler */
105 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */
115 la a6, fsu_fault /* Load the fault handler */
120 SET_FAULT_HANDLER(x0, a1) /* Reset the fault handler */
130 la a6, fsu_fault /* Load the fault handler */
135 SET_FAULT_HANDLER(x0, a2) /* Reset the fault handler */
[all …]
/freebsd/crypto/openssl/test/
H A Dquicfaultstest.c70 static int add_unknown_frame_cb(QTEST_FAULT *fault, QUIC_PKT_HDR *hdr, in add_unknown_frame_cb() argument
87 return qtest_fault_prepend_frame(fault, unknown_frame, in add_unknown_frame_cb()
101 QTEST_FAULT *fault = NULL; in test_unknown_frame() local
108 &qtserv, &cssl, &fault, NULL))) in test_unknown_frame()
118 if (!TEST_true(qtest_fault_set_packet_plain_listener(fault, in test_unknown_frame()
153 qtest_fault_free(fault); in test_unknown_frame()
164 static int drop_extensions_cb(QTEST_FAULT *fault, in drop_extensions_cb() argument
170 if (!qtest_fault_delete_extension(fault, *ext, ee->extensions, in drop_extensions_cb()
183 QTEST_FAULT *fault = NULL; in test_drop_extensions() local
190 &qtserv, &cssl, &fault, NULL))) in test_drop_extensions()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_001_pos.ksh24 . $STF_SUITE/tests/functional/fault/fault.cfg
28 # Testing Fault Management Agent ZED Logic - Automated Auto-Spare Test when
37 # 6. Clear the fault
70 FAULT="$TEST_BASE_DIR/file-2"
77 FAULT=$FAULT_FILE
88 log_must zinject -d $FAULT -e io -T read $TESTPOOL
93 log_must wait_vdev_state $TESTPOOL $FAULT "FAULTED" 60
104 # 6. Clear the fault
106 log_must zpool clear $TESTPOOL $FAULT
109 log_must wait_vdev_state $TESTPOOL $FAULT "ONLINE" 60
H A Dfault_limits.ksh28 . $STF_SUITE/tests/functional/fault/fault.cfg
31 # DESCRIPTION: Verify that raidz children vdev fault count is restricted
36 # 3. While it is resilvering, attempt to fault disks
40 TESTPOOL="fault-test-pool"
55 log_assert "restricts raidz children vdev fault count"
78 # Fault disks while a replacing vdev is still active
97 log_pass "restricts raidz children vdev fault count"
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DFaultMaps.cpp24 const char *FaultMaps::WFMP = "Fault Maps: ";
60 LLVM_DEBUG(dbgs() << "********** Fault Map Output **********\n"); in serializeToFaultMapSection()
88 for (const auto &Fault : FFI) { in emitFunctionInfo() local
89 LLVM_DEBUG(dbgs() << WFMP << " fault type: " in emitFunctionInfo()
90 << faultTypeToString(Fault.Kind) << "\n"); in emitFunctionInfo()
91 OS.emitInt32(Fault.Kind); in emitFunctionInfo()
94 << *Fault.FaultingOffsetExpr << "\n"); in emitFunctionInfo()
95 OS.emitValue(Fault.FaultingOffsetExpr, 4); in emitFunctionInfo()
97 LLVM_DEBUG(dbgs() << WFMP << " fault handler PC offset: " in emitFunctionInfo()
98 << *Fault.HandlerOffsetExpr << "\n"); in emitFunctionInfo()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_003_pos.ksh41 # 1. Force fault a vdev, and clear the fault.
42 # 2. Offline a vdev, force fault it, clear the fault, and online it.
43 # 3. Force fault a vdev, export it, then import it.
78 # Force fault disk, and clear the fault
84 # Offline a disk, force fault it, clear the fault, and online it
101 # Persistent fault
/freebsd/sys/arm/arm/
H A Dtrap-v6.c102 * Domain Fault (L1 & L2):
104 * Alignment Fault:
109 * - According to manual, this is translation fault during cache maintenance
119 * Translation Fault (L1 & L2):
120 * - Standard fault mechanism is held including vm_fault().
121 * Permission Fault (L1 & L2):
123 * fault mechanism is held including vm_fault().
128 {abort_align, "Alignment Fault"},
132 {NULL, "Translation Fault (L1)"},
134 {NULL, "Translation Fault (L2)"},
[all …]
/freebsd/sys/x86/iommu/
H A Dintel_reg.h49 #define DMAR_CTX1_FPD 2 /* Fault Processing Disable */
111 #define DMAR_IRTE1_FPD (1ULL << 1) /* Fault Processing Disable */
128 /* Num of Fault-recording regs */
136 /* Fault-recording reg offset */
152 #define DMAR_CAP_AFL (1 << 3) /* Advanced Fault Logging */
184 #define DMAR_GCMD_SFL (1 << 29) /* Set Fault Log */
185 #define DMAR_GCMD_EAFL (1 << 28) /* Enable Advanced Fault Logging */
196 #define DMAR_GSTS_FLS (1 << 29) /* Fault Log Status */
197 #define DMAR_GSTS_AFLS (1 << 28) /* Advanced Fault Logging Status */
254 /* Fault Status register */
[all …]
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dvdev_clear-sync-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dvdev_attach-sync-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dstatechange-sync-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
H A Dpool_import-sync-led.sh4 # Turn off/on vdevs' enclosure fault LEDs when their pool's state changes.
6 # Turn a vdev's fault LED on if it becomes FAULTED, DEGRADED or UNAVAIL.
53 # file: sysfs file to set (like /sys/class/enclosure/0:0:1:0/SLOT 10/fault)
77 # 'fault' entry always causes a SES command, even if the
81 # On some enclosures if you write 1 to fault, and read it back,
97 # Fault LEDs for JBODs and NVMe drives are handled a little differently.
99 # On JBODs the fault LED is called 'fault' and on a path like this:
101 # /sys/class/enclosure/0:0:1:0/SLOT 10/fault
107 # This function returns the full path to the fault LED file for a given
113 if [ -f "$dir/fault" ] ; then
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/zpool.d/
H A Dencdev10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Denc10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dfault_led10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dlocate_led10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dses10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)
H A Dslot10 fault_led: Show value of the disk enclosure slot fault LED.
12 ses: Show disk's enc, enc device, slot, and fault/locate LED values."
53 # JBODs fault LED is called 'fault', NVMe fault LED is called
55 if [ -f "$VDEV_ENC_SYSFS_PATH/fault" ] ; then
56 val=$(cat "$VDEV_ENC_SYSFS_PATH/fault" 2>/dev/null)

12345678910>>...43