/linux/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 74 return 1; in protection_key_support() 75 } else if (rv == -1 && errno == ENOSYS) { in protection_key_support() 77 } else if (rv == -1 && errno == EINVAL) { in protection_key_support() 88 * 1: vsyscall VMA is --xp vsyscall=xonly 105 "Size: 4 kB\n" 106 "KernelPageSize: 4 kB\n" 107 "MMUPageSize: 4 kB\n" 108 "Rss: 0 kB\n" 109 "Pss: 0 kB\n" 110 "Pss_Dirty: 0 kB\ [all...] |
H A D | proc-pid-vm.c | 17 * Fork and exec tiny 1 page executable which precisely controls its VM. 59 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp() 63 exit(1); in make_private_tmp() 65 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp() 66 exit(1); in make_private_tmp() 68 if (mount(NULL, "/tmp", "tmpfs", 0, NULL) == -1) { in make_private_tmp() 69 exit(1); in make_private_tmp() 73 static pid_t pid = -1; 111 #define VADDR (1UL << 32) 132 mov_rsi((1UL [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 17 .repeat = 1, in test_xdp_adjust_tail_shrink() 51 .repeat = 1, in test_xdp_adjust_tail_grow() 56 topts.data_size_in = sizeof(pkt_v4) - 1; in test_xdp_adjust_tail_grow() 97 .repeat = 1, in test_xdp_adjust_tail_grow2() 109 memset(buf, 1, sizeof(buf)); in test_xdp_adjust_tail_grow2() 120 ASSERT_EQ(buf[0], 1, "case-64-data buf[0]"); /* 0-63 memset to 1 */ in test_xdp_adjust_tail_grow2() 121 ASSERT_EQ(buf[63], 1, "case-64-data buf[63]"); in test_xdp_adjust_tail_grow2() 124 ASSERT_EQ(buf[128], 1, "case-64-data buf[128]"); /* 128-191 memset to 1 */ in test_xdp_adjust_tail_grow2() [all...] |
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | red.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K", 17 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $", 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1 7 "red" global() string 23 { global() object 28 "red" global() string 49 "red" global() string 70 "red" global() string 91 "red" global() string 112 "red" global() string 133 "red" global() string 153 "red" global() string 174 "red" global() string [all...] |
H A D | hhf.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root hhf", 17 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1s non_hh_weight 2", 18 "matchCount": "1", 20 "$TC qdisc del dev $DUMMY handle 1: root" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root hhf limit 1500", 38 "matchPattern": "qdisc hhf 1: root refcnt [0-9]+ limit 1500p.*hh_limit 2048 reset_timeout 40ms admit_bytes 128Kb evict_timeout 1 7 "hhf" global() string 23 { global() object 28 "hhf" global() string 49 "hhf" global() string 70 "hhf" global() string 91 "hhf" global() string 112 "hhf" global() string 133 "hhf" global() string 154 "hhf" global() string 176 "hhf" global() string 195 "category": ["qdisc", "hhf"], global() string 196 "plugins": {"requires": ["nsPlugin", "scapyPlugin"]}, global() string [all...] |
/linux/arch/x86/pci/ |
H A D | ce4100.c | 39 #define KB (1024) macro 40 #define SIZE_TO_MASK(size) (~(size - 1)) 51 pci_direct_conf1.read(0, 1, reg->dev_func, reg->reg, 4, in reg_init() 68 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, in sata_reg_init() 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_ini [all...] |
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ |
H A D | metrics.json | 6 "ScaleUnit": "1e2%", 14 "ScaleUnit": "1e2%", 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", 70 "ScaleUnit": "9.765625e-4KB", 75 "BriefDescription": "bytes of a55 core 1 rea 10 { global() object [all...] |
/linux/drivers/w1/slaves/ |
H A D | Kconfig | 3 # 1-wire slaves configuration 6 menu "1-wire Slaves" 11 Say Y here if you want to connect 1-wire thermal sensors to your 17 Say Y here if you want to connect 1-wire 23 Say Y or M here if you want to use a DS2405 1-wire 31 Say Y here if you want to use a 1-wire 47 Say Y here if you want to use a 1-wire 54 Say Y or M here if you want to use a 1-wire 59 tristate "Counter 1-wire device (DS2423)" 66 Say Y here if you want to use a 1 [all...] |
/linux/fs/btrfs/tests/ |
H A D | free-space-tests.c | 41 return -1; in test_extents() 71 return -1; in test_extents() 76 return -1; in test_extents() 81 return -1; in test_extents() 97 ret = test_add_free_space_entry(cache, 0, SZ_4M, 1); in test_bitmaps() 111 return -1; in test_bitmaps() 114 ret = test_add_free_space_entry(cache, 0, SZ_4M, 1); in test_bitmaps() 134 SZ_4M, 1); in test_bitmaps() 149 return -1; in test_bitmaps() 171 ret = test_add_free_space_entry(cache, SZ_4M, SZ_1M, 1); in test_bitmaps_and_extents() [all...] |
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/ |
H A D | tlb.json | 37 "BriefDescription": "This event counts operations that cause a TLB access to the L1I in 4KB page." 42 "BriefDescription": "This event counts operations that cause a TLB access to the L1I in 64KB page." 62 "BriefDescription": "This event counts operations that cause a TLB access to the L1I in 1GB page." 72 "BriefDescription": "This event counts operations that cause a TLB access to the L1D in 4KB page." 77 "BriefDescription": "This event counts operations that cause a TLB access to the L1D in 64KB page." 97 "BriefDescription": "This event counts operations that cause a TLB access to the L1D in 1GB page." 107 "BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 4KB page." 112 "BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 64KB page." 132 "BriefDescription": "This event counts operations that cause a TLB refill of the L1I in 1GB page." 142 "BriefDescription": "This event counts operations that cause a TLB refill of the L1D in 4KB pag 6 { global() object [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 37 hugetlb.1GB.limit_in_bytes 38 hugetlb.1GB.max_usage_in_bytes 39 hugetlb.1GB.numa_stat 40 hugetlb.1GB.usage_in_bytes 41 hugetlb.1GB.failcnt 42 hugetlb.1GB.rsvd.limit_in_bytes 43 hugetlb.1GB.rsvd.max_usage_in_bytes 44 hugetlb.1GB.rsvd.usage_in_bytes 45 hugetlb.1G [all...] |
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgv_sriovmsg.h | 36 * 0 64KB 65KB 66KB 68KB 132KB 38 * | 64KB | 1KB | 1KB | [all...] |
/linux/Documentation/filesystems/ |
H A D | proc.rst | 11 move /proc/sys Shen Feng <shen@cn.fujitsu.com> April 1 2009 23 1 Collecting System Information 102 Chapter 1: Collecting System Information 129 subdirectory has the entries listed in Table 1-1. 149 .. table:: Table 1-1: Process specific entries in /proc 194 VmPeak: 5004 kB 195 VmSize: 5004 kB 196 VmLck: 0 kB [all...] |
/linux/tools/mm/ |
H A D | thpmaps | 34 return (v + (a - 1)) & ~(a - 1) 38 return v & (a - 1) 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. 62 d = np.diff(search[0]) == 1 63 for dd in [np.diff(arr) == 1 fo [all...] |
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000.h | 37 #define GMAC_INT_DISABLE_PCSLINK BIT(1) 72 #define GMAC_MAX_PERFECT_ADDRESSES 1 79 #define GMAC_RGSMIIIS_SPEED GENMASK(2, 1) 80 #define GMAC_RGSMIIIS_SPEED_SHIFT 1 105 #define GMAC_CONTROL_PS 0x00008000 /* Port Select 0:GMI 1:MII */ 106 #define GMAC_CONTROL_FES 0x00004000 /* Speed 0:10 1:100 */ 153 #define GMAC_DEBUG_TRCSTS_READ 1 161 #define GMAC_DEBUG_TFCSTS_WAIT 1 169 #define GMAC_DEBUG_RXFSTS_BT 1 175 #define GMAC_DEBUG_RRCSTS_RDATA 1 [all...] |
/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 in ice_imem_pg_kb_dump() 267 ice_imem_npkb_init(struct ice_np_keybuilder * kb,u32 data) ice_imem_npkb_init() argument 289 ice_imem_pgkb_init(struct ice_pg_keybuilder * kb,u64 data) ice_imem_pgkb_init() argument 1090 ice_bst_np_kb_dump(struct ice_hw * hw,struct ice_np_keybuilder * kb) ice_bst_np_kb_dump() argument 1100 ice_bst_pg_kb_dump(struct ice_hw * hw,struct ice_pg_keybuilder * kb) ice_bst_pg_kb_dump() argument 1262 ice_bst_pgkb_init(struct ice_pg_keybuilder * kb,u64 data) ice_bst_pgkb_init() argument 1284 ice_bst_npkb_init(struct ice_np_keybuilder * kb,u32 data) ice_bst_npkb_init() argument 1751 ice_xlt_kb_dump(struct ice_hw * hw,struct ice_xlt_kb * kb) ice_xlt_kb_dump() argument 1868 ice_parse_kb_data(struct ice_hw * hw,struct ice_xlt_kb * kb,void * data) ice_parse_kb_data() argument 1892 struct ice_xlt_kb *kb; ice_xlt_kb_get() local 1968 ice_xlt_kb_flag_get(struct ice_xlt_kb * kb,u64 pkt_flag) ice_xlt_kb_flag_get() argument [all...] |
/linux/fs/dlm/ |
H A D | user.c | 33 static int dlm_monitor_unused = 1; 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 in compat_input() [all...] |
/linux/Documentation/driver-api/tty/ |
H A D | moxa-smartio.rst | 10 1. Introduction 19 1. Introduction 118 1st board ttyM0 - ttyM7 167 close_delay set the amount of time (in 1/100 of a second) that DTR 169 closing_wait set the amount of time (in 1/100 of a second) that the 172 spd_hi Use 57.6kb when the application requests 38.4kb. 173 spd_vhi Use 115.2kb when the application requests 38.4kb. 174 spd_shi Use 230.4kb whe [all...] |
/linux/drivers/tty/vt/ |
H A D | keyboard.c | 116 [ KT_FN ] = ARRAY_SIZE(func_table) - 1, 117 [ KT_SPEC ] = ARRAY_SIZE(fn_handler) - 1, 118 [ KT_PAD ] = NR_PAD - 1, 119 [ KT_DEAD ] = NR_DEAD - 1, 122 [ KT_SHIFT ] = NR_SHIFT - 1, 124 [ KT_ASCII ] = NR_ASCII - 1, 125 [ KT_LOCK ] = NR_LOCK - 1, 127 [ KT_SLOCK ] = NR_LOCK - 1, 129 [ KT_BRL ] = NR_BRL - 1, 154 static unsigned int ledstate = -1 1141 setledstate(struct kbd_struct * kb,unsigned int led) setledstate() argument 1157 struct kbd_struct *kb = kbd_table + fg_console; getleds() local 1174 struct kbd_struct *kb = &kbd_table[console]; vt_get_leds() local 1196 struct kbd_struct *kb = &kbd_table[console]; vt_set_led_state() local 1215 struct kbd_struct *kb = &kbd_table[console]; vt_kbd_con_start() local 1232 struct kbd_struct *kb = &kbd_table[console]; vt_kbd_con_stop() local 1831 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdskbmode() local 1871 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdskbmeta() local 2014 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdsk_ioctl() local 2106 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdskled() local 2148 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdgkbmode() local 2172 struct kbd_struct *kb = &kbd_table[console]; vt_do_kdgkbmeta() local 2213 struct kbd_struct *kb = &kbd_table[console]; vt_reset_keyboard() local 2243 struct kbd_struct *kb = &kbd_table[console]; vt_get_kbd_mode_bit() local 2258 struct kbd_struct *kb = &kbd_table[console]; vt_set_kbd_mode_bit() local 2277 struct kbd_struct *kb = &kbd_table[console]; vt_clr_kbd_mode_bit() local [all...] |
/linux/arch/mips/lib/ |
H A D | dump_tlb.c | 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() 73 int asidwidth = DIV_ROUND_UP(ilog2(asidmask) + 1, 4); in dump_tlb() 157 (entrylo0 & MIPS_ENTRYLO_RI) ? 1 in dump_tlb() [all...] |
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | regs-mfc-v7.h | 35 #define MAX_FW_SIZE_V7 (SZ_512K) /* 512KB */ 38 #define MFC_NUM_PORTS_V7 1 44 #define MFC_CTX_BUF_SIZE_V7 (30 * SZ_1K) /* 30KB */ 46 #define MFC_OTHER_DEC_CTX_BUF_SIZE_V7 (20 * SZ_1K) /* 20KB */ 47 #define MFC_H264_ENC_CTX_BUF_SIZE_V7 (100 * SZ_1K) /* 100KB */ 48 #define MFC_OTHER_ENC_CTX_BUF_SIZE_V7 (10 * SZ_1K) /* 10KB */ 55 (((w) * 48) + 8192 + ((((w) + 1) / 2) * 128) + 144 + \
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 46 * 128 * 128 * 4 bytes = 64 KB big. Usage of this memory is 59 static int ep11_kb_split(const u8 *kb, size_t kblen, u32 kbver, in ep11_kb_split() argument 70 hdr = (struct ep11kblob_header *)kb; in ep11_kb_split() 87 pl = (u8 *)kb + hdrsize; in ep11_kb_split() 103 static int ep11_kb_decode(const u8 *kb, size_t kblen, in ep11_kb_decode() argument 115 tmph = (struct ep11kblob_header *)kb; in ep11_kb_decode() 121 if (ep11_kb_split(kb, kblen, tmph->version, in ep11_kb_decode() 154 struct ep11keyblob *kb; in ep11_kb_wkvp() local 156 if (ep11_kb_decode(keyblob, keybloblen, NULL, NULL, &kb, NULL)) in ep11_kb_wkvp() 158 return kb in ep11_kb_wkvp() 169 struct ep11keyblob *kb = (struct ep11keyblob *)(key + sizeof(*hdr)); ep11_check_aes_key_with_hdr() local 236 struct ep11keyblob *kb = (struct ep11keyblob *)(key + sizeof(*hdr)); ep11_check_ecc_key_with_hdr() local 303 struct ep11keyblob *kb = (struct ep11keyblob *)key; ep11_check_aes_key() local [all...] |
/linux/arch/powerpc/include/asm/book3s/64/ |
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/Documentation/translations/zh_CN/arch/arm64/ |
H A D | memory.txt | 33 页大小为 4KB 的 4 级转换表和页大小为 64KB 的 3 级转换表。 35 AArch64 Linux 使用 3 级或 4 级转换表,其页大小配置为 4KB,对于用户和内核 39 用户地址空间的 63:48 位为 0,而内核地址空间的相应位为 1。TTBRx 的 45 AArch64 Linux 在页大小为 4KB,并使用 3 级转换表时的内存布局: 53 AArch64 Linux 在页大小为 4KB,并使用 4 级转换表时的内存布局: 61 AArch64 Linux 在页大小为 64KB,并使用 2 级转换表时的内存布局: 69 AArch64 Linux 在页大小为 64KB,并使用 3 级转换表时的内存布局: 80 4KB 页大小的转换表查找: 92 +-------------------------------------------------> [63] TTBR0/1 [all...] |
/linux/Documentation/translations/zh_TW/arch/arm64/ |
H A D | memory.txt | 37 頁大小爲 4KB 的 4 級轉換表和頁大小爲 64KB 的 3 級轉換表。 39 AArch64 Linux 使用 3 級或 4 級轉換表,其頁大小配置爲 4KB,對於用戶和內核 43 用戶地址空間的 63:48 位爲 0,而內核地址空間的相應位爲 1。TTBRx 的 49 AArch64 Linux 在頁大小爲 4KB,並使用 3 級轉換表時的內存佈局: 57 AArch64 Linux 在頁大小爲 4KB,並使用 4 級轉換表時的內存佈局: 65 AArch64 Linux 在頁大小爲 64KB,並使用 2 級轉換表時的內存佈局: 73 AArch64 Linux 在頁大小爲 64KB,並使用 3 級轉換表時的內存佈局: 84 4KB 頁大小的轉換表查找: 96 +-------------------------------------------------> [63] TTBR0/1 [all...] |