/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 103 /* Test case-64 */ in test_xdp_adjust_tail_grow2() 105 tattr.data_size_in = 64; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2() 110 ASSERT_EQ(errno, ENOSPC, "case-64 errno"); /* Due limit copy_size in bpf_test_finish */ in test_xdp_adjust_tail_grow2() 111 ASSERT_EQ(tattr.retval, XDP_TX, "case-64 retval"); in test_xdp_adjust_tail_grow2() 112 ASSERT_EQ(tattr.data_size_out, 192, "case-64 data_size_out"); /* Expected grow size */ in test_xdp_adjust_tail_grow2() 115 ASSERT_EQ(buf[0], 1, "case-64-data buf[0]"); /* 0-63 memset to 1 */ in test_xdp_adjust_tail_grow2() 116 ASSERT_EQ(buf[63], 1, "case-64-data buf[63]"); in test_xdp_adjust_tail_grow2() 117 ASSERT_EQ(buf[64], 0, "case-64-data buf[64]"); /* 64-127 memset to 0 */ in test_xdp_adjust_tail_grow2() 118 ASSERT_EQ(buf[127], 0, "case-64-data buf[127]"); in test_xdp_adjust_tail_grow2() 119 ASSERT_EQ(buf[128], 1, "case-64-data buf[128]"); /* 128-191 memset to 1 */ in test_xdp_adjust_tail_grow2() [all …]
|
/linux/arch/x86/pci/ |
H A D | ce4100.c | 39 #define KB (1024) macro 100 DEFINE_REG(2, 1, 0x10, (64*KB), reg_init, reg_read, reg_write) 101 DEFINE_REG(3, 0, 0x10, (64*KB), reg_init, reg_read, reg_write) 102 DEFINE_REG(4, 0, 0x10, (128*KB), reg_init, reg_read, reg_write) 103 DEFINE_REG(4, 1, 0x10, (128*KB), reg_init, reg_read, reg_write) 104 DEFINE_REG(6, 0, 0x10, (512*KB), reg_init, reg_read, reg_write) 105 DEFINE_REG(6, 1, 0x10, (512*KB), reg_init, reg_read, reg_write) 106 DEFINE_REG(6, 2, 0x10, (64*KB), reg_init, reg_read, reg_write) 108 DEFINE_REG(8, 1, 0x10, (64*KB), reg_init, reg_read, reg_write) 109 DEFINE_REG(8, 2, 0x10, (64*KB), reg_init, reg_read, reg_write) [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | hugetlb.rst | 34 For a system supporting three hugepage sizes (64k, 32M and 1G), the control 46 hugetlb.64KB.limit_in_bytes 47 hugetlb.64KB.max_usage_in_bytes 48 hugetlb.64KB.numa_stat 49 hugetlb.64KB.usage_in_bytes 50 hugetlb.64KB.failcnt 51 hugetlb.64KB.rsvd.limit_in_bytes 52 hugetlb.64KB.rsvd.max_usage_in_bytes 53 hugetlb.64KB.rsvd.usage_in_bytes 54 hugetlb.64KB.rsvd.failcnt
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgv_sriovmsg.h | 28 #define AMD_SRIOV_MSG_VBIOS_SIZE_KB 64 33 #define AMD_SRIOV_RAS_TELEMETRY_SIZE_KB 64 36 * 0 64KB 65KB 66KB 68KB 132KB 38 * | 64KB | 1KB | 1KB | 2KB | 64KB | ... 272 uint8_t driver_version[64]; 415 "amd_sriov_msg_vf2pf_info must be " stringification(AMD_SRIOV_MSG_SIZE_KB) " KB"); 419 "amd_sriov_msg_pf2vf_info must be " stringification(AMD_SRIOV_MSG_SIZE_KB) " KB");
|
/linux/drivers/w1/slaves/ |
H A D | Kconfig | 15 tristate "Simple 64bit memory family implementation" 18 simple 64bit memory rom(ds2401/ds2411/ds1990*) to your wire. 74 organized as 7 pages of 16 bytes each with 64bit 86 tristate "1kb EEPROM family support (DS2431)" 89 1kb EEPROM family device (DS2431) 92 tristate "4kb EEPROM family support (DS2433)" 95 4kb EEPROM family device (DS2433). 113 tristate "512b/1kb/16kb EPROM family support" 117 512b/1kb/16kb EPROM family device (DS250x). 151 4kb EEPROM with PIO family device (DS28E04).
|
/linux/lib/lz4/ |
H A D | lz4hc_compress.c | 64 hc4->nextToUpdate = 64 * KB; in LZ4HC_init() 65 hc4->base = start - 64 * KB; in LZ4HC_init() 67 hc4->dictBase = start - 64 * KB; in LZ4HC_init() 68 hc4->dictLimit = 64 * KB; in LZ4HC_init() 69 hc4->lowLimit = 64 * KB; in LZ4HC_init() [all...] |
H A D | lz4_compress.c | 42 static const int LZ4_64Klimit = ((64 * KB) + (MFLIMIT - 1)); 70 return (U32)(((sequence << 24) * prime5bytes) >> (64 - hashLog)); in LZ4_hash5() 74 return (U32)(((sequence >> 24) * prime8bytes) >> (64 - hashLog)); in LZ4_hash5() 229 /* Size too large (not within 64K limit) */ in LZ4_compress_generic() 554 /* Size too large (not within 64K limit) */ in LZ4_compress_destSize_generic() 794 if ((dictEnd - p) > 64 * KB) in LZ4_loadDict() 795 p = dictEnd - 64 * KB; in LZ4_loadDict() [all...] |
/linux/Documentation/translations/zh_TW/arch/arm64/ |
H A D | memory.txt | 37 頁大小爲 4KB 的 4 級轉換表和頁大小爲 64KB 的 3 級轉換表。 39 AArch64 Linux 使用 3 級或 4 級轉換表,其頁大小配置爲 4KB,對於用戶和內核 41 對於頁大小爲 64KB的配置,僅使用 2 級轉換表,有 42-bit (4TB) 的虛擬地址空間,但內存佈局相同。 49 AArch64 Linux 在頁大小爲 4KB,並使用 3 級轉換表時的內存佈局: 57 AArch64 Linux 在頁大小爲 4KB,並使用 4 級轉換表時的內存佈局: 65 AArch64 Linux 在頁大小爲 64KB,並使用 2 級轉換表時的內存佈局: 73 AArch64 Linux 在頁大小爲 64KB,並使用 3 級轉換表時的內存佈局: 84 4KB 頁大小的轉換表查找: 99 64KB 頁大小的轉換表查找:
|
/linux/Documentation/translations/zh_CN/arch/arm64/ |
H A D | memory.txt | 33 页大小为 4KB 的 4 级转换表和页大小为 64KB 的 3 级转换表。 35 AArch64 Linux 使用 3 级或 4 级转换表,其页大小配置为 4KB,对于用户和内核 37 对于页大小为 64KB的配置,仅使用 2 级转换表,有 42-bit (4TB) 的虚拟地址空间,但内存布局相同。 45 AArch64 Linux 在页大小为 4KB,并使用 3 级转换表时的内存布局: 53 AArch64 Linux 在页大小为 4KB,并使用 4 级转换表时的内存布局: 61 AArch64 Linux 在页大小为 64KB,并使用 2 级转换表时的内存布局: 69 AArch64 Linux 在页大小为 64KB,并使用 3 级转换表时的内存布局: 80 4KB 页大小的转换表查找: 95 64KB 页大小的转换表查找:
|
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | hash-4k.h | 5 #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 11 * Each context is 512TB. But on 4k we restrict our max TASK size to 64TB 12 * Hence also limit max EA bits to 64TB. 18 * Our page table limit us to 64TB. For 64TB physical memory, we only need 64GB 106 * 4K PTE format is different from 64K PTE format. Saving the hash_slot is just 107 * a matter of returning the PTE bits that need to be modified. On 64K PTE,
|
H A D | radix-64k.h | 6 * For 64K page size supported index is 13/9/9/5 8 #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
|
H A D | radix-4k.h | 8 #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
|
/linux/include/linux/ |
H A D | lz4.h | 53 * (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.) 56 * Default value is 14, for 16KB, which nicely fits into Intel x86 L1 cache 374 * Return : dictionary size, in bytes (necessarily <= 64 KB) 392 * blocks (up to 64 KB) remain read-accessible while 394 * which can be smaller than 64 K [all...] |
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | police.json | 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 102 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 105 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 129 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", 132 "matchPattern": "action order [0-9]*: police 0x9 rate 5Kb burst 10Kb", 156 "cmdUnderTest": "$TC actions add action police rate 1mbit burst 100k overhead 64 index 64", 158 "verifyCmd": "$TC actions get action police index 64", 159 … "action order [0-9]*: police 0x40 rate 1Mbit burst 100Kb mtu 2Kb action reclassify overhead 64b", 186 …"matchPattern": "action order [0-9]*: police 0x8 rate 2Mbit burst 200Kb mtu 2Kb action reclassify… [all …]
|
/linux/arch/sh/mm/ |
H A D | tlb-debugfs.c | 29 { 0x0, " 1KB" }, 30 { 0x1, " 4KB" }, 31 { 0x2, " 8KB" }, 32 { 0x4, " 64KB" }, 33 { 0x5, "256KB" }, 36 { 0xc, " 64MB" }, 65 nentries = 64; in tlb_seq_show() 88 nentries = 64; in tlb_seq_show()
|
/linux/arch/s390/crypto/ |
H A D | paes_s390.c | 92 static inline int _key_to_kb(struct key_blob *kb, in _key_to_kb() argument 101 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb() 102 kb->keylen = make_clrkey_token(key, keylen, kb->keybuf); in _key_to_kb() 103 kb->key = kb->keybuf; in _key_to_kb() 107 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb() 108 kb->key = kb->keybuf; in _key_to_kb() 110 kb->key = kmalloc(keylen, GFP_KERNEL); in _key_to_kb() 111 if (!kb->key) in _key_to_kb() 114 memcpy(kb->key, key, keylen); in _key_to_kb() 115 kb->keylen = keylen; in _key_to_kb() [all …]
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | regs-mfc-v8.h | 95 #define MFC_CTX_BUF_SIZE_V8 (36 * SZ_1K) /* 36KB */ 97 #define MFC_OTHER_DEC_CTX_BUF_SIZE_V8 (20 * SZ_1K) /* 20KB */ 98 #define MFC_H264_ENC_CTX_BUF_SIZE_V8 (100 * SZ_1K) /* 100KB */ 99 #define MFC_OTHER_ENC_CTX_BUF_SIZE_V8 (10 * SZ_1K) /* 10KB */ 114 ((DIV_ROUND_UP((mbw * 16), 64) * DIV_ROUND_UP((mbh * 16), 64) * 256) \ 118 #define S5P_FIMV_D_ALIGN_PLANE_SIZE_V8 64 121 #define MAX_FW_SIZE_V8 (SZ_512K) /* 512KB */
|
/linux/tools/mm/ |
H A D | thp_swap_allocator_test.c | 9 * 64KB THP and the other area for small folios. The second memory 14 * echo 64M > /sys/block/zram0/disksize 15 * echo never > /sys/kernel/mm/transparent_hugepage/hugepages-2048kB/enabled 16 * echo always > /sys/kernel/mm/transparent_hugepage/hugepages-64kB/enabled 37 #define ALIGNMENT_MTHP (64 * 1024) 41 #define MTHP_FOLIO_SIZE (64 * 1024) 44 "/sys/kernel/mm/transparent_hugepage/hugepages-64kB/stats/swpout" 46 "/sys/kernel/mm/transparent_hugepage/hugepages-64kB/stats/swpout_fallback"
|
H A D | thpmaps | 41 def kbnr(kb): 42 # Convert KB to number of pages. 43 return (kb << 10) >> PAGE_SHIFT 47 # Convert number of pages to KB. 52 # Convert page order to KB. 292 f"anon-thp-pmd-aligned-{odkb(PMD_ORDER)}kB": {'type': 'anon', 'value': anon_pmd_mapped}, 293 f"file-thp-pmd-aligned-{odkb(PMD_ORDER)}kB": {'type': 'file', 'value': file_pmd_mapped}, 297 param = f"{type}-thp-pte-{subtype}-{{}}kB" 353 f"anon-cont-pmd-aligned-{nrkb(nr_cont)}kB": {'type': 'anon', 'value': anon_pmd_mapped}, 354 f"file-cont-pmd-aligned-{nrkb(nr_cont)}kB": {'type': 'file', 'value': file_pmd_mapped}, [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | facebook-bmc-flash-layout-128.dtsi | 10 * u-boot partition: 896KB. 18 * u-boot environment variables: 64KB. 26 * image metadata partition (64KB), used by Facebook internal
|
/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2.h | 18 #define MSIX_BAR_SIZE 0x4000ull /* 16KB */ 32 #define SCRATCHPAD_SRAM_SIZE 0x10000ull /* 64KB */ 35 #define PCIE_FW_SRAM_SIZE 0x8000 /* 32KB */ 49 #define HOST_PHYS_SIZE_0 0x0100000000000000ull /* 64PB (56 bits) */ 52 #define HOST_PHYS_SIZE_1 0x0100000000000000ull /* 64PB (56 bits) */
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_parser.c | 144 struct ice_bst_keybuilder *kb) in ice_imem_bst_kb_dump() argument 149 dev_info(dev, "\tpriority = %d\n", kb->prio); in ice_imem_bst_kb_dump() 150 dev_info(dev, "\ttsr_ctrl = %d\n", kb->tsr_ctrl); in ice_imem_bst_kb_dump() 154 struct ice_np_keybuilder *kb) in ice_imem_np_kb_dump() argument 159 dev_info(dev, "\topc = %d\n", kb->opc); in ice_imem_np_kb_dump() 160 dev_info(dev, "\tstart_or_reg0 = %d\n", kb->start_reg0); in ice_imem_np_kb_dump() 161 dev_info(dev, "\tlen_or_reg1 = %d\n", kb->len_reg1); in ice_imem_np_kb_dump() 165 struct ice_pg_keybuilder *kb) in ice_imem_pg_kb_dump() argument 170 dev_info(dev, "\tflag0_ena = %d\n", kb->flag0_ena); in ice_imem_pg_kb_dump() 171 dev_info(dev, "\tflag1_ena = %d\n", kb->flag1_ena); in ice_imem_pg_kb_dump() [all …]
|
/linux/fs/pstore/ |
H A D | Kconfig | 137 default 64 140 pstore/blk. The size is in KB and must be a multiple of 4. 161 default 64 164 in KB and must be a multiple of 4. 173 default 64 176 pstore/blk. The size is in KB and must be a multiple of 4. 185 default 64 188 size is in KB and must be a multiple of 4.
|
/linux/drivers/char/agp/ |
H A D | intel-gtt.c | 179 /* i81x does not preallocate the gtt. It's always 64kb in size. */ in i810_setup() 187 intel_private.registers = ioremap(reg_addr, KB(64)); in i810_setup() 344 static const int ddt[4] = { 0, 16, 32, 64 }; in intel_gtt_stolen_size() 357 stolen_size = KB(512); in intel_gtt_stolen_size() 396 stolen_size = MB(64); in intel_gtt_stolen_size() 424 (u64)stolen_size / KB(1), local ? "local" : "stolen"); in intel_gtt_stolen_size() 479 size = KB(128); in i965_gtt_total_entries() 482 size = KB(256); in i965_gtt_total_entries() 485 size = KB(512); in i965_gtt_total_entries() 487 /* GTT pagetable sizes bigger than 512KB are not possible on G33! */ in i965_gtt_total_entries() [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-370-synology-ds213j.dts | 278 reg = <0x00000000 0x000c0000>; /* 768KB */ 283 reg = <0x000c0000 0x002d0000>; /* 2880KB */ 288 reg = <0x00390000 0x00440000>; /* 4250KB */ 293 reg = <0x007d0000 0x00010000>; /* 64KB */ 298 reg = <0x007e0000 0x00010000>; /* 64KB */ 303 reg = <0x007f0000 0x00010000>; /* 64KB */
|