| /linux/net/netfilter/ipset/ |
| H A D | pfxlen.c | 7 #ifdef E 8 #undef E 12 E(0x00000000, 0x00000000, 0x00000000, 0x00000000), \ 13 E(0x80000000, 0x00000000, 0x00000000, 0x00000000), \ 14 E(0xC0000000, 0x00000000, 0x00000000, 0x00000000), \ 15 E(0xE0000000, 0x00000000, 0x00000000, 0x00000000), \ 16 E(0xF0000000, 0x00000000, 0x00000000, 0x00000000), \ 17 E(0xF8000000, 0x00000000, 0x00000000, 0x00000000), \ 18 E(0xFC000000, 0x00000000, 0x00000000, 0x00000000), \ 19 E(0xFE000000, 0x00000000, 0x00000000, 0x00000000), \ [all …]
|
| H A D | ip_set_hash_netnet.c | 23 #define IPSET_TYPE_REV_MIN 0 100 elem->ip[0] &= ip_set_netmask(cidr); in hash_netnet4_data_netmask() 101 elem->cidr[0] = cidr; in hash_netnet4_data_netmask() 109 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_netnet4_data_list() 111 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || in hash_netnet4_data_list() 113 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || 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() 149 struct hash_netnet4_elem e = { }; in hash_netnet4_kadt() local [all …]
|
| H A D | ip_set_hash_netportnet.c | 23 #define IPSET_TYPE_REV_MIN 0 24 /* 0 Comments support added */ 105 elem->ip[0] &= ip_set_netmask(cidr); in hash_netportnet4_data_netmask() 106 elem->cidr[0] = cidr; in hash_netportnet4_data_netmask() 114 u32 flags = data->nomatch ? IPSET_FLAG_NOMATCH : 0; in hash_netportnet4_data_list() 116 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, data->ip[0]) || in hash_netportnet4_data_list() 119 nla_put_u8(skb, IPSET_ATTR_CIDR, data->cidr[0]) || 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 …]
|
| /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 …]
|
| H A D | kfree_mismatch.cocci | 18 expression E, E1; 25 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\| 31 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 40 ... when != E = E1 42 if (E == NULL) { 44 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 53 expression E; 57 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\| 60 kvfree(E)@fok [all …]
|
| /linux/scripts/coccinelle/null/ |
| H A D | badzero.cocci | 2 /// Compare pointer-typed values to NULL rather than 0 14 // Requires: 1.0.0 27 expression *E; 32 (E = f(...)) == 33 - 0 36 (E = f(...)) != 37 - 0 40 - 0 42 == (E = f(...)) 44 - 0 [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] 19 module_model_id 0x0000 16 20 module_revision_number_major 0x0002 8 21 frame_count 0x0005 8 22 pixel_order 0x0006 8 23 - e GRBG 0 24 - e RGGB 1 25 - e BGGR 2 26 - e GBRG 3 [all …]
|
| /linux/arch/alpha/lib/ |
| H A D | ev6-memchr.S | 11 * - does binary search to find 0 byte in last 26 * E - either cluster 39 .frame $30,0,$26,0 40 .prologue 0 47 zap $18, 0x80, $5 # U : Bound length 49 ldq_u $1, 0($16) # L : load first quadword Latency=3 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 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 [all …]
|
| H A D | ev6-memcpy.S | 16 * E - either cluster 31 .frame $30,0,$26,0 32 .prologue 0 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? 41 and $16, 7, $1 # E : Are both 0mod8? 43 nop # E : 47 * until a 0mod8 alignment for both is reached. 52 ldbu $1, 0($17) # L : grab a byte [all …]
|
| H A D | ev6-memset.S | 15 * E - either cluster 43 .frame $30,0,$26,0 44 .prologue 0 53 and $17,255,$1 # E : 00000000000000ch 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 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? 68 or $17,$3,$17 # E : 00000000chchchch [all …]
|
| H A D | ev6-clear_user.S | 8 * We have to make sure that $0 is always up-to-date and contains the 18 * E - either cluster 27 * The believed purpose of only updating $0 after a store is that a signal 47 .frame $30, 0, $26 48 .prologue 0 52 and $17, $17, $0 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 54 beq $0, $zerolength # U .. .. .. : U L U L 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail [all …]
|
| H A D | ev6-csum_ipv6_magic.S | 17 * E - either cluster 29 * Swap <proto> (takes form 0xaabb) 31 * 0xbbaa0000 00000000 33 * 0xbbaa0000 37 * Assume input takes form 0xAABBCCDD 60 .frame $30,0,$26,0 62 .prologue 0 64 ldq_u $0,0($16) # L : Latency: 3 67 sll $19,8,$7 # U : U L U L : 0x00000000 00aabb00 69 and $16,7,$6 # E : src misalignment [all …]
|
| H A D | ev6-stxncpy.S | 36 * E - either cluster 58 .frame sp, 0, t9, 0 59 .prologue 0 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) 90 stq_u t0, 0(a0) # L : 91 addq a0, 8, a0 # E : [all …]
|
| H A D | ev67-strrchr.S | 6 * Finds length of a 0-terminated string. Optimized for the 17 * E - either cluster 32 .frame sp, 0, ra 33 .prologue 0 35 and a1, 0xff, t2 # E : 00000000000000ch 38 ldq_u t0, 0(a0) # L : load first quadword Latency=3 40 mov zero, t6 # E : t6 is last match aligned addr 41 or t2, t4, a1 # E : 000000000000chch 43 mov zero, t8 # E : t8 is last match byte compare mask 45 andnot a0, 7, v0 # E : align source addr [all …]
|
| H A D | ev6-stxcpy.S | 28 * E - either cluster 50 .frame sp, 0, t9 51 .prologue 0 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) 74 stq_u t1, 0(a0) # L : 75 addq a0, 8, a0 # E : [all …]
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.c | 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() 91 return jhash_2words(*key, ifindex, 0) % l2t_size_half; in arp_hash() 98 u32 xor = key[0] ^ key[1] ^ key[2] ^ key[3]; in ipv6_hash() 101 (jhash_2words(xor, ifindex, 0) % l2t_size_half)); in ipv6_hash() 116 * mentioned above. Returns 0 if there's a match, 118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq() argument 120 if (e->v6) in addreq() [all …]
|
| H A D | smt.c | 55 for (i = 0; i < s->smt_size; ++i) { in t4_init_smt() 60 s->smtab[i].refcnt = 0; in t4_init_smt() 68 struct smt_entry *e, *end; in find_or_alloc_smte() local 70 for (e = &s->smtab[0], end = &s->smtab[s->smt_size]; e != end; ++e) { in find_or_alloc_smte() 71 if (e->refcnt == 0) { in find_or_alloc_smte() 73 first_free = e; in find_or_alloc_smte() 75 if (e->state == SMT_STATE_SWITCHING) { in find_or_alloc_smte() 79 if (memcmp(e->src_mac, smac, ETH_ALEN) == 0) in find_or_alloc_smte() 86 e = first_free; in find_or_alloc_smte() 92 e->state = SMT_STATE_UNUSED; in find_or_alloc_smte() [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 …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1-spe-asm.S | 45 evlwwsplat rK,0(rKP); 101 lwbrx reg,0,rWP; /* load data */ \ 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 113 add e,e,rT0; /* 1: E = E + A' */ \ 115 add e,e,w0; /* 1: E = E + W */ \ 117 add e,e,rT2; /* 1: E = E + F */ \ 119 add e,e,rK; /* 1: E = E + K */ \ 121 add d,d,rK; /* 2: E = E + K */ \ 123 rotrwi rT0,e,27; /* 2: A' = A rotl 5 */ \ 124 add d,d,w1; /* 2: E = E + W */ \ [all …]
|
| /linux/security/apparmor/ |
| H A D | policy_unpack_test.c | 20 #define TEST_U32_DATA ((u32)0x01020304) 30 #define TEST_U64_DATA ((u64)0x0102030405060708) 52 struct aa_ext *e; member 60 struct aa_ext *e; in build_aa_ext_struct() local 65 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 66 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct() 68 e->start = buf; in build_aa_ext_struct() 69 e->end = e->start + buf_size; in build_aa_ext_struct() 70 e->pos = e->start; in build_aa_ext_struct() 74 strscpy(buf + 3, TEST_STRING_NAME, e->end - (void *)(buf + 3)); in build_aa_ext_struct() [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
| H A D | event_alternatives_tests_p10.c | 10 #define PM_RUN_CYC_ALT 0x200f4 11 #define PM_INST_DISP 0x200f2 12 #define PM_BR_2PATH 0x20036 13 #define PM_LD_MISS_L1 0x3e054 14 #define PM_RUN_INST_CMPL_ALT 0x400fa 16 #define EventCode_1 0x100fc 17 #define EventCode_2 0x200fa 18 #define EventCode_3 0x300fc 19 #define EventCode_4 0x400fc 27 struct event *e, event in event_alternatives_tests_p10() local [all...] |
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | trace.c | 25 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in trace_buffer_allocate() 78 struct trace_entry *e; in trace_alloc_entry() local 80 e = trace_alloc(tb, sizeof(*e) + payload_size); in trace_alloc_entry() 81 if (e) in trace_alloc_entry() 82 e->length = payload_size; in trace_alloc_entry() 84 return e; in trace_alloc_entry() 89 struct trace_entry *e; in trace_log_reg() local 92 e = trace_alloc_entry(tb, sizeof(reg) + sizeof(value)); in trace_log_reg() 93 if (!e) in trace_log_reg() 96 e->type = TRACE_TYPE_REG; in trace_log_reg() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | indir_table.c | 92 return esw_attr->rx_tun_attr ? esw_attr->rx_tun_attr->decap_vport : 0; in mlx5_esw_indir_table_decap_vport() 97 struct mlx5_esw_indir_table_entry *e) in mlx5_esw_indir_table_rule_get() argument 106 int err = 0; in mlx5_esw_indir_table_rule_get() 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() 111 return 0; 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() 156 e->recirc_rule = rule; in mlx5_esw_indir_table_rule_get() [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ |
| H A D | metrics.json | 5 "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@", 6 "ScaleUnit": "9.765625e-4KB", 13 "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@", 14 "ScaleUnit": "9.765625e-4KB", 21 "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0000@", 22 "ScaleUnit": "9.765625e-4KB", 29 "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0x0000\\,axi_id\\=0x0000@", 30 "ScaleUnit": "9.765625e-4KB", 37 "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x000f\\,axi_id\\=0x0020@", 38 "ScaleUnit": "9.765625e-4KB", [all …]
|
| /linux/tools/testing/selftests/filesystems/epoll/ |
| H A D | epoll_wakeup_test.c | 52 struct epoll_event e; in waiter_entry1a() local 55 if (epoll_wait(ctx->efd[0], &e, 1, -1) > 0) in waiter_entry1a() 64 struct epoll_event e; in waiter_entry1ap() local 67 pfd.fd = ctx->efd[0]; in waiter_entry1ap() 69 if (poll(&pfd, 1, -1) > 0) { in waiter_entry1ap() 70 if (epoll_wait(ctx->efd[0], &e, 1, 0) > 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...] |