Home
last modified time | relevance | path

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

12345678910>>...22

/kernel/linux/linux-5.10/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.
32 * struct kunit_assert - Data for printing a failed assertion or expectation.
33 * @test: the test case this expectation/assertion is associated with.
34 * @type: the type (either an expectation or an assertion) of this kunit_assert.
35 * @line: the source code line number that the expectation/assertion is at.
36 * @file: the file path of the source file that the expectation/assertion is in.
40 * Represents a failed expectation/assertion. Contains all the data necessary to
[all …]
Dtest.h670 * @fmt: an informational message to be printed when the assertion is made.
1472 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1480 * this is otherwise known as an *assertion failure*.
1493 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1497 * Sets an assertion that the value that @condition evaluates to is false. This
1498 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1499 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1512 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1517 * Sets an assertion that the values that @left and @right evaluate to are
1518 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
[all …]
/kernel/linux/linux-6.6/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.h609 * @fmt: an informational message to be printed when the assertion is made.
1193 * KUNIT_ASSERT_TRUE() - Sets an assertion that @condition is true.
1201 * this is otherwise known as an *assertion failure*.
1214 * KUNIT_ASSERT_FALSE() - Sets an assertion that @condition is false.
1218 * Sets an assertion that the value that @condition evaluates to is false. This
1219 * is the same as KUNIT_EXPECT_FALSE(), except it causes an assertion failure
1220 * (see KUNIT_ASSERT_TRUE()) when the assertion is not met.
1233 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1238 * Sets an assertion that the values that @left and @right evaluate to are
1239 * equal. This is the same as KUNIT_EXPECT_EQ(), except it causes an assertion
[all …]
/kernel/linux/linux-6.6/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\n" 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 at function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
410 assertion, function, file, line); in gfs2_assert_warn_i()
418 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed\n" in gfs2_assert_warn_i()
[all …]
/kernel/linux/linux-5.10/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.c40 fs_emerg(sdp, "fatal assertion failed\n"); in gfs2_assert_i()
366 * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false
369 void gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_withdraw_i() argument
377 "fatal: assertion \"%s\" failed\n" in gfs2_assert_withdraw_i()
379 assertion, function, file, line); in gfs2_assert_withdraw_i()
396 * gfs2_assert_warn_i - Print a message to the console if @assertion is false
399 void gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion, in gfs2_assert_warn_i() argument
408 fs_warn(sdp, "warning: assertion \"%s\" failed at function = %s, file = %s, line = %u\n", in gfs2_assert_warn_i()
409 assertion, function, file, line); in gfs2_assert_warn_i()
417 panic("GFS2: fsid=%s: warning: assertion \"%s\" failed\n" in gfs2_assert_warn_i()
[all …]
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
Dgpmc-nor.txt14 - gpmc,cs-on-ns: Chip-select assertion time
15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads
16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes
17 - gpmc,oe-on-ns: Output-enable assertion time
18 - gpmc,oe-off-ns: Output-enable de-assertion time
19 - gpmc,we-on-ns Write-enable assertion time
20 - gpmc,we-off-ns: Write-enable de-assertion time
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dgpmc-eth.txt29 - gpmc,cs-on-ns: Chip-select assertion time
30 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads
31 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes
32 - gpmc,oe-on-ns: Output-enable assertion time
33 - gpmc,oe-off-ns: Output-enable de-assertion time
34 - gpmc,we-on-ns: Write-enable assertion time
35 - gpmc,we-off-ns: Write-enable de-assertion time
/kernel/linux/linux-6.6/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
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
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.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/
Domap-gpmc.txt58 - gpmc,cs-on-ns: Assertion time
63 - gpmc,adv-on-ns: Assertion time
66 - gpmc,adv-aad-mux-on-ns: Assertion time for AAD
71 - gpmc,we-on-ns Assertion time
75 - gpmc,oe-on-ns: Assertion time
77 - gpmc,oe-aad-mux-on-ns: Assertion time for AAD
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
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.
/kernel/linux/linux-6.6/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),
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt98 with ADV assertion.
100 assertion, with respect to the cycle where ADV (address valid) is asserted.
104 assertion to OE assertion. Valid values 0 thru 15.
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt98 with ADV assertion.
100 assertion, with respect to the cycle where ADV (address valid) is asserted.
104 assertion to OE assertion. Valid values 0 thru 15.

12345678910>>...22