Home
last modified time | relevance | path

Searched +full:1 +full:kb (Results 1 – 25 of 1021) sorted by relevance

12345678910>>...41

/linux/tools/testing/selftests/proc/
H A Dproc-empty-vm.c74 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 Dproc-pid-vm.c17 * Fork and exec tiny 1 page executable which precisely controls its VM.
63 if (unshare(CLONE_NEWNS) == -1) { in make_private_tmp()
67 exit(1); in make_private_tmp()
69 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_tmp()
70 exit(1); in make_private_tmp()
72 if (mount(NULL, "/tmp", "tmpfs", 0, NULL) == -1) { in make_private_tmp()
73 exit(1); in make_private_tmp()
77 static pid_t pid = -1;
115 #define VADDR (1UL << 32)
136 mov_rsi((1ULL << 47) - 4096 - VADDR - 4096),
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dpolice.json16 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 1
7 "police" global() string
15 0, global() number
29 { global() object
34 "police" global() string
42 0, global() number
46 "$TC actions add action police rate 4Mbit burst 120k index 9" global() string
62 "police" global() string
70 0, global() number
89 "police" global() string
97 0, global() number
116 "police" global() string
124 0, global() number
143 "police" global() string
151 0, global() number
170 "police" global() string
178 0, global() number
197 "police" global() string
205 0, global() number
224 "police" global() string
232 0, global() number
251 "police" global() string
259 0, global() number
278 "police" global() string
286 0, global() number
305 "police" global() string
313 0, global() number
332 "police" global() string
340 0, global() number
359 "police" global() string
367 0, global() number
386 "police" global() string
394 0, global() number
413 "police" global() string
421 0, global() number
440 "police" global() string
448 0, global() number
467 "police" global() string
475 0, global() number
494 "police" global() string
502 0, global() number
521 "police" global() string
529 0, global() number
533 "$TC actions add action police rate 5mbit burst 2m index 12" global() string
549 "police" global() string
557 0, global() number
561 "$TC actions add action police rate 1mbit burst 100k index 1", global() string
584 "police" global() string
592 0, global() number
596 "$TC actions add action police rate 1mbit burst 100k index 1" global() string
612 "police" global() string
620 0, global() number
624 "$TC actions add action police rate 1mbit burst 100k index 1", global() string
647 "police" global() string
654 "$TC actions add action police rate 2mbit burst 200k index 2", global() string
676 "police" global() string
684 0, global() number
703 "police" global() string
711 0, global() number
730 "police" global() string
738 0, global() number
757 "police" global() string
765 0, global() number
784 "police" global() string
792 0, global() number
811 "police" global() string
819 0, global() number
838 "police" global() string
846 0, global() number
850 "$TC actions add action police rate 3mbit burst 250k drop index 90" global() string
866 "police" global() string
874 0, global() number
893 "police" global() string
901 0, global() number
920 "police" global() string
928 0, global() number
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_adjust_tail.c17 .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()
125 ASSERT_EQ(buf[191], 1, "case-64-data buf[191]"); in test_xdp_adjust_tail_grow2()
173 if (!ASSERT_OK_PTR(buf, "alloc buf 9Kb")) in test_xdp_adjust_frags_tail_shrink()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dred.json14 …"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 Dhhf.json14 "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 Dce4100.c39 #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/fs/btrfs/tests/
H A Dfree-space-tests.c41 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/drivers/w1/slaves/
H A DKconfig3 # 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/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
H A Dtlb.json37 … "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 page."
[all …]
/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst34 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/tools/mm/
H A Dthpmaps34 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 Dice_parser.c144 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 Ddwmac1000.h37 #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/fs/dlm/
H A Duser.c33 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 Dkeyboard.c116 [ 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 Dmoxa-smartio.rst10 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/tools/perf/Documentation/
H A Dperf-bench.txt1 perf-bench(1)
119 Based on pipe-test-1m.c by Ingo Molnar.
182 Specify size of memory to copy (default: 1MB).
183 Available units are B, KB, MB, GB and TB (case insensitive).
187 Specify page-size for mapping memory buffers (default: 4KB).
188 Available values are 4KB, 2MB, 1GB (case insensitive).
193 Available units are B, KB, MB, GB and TB (case insensitive).
216 Specify size of memory to set (default: 1MB).
217 Available units are B, KB, MB, GB and TB (case insensitive).
221 Specify page-size for mapping memory buffers (default: 4KB).
[all …]
/linux/arch/mips/lib/
H A Ddump_tlb.c49 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 Dzcrypt_ep11misc.c46 * 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->wkvp; in ep11_kb_wkvp()
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Dregs-mfc-v7.h35 #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 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
/linux/drivers/base/
H A Dnode.c458 "Node %d MemTotal: %8lu kB\n" in node_read_meminfo()
459 "Node %d MemFree: %8lu kB\n" in node_read_meminfo()
460 "Node %d MemUsed: %8lu kB\n" in node_read_meminfo()
461 "Node %d SwapCached: %8lu kB\n" in node_read_meminfo()
462 "Node %d Active: %8lu kB\n" in node_read_meminfo()
463 "Node %d Inactive: %8lu kB\n" in node_read_meminfo()
464 "Node %d Active(anon): %8lu kB\n" in node_read_meminfo()
465 "Node %d Inactive(anon): %8lu kB\n" in node_read_meminfo()
466 "Node %d Active(file): %8lu kB\n" in node_read_meminfo()
467 "Node %d Inactive(file): %8lu kB\n" in node_read_meminfo()
[all …]
/linux/Documentation/translations/zh_TW/arch/arm64/
H A Dmemory.txt37 頁大小爲 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
99 64KB 頁大小的轉換表查找:
[all …]
/linux/Documentation/translations/zh_CN/arch/arm64/
H A Dmemory.txt33 页大小为 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
95 64KB 页大小的转换表查找:
[all …]

12345678910>>...41