Home
last modified time | relevance | path

Searched +full:2 +full:kb (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/
Dpolice.json20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb",
69 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb",
90 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde…
93 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit",
114 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9",
117 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 10Kb",
141 …"matchPattern": "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassif…
162 … "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
165 …"matchPattern": "action order [0-9]*: police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify…
186 "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer atm index 8",
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/tc-testing/tc-tests/actions/
Dpolice.json20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb",
69 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb",
90 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde…
93 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit",
114 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9",
117 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 10Kb",
141 …"matchPattern": "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassif…
162 … "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer ethernet index 8",
165 …"matchPattern": "action order [0-9]*: police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify…
186 "cmdUnderTest": "$TC actions add action police rate 2mbit burst 200k linklayer atm index 8",
[all …]
/kernel/linux/linux-5.10/arch/s390/crypto/
Dpaes_s390.c57 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument
75 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb()
76 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb()
80 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
81 kb->keylen = sizeof(*h) + keylen; in _key_to_kb()
82 kb->key = kb->keybuf; in _key_to_kb()
86 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb()
87 kb->key = kb->keybuf; in _key_to_kb()
89 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb()
90 if (!kb->key) in _key_to_kb()
[all …]
/kernel/linux/linux-4.19/arch/x86/pci/
Dce4100.c7 * it under the terms of version 2 of the GNU General Public License as
61 #define KB (1024) macro
120 DEFINE_REG(2, 0, 0x10, (16*MB), reg_init, reg_read, reg_write)
121 DEFINE_REG(2, 0, 0x14, (256), reg_init, reg_read, reg_write)
122 DEFINE_REG(2, 1, 0x10, (64*KB), reg_init, reg_read, reg_write)
123 DEFINE_REG(3, 0, 0x10, (64*KB), reg_init, reg_read, reg_write)
124 DEFINE_REG(4, 0, 0x10, (128*KB), reg_init, reg_read, reg_write)
125 DEFINE_REG(4, 1, 0x10, (128*KB), reg_init, reg_read, reg_write)
126 DEFINE_REG(6, 0, 0x10, (512*KB), reg_init, reg_read, reg_write)
127 DEFINE_REG(6, 1, 0x10, (512*KB), reg_init, reg_read, reg_write)
[all …]
/kernel/linux/linux-5.10/arch/x86/pci/
Dce4100.c45 #define KB (1024) macro
104 DEFINE_REG(2, 0, 0x10, (16*MB), reg_init, reg_read, reg_write)
105 DEFINE_REG(2, 0, 0x14, (256), reg_init, reg_read, reg_write)
106 DEFINE_REG(2, 1, 0x10, (64*KB), reg_init, reg_read, reg_write)
107 DEFINE_REG(3, 0, 0x10, (64*KB), reg_init, reg_read, reg_write)
108 DEFINE_REG(4, 0, 0x10, (128*KB), reg_init, reg_read, reg_write)
109 DEFINE_REG(4, 1, 0x10, (128*KB), reg_init, reg_read, reg_write)
110 DEFINE_REG(6, 0, 0x10, (512*KB), reg_init, reg_read, reg_write)
111 DEFINE_REG(6, 1, 0x10, (512*KB), reg_init, reg_read, reg_write)
112 DEFINE_REG(6, 2, 0x10, (64*KB), reg_init, reg_read, reg_write)
[all …]
/kernel/linux/linux-5.10/fs/btrfs/tests/
Dfree-space-tests.c382 * entry, we could end up with 2 entries representing a contiguous free space.
431 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
439 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent()
447 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent()
452 * Now make only the first 256Kb of the bitmap marked as free, so that in test_steal_space_from_bitmap_to_extent()
455 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
456 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent()
466 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent()
477 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent()
487 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent()
[all …]
/kernel/linux/linux-4.19/fs/btrfs/tests/
Dfree-space-tests.c382 * entry, we could end up with 2 entries representing a contiguous free space.
431 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
439 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent()
447 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent()
452 * Now make only the first 256Kb of the bitmap marked as free, so that in test_steal_space_from_bitmap_to_extent()
455 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
456 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent()
466 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent()
477 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent()
487 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dred.json18 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $",
41 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $",
49 "id": "2d4b",
64 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $",
87 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn adaptive $",
110 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn harddrop $",
133 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn nodrop $",
154 "expExitCode": "2",
178 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn harddrop nodrop $",
/kernel/linux/linux-4.19/arch/sh/mm/
DKconfig12 Some SH processors (such as SH-2/SH-2A) lack an MMU. In order to
43 a value of 11 means that the largest free memory block is 2^10 pages.
45 The page size is not necessarily 4KB. Keep this in mind when
172 bool "4kB"
177 bool "8kB"
180 This enables 8kB pages as supported by SH-X2 and later MMUs.
183 bool "16kB"
186 This enables 16kB pages on MMU-less SH systems.
189 bool "64kB"
192 This enables support for 64kB pages, possible on all SH-4
[all …]
/kernel/linux/linux-5.10/arch/sh/mm/
DKconfig9 Some SH processors (such as SH-2/SH-2A) lack an MMU. In order to
39 a value of 11 means that the largest free memory block is 2^10 pages.
41 The page size is not necessarily 4KB. Keep this in mind when
167 bool "4kB"
172 bool "8kB"
175 This enables 8kB pages as supported by SH-X2 and later MMUs.
178 bool "16kB"
181 This enables 16kB pages on MMU-less SH systems.
184 bool "64kB"
187 This enables support for 64kB pages, possible on all SH-4
[all …]
/kernel/linux/linux-5.10/arch/ia64/
DKconfig132 optimally on systems with, say, Itanium 2 or newer processors.
135 bool "Itanium 2"
137 Select this to configure for an Itanium 2 (McKinley) processor.
146 bool "4KB"
149 performance, a page size of 8KB or 16KB is recommended. For best
150 IA-32 compatibility, a page size of 4KB should be selected (the vast
152 size). For Itanium 2 or newer systems, a page size of 64KB can also
155 4KB For best IA-32 compatibility
156 8KB For best IA-64 performance
157 16KB For best IA-64 performance
[all …]
/kernel/linux/linux-5.10/drivers/s390/crypto/
Dzcrypt_ep11misc.c123 struct ep11keyblob *kb = (struct ep11keyblob *) (key + sizeof(*hdr)); in ep11_check_aes_key_with_hdr() local
127 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
129 __func__, keylen, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
157 if (hdr->len < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_aes_key_with_hdr()
160 __func__, (int) hdr->len, sizeof(*hdr) + sizeof(*kb)); in ep11_check_aes_key_with_hdr()
164 if (kb->version != EP11_STRUCT_MAGIC) { in ep11_check_aes_key_with_hdr()
167 __func__, (int) kb->version, EP11_STRUCT_MAGIC); in ep11_check_aes_key_with_hdr()
170 if (checkcpacfexp && !(kb->attr & EP11_BLOB_PKEY_EXTRACTABLE)) { in ep11_check_aes_key_with_hdr()
190 struct ep11keyblob *kb = (struct ep11keyblob *) (key + sizeof(*hdr)); in ep11_check_ecc_key_with_hdr() local
194 if (keylen < sizeof(*hdr) + sizeof(*kb)) { in ep11_check_ecc_key_with_hdr()
[all …]
Dzcrypt_ccamisc.c237 cprbmem = kcalloc(2, cprbplusparamblen, GFP_KERNEL); in alloc_and_prep_cprbmem()
247 memcpy(preqcblk->func_id, "T2", 2); in alloc_and_prep_cprbmem()
272 memzero_explicit(mem, 2 * (sizeof(struct CPRBX) + paramblen)); in free_cprbmem()
306 u8 subfunc_code[2]; in cca_genseckey()
325 u8 subfunc_code[2]; in cca_genseckey()
339 /* get already prepared memory for 2 cprbs with param block each */ in cca_genseckey()
349 memcpy(preqparm->subfunc_code, "KG", 2); in cca_genseckey()
379 preqparm->lv2.keyid[i].attr = (i == 2 ? 0x30 : 0x10); in cca_genseckey()
448 u8 subfunc_code[2]; in cca_clr2seckey()
466 u8 subfunc_code[2]; in cca_clr2seckey()
[all …]
/kernel/linux/linux-5.10/Documentation/arm64/
Dmemory.rst9 tables with a 4KB page size and up to 3 levels with a 64KB page size.
12 with the 4KB page configuration, allowing 39-bit (512GB) or 48-bit
14 64KB pages, only 2 levels of translation tables, allowing 42-bit (4TB)
17 ARMv8.2 adds optional support for Large Virtual Address space. This is
18 only available when running with a 64KB page size and expands the
29 AArch64 Linux memory layout with 4KB pages + 4 levels (48-bit)::
40 fffffdfffe5f9000 fffffdfffe9fffff 4124KB fixed mappings
41 fffffdfffea00000 fffffdfffebfffff 2MB [guard region]
43 fffffdffffc00000 fffffdffffdfffff 2MB [guard region]
44 fffffdffffe00000 ffffffffffdfffff 2TB vmemmap
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000.h6 version 2, as published by the Free Software Foundation.
48 #define GMAC_INT_DISABLE_PCSAN BIT(2)
100 #define GMAC_RGSMIIIS_SPEED GENMASK(2, 1)
114 #define GMAC_CONTROL_2K 0x08000000 /* IEEE 802.3as 2K packets */
174 #define GMAC_DEBUG_TRCSTS_TXW 2
182 #define GMAC_DEBUG_TFCSTS_GEN_PAUSE 2
190 #define GMAC_DEBUG_RXFSTS_AT 2
196 #define GMAC_DEBUG_RRCSTS_RSTAT 2
200 #define GMAC_DEBUG_RFCFCSTS_MASK GENMASK(2, 1)
209 #define DMA_BUS_MODE_DSL_SHIFT 2 /* (in DWORDS) */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dradix-4k.h8 #define RADIX_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 4K = 2MB
9 #define RADIX_PMD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 2MB = 1GB
10 #define RADIX_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps 2^9 x 1GB = 512GB
11 #define RADIX_PGD_INDEX_SIZE 13 // size: 8B << 13 = 64KB, maps 2^13 x 512GB = 4PB
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000.h38 #define GMAC_INT_DISABLE_PCSAN BIT(2)
90 #define GMAC_RGSMIIIS_SPEED GENMASK(2, 1)
104 #define GMAC_CONTROL_2K 0x08000000 /* IEEE 802.3as 2K packets */
165 #define GMAC_DEBUG_TRCSTS_TXW 2
173 #define GMAC_DEBUG_TFCSTS_GEN_PAUSE 2
181 #define GMAC_DEBUG_RXFSTS_AT 2
187 #define GMAC_DEBUG_RRCSTS_RSTAT 2
191 #define GMAC_DEBUG_RFCFCSTS_MASK GENMASK(2, 1)
200 #define DMA_BUS_MODE_DSL_SHIFT 2 /* (in DWORDS) */
207 double_ratio = 0x00004000, /* 2:1 */
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/s5p-mfc/
Dregs-mfc-v7.h8 * it under the terms of the GNU General Public License version 2 as
37 #define MAX_FW_SIZE_V7 (SZ_512K) /* 512KB */
46 #define MFC_CTX_BUF_SIZE_V7 (30 * SZ_1K) /* 30KB */
47 #define MFC_H264_DEC_CTX_BUF_SIZE_V7 (2 * SZ_1M) /* 2MB */
48 #define MFC_OTHER_DEC_CTX_BUF_SIZE_V7 (20 * SZ_1K) /* 20KB */
49 #define MFC_H264_ENC_CTX_BUF_SIZE_V7 (100 * SZ_1K) /* 100KB */
50 #define MFC_OTHER_ENC_CTX_BUF_SIZE_V7 (10 * SZ_1K) /* 10KB */
57 (((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \
58 ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Dregs-mfc-v7.h34 #define MAX_FW_SIZE_V7 (SZ_512K) /* 512KB */
43 #define MFC_CTX_BUF_SIZE_V7 (30 * SZ_1K) /* 30KB */
44 #define MFC_H264_DEC_CTX_BUF_SIZE_V7 (2 * SZ_1M) /* 2MB */
45 #define MFC_OTHER_DEC_CTX_BUF_SIZE_V7 (20 * SZ_1K) /* 20KB */
46 #define MFC_H264_ENC_CTX_BUF_SIZE_V7 (100 * SZ_1K) /* 100KB */
47 #define MFC_OTHER_ENC_CTX_BUF_SIZE_V7 (10 * SZ_1K) /* 10KB */
54 (((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \
55 ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
/kernel/linux/linux-4.19/fs/dlm/
Duser.c6 * of the GNU General Public License v.2.
59 __u8 unused[2];
88 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
92 kb->version[0] = kb32->version[0]; in compat_input()
93 kb->version[1] = kb32->version[1]; in compat_input()
94 kb->version[2] = kb32->version[2]; in compat_input()
96 kb->cmd = kb32->cmd; in compat_input()
97 kb->is64bit = kb32->is64bit; in compat_input()
98 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
99 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
[all …]
/kernel/linux/linux-4.19/arch/ia64/
DKconfig177 wasting some kernel memory (about 2MB by default).
218 optimally on systems with, say, Itanium 2 or newer processors.
221 bool "Itanium 2"
223 Select this to configure for an Itanium 2 (McKinley) processor.
232 bool "4KB"
235 performance, a page size of 8KB or 16KB is recommended. For best
236 IA-32 compatibility, a page size of 4KB should be selected (the vast
238 size). For Itanium 2 or newer systems, a page size of 64KB can also
241 4KB For best IA-32 compatibility
242 8KB For best IA-64 performance
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Duser.c56 __u8 unused[2];
85 static void compat_input(struct dlm_write_request *kb, in compat_input() argument
89 kb->version[0] = kb32->version[0]; in compat_input()
90 kb->version[1] = kb32->version[1]; in compat_input()
91 kb->version[2] = kb32->version[2]; in compat_input()
93 kb->cmd = kb32->cmd; in compat_input()
94 kb->is64bit = kb32->is64bit; in compat_input()
95 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input()
96 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input()
97 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
Dproc-pid-vm.c164 h.e_ident[2] = 'L'; in make_exe()
166 h.e_ident[4] = 2; in make_exe()
170 h.e_type = 2; in make_exe()
186 ph.p_flags = (1<<2)|1; in make_exe()
258 int pipefd[2]; in main()
350 #define RSS1 "Rss: 4 kB\n" in main()
351 #define RSS2 "Rss: 0 kB\n" in main()
352 #define PSS1 "Pss: 4 kB\n" in main()
353 #define PSS2 "Pss: 0 kB\n" in main()
360 "Size: 4 kB\n", in main()
[all …]
/kernel/linux/linux-4.19/arch/parisc/
DKconfig127 default 2
219 At the moment, only people willing to use more than 2GB of RAM,
231 bool "4KB"
234 performance, a page size of 16KB is recommended. For best
235 compatibility with 32bit applications, a page size of 4KB should be
239 4KB For best 32bit compatibility
240 16KB For best performance
241 64KB For best performance, might give more overhead.
243 If you don't know what to do, choose 4KB.
246 bool "16KB"
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/
Dproc.rst34 2 Modifying System Parameters
117 First, we'll take a look at the read-only parts of /proc. In Chapter 2, we
181 VmPeak: 5004 kB
182 VmSize: 5004 kB
183 VmLck: 0 kB
184 VmHWM: 476 kB
185 VmRSS: 476 kB
186 RssAnon: 352 kB
187 RssFile: 120 kB
188 RssShmem: 4 kB
[all …]

12345678910>>...42