| /kernel/linux/linux-4.19/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-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-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-4.19/arch/powerpc/crypto/ |
| D | sha1-spe-asm.S | 2 * Fast SHA-1 implementation for SPE instruction set (PPC) 111 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 112 LOAD_DATA(w0, off) /* 1: W */ \ 113 and rT2,b,c; /* 1: F' = B and C */ \ 114 LOAD_K##k##1 \ 115 andc rT1,d,b; /* 1: F" = ~B and D */ \ 116 rotrwi rT0,a,27; /* 1: A' = A rotl 5 */ \ 117 or rT2,rT2,rT1; /* 1: F = F' or F" */ \ 118 add e,e,rT0; /* 1: E = E + A' */ \ 119 rotrwi b,b,2; /* 1: B = B rotl 30 */ \ [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-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-4.19/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-4.19/fs/ |
| D | binfmt_misc.c | 32 # define USE_DEBUG 1 38 VERBOSE_STATUS = 1 /* make it zero to save 400 bytes kernel memory */ 42 static int enabled = 1; 45 #define MISC_FMT_PRESERVE_ARGV0 (1 << 31) 46 #define MISC_FMT_OPEN_BINARY (1 << 30) 47 #define MISC_FMT_CREDENTIALS (1 << 29) 48 #define MISC_FMT_OPEN_FILE (1 << 28) 72 * - type: 1 byte 95 Node *e = list_entry(l, Node, list); in check_file() local 100 if (!test_bit(Enabled, &e->flags)) in check_file() [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-4.19/net/netfilter/ipset/ |
| D | ip_set_hash_netportnet.c | 29 /* 1 Forceadd support added */ 77 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netportnet4_do_data_match() 96 elem->ip[1] = orig->ip[1]; in hash_netportnet4_data_reset_elem() 104 elem->ip[1] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() 105 elem->cidr[1] = cidr; in hash_netportnet4_data_netmask() 119 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netportnet4_data_list() 122 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netportnet4_data_list() 146 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 148 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 149 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() [all …]
|
| D | ip_set_hash_netnet.c | 27 /* 1 Forceadd support added */ 70 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match() 89 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 96 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() 97 elem->cidr[1] = cidr; in hash_netnet4_data_netmask() 111 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netnet4_data_list() 113 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netnet4_data_list() 135 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 137 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 138 e->cidr[1] = HOST_MASK; in hash_netnet4_init() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipset/ |
| D | ip_set_hash_netportnet.c | 25 /* 1 Forceadd support added */ 73 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netportnet4_do_data_match() 92 elem->ip[1] = orig->ip[1]; in hash_netportnet4_data_reset_elem() 100 elem->ip[1] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() 101 elem->cidr[1] = cidr; in hash_netportnet4_data_netmask() 115 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netportnet4_data_list() 118 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netportnet4_data_list() 142 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 144 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 145 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() [all …]
|
| 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 …]
|
| /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 (1 << 31) 48 #define MISC_FMT_OPEN_BINARY (1 << 30) 49 #define MISC_FMT_CREDENTIALS (1 << 29) 50 #define MISC_FMT_OPEN_FILE (1 << 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-4.19/drivers/isdn/hardware/eicon/ |
| D | um_idi.c | 30 static void cleanup_entity(divas_um_idi_entity_t *e); 34 static int process_idi_request(divas_um_idi_entity_t *e, 36 static int process_idi_rc(divas_um_idi_entity_t *e, byte rc); 37 static int process_idi_ind(divas_um_idi_entity_t *e, byte ind); 38 static int write_return_code(divas_um_idi_entity_t *e, byte rc); 78 return ((a) ? 0 : -1); in diva_user_mode_idi_adapter_features() 131 return (-1); in diva_user_mode_idi_create_adapter() 173 divas_um_idi_entity_t *e; in cleanup_adapter() local 176 e = list_entry(tmp, divas_um_idi_entity_t, link); in cleanup_adapter() 178 cleanup_entity(e); in cleanup_adapter() [all …]
|