| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | ev6-memcpy.S | 16 * E - either cluster 21 * $1,$2, - scratch 34 mov $16, $0 # E : copy dest to return 36 xor $16, $17, $1 # E : are source and dest alignments the same? 37 and $1, 7, $1 # E : are they the same mod 8? 39 bne $1, $misaligned # U : Nope - gotta do this the slow way 41 and $16, 7, $1 # E : Are both 0mod8? 42 beq $1, $both_0mod8 # U : Yes 43 nop # E : 52 ldbu $1, 0($17) # L : grab a byte [all …]
|
| D | ev6-memchr.S | 26 * E - either cluster 42 # Hack -- if someone passes in (size_t)-1, hoping to just 49 ldq_u $1, 0($16) # L : load first quadword Latency=3 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 52 insbl $17, 1, $2 # U : 000000000000ch00 53 cmpult $18, 9, $4 # E : small (< 1 quad) string? 54 or $2, $17, $17 # E : 000000000000chch 55 lda $3, -1($31) # E : U L L U 58 addq $16, $5, $5 # E : Max search address 59 or $2, $17, $17 # E : 00000000chchchch [all …]
|
| D | ev6-memset.S | 15 * E - either cluster 53 and $17,255,$1 # E : 00000000000000ch 54 insbl $17,1,$2 # U : 000000000000ch00 55 bis $16,$16,$0 # E : return value 58 addq $18,$16,$6 # E : max address to write to 59 bis $1,$2,$17 # E : 000000000000chch 60 insbl $1,2,$3 # U : 0000000000ch0000 61 insbl $1,3,$4 # U : 00000000ch000000 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? [all …]
|
| D | ev6-clear_user.S | 18 * E - either cluster 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 60 srl $1, 3, $1 # .. E .. .. : number of quadwords to clear 68 beq $1, $onebyte # .. .. U .. : sub-word store? 70 addq $16, 8, $16 # E .. .. .. : L U U L 73 subq $1, 1, $1 # .. .. E .. : 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 75 subq $0, 8, $0 # E .. .. .. : U L U L [all …]
|
| D | ev6-csum_ipv6_magic.S | 17 * E - either cluster 66 ldq_u $1,8($16) # L : Latency: 3 69 and $16,7,$6 # E : src misalignment 75 extqh $1,$6,$22 # U : 79 cmoveq $6,$31,$22 # E : src aligned? 82 addl $19,$7,$19 # E : U L U L : <sign bits>bbaabb00 84 or $0,$22,$0 # E : 1st src word complete 85 extql $1,$6,$1 # U : 86 or $18,$4,$18 # E : 000000CCDDAABBCC 89 and $17,7,$6 # E : dst misalignment [all …]
|
| D | ev6-stxncpy.S | 36 * E - either cluster 65 /* Create the 1st output word and detect 0's in the 1st input word. */ 66 lda t2, -1 # E : build a mask against false zero 69 ornot t1, t2, t2 # E : (stall) 72 cmpbge zero, t2, t8 # E : bits set iff null found 73 or t0, t3, t0 # E : (stall) 87 * limit of 1 bcond/quad to permit training 91 addq a0, 8, a0 # E : 92 subq a2, 1, a2 # E : 96 addq a1, 8, a1 # E : [all …]
|
| /kernel/linux/linux-6.6/arch/alpha/lib/ |
| D | ev6-memcpy.S | 16 * E - either cluster 21 * $1,$2, - scratch 34 mov $16, $0 # E : copy dest to return 36 xor $16, $17, $1 # E : are source and dest alignments the same? 37 and $1, 7, $1 # E : are they the same mod 8? 39 bne $1, $misaligned # U : Nope - gotta do this the slow way 41 and $16, 7, $1 # E : Are both 0mod8? 42 beq $1, $both_0mod8 # U : Yes 43 nop # E : 52 ldbu $1, 0($17) # L : grab a byte [all …]
|
| D | ev6-memchr.S | 26 * E - either cluster 42 # Hack -- if someone passes in (size_t)-1, hoping to just 49 ldq_u $1, 0($16) # L : load first quadword Latency=3 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 52 insbl $17, 1, $2 # U : 000000000000ch00 53 cmpult $18, 9, $4 # E : small (< 1 quad) string? 54 or $2, $17, $17 # E : 000000000000chch 55 lda $3, -1($31) # E : U L L U 58 addq $16, $5, $5 # E : Max search address 59 or $2, $17, $17 # E : 00000000chchchch [all …]
|
| D | ev6-memset.S | 15 * E - either cluster 53 and $17,255,$1 # E : 00000000000000ch 54 insbl $17,1,$2 # U : 000000000000ch00 55 bis $16,$16,$0 # E : return value 58 addq $18,$16,$6 # E : max address to write to 59 bis $1,$2,$17 # E : 000000000000chch 60 insbl $1,2,$3 # U : 0000000000ch0000 61 insbl $1,3,$4 # U : 00000000ch000000 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? [all …]
|
| D | ev6-clear_user.S | 18 * E - either cluster 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 60 srl $1, 3, $1 # .. E .. .. : number of quadwords to clear 68 beq $1, $onebyte # .. .. U .. : sub-word store? 70 addq $16, 8, $16 # E .. .. .. : L U U L 73 subq $1, 1, $1 # .. .. E .. : 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 75 subq $0, 8, $0 # E .. .. .. : U L U L [all …]
|
| D | ev6-csum_ipv6_magic.S | 17 * E - either cluster 66 ldq_u $1,8($16) # L : Latency: 3 69 and $16,7,$6 # E : src misalignment 75 extqh $1,$6,$22 # U : 79 cmoveq $6,$31,$22 # E : src aligned? 82 addl $19,$7,$19 # E : U L U L : <sign bits>bbaabb00 84 or $0,$22,$0 # E : 1st src word complete 85 extql $1,$6,$1 # U : 86 or $18,$4,$18 # E : 000000CCDDAABBCC 89 and $17,7,$6 # E : dst misalignment [all …]
|
| D | ev6-stxncpy.S | 36 * E - either cluster 65 /* Create the 1st output word and detect 0's in the 1st input word. */ 66 lda t2, -1 # E : build a mask against false zero 69 ornot t1, t2, t2 # E : (stall) 72 cmpbge zero, t2, t8 # E : bits set iff null found 73 or t0, t3, t0 # E : (stall) 87 * limit of 1 bcond/quad to permit training 91 addq a0, 8, a0 # E : 92 subq a2, 1, a2 # E : 96 addq a1, 8, a1 # E : [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/media/drivers/ccs/ |
| D | ccs-regs.asc | 6 # - e enum value # after a field 7 # - e enum value [LSB MSB] 13 # v1.1 defined in version 1.1 23 - e GRBG 0 24 - e RGGB 1 25 - e BGGR 2 26 - e GBRG 3 28 - e v1_0 0x10 29 - e v1_1 0x11 40 - e ts 0 [all …]
|
| /kernel/linux/linux-6.6/security/apparmor/ |
| D | policy_unpack_test.c | 15 (3 + strlen(TEST_STRING_NAME) + 1) 20 (TEST_STRING_BUF_OFFSET + 3 + strlen(TEST_STRING_DATA) + 1) 22 (TEST_NAMED_U32_BUF_OFFSET + 3 + strlen(TEST_U32_NAME) + 1) 29 #define TEST_NAMED_U64_BUF_OFFSET (TEST_U32_BUF_OFFSET + sizeof(u32) + 1) 31 (TEST_NAMED_U64_BUF_OFFSET + 3 + strlen(TEST_U64_NAME) + 1) 36 #define TEST_NAMED_BLOB_BUF_OFFSET (TEST_U64_BUF_OFFSET + sizeof(u64) + 1) 38 (TEST_NAMED_BLOB_BUF_OFFSET + 3 + strlen(TEST_BLOB_NAME) + 1) 45 (TEST_NAMED_ARRAY_BUF_OFFSET + 3 + strlen(TEST_ARRAY_NAME) + 1) 50 struct aa_ext *e; member 58 struct aa_ext *e; in build_aa_ext_struct() local [all …]
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | policy_unpack_test.c | 14 (3 + strlen(TEST_STRING_NAME) + 1) 19 (TEST_STRING_BUF_OFFSET + 3 + strlen(TEST_STRING_DATA) + 1) 21 (TEST_NAMED_U32_BUF_OFFSET + 3 + strlen(TEST_U32_NAME) + 1) 28 #define TEST_NAMED_U64_BUF_OFFSET (TEST_U32_BUF_OFFSET + sizeof(u32) + 1) 30 (TEST_NAMED_U64_BUF_OFFSET + 3 + strlen(TEST_U64_NAME) + 1) 35 #define TEST_NAMED_BLOB_BUF_OFFSET (TEST_U64_BUF_OFFSET + sizeof(u64) + 1) 37 (TEST_NAMED_BLOB_BUF_OFFSET + 3 + strlen(TEST_BLOB_NAME) + 1) 44 (TEST_NAMED_ARRAY_BUF_OFFSET + 3 + strlen(TEST_ARRAY_NAME) + 1) 47 struct aa_ext *e; member 55 struct aa_ext *e; in build_aa_ext_struct() local [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/crypto/ |
| D | sha1-spe-asm.S | 3 * Fast SHA-1 implementation for SPE instruction set (PPC) 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 107 LOAD_DATA(w0, off) /* 1: W */ \ 108 and rT2,b,c; /* 1: F' = B and C */ \ 109 LOAD_K##k##1 \ 110 andc rT1,d,b; /* 1: F" = ~B and D */ \ 111 rotrwi rT0,a,27; /* 1: A' = A rotl 5 */ \ 112 or rT2,rT2,rT1; /* 1: F = F' or F" */ \ 113 add e,e,rT0; /* 1: E = E + A' */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/crypto/ |
| D | sha1-spe-asm.S | 3 * Fast SHA-1 implementation for SPE instruction set (PPC) 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 107 LOAD_DATA(w0, off) /* 1: W */ \ 108 and rT2,b,c; /* 1: F' = B and C */ \ 109 LOAD_K##k##1 \ 110 andc rT1,d,b; /* 1: F" = ~B and D */ \ 111 rotrwi rT0,a,27; /* 1: A' = A rotl 5 */ \ 112 or rT2,rT2,rT1; /* 1: F = F' or F" */ \ 113 add e,e,rT0; /* 1: E = E + A' */ \ 114 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
| D | event.c | 24 static void __event_init_opts(struct event *e, u64 config, in __event_init_opts() argument 27 memset(e, 0, sizeof(*e)); in __event_init_opts() 29 e->name = name; in __event_init_opts() 31 e->attr.type = type; in __event_init_opts() 32 e->attr.config = config; in __event_init_opts() 33 e->attr.size = sizeof(e->attr); in __event_init_opts() 35 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in __event_init_opts() 38 e->attr.sample_period = 1000; in __event_init_opts() 39 e->attr.sample_type = PERF_SAMPLE_REGS_INTR; in __event_init_opts() 40 e->attr.disabled = 1; in __event_init_opts() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/filesystems/epoll/ |
| D | epoll_wakeup_test.c | 27 #define __NR_epoll_pwait2 -1 52 struct epoll_event e; in waiter_entry1a() local 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 56 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1a() 64 struct epoll_event e; in waiter_entry1ap() local 69 if (poll(&pfd, 1, -1) > 0) { in waiter_entry1ap() 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 71 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1ap() 79 struct epoll_event e; in waiter_entry1o() local 82 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/filesystems/epoll/ |
| D | epoll_wakeup_test.c | 37 struct epoll_event e; in waiter_entry1a() local 40 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 41 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1a() 49 struct epoll_event e; in waiter_entry1ap() local 54 if (poll(&pfd, 1, -1) > 0) { in waiter_entry1ap() 55 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 0) in waiter_entry1ap() 56 __sync_fetch_and_add(&ctx->count, 1); in waiter_entry1ap() 64 struct epoll_event e; in waiter_entry1o() local 67 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1o() 68 __sync_fetch_and_or(&ctx->count, 1); in waiter_entry1o() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
| D | event.c | 23 void event_init_opts(struct event *e, u64 config, int type, char *name) in event_init_opts() argument 25 memset(e, 0, sizeof(*e)); in event_init_opts() 27 e->name = name; in event_init_opts() 29 e->attr.type = type; in event_init_opts() 30 e->attr.config = config; in event_init_opts() 31 e->attr.size = sizeof(e->attr); in event_init_opts() 33 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in event_init_opts() 37 void event_init_named(struct event *e, u64 config, char *name) in event_init_named() argument 39 event_init_opts(e, config, PERF_TYPE_RAW, name); in event_init_named() 42 void event_init(struct event *e, u64 config) in event_init() argument [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ipset/ |
| D | ip_set_hash_netnet.c | 24 /* 1 Forceadd support added */ 71 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match() 90 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 97 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() 98 elem->cidr[1] = cidr; in hash_netnet4_data_netmask() 112 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netnet4_data_list() 114 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netnet4_data_list() 136 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 138 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 139 e->cidr[1] = HOST_MASK; in hash_netnet4_init() [all …]
|
| D | ip_set_hash_netportnet.c | 25 /* 1 Forceadd support added */ 75 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netportnet4_do_data_match() 94 elem->ip[1] = orig->ip[1]; in hash_netportnet4_data_reset_elem() 102 elem->ip[1] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() 103 elem->cidr[1] = cidr; in hash_netportnet4_data_netmask() 117 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netportnet4_data_list() 120 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netportnet4_data_list() 144 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 146 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 147 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() [all …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | binfmt_misc.c | 34 # define USE_DEBUG 1 40 VERBOSE_STATUS = 1 /* make it zero to save 400 bytes kernel memory */ 44 static int enabled = 1; 47 #define MISC_FMT_PRESERVE_ARGV0 (1UL << 31) 48 #define MISC_FMT_OPEN_BINARY (1UL << 30) 49 #define MISC_FMT_CREDENTIALS (1UL << 29) 50 #define MISC_FMT_OPEN_FILE (1UL << 28) 74 * - type: 1 byte 97 Node *e = list_entry(l, Node, list); in check_file() local 102 if (!test_bit(Enabled, &e->flags)) in check_file() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipset/ |
| D | ip_set_hash_netnet.c | 24 /* 1 Forceadd support added */ 67 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match() 86 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 93 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() 94 elem->cidr[1] = cidr; in hash_netnet4_data_netmask() 108 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netnet4_data_list() 110 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netnet4_data_list() 132 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 134 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 135 e->cidr[1] = HOST_MASK; in hash_netnet4_init() [all …]
|