Home
last modified time | relevance | path

Searched refs:LENGTH (Results 1 – 11 of 11) sorted by relevance

/linux/rust/kernel/
H A Dprint.rs41 pub const LENGTH: usize = 10;
49 const fn generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] {
59 let suffix: &[u8; LENGTH - LENGTH_PREFIX] = if is_cont {
77 pub static EMERG: [u8; LENGTH] = generate(false, bindings::KERN_EMERG);
78 pub static ALERT: [u8; LENGTH] = generate(false, bindings::KERN_ALERT);
79 pub static CRIT: [u8; LENGTH] = generate(false, bindings::KERN_CRIT);
80 pub static ERR: [u8; LENGTH] = generate(false, bindings::KERN_ERR);
81 pub static WARNING: [u8; LENGTH] = generate(false, bindings::KERN_WARNING);
82 pub static NOTICE: [u8; LENGTH] = generate(false, bindings::KERN_NOTICE);
83 pub static INFO: [u8; LENGTH]
39 pub const LENGTH: usize = 10; global() constant
47 generate(is_cont: bool, prefix: &[u8; 3]) -> [u8; LENGTH] generate() argument
99 call_printk( format_string: &[u8; format_strings::LENGTH], module_name: &[u8], args: fmt::Arguments<'_>, ) call_printk() argument
[all...]
/linux/tools/testing/selftests/mm/
H A Dhugepage-mmap.c20 #define LENGTH (256UL*1024*1024) macro
32 for (i = 0; i < LENGTH; i++) in write_bytes()
41 for (i = 0; i < LENGTH; i++) in read_bytes()
61 addr = mmap(NULL, LENGTH, PROTECTION, MAP_SHARED, fd, 0); in main()
72 munmap(addr, LENGTH); in main()
H A Dhugepage-shm.c31 #define LENGTH (256UL*1024*1024) macro
41 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
57 for (i = 0; i < LENGTH; i++) { in main()
65 for (i = 0; i < LENGTH; i++) in main()
H A Dmap_hugetlb.c16 #define LENGTH (256UL*1024*1024) macro
48 size_t length = LENGTH; in main()
/linux/tools/testing/selftests/cgroup/
H A Dtest_hugetlb_memcg.c16 #define LENGTH (8UL*1024*1024)
91 for (i = 0; i < LENGTH; i++) in write_data()
112 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, 0, 0); in hugetlb_test_program()
150 munmap(addr, LENGTH); in hugetlb_test_program()
165 munmap(addr, LENGTH); in hugetlb_test_program()
14 #define LENGTH global() macro
/linux/lib/zlib_inflate/
H A Dinflate.h43 LENGTH, /* i: waiting for 32-bit length (gzip) */ enumerator
/linux/drivers/media/dvb-frontends/
H A Ddrxd_firm.c18 #define LENGTH(x) ((x) & 0xFF), (((x)>>8) & 0xFF) macro
23 #define WRBLOCK(a, l) ADDRESS(a), LENGTH(l)
24 #define WR16(a, d) ADDRESS(a), LENGTH(1), DATA16(d)
/linux/tools/testing/selftests/sysctl/
H A Dsysctl.sh629 LENGTH=$((RANDOM % 65000))
638 while [ "${#TEST_STR}" -le "$LENGTH" ]; do
/linux/Documentation/networking/devlink/
H A Ddevlink-region.rst52 $ devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length LENGTH
/linux/Documentation/netlabel/
H A Ddraft-ietf-cipso-ipsecurity-01.txt96 LENGTH INTERPRETATION
175 TYPE LENGTH INFORMATION
216 TYPE LENGTH OCTET LEVEL CATEGORIES
302 TYPE LENGTH OCTET LEVEL CATEGORIES
365 TYPE LENGTH OCTET LEVEL
/linux/arch/arm/mach-tegra/
H A Dsleep-tegra30.S530 mov32 r2, 0x80000011 @ DEV_SELECTION=2, LENGTH=LONG, CMD=1
540 mov32 r2, 0x40000011 @ DEV_SELECTION=1, LENGTH=LONG, CMD=1