| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | police.json | 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", 40 "$TC actions add action police rate 4Mbit burst 120k index 9" 42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 45 "matchPattern": "action order [0-9]*: police 0x9", 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", 90 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 93 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 114 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | police.json | 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", 40 "$TC actions add action police rate 4Mbit burst 120k index 9" 42 "cmdUnderTest": "$TC actions add action police rate 8kbit burst 24k index 9", 45 "matchPattern": "action order [0-9]*: police 0x9", 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", 90 …"cmdUnderTest": "$TC actions add action police rate 90kbit burst 10k mtu 2kb peakrate 100kbit inde… 93 …"matchPattern": "action order [0-9]*: police 0x3 rate 90Kbit burst 10Kb mtu 2Kb peakrate 100Kbit", 114 … "cmdUnderTest": "$TC actions add action police rate 5kbit burst 6kb peakrate 10kbit index 9", [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
| D | hantro_vp8.c | 42 { 0, -9, 93, 50, -6, 0 }, 44 { 0, -6, 50, 93, -9, 0 }, 53 u32 i, j, k; in hantro_vp8_prob_update() local 84 dst[4] = entropy->mv_probs[0][8 + 9]; in hantro_vp8_prob_update() 85 dst[5] = entropy->mv_probs[0][9 + 9]; in hantro_vp8_prob_update() 86 dst[6] = entropy->mv_probs[1][8 + 9]; in hantro_vp8_prob_update() 87 dst[7] = entropy->mv_probs[1][9 + 9]; in hantro_vp8_prob_update() 91 dst[0] = entropy->mv_probs[i][j + 9 + 0]; in hantro_vp8_prob_update() 92 dst[1] = entropy->mv_probs[i][j + 9 + 1]; in hantro_vp8_prob_update() 93 dst[2] = entropy->mv_probs[i][j + 9 + 2]; in hantro_vp8_prob_update() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
| D | hantro_vp8.c | 42 { 0, -9, 93, 50, -6, 0 }, 44 { 0, -6, 50, 93, -9, 0 }, 53 u32 i, j, k; in hantro_vp8_prob_update() local 84 dst[4] = entropy->mv_probs[0][8 + 9]; in hantro_vp8_prob_update() 85 dst[5] = entropy->mv_probs[0][9 + 9]; in hantro_vp8_prob_update() 86 dst[6] = entropy->mv_probs[1][8 + 9]; in hantro_vp8_prob_update() 87 dst[7] = entropy->mv_probs[1][9 + 9]; in hantro_vp8_prob_update() 91 dst[0] = entropy->mv_probs[i][j + 9 + 0]; in hantro_vp8_prob_update() 92 dst[1] = entropy->mv_probs[i][j + 9 + 1]; in hantro_vp8_prob_update() 93 dst[2] = entropy->mv_probs[i][j + 9 + 2]; in hantro_vp8_prob_update() [all …]
|
| /kernel/linux/linux-5.10/drivers/block/paride/ |
| D | ktti.c | 48 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr() 49 a = r1(); w2(0xc); b = r1(); w2(9); w2(0xc); w2(9); in ktti_read_regr() 56 { int k, a, b; in ktti_read_block() local 58 for (k=0;k<count/2;k++) { in ktti_read_block() 59 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block() 60 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 61 buf[2*k] = j44(a,b); in ktti_read_block() 62 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 63 buf[2*k+1] = j44(a,b); in ktti_read_block() 69 { int k; in ktti_write_block() local [all …]
|
| /kernel/linux/linux-6.6/drivers/ata/pata_parport/ |
| D | ktti.c | 42 w0(r); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_regr() 43 a = r1(); w2(0xc); b = r1(); w2(9); w2(0xc); w2(9); in ktti_read_regr() 49 int k, a, b; in ktti_read_block() local 51 for (k = 0; k < count / 2; k++) { in ktti_read_block() 52 w0(0x10); w2(0xb); w2(0xa); w2(9); w2(0xc); w2(9); in ktti_read_block() 53 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 54 buf[2*k] = j44(a, b); in ktti_read_block() 55 a = r1(); w2(0xc); b = r1(); w2(9); in ktti_read_block() 56 buf[2*k+1] = j44(a, b); in ktti_read_block() 62 int k; in ktti_write_block() local [all …]
|
| /kernel/liteos_m/testsuites/sample/kernel/mem/ |
| D | It_los_mem_036.c | 45 int i, j, k; in TestCase() local 55 if ((sizeadd += 1) == 9) { // 9, the limit of sizeadd. in TestCase() 72 if ((sizeadd += 1) == 9) { // 9, the limit of sizeadd. in TestCase() 90 if ((sizeadd += 1) == 9) { // 9, the limit of sizeadd. in TestCase() 130 if ((sizeadd += 1) == 9) { // 9, the limit of sizeadd. in TestCase() 144 k = 0; in TestCase() 146 if (!(k % 2)) { // 2, judge k is even number or not. in TestCase() 151 if ((sizeadd += 1) == 9) { // 9, the limit of sizeadd. in TestCase() 157 if ((k += 1) == 5) { // 5, judge k in TestCase() 158 k = 0; in TestCase() [all …]
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | keyboard.h | 19 #define NR_SHIFT 9 34 #define KT_ASCII 9 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) 47 #define K_F6 K(KT_FN,5) 48 #define K_F7 K(KT_FN,6) [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | keyboard.h | 18 #define NR_SHIFT 9 38 #define KT_ASCII 9 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) 54 #define K_F6 K(KT_FN,5) 55 #define K_F7 K(KT_FN,6) [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | keyboard.h | 18 #define NR_SHIFT 9 39 #define KT_ASCII 9 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) 54 #define K_F6 K(KT_FN,5) 55 #define K_F7 K(KT_FN,6) [all …]
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | keyboard.h | 32 #define NR_SHIFT 9 47 #define KT_ASCII 9 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) 60 #define K_F6 K(KT_FN, 5) 61 #define K_F7 K(KT_FN, 6) [all …]
|
| /kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
| D | keyboard.h | 32 #define NR_SHIFT 9 47 #define KT_ASCII 9 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) 60 #define K_F6 K(KT_FN, 5) 61 #define K_F7 K(KT_FN, 6) [all …]
|
| /kernel/linux/linux-5.10/net/ceph/ |
| D | ceph_hash.c | 25 const unsigned char *k = (const unsigned char *)str; in ceph_str_hash_rjenkins() local 37 a = a + (k[0] + ((__u32)k[1] << 8) + ((__u32)k[2] << 16) + in ceph_str_hash_rjenkins() 38 ((__u32)k[3] << 24)); in ceph_str_hash_rjenkins() 39 b = b + (k[4] + ((__u32)k[5] << 8) + ((__u32)k[6] << 16) + in ceph_str_hash_rjenkins() 40 ((__u32)k[7] << 24)); in ceph_str_hash_rjenkins() 41 c = c + (k[8] + ((__u32)k[9] << 8) + ((__u32)k[10] << 16) + in ceph_str_hash_rjenkins() 42 ((__u32)k[11] << 24)); in ceph_str_hash_rjenkins() 44 k = k + 12; in ceph_str_hash_rjenkins() 52 c = c + ((__u32)k[10] << 24); in ceph_str_hash_rjenkins() 55 c = c + ((__u32)k[9] << 16); in ceph_str_hash_rjenkins() [all …]
|
| /kernel/linux/linux-6.6/net/ceph/ |
| D | ceph_hash.c | 25 const unsigned char *k = (const unsigned char *)str; in ceph_str_hash_rjenkins() local 37 a = a + (k[0] + ((__u32)k[1] << 8) + ((__u32)k[2] << 16) + in ceph_str_hash_rjenkins() 38 ((__u32)k[3] << 24)); in ceph_str_hash_rjenkins() 39 b = b + (k[4] + ((__u32)k[5] << 8) + ((__u32)k[6] << 16) + in ceph_str_hash_rjenkins() 40 ((__u32)k[7] << 24)); in ceph_str_hash_rjenkins() 41 c = c + (k[8] + ((__u32)k[9] << 8) + ((__u32)k[10] << 16) + in ceph_str_hash_rjenkins() 42 ((__u32)k[11] << 24)); in ceph_str_hash_rjenkins() 44 k = k + 12; in ceph_str_hash_rjenkins() 52 c = c + ((__u32)k[10] << 24); in ceph_str_hash_rjenkins() 55 c = c + ((__u32)k[9] << 16); in ceph_str_hash_rjenkins() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
| D | hash-4k.h | 5 #define H_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 4KB = 2MB 7 #define H_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 256MB = 128GB 8 #define H_PGD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 128GB = 64TB 11 * Each context is 512TB. But on 4k we restrict our max TASK size to 64TB 51 * Not supported by 4k linux page size 72 * On all 4K setups, remap_4k_pfn() equates to remap_pfn_range() 93 * 4K PTE format is different from 64K PTE format. Saving the hash_slot is just 94 * a matter of returning the PTE bits that need to be modified. On 64K PTE,
|
| D | radix-4k.h | 6 * For 4K page size supported index is 13/9/9/9 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
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
| D | hash-4k.h | 5 #define H_PTE_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 4KB = 2MB 7 #define H_PUD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 256MB = 128GB 8 #define H_PGD_INDEX_SIZE 9 // size: 8B << 9 = 4KB, maps: 2^9 x 128GB = 64TB 11 * Each context is 512TB. But on 4k we restrict our max TASK size to 64TB 51 * Not supported by 4k linux page size 72 * On all 4K setups, remap_4k_pfn() equates to remap_pfn_range() 93 * 4K PTE format is different from 64K PTE format. Saving the hash_slot is just 94 * a matter of returning the PTE bits that need to be modified. On 64K PTE,
|
| D | radix-4k.h | 6 * For 4K page size supported index is 13/9/9/9 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
|
| /kernel/linux/linux-6.6/crypto/ |
| D | serpent_generic.c | 25 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; }) 28 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; }) 31 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; }) 36 #define K(x0, x1, x2, x3, i) ({ \ macro 37 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \ 38 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \ 48 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \ 49 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\ 50 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \ 54 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \ [all …]
|
| D | sm3.c | 15 static const u32 ____cacheline_aligned K[64] = { variable 44 b = rol32((b), 9); \ 61 #define P0(x) ((x) ^ rol32((x), 9) ^ rol32((x), 17)) 67 ^ W[(i-9) & 0x0f] \ 85 R1(a, b, c, d, e, f, g, h, K[0], I(0), I(4)); in sm3_transform() 86 R1(d, a, b, c, h, e, f, g, K[1], I(1), I(5)); in sm3_transform() 87 R1(c, d, a, b, g, h, e, f, K[2], I(2), I(6)); in sm3_transform() 88 R1(b, c, d, a, f, g, h, e, K[3], I(3), I(7)); in sm3_transform() 89 R1(a, b, c, d, e, f, g, h, K[4], W1(4), I(8)); in sm3_transform() 90 R1(d, a, b, c, h, e, f, g, K[5], W1(5), I(9)); in sm3_transform() [all …]
|
| /kernel/liteos_m/components/shell/src/cmds/ |
| D | mempt_shellcmd.c | 50 ((argc == 1) && (strcmp(argv[0], "-k") == 0)) || in OsShellCmdFreeInfo() 55 if ((argc == 1) && (strcmp(argv[0], "-k") == 0)) { in OsShellCmdFreeInfo() 56 … PRINTK("Mem: %-9u %-10u %-10u\n", MEM_SIZE_TO_KB(totalMem), MEM_SIZE_TO_KB(memUsed), in OsShellCmdFreeInfo() 59 … PRINTK("Mem: %-9u %-10u %-10u\n", MEM_SIZE_TO_MB(totalMem), MEM_SIZE_TO_MB(memUsed), in OsShellCmdFreeInfo() 62 PRINTK("Mem: %-9u %-10u %-10u\n", totalMem, memUsed, freeMem); in OsShellCmdFreeInfo() 64 PRINTK("\nUsage: free or free [-k/-m]\n"); in OsShellCmdFreeInfo() 73 PRINTK("\nUsage: free or free [-k/-m]\n"); in OsShellCmdFree() 88 PRINTK("\nUsage: memusage or memusage [-k/-m]\n"); in OsShellCmdWaterLine() 96 if ((argc == 1) && (strcmp(argv[0], "-k") == 0)) { in OsShellCmdWaterLine() 97 PRINTK("Mem WaterLine: %-9u\n", MEM_SIZE_TO_KB(poolStatus.usageWaterLine)); in OsShellCmdWaterLine() [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | serpent_generic.c | 30 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; }) 33 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; }) 36 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; }) 41 #define K(x0, x1, x2, x3, i) ({ \ macro 42 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \ 43 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \ 53 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \ 54 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\ 55 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \ 59 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | test_jhash.h | 39 const unsigned char *k = key; in jhash() local 44 a += *(volatile u32 *)(k); in jhash() 45 b += *(volatile u32 *)(k + 4); in jhash() 46 c += *(volatile u32 *)(k + 8); in jhash() 49 k += 12; in jhash() 52 case 12: c += (u32)k[11]<<24; in jhash() 53 case 11: c += (u32)k[10]<<16; in jhash() 54 case 10: c += (u32)k[9]<<8; in jhash() 55 case 9: c += k[8]; in jhash() 56 case 8: b += (u32)k[7]<<24; in jhash() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
| D | test_jhash.h | 39 const unsigned char *k = key; in jhash() local 44 a += *(volatile u32 *)(k); in jhash() 45 b += *(volatile u32 *)(k + 4); in jhash() 46 c += *(volatile u32 *)(k + 8); in jhash() 49 k += 12; in jhash() 52 case 12: c += (u32)k[11]<<24; in jhash() 53 case 11: c += (u32)k[10]<<16; in jhash() 54 case 10: c += (u32)k[9]<<8; in jhash() 55 case 9: c += k[8]; in jhash() 56 case 8: b += (u32)k[7]<<24; in jhash() [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | bcache.h | 30 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 42 TP_PROTO(struct bkey *k), 43 TP_ARGS(k), 53 __entry->inode = KEY_INODE(k); 54 __entry->offset = KEY_OFFSET(k); 55 __entry->size = KEY_SIZE(k); 56 __entry->dirty = KEY_DIRTY(k); 104 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 139 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 170 __entry->nr_sector = bio->bi_iter.bi_size >> 9; [all …]
|