/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\n" [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((1ULL << 47) - 4096 - VADDR - 4096), [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | police.json | 16 1, 20 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 23 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 24 "matchCount": "1", 43 1, 52 "matchCount": "1", 71 1, 75 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 78 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 79 "matchCount": "1", [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 17 .repeat = 1, in test_xdp_adjust_tail_shrink() 52 .repeat = 1, in test_xdp_adjust_tail_grow() 90 .repeat = 1, in test_xdp_adjust_tail_grow2() 102 memset(buf, 1, sizeof(buf)); in test_xdp_adjust_tail_grow2() 113 ASSERT_EQ(buf[0], 1, "case-64-data buf[0]"); /* 0-63 memset to 1 */ in test_xdp_adjust_tail_grow2() 114 ASSERT_EQ(buf[63], 1, "case-64-data buf[63]"); in test_xdp_adjust_tail_grow2() 117 ASSERT_EQ(buf[128], 1, "case-64-data buf[128]"); /* 128-191 memset to 1 */ in test_xdp_adjust_tail_grow2() 118 ASSERT_EQ(buf[191], 1, "case-64-data buf[191]"); 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() [all …]
|
/linux/arch/s390/crypto/ |
H A D | paes_s390.c | 58 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 …]
|
/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 1M avpkt 1500 min 100K… 38 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $", 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max … 59 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $", [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 128… 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 admi… 39 "matchCount": "1", 41 "$TC qdisc del dev $DUMMY handle 1: root" 56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root hhf quantum 9000", 59 …atchPattern": "qdisc hhf 1: root refcnt [0-9]+.*quantum 9000b hh_limit 2048 reset_timeout 40ms adm… [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_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) [all …]
|
/linux/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/ |
H A D | metrics.json | 6 "ScaleUnit": "1e2%", 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 a55 core 1 read from ddr", 70 "ScaleUnit": "9.765625e-4KB", [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-wire [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/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.1GB.rsvd.failcnt [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 101 Chapter 1: Collecting System Information 128 subdirectory has the entries listed in Table 1-1. 138 .. table:: Table 1-1: Process specific entries in /proc 183 VmPeak: 5004 kB 184 VmSize: 5004 kB 185 VmLck: 0 kB 186 VmHWM: 476 kB 187 VmRSS: 476 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 for arr in search[1:]]: 65 r[1:] -= d [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->flag1_ena); in ice_imem_pg_kb_dump() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000.h | 37 #define GMAC_INT_DISABLE_PCSLINK BIT(1) 83 #define GMAC_MAX_PERFECT_ADDRESSES 1 90 #define GMAC_RGSMIIIS_SPEED GENMASK(2, 1) 91 #define GMAC_RGSMIIIS_SPEED_SHIFT 1 116 #define GMAC_CONTROL_PS 0x00008000 /* Port Select 0:GMI 1:MII */ 117 #define GMAC_CONTROL_FES 0x00004000 /* Speed 0:10 1:100 */ 164 #define GMAC_DEBUG_TRCSTS_READ 1 172 #define GMAC_DEBUG_TFCSTS_WAIT 1 180 #define GMAC_DEBUG_RXFSTS_BT 1 186 #define GMAC_DEBUG_RRCSTS_RDATA 1 [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->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input() 99 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input() 100 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input() [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 = -1U; /* undefined */ [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 when the application requests 38.4kb. 175 spd_warp Use 460.8kb when the application requests 38.4kb. 176 spd_normal Use 38.4kb when the application requests 38.4kb. [all …]
|
/linux/drivers/base/ |
H A D | node.c | 387 "Node %d MemTotal: %8lu kB\n" in node_read_meminfo() 388 "Node %d MemFree: %8lu kB\n" in node_read_meminfo() 389 "Node %d MemUsed: %8lu kB\n" in node_read_meminfo() 390 "Node %d SwapCached: %8lu kB\n" in node_read_meminfo() 391 "Node %d Active: %8lu kB\n" in node_read_meminfo() 392 "Node %d Inactive: %8lu kB\n" in node_read_meminfo() 393 "Node %d Active(anon): %8lu kB\n" in node_read_meminfo() 394 "Node %d Inactive(anon): %8lu kB\n" in node_read_meminfo() 395 "Node %d Active(file): %8lu kB\n" in node_read_meminfo() 396 "Node %d Inactive(file): %8lu kB\n" in node_read_meminfo() [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 : 0, in dump_tlb() [all …]
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 69 found = 1; in card_cache_update() 113 static int ep11_kb_split(const u8 *kb, size_t kblen, u32 kbver, in ep11_kb_split() argument 124 hdr = (struct ep11kblob_header *)kb; in ep11_kb_split() 141 pl = (u8 *)kb + hdrsize; in ep11_kb_split() 157 static int ep11_kb_decode(const u8 *kb, size_t kblen, in ep11_kb_decode() argument 169 tmph = (struct ep11kblob_header *)kb; in ep11_kb_decode() 175 if (ep11_kb_split(kb, kblen, tmph->version, in ep11_kb_decode() 208 struct ep11keyblob *kb; in ep11_kb_wkvp() local 210 if (ep11_kb_decode(keyblob, keybloblen, NULL, NULL, &kb, NULL)) in ep11_kb_wkvp() 212 return kb->wkvp; in ep11_kb_wkvp() [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/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/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgv_sriovmsg.h | 34 * 0 64KB 65KB 66KB 36 * | 64KB | 1KB | 1KB | 38 #define AMD_SRIOV_MSG_SIZE_KB 1 85 #pragma pack(push, 1) // PF2VF / VF2PF data areas are byte packed 89 uint32_t error_log_collect : 1; 90 uint32_t host_load_ucodes : 1; 91 uint32_t host_flr_vramlost : 1; 92 uint32_t mm_bw_management : 1; 93 uint32_t pp_one_vf_mode : 1; 94 uint32_t reg_indirect_acc : 1; [all …]
|