Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.12.1/include/kunit/
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 …]
Dtest.h695 * @fmt: an informational message to be printed when the assertion is made.
1283 * @fmt: an informational message to be printed when the assertion is made.
1286 * The opposite of KUNIT_SUCCEED(), it is an assertion that always fails. In
1287 * other words, it always results in a failed assertion, and consequently
1295 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1303 * this is otherwise known as an *assertion failure*.
1316 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1320 * Sets an assertion that the value that @condition evaluates to is false. This
1321 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1322 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
[all …]
/linux-6.12.1/fs/gfs2/
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 …]
Dutil.c41 fs_emerg(sdp, "fatal assertion failed\n"); in gfs2_assert_i()
367 * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false
370 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() argument
378 "fatal: assertion \"%s\" failed - " in gfs2_assert_withdraw_i()
380 assertion, function, file, line); in gfs2_assert_withdraw_i()
397 * gfs2_assert_warn_i - Print a message to the console if @assertion is false
400 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() argument
409 fs_warn(sdp, "warning: assertion \"%s\" failed - " in gfs2_assert_warn_i()
411 assertion, function, file, line); in gfs2_assert_warn_i()
419 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed - " in gfs2_assert_warn_i()
[all …]
/linux-6.12.1/include/linux/platform_data/
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-6.12.1/Documentation/devicetree/bindings/memory-controllers/
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
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.
Darm,pl172.txt67 - mpmc,write-enable-delay: Delay from chip select assertion to write
70 - mpmc,output-enable-delay: Delay from chip select assertion to output
73 - mpmc,write-access-delay: Delay from chip select assertion to write
76 - mpmc,read-access-delay: Delay from chip select assertion to read
/linux-6.12.1/rust/kernel/
Dkunit.rs66 // The assertion failed but this task is not running a KUnit test, so we cannot call
72 // This mimics KUnit's failed assertion format.
74 " # {}: ASSERTION FAILED at {FILE}:{LINE}\n",
104 static ASSERTION: UnaryAssert = UnaryAssert($crate::bindings::kunit_unary_assert { constant
133 core::ptr::addr_of!(ASSERTION.0.assert),
/linux-6.12.1/drivers/tty/serial/
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-6.12.1/arch/sparc/include/asm/
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-6.12.1/include/linux/pds/
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-6.12.1/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.yaml170 requirements with ADV assertion, when set to 1.
176 The number of cycles elapsed before an OE assertion, with
186 assertion to OE assertion.
/linux-6.12.1/drivers/block/drbd/
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-6.12.1/Documentation/devicetree/bindings/rtc/
Dingenic,rtc.yaml67 Reset pin low-level assertion time after wakeup
75 Minimum wakeup pin assertion time
/linux-6.12.1/fs/xfs/
Dxfs_message.c87 xfs_warn(mp, "Assertion failed: %s, file: %s, line: %d", in asswarn()
99 xfs_emerg(mp, "Assertion failed: %s, file: %s, line: %d", in assfail()
/linux-6.12.1/drivers/bus/
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-6.12.1/Documentation/devicetree/bindings/dma/stm32/
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-6.12.1/Documentation/dev-tools/kunit/
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-6.12.1/Documentation/admin-guide/media/
Dmgb4.rst162 line (marked by DE=1) and assertion of the HSYNC signal.
176 by DE=1) and assertion of the VSYNC signal.
278 line (marked by DE=1) and assertion of the HSYNC signal. The default value
287 by DE=1) and assertion of the VSYNC signal. The default value is 30.
/linux-6.12.1/fs/netfs/
Dinternal.h432 pr_err("Assertion failed\n"); \
441 pr_err("Assertion failed\n"); \
452 pr_err("Assertion failed\n"); \
461 pr_err("Assertion failed\n"); \
/linux-6.12.1/include/linux/
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-6.12.1/Documentation/filesystems/bcachefs/
DCodingStyle.rst33 expensive - but don't turn everything into a debug mode assertion, so that
48 should you need to debug something that caused the assertion to fail, you can
51 A good assertion checks something that the compiler could check for us, and
/linux-6.12.1/drivers/gpu/drm/bridge/
Dtc358764.c32 #define PPI_D0S_CLRSIPOCOUNT 0x0164 /* Assertion timer for Lane 0 */
33 #define PPI_D1S_CLRSIPOCOUNT 0x0168 /* Assertion timer for Lane 1 */
34 #define PPI_D2S_CLRSIPOCOUNT 0x016C /* Assertion timer for Lane 2 */
35 #define PPI_D3S_CLRSIPOCOUNT 0x0170 /* Assertion timer for Lane 3 */
/linux-6.12.1/drivers/spi/
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

12345678910>>...13