| /linux/arch/alpha/lib/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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/Documentation/driver-api/media/drivers/ccs/ |
| H A 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/security/apparmor/ |
| H A D | policy_unpack_test.c | 17 (3 + strlen(TEST_STRING_NAME) + 1) 22 (TEST_STRING_BUF_OFFSET + 3 + strlen(TEST_STRING_DATA) + 1) 24 (TEST_NAMED_U32_BUF_OFFSET + 3 + strlen(TEST_U32_NAME) + 1) 31 #define TEST_NAMED_U64_BUF_OFFSET (TEST_U32_BUF_OFFSET + sizeof(u32) + 1) 33 (TEST_NAMED_U64_BUF_OFFSET + 3 + strlen(TEST_U64_NAME) + 1) 38 #define TEST_NAMED_BLOB_BUF_OFFSET (TEST_U64_BUF_OFFSET + sizeof(u64) + 1) 40 (TEST_NAMED_BLOB_BUF_OFFSET + 3 + strlen(TEST_BLOB_NAME) + 1) 47 (TEST_NAMED_ARRAY_BUF_OFFSET + 3 + strlen(TEST_ARRAY_NAME) + 1) 52 struct aa_ext *e; member 60 struct aa_ext *e; in build_aa_ext_struct() local [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A 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/tools/testing/selftests/powerpc/pmu/ |
| H A 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 …]
|
| H A 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/tools/testing/selftests/filesystems/epoll/ |
| H A 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, in waiter_entry1ap() 79 struct epoll_event e; waiter_entry1o() local 91 struct epoll_event e; waiter_entry1op() local 167 struct epoll_event e; TEST() local 198 struct epoll_event e; TEST() local 306 struct epoll_event e; TEST() local 345 struct epoll_event e; TEST() local 475 struct epoll_event e; TEST() local 518 struct epoll_event e; TEST() local 659 struct epoll_event e; TEST() local 702 struct epoll_event e; TEST() local 846 struct epoll_event e; TEST() local 886 struct epoll_event e; TEST() local 926 struct epoll_event e; TEST() local 966 struct epoll_event e; TEST() local 1007 struct epoll_event e; TEST() local 1055 struct epoll_event e; TEST() local 1103 struct epoll_event e; TEST() local 1151 struct epoll_event e; TEST() local 1197 struct epoll_event e; TEST() local 1249 struct epoll_event e; TEST() local 1301 struct epoll_event e; TEST() local 1353 struct epoll_event e; TEST() local 1405 struct epoll_event e; TEST() local 1456 struct epoll_event e; TEST() local 1507 struct epoll_event e; TEST() local 1558 struct epoll_event e; TEST() local 1609 struct epoll_event e; TEST() local 1661 struct epoll_event e; TEST() local 1713 struct epoll_event e; TEST() local 1765 struct epoll_event e; TEST() local 1818 struct epoll_event e; TEST() local 1875 struct epoll_event e; TEST() local 1932 struct epoll_event e; TEST() local 1989 struct epoll_event e; TEST() local 2045 struct epoll_event e; TEST() local 2097 struct epoll_event e; TEST() local 2149 struct epoll_event e; TEST() local 2201 struct epoll_event e; TEST() local 2254 struct epoll_event e; TEST() local 2310 struct epoll_event e; TEST() local 2363 struct epoll_event e; TEST() local 2419 struct epoll_event e; TEST() local 2703 struct epoll_event e; TEST() local 2768 struct epoll_event e; TEST() local 2833 struct epoll_event e; TEST() local 2898 struct epoll_event e; TEST() local 2964 struct epoll_event e; TEST() local 3034 struct epoll_event e; TEST() local 3094 struct epoll_event e; epoll59_thread() local 3122 struct epoll_event e; TEST() local 3170 struct epoll_event e; epoll60_wait_thread() local 3233 struct epoll_event e; TEST() local 3400 struct epoll_event e; TEST() local 3428 struct epoll_event e; TEST() local 3462 struct epoll_event e; TEST() local [all...] |
| /linux/net/netfilter/ipset/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/net/ethernet/chelsio/cxgb4/ |
| H A 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/tools/objtool/ |
| H A D | klp-diff.c | 69 new = malloc(len + 1); in escape_str() 90 unsigned int line_num = 1; in read_exports() 98 return -1; in read_exports() 104 return -1; in read_exports() 115 return -1; in read_exports() 123 return -1; in read_exports() 131 return -1; in read_exports() 138 return -1; in read_exports() 141 export = calloc(1, sizeof(*export)); in read_exports() 144 return -1; in read_exports() 403 correlate_symbols(struct elfs * e) correlate_symbols() argument 710 clone_symbol(struct elfs * e,struct symbol * patched_sym,bool data_too) clone_symbol() argument 758 mark_changed_functions(struct elfs * e) mark_changed_functions() argument 800 clone_included_functions(struct elfs * e) clone_included_functions() argument 859 __find_modname(struct elfs * e) __find_modname() argument 895 find_modname(struct elfs * e) find_modname() argument 1014 clone_reloc_klp(struct elfs * e,struct reloc * patched_reloc,struct section * sec,unsigned long offset,struct export * export) clone_reloc_klp() argument 1144 clone_reloc(struct elfs * e,struct reloc * patched_reloc,struct section * sec,unsigned long offset) clone_reloc() argument 1210 clone_sym_relocs(struct elfs * e,struct symbol * patched_sym) clone_sym_relocs() argument 1439 validate_special_section_klp_reloc(struct elfs * e,struct symbol * sym) validate_special_section_klp_reloc() argument 1523 clone_special_section(struct elfs * e,struct section * patched_sec) clone_special_section() argument 1554 clone_special_sections(struct elfs * e) clone_special_sections() argument 1573 create_klp_sections(struct elfs * e) create_klp_sections() argument 1757 copy_import_ns(struct elfs * e) copy_import_ns() argument 1800 struct elfs e = {0}; cmd_klp_diff() local [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | indir_table.c | 21 #define MLX5_ESW_INDIR_TABLE_FWD_IDX (MLX5_ESW_INDIR_TABLE_SIZE - 1) 97 struct mlx5_esw_indir_table_entry *e) in mlx5_esw_indir_table_rule_get() argument 109 if (e->recirc_rule) { in mlx5_esw_indir_table_rule_get() 110 refcount_inc(&e->recirc_rule->refcnt); in mlx5_esw_indir_table_rule_get() 139 flow_act.fg = e->recirc_grp; in mlx5_esw_indir_table_rule_get() 141 dest.ft = mlx5_chains_get_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get() 146 handle = mlx5_add_flow_rules(e->ft, NULL, &flow_act, &dest, 1); in mlx5_esw_indir_table_rule_get() 155 refcount_set(&rule->refcnt, 1); in mlx5_esw_indir_table_rule_get() 156 e->recirc_rule = rule; in mlx5_esw_indir_table_rule_get() 160 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get() [all …]
|
| /linux/tools/testing/selftests/ |
| H A D | kselftest_deps.sh | 13 echo -e "Usage: $0 -[p] <compiler> [test_name]\n" 14 echo -e "\tkselftest_deps.sh [-p] gcc" 15 echo -e "\tkselftest_deps.sh [-p] gcc mm" 16 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc" 17 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n" 30 exit 1 41 echo -e "\tPlease run $0 in" 42 echo -e "\ttools/testing/selftests directory ..." 43 exit 1 51 print_targets=1 [all …]
|
| /linux/lib/crypto/x86/ |
| H A D | sha1-ssse3-and-avx.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/scripts/coccinelle/api/ |
| H A D | string_choices.cocci | 11 expression E; 14 - ((E == 1) ? "" : "s") 15 + str_plural(E) 17 - ((E > 1) ? "s" : "") 18 + str_plural(E) 22 expression E; 26 * (E@P == 1) ? "" : "s" 28 * (E@P > 1) ? "s" : "" 33 e << str_plural_r.E; 36 coccilib.report.print_report(p[0], "opportunity for str_plural(%s)" % e) [all …]
|