| /kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
| D | proc-empty-vm.c | 47 * 1: vsyscall VMA is --xp vsyscall=xonly 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" 72 "Private_Clean: 0 kB\n" [all …]
|
| D | proc-pid-vm.c | 17 * Fork and exec tiny 1 page executable which precisely controls its VM. 58 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp() 62 exit(1); in make_private_tmp() 64 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp() 65 exit(1); in make_private_tmp() 67 if (mount(NULL, "/tmp", "tmpfs", 0, NULL) == -1) { in make_private_tmp() 68 exit(1); in make_private_tmp() 72 static pid_t pid = -1; 110 #define VADDR (1UL << 32) 131 mov_rsi((1ULL << 47) - 4096 - VADDR - 4096), [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | police.json | 13 1, 17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 21 "matchCount": "1", 37 1, 46 "matchCount": "1", 62 1, 66 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 69 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 70 "matchCount": "1", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | police.json | 13 1, 17 "cmdUnderTest": "$TC actions add action police rate 1kbit burst 10k index 1", 20 "matchPattern": "action order [0-9]*: police 0x1 rate 1Kbit burst 10Kb", 21 "matchCount": "1", 37 1, 46 "matchCount": "1", 62 1, 66 "cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 1k index 98", 69 "matchPattern": "action order [0-9]*: police 0x62 rate 90Kbit burst 10Kb mtu 1Kb", 70 "matchCount": "1", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/s390/crypto/ |
| D | paes_s390.c | 57 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/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| D | red.json | 15 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K… 18 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $", 19 "matchCount": "1", 21 "$TC qdisc del dev $DUMMY handle 1: root", 38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K… 41 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $", 42 "matchCount": "1", 44 "$TC qdisc del dev $DUMMY handle 1: root", 61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max … 64 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| D | red.json | 15 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red limit 1M avpkt 1500 min 100K max 300K… 18 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb $", 19 "matchCount": "1", 21 "$TC qdisc del dev $DUMMY handle 1: root", 38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red adaptive limit 1M avpkt 1500 min 100K… 41 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb adaptive $", 42 "matchCount": "1", 44 "$TC qdisc del dev $DUMMY handle 1: root", 61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max … 64 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $", [all …]
|
| /kernel/linux/linux-5.10/arch/x86/pci/ |
| D | ce4100.c | 45 #define KB (1024) macro 46 #define SIZE_TO_MASK(size) (~(size - 1)) 57 pci_direct_conf1.read(0, 1, reg->dev_func, reg->reg, 4, in reg_init() 74 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, in sata_reg_init() 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) [all …]
|
| /kernel/linux/linux-6.6/arch/x86/pci/ |
| D | ce4100.c | 45 #define KB (1024) macro 46 #define SIZE_TO_MASK(size) (~(size - 1)) 57 pci_direct_conf1.read(0, 1, reg->dev_func, reg->reg, 4, in reg_init() 74 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, in sata_reg_init() 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) [all …]
|
| /kernel/linux/linux-5.10/fs/btrfs/tests/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/w1/slaves/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/w1/slaves/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/s390/crypto/ |
| D | zcrypt_ep11misc.c | 72 found = 1; in card_cache_update() 123 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 [all …]
|
| /kernel/linux/linux-6.6/fs/btrfs/tests/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/sh/mm/ |
| D | Kconfig | 35 The page size is not necessarily 4KB. Keep this in mind when 118 default "1" 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/Documentation/admin-guide/cgroup-v1/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/sh/mm/ |
| D | Kconfig | 41 The page size is not necessarily 4KB. Keep this in mind when 122 default "1" 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 199 bool "64kB" [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
| D | proc-pid-vm.c | 17 * Fork and exec tiny 1 page executable which precisely controls its VM. 56 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp() 60 exit(1); in make_private_tmp() 62 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp() 63 exit(1); in make_private_tmp() 65 if (mount(NULL, "/tmp", "tmpfs", 0, NULL) == -1) { in make_private_tmp() 66 exit(1); in make_private_tmp() 70 static pid_t pid = -1; 108 #define VADDR (1UL << 32) 129 mov_rsi((1ULL << 47) - 4096 - VADDR - 4096), [all …]
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/ |
| D | hugetlb.rst | 33 For a system supporting three hugepage sizes (64k, 32M and 1G), the control 36 hugetlb.1GB.limit_in_bytes 37 hugetlb.1GB.max_usage_in_bytes 38 hugetlb.1GB.usage_in_bytes 39 hugetlb.1GB.failcnt 40 hugetlb.1GB.rsvd.limit_in_bytes 41 hugetlb.1GB.rsvd.max_usage_in_bytes 42 hugetlb.1GB.rsvd.usage_in_bytes 43 hugetlb.1GB.rsvd.failcnt 44 hugetlb.64KB.limit_in_bytes [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
| 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 …]
|
| /kernel/linux/linux-6.6/fs/dlm/ |
| D | user.c | 32 static int dlm_monitor_unused = 1; 87 static void compat_input(struct dlm_write_request *kb, in compat_input() argument 91 kb->version[0] = kb32->version[0]; in compat_input() 92 kb->version[1] = kb32->version[1]; in compat_input() 93 kb->version[2] = kb32->version[2]; in compat_input() 95 kb->cmd = kb32->cmd; in compat_input() 96 kb->is64bit = kb32->is64bit; in compat_input() 97 if (kb->cmd == DLM_USER_CREATE_LOCKSPACE || in compat_input() 98 kb->cmd == DLM_USER_REMOVE_LOCKSPACE) { in compat_input() 99 kb->i.lspace.flags = kb32->i.lspace.flags; in compat_input() [all …]
|