Home
last modified time | relevance | path

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

12345678910>>...43

/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-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-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-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-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/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/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-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
Dradix-64k.h8 #define RADIX_PTE_INDEX_SIZE 5 // size: 8B << 5 = 256B, maps 2^5 x 64K = 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
Dhash-4k.h5 #define H_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 4KB = 2MB
6 #define H_PMD_INDEX_SIZE 7 // size: 8B << 7 = 1KB, maps: 2^7 x 2MB = 256MB
7 #define H_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 256MB = 128GB
8 #define H_PGD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 128GB = 64TB
42 #define H_PAGE_F_SECOND _RPAGE_PKEY_BIT0 /* HPTE is in 2ndary HPTEG */
/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-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))
Dregs-mfc-v8.h92 #define MFC_CTX_BUF_SIZE_V8 (36 * SZ_1K) /* 36KB */
93 #define MFC_H264_DEC_CTX_BUF_SIZE_V8 (2 * SZ_1M) /* 2MB */
94 #define MFC_OTHER_DEC_CTX_BUF_SIZE_V8 (20 * SZ_1K) /* 20KB */
95 #define MFC_H264_ENC_CTX_BUF_SIZE_V8 (100 * SZ_1K) /* 100KB */
96 #define MFC_OTHER_ENC_CTX_BUF_SIZE_V8 (10 * SZ_1K) /* 10KB */
109 ((((((w) * 16) * ((h) * 16)) * 3) / 2) * 4))
118 #define MAX_FW_SIZE_V8 (SZ_512K) /* 512KB */
/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-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 …]
/kernel/linux/linux-5.10/arch/parisc/
DKconfig138 default 2
231 At the moment, only people willing to use more than 2GB of RAM,
243 bool "4KB"
246 performance, a page size of 16KB is recommended. For best
247 compatibility with 32bit applications, a page size of 4KB should be
251 4KB For best 32bit compatibility
252 16KB For best performance
253 64KB For best performance, might give more overhead.
255 If you don't know what to do, choose 4KB.
258 bool "16KB"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgv_sriovmsg.h35 * 0 64KB 65KB 66KB
37 * | 64KB | 1KB | 1KB |
54 #define AMD_SRIOV_MSG_FW_VRAM_PF2VF_VER 2
112 uint32_t reserved[2];
118 /* use private key from mailbox 2 to create checksum */
162 uint32_t reserved[2];
258 "amd_sriov_msg_vf2pf_info must be " stringification(AMD_SRIOV_MSG_SIZE_KB) " KB");
262 "amd_sriov_msg_pf2vf_info must be " stringification(AMD_SRIOV_MSG_SIZE_KB) " KB");
/kernel/linux/linux-5.10/arch/mips/lib/
Ddump_tlb.c19 const int field = 2 * sizeof(unsigned long); in dump_tlb_regs()
49 case PM_4K: return "4kb"; in msk2str()
50 case PM_16K: return "16kb"; in msk2str()
51 case PM_64K: return "64kb"; in msk2str()
52 case PM_256K: return "256kb"; in msk2str()
54 case PM_8K: return "8kb"; in msk2str()
55 case PM_32K: return "32kb"; in msk2str()
56 case PM_128K: return "128kb"; in msk2str()
57 case PM_512K: return "512kb"; in msk2str()
58 case PM_2M: return "2Mb"; in msk2str()
[all …]
/kernel/linux/linux-5.10/arch/hexagon/
DKconfig94 default 2
113 range 2 6 if SMP
119 minimum value which makes sense is 2.
131 bool "4KB"
134 bool "16KB"
137 bool "64KB"
140 bool "256KB"
/kernel/linux/linux-5.10/Documentation/staging/
Dlzo.rst51 length += constant (generally 2 or 3)
59 After any instruction except the large literal copy, 0, 1, 2 or 3 literals
134 2-byte block from the dictionary within a 1kB distance. It is worth
135 noting that this instruction provides little savings since it uses 2
136 bytes to encode a copy of 2 other bytes but it encodes the number of
139 0 0 0 0 D D S S (0..15) : copy 2 bytes from <= 1kB distance
140 length = 2
143 distance = (H << 2) + D + 1
147 dictionary from a 2..3kB distance, and must be interpreted like this :
149 0 0 0 0 D D S S (0..15) : copy 3 bytes from 2..3 kB distance
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dp1021rdb-pc.dtsi20 * Foundation, either version 2 of that License or (at your option) any
41 bank-width = <2>;
46 /* 256KB for Vitesse 7385 Switch firmware */
53 /* 256KB for DTB Image */
72 /* 256KB for QE ucode firmware*/
80 /* 512KB for u-boot Bootloader Image */
81 /* 512KB for u-boot Environment Variables */
133 L2switch@2,0 {
158 /* 512KB for u-boot Bootloader Image */
165 /* 512KB for DTB Image */
[all …]

12345678910>>...43