summaryrefslogtreecommitdiff
path: root/tools/include/linux/const.h
blob: 435ddd72d2c464fdedd33889190009dde0a3bda9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _LINUX_CONST_H
#define _LINUX_CONST_H

#include <vdso/const.h>

/*
 * This returns a constant expression while determining if an argument is
 * a constant expression, most importantly without evaluating the argument.
 * Glory to Martin Uecker <Martin.Uecker@med.uni-goettingen.de>
 */
#define __is_constexpr(x) \
	(sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8)))

#endif /* _LINUX_CONST_H */
>Bagas Sanjaya 2025-08-19docs: device-mapper: fixed spelling mistakes in documentationSoham Metha 2025-08-19docs: device-mapper: fix typos in delay.rst and vdo-design.rstShubham Sharma 2025-07-31dm-thin: update the documentationLongPing Wei 2025-03-28dm-verity: support block number limits for different ioprio classesLongPing Wei 2025-02-03dm-crypt: Document integrity_key_size option.Milan Broz 2025-02-03dm-integrity: Document Inline mode for storing integrity dataMilan Broz 2025-02-03dm-verity: Document restart_on_error and panic_on_error optionsMilan Broz 2024-09-27Merge tag 'for-6.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds 2024-08-21dm-crypt: Allow to specify the integrity key size as optionIngo Franzki 2024-08-21dm delay: enhance kernel documentationHeinz Mauelshagen 2024-08-21dm vdo: add dmsetup message for returning configuration infoBruce Johnston 2024-08-13Documentation: dm-crypt.rst warning + error fixDaniel Yang 2024-08-07docs: dm-crypt: Removal of unexpected indentation errorShibu Kumar 2024-07-19dm vdo: fix a minor formatting issue in vdo.rstMasatake YAMATO 2024-07-10dm-crypt: limit the size of encryption requestsMikulas Patocka 2024-04-16dm-crypt: add the optional "high_priority" flagMikulas Patocka 2024-03-07dm vdo: document minimum metadata size requirementsMatthew Sakai 2024-03-04dm vdo: document log_level parameterKen Raeburn 2024-02-20dm vdo: add vio life cycle details to design docMatthew Sakai 2024-02-20dm vdo: add vdo documentation to device-mapper indexMatthew Sakai 2024-02-20dm: add documentation for dm-vdo targetMatthew Sakai 2023-06-22Documentation: dm-integrity: Document an example of how the tunables relate.Russell Harmon 2023-06-22Documentation: dm-integrity: Document default values.Russell Harmon 2023-06-22Documentation: dm-integrity: Document the meaning of "buffer".Russell Harmon 2023-06-22Documentation: dm-integrity: Fix minor grammatical error.Russell Harmon 2023-06-16dm flakey: introduce random_read_corrupt and random_write_corrupt optionsMikulas Patocka 2023-04-19dm flakey: add an "error_reads" optionMikulas Patocka 2023-02-02Documentation: admin-guide: correct spellingRandy Dunlap 2022-12-02dm init: add dm-mod.waitfor to wait for asynchronously probed block devicesPeter Korsgaard 2022-10-18dm verity: Add documentation for try_verify_in_tasklet optionMilan Broz 2022-07-14dm writecache: count number of blocks discarded, not number of discard biosMikulas Patocka 2022-07-14dm writecache: count number of blocks written, not number of write biosMikulas Patocka 2022-07-14dm writecache: count number of blocks read, not number of read biosMikulas Patocka 2022-07-07Documentation: dm writecache: Render status list as listBagas Sanjaya 2022-07-07Documentation: dm writecache: add blank line before optional parametersMauro Carvalho Chehab