Home
last modified time | relevance | path

Searched +full:2 +full:kb (Results 1 – 25 of 1063) 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-6.6/tools/testing/selftests/proc/
Dproc-empty-vm.c19 * holding it with ptrace(2). See what happens to
48 * 2: vsyscall VMA is r-xp vsyscall=emulate
64 "Size: 4 kB\n"
65 "KernelPageSize: 4 kB\n"
66 "MMUPageSize: 4 kB\n"
67 "Rss: 0 kB\n"
68 "Pss: 0 kB\n"
69 "Pss_Dirty: 0 kB\n"
70 "Shared_Clean: 0 kB\n"
71 "Shared_Dirty: 0 kB\n"
[all …]
/kernel/linux/linux-6.6/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-6.6/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/
Dmetrics.json6 "ScaleUnit": "9.765625e-4KB",
14 "ScaleUnit": "9.765625e-4KB",
22 "ScaleUnit": "9.765625e-4KB",
30 "ScaleUnit": "9.765625e-4KB",
38 "ScaleUnit": "9.765625e-4KB",
46 "ScaleUnit": "9.765625e-4KB",
54 "ScaleUnit": "9.765625e-4KB",
62 "ScaleUnit": "9.765625e-4KB",
67 "BriefDescription": "bytes of gpu 2d read from ddr",
68 "MetricName": "imx8mp_ddr_read.2d",
[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-6.6/arch/s390/crypto/
Dpaes_s390.c58 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument
76 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb()
77 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb()
81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
82 kb->keylen = sizeof(*h) + keylen; in _key_to_kb()
83 kb->key = kb->keybuf; in _key_to_kb()
87 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb()
88 kb->key = kb->keybuf; in _key_to_kb()
90 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb()
91 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-6.6/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-6.6/arch/ia64/
DKconfig131 optimally on systems with, say, Itanium 2 or newer processors.
134 bool "Itanium 2"
136 Select this to configure for an Itanium 2 (McKinley) processor.
145 bool "4KB"
148 performance, a page size of 8KB or 16KB is recommended. For best
149 IA-32 compatibility, a page size of 4KB should be selected (the vast
151 size). For Itanium 2 or newer systems, a page size of 64KB can also
154 4KB For best IA-32 compatibility
155 8KB For best IA-64 performance
156 16KB For best IA-64 performance
[all …]
/kernel/linux/linux-6.6/fs/btrfs/tests/
Dfree-space-tests.c382 * entry, we could end up with 2 entries representing a contiguous free space.
430 * Extent entry covering free space range [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
438 /* Bitmap entry covering free space range [128Mb + 512Kb, 256Mb[ */ in test_steal_space_from_bitmap_to_extent()
446 ret = check_num_extents_and_bitmaps(cache, 2, 1); in test_steal_space_from_bitmap_to_extent()
451 * Now make only the first 256Kb of the bitmap marked as free, so that in test_steal_space_from_bitmap_to_extent()
454 * [128Mb - 256Kb, 128Mb - 128Kb[ in test_steal_space_from_bitmap_to_extent()
455 * [128Mb + 512Kb, 128Mb + 768Kb[ in test_steal_space_from_bitmap_to_extent()
465 /* Confirm that only those 2 ranges are marked as free. */ in test_steal_space_from_bitmap_to_extent()
476 * Confirm that the bitmap range [128Mb + 768Kb, 256Mb[ isn't marked in test_steal_space_from_bitmap_to_extent()
486 * Confirm that the region [128Mb + 256Kb, 128Mb + 512Kb[, which is in test_steal_space_from_bitmap_to_extent()
[all …]
/kernel/linux/linux-5.10/arch/ia64/
DKconfig133 optimally on systems with, say, Itanium 2 or newer processors.
136 bool "Itanium 2"
138 Select this to configure for an Itanium 2 (McKinley) processor.
147 bool "4KB"
150 performance, a page size of 8KB or 16KB is recommended. For best
151 IA-32 compatibility, a page size of 4KB should be selected (the vast
153 size). For Itanium 2 or newer systems, a page size of 64KB can also
156 4KB For best IA-32 compatibility
157 8KB For best IA-64 performance
158 16KB For best IA-64 performance
[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/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-6.6/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-6.6/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c121 memset(buf, 2, sizeof(buf)); in test_xdp_adjust_tail_grow2()
166 if (!ASSERT_OK_PTR(buf, "alloc buf 9Kb")) in test_xdp_adjust_frags_tail_shrink()
179 ASSERT_OK(err, "9Kb-10b"); in test_xdp_adjust_frags_tail_shrink()
180 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-10b retval"); in test_xdp_adjust_frags_tail_shrink()
181 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-10b size"); in test_xdp_adjust_frags_tail_shrink()
190 ASSERT_OK(err, "9Kb-4Kb"); in test_xdp_adjust_frags_tail_shrink()
191 ASSERT_EQ(topts.retval, XDP_TX, "9Kb-4Kb retval"); in test_xdp_adjust_frags_tail_shrink()
192 ASSERT_EQ(topts.data_size_out, exp_size, "9Kb-4Kb size"); in test_xdp_adjust_frags_tail_shrink()
195 buf[0] = 2; in test_xdp_adjust_frags_tail_shrink()
200 ASSERT_OK(err, "9Kb-9Kb"); in test_xdp_adjust_frags_tail_shrink()
[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 …]
/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-6.6/arch/sh/mm/
DKconfig9 Some SH processors (such as SH-2/SH-2A) lack an MMU. In order to
35 The page size is not necessarily 4KB. Keep this in mind when
155 bool "4kB"
160 bool "8kB"
163 This enables 8kB pages as supported by SH-X2 and later MMUs.
166 bool "16kB"
169 This enables 16kB pages on MMU-less SH systems.
172 bool "64kB"
175 This enables support for 64kB pages, possible on all SH-4
187 bool "64kB"
[all …]
/kernel/linux/linux-6.6/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/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-6.6/Documentation/filesystems/
Dproc.rst34 2 Modifying System Parameters
118 First, we'll take a look at the read-only parts of /proc. In Chapter 2, we
183 VmPeak: 5004 kB
184 VmSize: 5004 kB
185 VmLck: 0 kB
186 VmHWM: 476 kB
187 VmRSS: 476 kB
188 RssAnon: 352 kB
189 RssFile: 120 kB
190 RssShmem: 4 kB
[all …]
/kernel/linux/linux-6.6/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/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))

12345678910>>...43