/Linux-v6.1/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 …]
|
D | ev6-copy_user.S | 21 * E - either cluster 49 mov $18, $0 # .. .. .. E 50 subq $18, 32, $1 # .. .. E. .. : Is this going to be a small copy? 51 nop # .. E .. .. 54 and $16,7,$3 # .. .. .. E : is leading dest misalignment 55 ble $1, $onebyteloop # .. .. U .. : 1st branch : small amount of data 57 subq $3, 8, $3 # E .. .. .. : L U U L : trip counter 59 * The fetcher stall also hides the 1 cycle cross-cluster stall for $3 (L --> U) 64 EXI( ldbu $1,0($17) ) # .. .. .. L : Keep loads separate from stores 65 addq $16,1,$16 # .. .. E .. : Section 3.8 in the CWG [all …]
|
D | ev67-strncat.S | 10 * past count, whereas libc may write to count+1. This follows the generic 18 * E - either cluster 37 ldq_u $1, 0($16) # L : load first quadword ($16 may be misaligned) 38 lda $2, -1($31) # E : 41 andnot $16, 7, $16 # E : 42 nop # E : 43 or $2, $1, $1 # E : 45 nop # E : 46 nop # E : 47 cmpbge $31, $1, $2 # E : bits set iff byte == 0 [all …]
|
D | ev6-divide.S | 38 * $1 - shifted divisor 53 * E - either cluster 66 #define divisor $1 109 subq $30,STACK,$30 # E : 113 7: stq $1, 0($30) # L : 114 bis $25,$25,divisor # E : 117 bis $24,$24,modulus # E : 119 bis $31,$31,quotient # E : 120 LONGIFY(divisor) # E : U L L U 123 LONGIFY(modulus) # E : [all …]
|
D | ev6-stxcpy.S | 28 * E - either cluster 57 /* Create the 1st output word and detect 0's in the 1st input word. */ 58 lda t2, -1 # E : build a mask against false zero 61 ornot t1, t2, t2 # E : (stall) 64 cmpbge zero, t2, t8 # E : bits set iff null found 65 or t0, t3, t1 # E : (stall) 75 addq a0, 8, a0 # E : 80 addq a1, 8, a1 # E : 81 cmpbge zero, t1, t8 # E : (3 cycle stall) 89 negq t8, t6 # E : find low bit set [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
D | per_event_excludes.c | 25 struct event *e, events[4]; in per_event_excludes() local 34 e = &events[0]; in per_event_excludes() 35 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes() 37 e->attr.disabled = 1; in per_event_excludes() 39 e = &events[1]; in per_event_excludes() 40 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes() 42 e->attr.disabled = 1; in per_event_excludes() 43 e->attr.exclude_user = 1; in per_event_excludes() 44 e->attr.exclude_hv = 1; in per_event_excludes() 46 e = &events[2]; in per_event_excludes() [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/net/netfilter/ipset/ |
D | ip_set_hash_netportnet.c | 25 /* 1 Forceadd support added */ 74 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netportnet4_do_data_match() 93 elem->ip[1] = orig->ip[1]; in hash_netportnet4_data_reset_elem() 101 elem->ip[1] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() 102 elem->cidr[1] = cidr; in hash_netportnet4_data_netmask() 116 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netportnet4_data_list() 119 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netportnet4_data_list() 143 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 145 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 146 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() [all …]
|
D | ip_set_hash_netnet.c | 24 /* 1 Forceadd support added */ 68 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netnet4_do_data_match() 87 elem->ip[1] = orig->ip[1]; in hash_netnet4_data_reset_elem() 94 elem->ip[1] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() 95 elem->cidr[1] = cidr; in hash_netnet4_data_netmask() 109 nla_put_ipaddr4(skb, IPSET_ATTR_IP2, data->ip[1]) || in hash_netnet4_data_list() 111 nla_put_u8(skb, IPSET_ATTR_CIDR2, data->cidr[1]) || in hash_netnet4_data_list() 133 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 135 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 136 e->cidr[1] = HOST_MASK; in hash_netnet4_init() [all …]
|
D | ip_set_hash_netport.c | 23 /* 1 SCTP and UDPLITE support added */ 43 * However this way we have to store internally cidr - 1, 56 u8 nomatch:1; 75 return elem->nomatch ? -ENOTEMPTY : 1; in hash_netport4_do_data_match() 94 elem->cidr = cidr - 1; in hash_netport4_data_netmask() 105 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr + 1) || in hash_netport4_data_list() 135 struct hash_netport4_elem e = { in hash_netport4_kadt() local 141 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 144 &e.port, &e.proto)) in hash_netport4_kadt() 147 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netport4_kadt() [all …]
|
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 54 #define SYNC_WR_F SYNC_WR_V(1) 65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio() 70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument 72 if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold() 98 u32 xor = key[0] ^ key[1] ^ key[2] ^ key[3]; in ipv6_hash() 118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq() argument 120 if (e->v6) in addreq() 121 return (e->addr[0] ^ addr[0]) | (e->addr[1] ^ addr[1]) | in addreq() 122 (e->addr[2] ^ addr[2]) | (e->addr[3] ^ addr[3]); in addreq() [all …]
|
/Linux-v6.1/fs/ntfs3/ |
D | index.c | 44 return -1; in cmp_fnames() 48 return -1; in cmp_fnames() 76 return -1; in cmp_uint() 79 return -1; in cmp_uint() 81 return 1; in cmp_uint() 96 return -1; in cmp_sdh() 103 return -1; in cmp_sdh() 105 return 1; in cmp_sdh() 112 return -1; in cmp_sdh() 114 return 1; in cmp_sdh() [all …]
|
D | bitmap.c | 60 * Return: -1 if not found. 78 return -1; in wnd_scan() 109 return -1; in wnd_scan() 112 wpos = free_bits + 1; in wnd_scan() 117 return -1; in wnd_scan() 166 static inline bool rb_insert_count(struct rb_root *root, struct e_node *e) in rb_insert_count() argument 170 size_t e_ckey = e->count.key; in rb_insert_count() 171 size_t e_skey = e->start.key; in rb_insert_count() 186 WARN_ON(1); in rb_insert_count() 191 rb_link_node(&e->count.node, parent, p); in rb_insert_count() [all …]
|
/Linux-v6.1/arch/x86/crypto/ |
D | sha1_ssse3_asm.S | 3 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental 17 … http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/ 66 * This macro implements the SHA-1 function's body for single 64-byte block 108 * This macro implements 80 rounds of SHA-1 for one 64-byte block 117 mov 16(HASH_PTR), E 122 .set i, (i+1) 126 1: 127 RR F1,A,B,C,D,E,0 128 RR F1,D,E,A,B,C,2 129 RR F1,B,C,D,E,A,4 [all …]
|
/Linux-v6.1/net/netfilter/ |
D | xt_recent.c | 114 (ip_list_hash_size - 1); in recent_entry_hash4() 120 (ip_list_hash_size - 1); in recent_entry_hash6() 128 struct recent_entry *e; in recent_entry_lookup() local 136 list_for_each_entry(e, &table->iphash[h], list) in recent_entry_lookup() 137 if (e->family == family && in recent_entry_lookup() 138 memcmp(&e->addr, addrp, sizeof(e->addr)) == 0 && in recent_entry_lookup() 139 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup() 140 return e; in recent_entry_lookup() 144 static void recent_entry_remove(struct recent_table *t, struct recent_entry *e) in recent_entry_remove() argument 146 list_del(&e->list); in recent_entry_remove() [all …]
|