Home
last modified time | relevance | path

Searched +full:256 +full:k (Results 1 – 25 of 1391) sorted by relevance

12345678910>>...56

/kernel/linux/linux-5.10/lib/raid6/
Dmktables.c55 int i, j, k; in main() local
57 uint8_t exptbl[256], invtbl[256]; in main()
63 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
64 "raid6_gfmul[256][256] =\n" in main()
66 for (i = 0; i < 256; i++) { in main()
68 for (j = 0; j < 256; j += 8) { in main()
70 for (k = 0; k < 8; k++) in main()
71 printf("0x%02x,%c", gfmul(i, j + k), in main()
72 (k == 7) ? '\n' : ' '); in main()
82 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
[all …]
/kernel/linux/linux-6.6/lib/raid6/
Dmktables.c55 int i, j, k; in main() local
57 uint8_t exptbl[256], invtbl[256]; in main()
65 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
66 "raid6_gfmul[256][256] =\n" in main()
68 for (i = 0; i < 256; i++) { in main()
70 for (j = 0; j < 256; j += 8) { in main()
72 for (k = 0; k < 8; k++) in main()
73 printf("0x%02x,%c", gfmul(i, j + k), in main()
74 (k == 7) ? '\n' : ' '); in main()
84 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
[all …]
/kernel/linux/linux-5.10/lib/
Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
12 p = kmalloc(256 * 2 * 2, GFP_KERNEL); in memset16_selftest()
16 for (i = 0; i < 256; i++) { in memset16_selftest()
17 for (j = 0; j < 256; j++) { in memset16_selftest()
18 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset16_selftest()
20 for (k = 0; k < 512; k++) { in memset16_selftest()
21 v = p[k]; in memset16_selftest()
22 if (k < i) { in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
38 if (i < 256) in memset16_selftest()
[all …]
/kernel/linux/linux-6.6/lib/
Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
12 p = kmalloc(256 * 2 * 2, GFP_KERNEL); in memset16_selftest()
16 for (i = 0; i < 256; i++) { in memset16_selftest()
17 for (j = 0; j < 256; j++) { in memset16_selftest()
18 memset(p, 0xa1, 256 * 2 * sizeof(v)); in memset16_selftest()
20 for (k = 0; k < 512; k++) { in memset16_selftest()
21 v = p[k]; in memset16_selftest()
22 if (k < i) { in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
38 if (i < 256) in memset16_selftest()
[all …]
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
Dp80211wep.c72 u32 i, j, k, crc, keylen; in wep_decrypt() local
73 u8 s[256], key[64], c_crc[4]; in wep_decrypt()
103 for (i = 0; i < 256; i++) in wep_decrypt()
106 for (i = 0; i < 256; i++) { in wep_decrypt()
114 for (k = 0; k < len; k++) { in wep_decrypt()
118 buf[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_decrypt()
128 for (k = 0; k < 4; k++) { in wep_decrypt()
132 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
133 return -(4 | (k << 4)); /* ICV mismatch */ in wep_decrypt()
143 u32 i, j, k, crc, keylen; in wep_encrypt() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpage.h18 * On regular PPC32 page size is 4K (but we support 4K/16K/64K/256K pages
19 * on PPC44x and 4K/16K on 8xx). For PPC64 we support either 4K or 64K software
20 * page size. When using 64K pages however, whether we are really supporting
21 * 64K pages in HW or not is irrelevant to those definitions.
33 #define HPAGE_SHIFT 19 /* 512k pages */
154 * virtual_base = ALIGN_DOWN(KERNELBASE,256M) +
155 * MODULO(_stext.run,256M)
158 * ALIGN_DOWN(_stext.run,256M) => ALIGN_DOWN(KERNELBASE,256M)
192 * = ALIGN_DOWN(KERNELBASE,256M) +
193 * MODULO(PHYSICAL_START,256M)
[all …]
Dhighmem.h41 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
44 * in case of 16K/64K/256K page sizes.
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dpage.h19 * On regular PPC32 page size is 4K (but we support 4K/16K/64K/256K pages
20 * on PPC44x and 4K/16K on 8xx). For PPC64 we support either 4K or 64K software
21 * page size. When using 64K pages however, whether we are really supporting
22 * 64K pages in HW or not is irrelevant to those definitions.
34 #define HPAGE_SHIFT 19 /* 512k pages */
136 * virtual_base = ALIGN_DOWN(KERNELBASE,256M) +
137 * MODULO(_stext.run,256M)
140 * ALIGN_DOWN(_stext.run,256M) => ALIGN_DOWN(KERNELBASE,256M)
174 * = ALIGN_DOWN(KERNELBASE,256M) +
175 * MODULO(PHYSICAL_START,256M)
[all …]
Dhighmem.h39 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
42 * in case of 16K/64K/256K page sizes.
/kernel/linux/linux-6.6/kernel/trace/
Dpid_list.h17 * array of 256 pointers (1 or 2K in size) to "upper_chunk" unions, where
18 * each has an array of 256 pointers (1 or 2K in size) to the "lower_chunk"
19 * structures, where each has an array of size 2K bytes representing a bitmask
20 * of the 14 LSB of the PID (256 * 8 = 2048)
22 * When a trace_pid_list is allocated, it includes the 256 pointer array
37 * bitmask (made up of 2K bytes).
70 unsigned long data[LOWER_SIZE]; // 2K in size
75 union lower_chunk *data[UPPER2_SIZE]; // 1 or 2K in size
81 union upper_chunk *upper[UPPER1_SIZE]; // 1 or 2K in size
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211wep.c93 u32 i, j, k, crc, keylen; in wep_decrypt() local
94 u8 s[256], key[64], c_crc[4]; in wep_decrypt()
124 for (i = 0; i < 256; i++) in wep_decrypt()
127 for (i = 0; i < 256; i++) { in wep_decrypt()
135 for (k = 0; k < len; k++) { in wep_decrypt()
139 buf[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_decrypt()
149 for (k = 0; k < 4; k++) { in wep_decrypt()
153 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
154 return -(4 | (k << 4)); /* ICV mismatch */ in wep_decrypt()
164 u32 i, j, k, crc, keylen; in wep_encrypt() local
[all …]
/kernel/linux/linux-5.10/tools/thermal/tmon/
Dsysfs.c89 ret = fscanf(fd, "%256s", str); in sysfs_get_string()
124 char filename[256]; in get_trip_point_data()
125 char temp_str[256]; in get_trip_point_data()
202 char cdev_name_linked[256]; in find_tzone_cdev()
284 char tz_name[256]; in scan_tzones()
285 int i, j, n, k = 0; in scan_tzones() local
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
304 sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); in scan_tzones()
305 ptdata.tzi[k].instance = i; in scan_tzones()
308 ptdata.tzi[k].nr_cdev = 0; in scan_tzones()
[all …]
/kernel/linux/linux-6.6/tools/thermal/tmon/
Dsysfs.c89 ret = fscanf(fd, "%256s", str); in sysfs_get_string()
124 char filename[256]; in get_trip_point_data()
125 char temp_str[256]; in get_trip_point_data()
202 char cdev_name_linked[256]; in find_tzone_cdev()
284 char tz_name[256]; in scan_tzones()
285 int i, j, n, k = 0; in scan_tzones() local
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
304 sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); in scan_tzones()
305 ptdata.tzi[k].instance = i; in scan_tzones()
308 ptdata.tzi[k].nr_cdev = 0; in scan_tzones()
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dkeyboard.h20 #define NR_KEYS 256
21 #define MAX_NR_KEYMAPS 256
22 #define MAX_NR_OF_USER_KEYMAPS 256
23 #define MAX_NR_FUNC 256
39 #define K(t,v) (((t)<<8)|(v)) macro
42 #define K_F1 K(KT_FN,0)
43 #define K_F2 K(KT_FN,1)
44 #define K_F3 K(KT_FN,2)
45 #define K_F4 K(KT_FN,3)
46 #define K_F5 K(KT_FN,4)
[all …]
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dhighmem.h37 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
40 * in case of 16K/64K/256K page sizes.
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
Dhighmem.h36 * We use one full pte table with 4K pages. And with 16K/64K/256K pages pte
39 * in case of 16K/64K/256K page sizes.
/kernel/linux/linux-5.10/include/uapi/linux/
Dkeyboard.h20 #define NR_KEYS 256
21 #define MAX_NR_KEYMAPS 256
24 #define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */
27 #define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
45 #define K(t,v) (((t)<<8)|(v)) macro
49 #define K_F1 K(KT_FN,0)
50 #define K_F2 K(KT_FN,1)
51 #define K_F3 K(KT_FN,2)
52 #define K_F4 K(KT_FN,3)
53 #define K_F5 K(KT_FN,4)
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dkeyboard.h20 #define NR_KEYS 256
21 #define MAX_NR_KEYMAPS 256
24 #define MAX_NR_OF_USER_KEYMAPS 256 /* should be at least 7 */
27 #define MAX_NR_FUNC 256 /* max nr of strings assigned to keys */
45 #define K(t,v) (((t)<<8)|(v)) macro
49 #define K_F1 K(KT_FN,0)
50 #define K_F2 K(KT_FN,1)
51 #define K_F3 K(KT_FN,2)
52 #define K_F4 K(KT_FN,3)
53 #define K_F5 K(KT_FN,4)
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dnvidia,tegra194-pcie.yaml161 a) speed is Gen-2 and MPS is 256B
268 reg = <0x0 0x14180000 0x0 0x00020000>, /* appl registers (128K) */
269 <0x0 0x38000000 0x0 0x00040000>, /* configuration space (256K) */
270 <0x0 0x38040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
271 <0x0 0x38080000 0x0 0x00040000>; /* DBI reg space (256K) */
334 reg = <0x00 0x14160000 0x0 0x00020000>, /* appl registers (128K) */
335 <0x00 0x36000000 0x0 0x00040000>, /* configuration space (256K) */
336 <0x00 0x36040000 0x0 0x00040000>, /* iATU_DMA reg space (256K) */
337 <0x00 0x36080000 0x0 0x00040000>, /* DBI reg space (256K) */
338 <0x24 0x30000000 0x0 0x10000000>; /* ECAM (256MB) */
/kernel/linux/linux-5.10/tools/testing/radix-tree/
Dmultiorder.c51 for (j = 0; j < 256; j++) { in multiorder_iteration()
97 for (j = 0; j < 256; j++) { in multiorder_tagged_iteration()
98 int k; in multiorder_tagged_iteration() local
101 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
103 if (j <= (index[k] | ((1 << order[k]) - 1))) in multiorder_tagged_iteration()
110 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
112 mask = (1UL << order[k]) - 1; in multiorder_tagged_iteration()
117 assert(item->order == order[k]); in multiorder_tagged_iteration()
125 for (j = 0; j < 256; j++) { in multiorder_tagged_iteration()
126 int mask, k; in multiorder_tagged_iteration() local
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkeyboard.h33 #define NR_KEYS 256
34 #define MAX_NR_KEYMAPS 256
35 #define MAX_NR_OF_USER_KEYMAPS 256
36 #define MAX_NR_FUNC 256
52 #define K(t,v) (((t) << 8) | (v)) macro
55 #define K_F1 K(KT_FN, 0)
56 #define K_F2 K(KT_FN, 1)
57 #define K_F3 K(KT_FN, 2)
58 #define K_F4 K(KT_FN, 3)
59 #define K_F5 K(KT_FN, 4)
[all …]
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
Dkeyboard.h33 #define NR_KEYS 256
34 #define MAX_NR_KEYMAPS 256
35 #define MAX_NR_OF_USER_KEYMAPS 256
36 #define MAX_NR_FUNC 256
52 #define K(t,v) (((t) << 8) | (v)) macro
55 #define K_F1 K(KT_FN, 0)
56 #define K_F2 K(KT_FN, 1)
57 #define K_F3 K(KT_FN, 2)
58 #define K_F4 K(KT_FN, 3)
59 #define K_F5 K(KT_FN, 4)
[all …]
/kernel/linux/linux-6.6/drivers/mtd/tests/
Dsubpagetest.c81 int err = 0, k; in write_eraseblock2() local
84 for (k = 1; k < 33; ++k) { in write_eraseblock2()
85 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in write_eraseblock2()
87 prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); in write_eraseblock2()
88 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); in write_eraseblock2()
89 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2()
92 if (written != subpgsize * k) { in write_eraseblock2()
94 subpgsize * k); in write_eraseblock2()
100 addr += subpgsize * k; in write_eraseblock2()
181 int err = 0, k; in verify_eraseblock2() local
[all …]
/kernel/linux/linux-5.10/drivers/mtd/tests/
Dsubpagetest.c81 int err = 0, k; in write_eraseblock2() local
84 for (k = 1; k < 33; ++k) { in write_eraseblock2()
85 if (addr + (subpgsize * k) > (loff_t)(ebnum + 1) * mtd->erasesize) in write_eraseblock2()
87 prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); in write_eraseblock2()
88 err = mtd_write(mtd, addr, subpgsize * k, &written, writebuf); in write_eraseblock2()
89 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2()
92 if (written != subpgsize * k) { in write_eraseblock2()
94 subpgsize * k); in write_eraseblock2()
100 addr += subpgsize * k; in write_eraseblock2()
181 int err = 0, k; in verify_eraseblock2() local
[all …]
/kernel/linux/linux-6.6/drivers/misc/cxl/
Dhcalls.h15 #define SG_MAX_ENTRIES 256
43 u8 applicationVirtualIsnBitmap[256];
94 * Parameter2 = 4K aligned real address of error buffer, to be filled in
95 * Parameter3 = length of error buffer, valid values are 4K or less
106 * Parameter3 = 4K aligned real address of configuration record buffer,
108 * Parameter4 = length of configuration buffer, valid values are 4K or less
124 * Parameter2 = 4K naturally aligned real buffer containing block
127 * values are between 0 and 256
177 * Parameter1 = 4K naturally aligned real buffer containing block
180 * values are between 0 and 256

12345678910>>...56