Home
last modified time | relevance | path

Searched full:assertion (Results 1 – 25 of 249) sorted by relevance

12345678910

/linux/include/kunit/
H A Dassert.h3 * Assertion and expectation serialization API.
19 * enum kunit_assert_type - Type of expectation/assertion.
20 * @KUNIT_ASSERTION: Used to denote that a kunit_assert represents an assertion.
24 * represents an expectation or an assertion.
44 * struct kunit_assert - Data for printing a failed assertion or expectation.
46 * Represents a failed expectation/assertion. Contains all the data necessary to
60 * struct kunit_fail_assert - Represents a plain fail expectation/assertion.
79 * Represents a simple expectation or assertion that simply asserts something is
94 * struct kunit_ptr_not_err_assert - An expectation/assertion that a pointer is
100 * Represents an expectation/assertion that a pointer is not null and is does
[all …]
/linux/fs/gfs2/
H A Dutil.h30 #define gfs2_assert(sdp, assertion) \ argument
32 if (unlikely(!(assertion))) { \
39 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,
43 #define gfs2_assert_withdraw(sdp, assertion) \ argument
45 bool _bool = (assertion); \
47 gfs2_assert_withdraw_i((sdp), #assertion, \
52 #define gfs2_assert_withdraw_delayed(sdp, assertion) \ argument
54 bool _bool = (assertion); \
56 gfs2_assert_withdraw_i((sdp), #assertion, \
61 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,
[all …]
H A Dutil.c41 fs_emerg(sdp, "fatal assertion failed\n"); in gfs2_assert_i()
356 * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false
359 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() argument
367 "fatal: assertion \"%s\" failed - " in gfs2_assert_withdraw_i()
369 assertion, function, file, line); in gfs2_assert_withdraw_i()
386 * gfs2_assert_warn_i - Print a message to the console if @assertion is false
389 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() argument
398 fs_warn(sdp, "warning: assertion \"%s\" failed - " in gfs2_assert_warn_i()
400 assertion, function, file, line); in gfs2_assert_warn_i()
408 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed - " in gfs2_assert_warn_i()
[all …]
/linux/include/linux/platform_data/
H A Dgpmc-omap.h35 u32 cs_on; /* Assertion time */
40 u32 adv_on; /* Assertion time */
43 u32 adv_aad_mux_on; /* ADV assertion time for AAD */
48 u32 we_on; /* WE assertion time */
52 u32 oe_on; /* OE assertion time */
54 u32 oe_aad_mux_on; /* OE assertion time for AAD */
91 u32 t_aa; /* access time from ADV assertion */
93 u32 t_oe; /* access time from OE assertion */
100 u32 t_wpl; /* write assertion time */
120 u8 cyc_oe; /* access time from OE assertion in cycles */
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dti,gpmc-child.yaml30 description: Assertion time
43 description: Assertion time
55 description: Assertion time for AAD
68 description: Assertion time
77 description: Assertion time
85 description: Assertion time for AAD
H A Darm,pl172.yaml131 Delay from chip select assertion to read
137 Delay from chip select assertion to write
143 Delay from chip select assertion to output
149 Delay from chip select assertion to write
155 Delay from chip select assertion to read
H A Dmvebu-devbus.txt62 - devbus,rd-setup-ps: Defines the time delay between DEV_CSn assertion to
63 DEV_OEn assertion. If set to 0 (default),
72 de-assertion of DEV_CSn. If set to 0 (default),
75 This parameter has no affect on DEV_OEn de-assertion.
86 to the DEV_WEn assertion.
/linux/tools/testing/selftests/kselftest_harness/
H A Dharness-selftest.expected13 # standalone_fail: Test terminated by assertion
24 # signal_fail: Test terminated by assertion
41 # fail: Test terminated by assertion
60 # pass: Test terminated by assertion
/linux/drivers/tty/serial/
H A Ddz.h72 #define DZ_BRK0 0x0100 /* Break assertion for line 0 */
73 #define DZ_BRK1 0x0200 /* Break assertion for line 1 */
74 #define DZ_BRK2 0x0400 /* Break assertion for line 2 */
75 #define DZ_BRK3 0x0800 /* Break assertion for line 3 */
/linux/arch/sparc/include/asm/
H A Dbbc.h184 * the detection of FREEZE_ACK being asserted and the assertion of
191 * the assertion of the CLK_CHANGE_L[2:0] signals and the assertion of
198 * de-assertion of CLK_CHANGE_L[2:0] and the de-assertion of the FREEZE_L
204 * BBC clocks between the de-assertion of CLK_CHANGE_L[2:0] and the first
/linux/fs/btrfs/
H A Dmessages.h104 /* Stub to verify the assertion format string. */ in verify_assert_printk_format()
118 * Assertion with optional printk() format.
144 pr_err("assertion failed: %s :: %ld, in %s:%d\n", \
147 pr_err("assertion failed: %s :: %ld, in %s:%d (" __FIRST_ARG(args) ")\n", \
162 pr_err("assertion failed: %s :: %ld, in %s:%d\n", \
/linux/include/linux/pds/
H A Dpds_intr.h29 * or on the next interrupt assertion event.
49 * @mask_on_assert: Automatically mask on assertion. When
63 * on the next interrupt assertion event.
/linux/drivers/block/drbd/
H A Ddrbd_polymorph_printk.h124 drbd_err(x, "ASSERTION %s FAILED in %s\n", \
129 * expect - Make an assertion
136 drbd_err(x, "ASSERTION %s FAILED in %s\n", \
/linux/Documentation/devicetree/bindings/rtc/
H A Dingenic,rtc.yaml67 Reset pin low-level assertion time after wakeup
75 Minimum wakeup pin assertion time
/linux/rust/kernel/
H A Dkunit.rs70 // The assertion failed but this task is not running a KUnit test, so we cannot call
76 // This mimics KUnit's failed assertion format.
78 " # {}: ASSERTION FAILED at {FILE}:{LINE}\n",
108 static ASSERTION: UnaryAssert = UnaryAssert($crate::bindings::kunit_unary_assert { constant
137 ::core::ptr::addr_of!(ASSERTION.0.assert),
/linux/drivers/bus/
H A Dqcom-ebi2.c77 * from CS assertion to OE assertion.
80 * assertion, with respect to the cycle where ADV is asserted.
83 * hold time requirements with ADV assertion.
/linux/Documentation/devicetree/bindings/dma/stm32/
H A Dst,stm32-dma.yaml46 0x1: Use alternative DMA ACK management, where ACK de-assertion does
47 not wait for the de-assertion of the REQuest, ACK is only managed
/linux/Documentation/dev-tools/kunit/
H A Darchitecture.rst35 running test. The KUnit assertion macros and other KUnit utilities use the
105 Assertion Macros
112 - ``{EXPECT|ASSERT}`` determines whether the check is an assertion or an
/linux/include/linux/
H A Dkcsan-checks.h21 #define KCSAN_ACCESS_ASSERT (1 << 3) /* Access is an assertion. */
343 * allowed. This assertion can be used to specify properties of concurrent code,
426 * writers). This assertion can be used to specify properties of concurrent
476 * concurrent readers are permitted. This assertion captures more detailed
511 * could use the assertion as follows:
/linux/drivers/spi/
H A Dspi-dw-core.c385 * automatic CS assertion/de-assertion.
569 * otherwise the CS de-assertion will happen whereupon the memory in dw_spi_write_then_read()
577 dev_err(&dws->host->dev, "CS de-assertion on Tx\n"); in dw_spi_write_then_read()
705 * getting empty and sudden CS de-assertion, which in the middle of the in dw_spi_exec_mem_op()
716 * the problems described above. The CS de-assertion and Rx FIFO in dw_spi_exec_mem_op()
758 * has fixed the automatic CS assertion/de-assertion peculiarity, then it will
/linux/fs/netfs/
H A Dinternal.h492 pr_err("Assertion failed\n"); \
501 pr_err("Assertion failed\n"); \
512 pr_err("Assertion failed\n"); \
521 pr_err("Assertion failed\n"); \
/linux/Documentation/scsi/
H A Dadvansys.rst71 Enabling this option adds assertion logic statements to the
72 driver. If an assertion fails a message will be displayed to
75 responsible for the driver. Assertion statements may proactively
/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi.c25 /* A reboot/assertion causes the MCDI status word to be set after the
93 /* Recover from a failed assertion before probing */ in efx_siena_mcdi_init()
1324 "MC watchdog or assertion failure at 0x%x\n", data); in efx_siena_mcdi_process_event()
1713 /* Returns 1 if an assertion was read, 0 if no assertion had fired,
1726 /* Attempt to read any stored assertion state before we reboot in efx_mcdi_read_assertion()
1727 * the mcfw out of the assertion handler. Retry twice, once in efx_mcdi_read_assertion()
1728 * because a boot-time assertion might cause this command to fail in efx_mcdi_read_assertion()
1750 /* Print out any recorded assertion state */ in efx_mcdi_read_assertion()
1756 ? "system-level assertion" in efx_mcdi_read_assertion()
1758 ? "thread-level assertion" in efx_mcdi_read_assertion()
[all …]
/linux/drivers/pcmcia/
H A Dsa11xx_base.h43 * by 2; divide again by 3 (number of BCLK's per command assertion);
112 /* This function returns the (approximate) command assertion period, in
/linux/lib/kunit/
H A Dassert_test.c3 * KUnit test for the assertion formatting functions.
70 /* Test an assertion fail prologue */ in kunit_test_assert_prologue()
74 ASSERT_TEST_EXPECT_CONTAIN(test, str, "ASSERTION"); in kunit_test_assert_prologue()

12345678910