Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 25 of 80) sorted by relevance

1234

/linux/scripts/kconfig/
H A Dexpr.c67 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
69 return expr_lookup(type, e1, e2); in expr_alloc_two()
77 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() argument
80 return e2; in expr_alloc_and()
81 return e2 ? expr_alloc_two(E_AND, e1, e2) : e1; in expr_alloc_and()
84 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() argument
87 return e2; in expr_alloc_or()
88 return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; in expr_alloc_or()
207 bool expr_eq(struct expr *e1, struct expr *e2) in expr_eq() argument
216 if (!e1 || !e2) in expr_eq()
[all …]
H A Dexpr.h300 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2);
302 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2);
303 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2);
305 bool expr_eq(struct expr *e1, struct expr *e2);
/linux/arch/mips/bcm47xx/
H A Dboard.c242 const struct bcm47xx_board_type_list2 *e2; in bcm47xx_board_get_nvram() local
261 for (e2 = bcm47xx_board_list_hw_version_num; e2->value1; e2++) { in bcm47xx_board_get_nvram()
262 if (!strstarts(buf1, e2->value1) && in bcm47xx_board_get_nvram()
263 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
264 return &e2->board; in bcm47xx_board_get_nvram()
293 for (e2 = bcm47xx_board_list_boot_hw; e2->value1; e2++) { in bcm47xx_board_get_nvram()
294 if (!strcmp(buf1, e2->value1) && in bcm47xx_board_get_nvram()
295 !strcmp(buf2, e2->value2)) in bcm47xx_board_get_nvram()
296 return &e2->board; in bcm47xx_board_get_nvram()
321 for (e2 = bcm47xx_board_list_board_type_rev; e2->value1; e2++) { in bcm47xx_board_get_nvram()
[all …]
/linux/tools/testing/selftests/kvm/x86/
H A Dcpuid_test.c86 const struct kvm_cpuid_entry2 *e1, *e2; in compare_cpuids() local
96 e2 = &cpuid2->entries[i]; in compare_cpuids()
98 TEST_ASSERT(e1->function == e2->function && in compare_cpuids()
99 e1->index == e2->index && e1->flags == e2->flags, in compare_cpuids()
102 e2->function, e2->index, e2->flags); in compare_cpuids()
107 TEST_ASSERT((e1->eax & mask.eax) == (e2->eax & mask.eax) && in compare_cpuids()
108 (e1->ebx & mask.ebx) == (e2->ebx & mask.ebx) && in compare_cpuids()
109 (e1->ecx & mask.ecx) == (e2->ecx & mask.ecx) && in compare_cpuids()
110 (e1->edx & mask.edx) == (e2->edx & mask.edx), in compare_cpuids()
115 e2->eax & mask.eax, e2->ebx & mask.ebx, in compare_cpuids()
[all …]
/linux/tools/perf/tests/
H A Dpmu-events.c260 static int compare_pmu_events(const struct pmu_event *e1, const struct pmu_event *e2) in compare_pmu_events() argument
262 if (!is_same(e1->name, e2->name)) { in compare_pmu_events()
264 e1->name, e1->name, e2->name); in compare_pmu_events()
268 if (!is_same(e1->compat, e2->compat)) { in compare_pmu_events()
270 e1->name, e1->compat, e2->compat); in compare_pmu_events()
274 if (!is_same(e1->event, e2->event)) { in compare_pmu_events()
276 e1->name, e1->event, e2->event); in compare_pmu_events()
280 if (!is_same(e1->desc, e2->desc)) { in compare_pmu_events()
282 e1->name, e1->desc, e2->desc); in compare_pmu_events()
286 if (!is_same(e1->topic, e2->topic)) { in compare_pmu_events()
[all …]
/linux/drivers/mtd/ubi/
H A Dwl.c664 struct ubi_wl_entry *e1, *e2; local
724 e2 = get_peb_for_wl(ubi);
725 if (!e2)
730 dbg_wl("anchor-move PEB %d to PEB %d", e1->pnum, e2->pnum);
742 e2 = get_peb_for_wl(ubi);
743 if (!e2)
746 if (!(e2->ec - e1->ec >= UBI_WL_THRESHOLD)) {
748 e1->ec, e2->ec);
751 wl_tree_add(e2, &ubi->free);
758 e1->pnum, e1->ec, e2->pnum, e2->ec);
[all …]
/linux/arch/x86/kvm/
H A Dcpuid.c176 static int kvm_cpuid_check_equal(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *e2, in kvm_cpuid_check_equal() argument
196 if (e2[i].function != orig->function || in kvm_cpuid_check_equal()
197 e2[i].index != orig->index || in kvm_cpuid_check_equal()
198 e2[i].flags != orig->flags || in kvm_cpuid_check_equal()
199 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal()
200 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal()
509 static int kvm_set_cpuid(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *e2, in kvm_set_cpuid() argument
533 swap(vcpu->arch.cpuid_entries, e2); in kvm_set_cpuid()
554 r = kvm_cpuid_check_equal(vcpu, e2, nent); in kvm_set_cpuid()
578 kvfree(e2); in kvm_set_cpuid()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_reg_sr.c48 const struct xe_reg_sr_entry *e2) in compatible_entries() argument
54 if (e1->clr_bits & e2->clr_bits || e1->set_bits & e2->set_bits || in compatible_entries()
55 e1->clr_bits & e2->set_bits || e1->set_bits & e2->clr_bits) in compatible_entries()
58 if (e1->reg.raw != e2->reg.raw) in compatible_entries()
/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_syntax.c14 enum e2 { enum
20 typedef enum e2 e2_t;
172 enum e2 e;
178 enum e2 arr2[5];
257 enum e2 _2;
/linux/drivers/gpu/drm/i915/display/
H A Dintel_wm_types.h68 const struct skl_ddb_entry *e2) in skl_ddb_entry_equal() argument
70 if (e1->start == e2->start && e1->end == e2->end) in skl_ddb_entry_equal()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c200 const struct nfs4_ff_layout_ds_err *e2) in ff_ds_error_match() argument
204 if (e1->opnum != e2->opnum) in ff_ds_error_match()
205 return e1->opnum < e2->opnum ? -1 : 1; in ff_ds_error_match()
206 if (e1->status != e2->status) in ff_ds_error_match()
207 return e1->status < e2->status ? -1 : 1; in ff_ds_error_match()
208 ret = memcmp(e1->stateid.data, e2->stateid.data, in ff_ds_error_match()
212 ret = memcmp(&e1->deviceid, &e2->deviceid, sizeof(e1->deviceid)); in ff_ds_error_match()
215 if (pnfs_end_offset(e1->offset, e1->length) < e2->offset) in ff_ds_error_match()
217 if (e1->offset > pnfs_end_offset(e2->offset, e2->length)) in ff_ds_error_match()
/linux/security/selinux/ss/
H A Debitmap.c28 bool ebitmap_equal(const struct ebitmap *e1, const struct ebitmap *e2) in ebitmap_equal() argument
32 if (e1->highbit != e2->highbit) in ebitmap_equal()
36 n2 = e2->node; in ebitmap_equal()
79 const struct ebitmap *e2) in ebitmap_and() argument
89 if (ebitmap_get_bit(e2, bit)) { in ebitmap_and()
218 int ebitmap_contains(const struct ebitmap *e1, const struct ebitmap *e2, in ebitmap_contains() argument
224 if (e1->highbit < e2->highbit) in ebitmap_contains()
228 n2 = e2->node; in ebitmap_contains()
H A Debitmap.h123 bool ebitmap_equal(const struct ebitmap *e1, const struct ebitmap *e2);
126 const struct ebitmap *e2);
127 int ebitmap_contains(const struct ebitmap *e1, const struct ebitmap *e2,
/linux/net/netfilter/ipset/
H A Dip_set_hash_ipmac.c52 const struct hash_ipmac4_elem *e2, in hash_ipmac4_data_equal() argument
55 return e1->ip == e2->ip && ether_addr_equal(e1->ether, e2->ether); in hash_ipmac4_data_equal()
159 const struct hash_ipmac6_elem *e2, in hash_ipmac6_data_equal() argument
162 return ipv6_addr_equal(&e1->ip.in6, &e2->ip.in6) && in hash_ipmac6_data_equal()
163 ether_addr_equal(e1->ether, e2->ether); in hash_ipmac6_data_equal()
H A Dip_set_hash_mac.c42 const struct hash_mac4_elem *e2, in hash_mac4_data_equal() argument
45 return ether_addr_equal(e1->ether, e2->ether); in hash_mac4_data_equal()
/linux/scripts/coccinelle/iterators/
H A Ddevice_node_continue.cocci20 expression e1,e2;
37 for_each_compatible_node(n,e1,e2) S
41 for_each_matching_node_and_match(n,e1,e2) S
/linux/scripts/coccinelle/tests/
H A Dodd_ptr_err.cocci29 expression x,e1,e2;
36 PTR_ERR@p(\(e1 ? e2 : x\|e1 ? x : e2\))
H A Ddoubletest.cocci31 expression r.E,e1,e2,fn;
39 <+... \(fn(...)\|e1 op e2\|e1++\|e1--\|++e1\|--e1\) ...+>
/linux/arch/arm/crypto/
H A Dghash-ce-core.S375 e2 .req q11
464 vmov e2, ctr
470 aes_encrypt ip, r6, e0, e1, e2, e3
508 veor \in2, \in2, e2
520 veor e2, e2, \in2
524 vst1.8 {e2-e3}, [r4]!
586 vld1.8 {e2}, [ip] // permute vector for ghash input
642 vld1.8 {e2}, [ip] // permute vector for ghash input
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h282 struct eth_classify_rules_ramrod_data e2; member
286 struct eth_classify_rules_ramrod_data e2; member
290 struct eth_classify_rules_ramrod_data e2; member
294 struct eth_filter_rules_ramrod_data e2; member
298 struct eth_multicast_rules_ramrod_data e2; member
307 struct eth_rss_update_ramrod_data e2; member
/linux/drivers/char/ipmi/
H A Dipmi_si_intf.c2129 static bool __init ipmi_smi_info_same(struct smi_info *e1, struct smi_info *e2) in ipmi_smi_info_same() argument
2131 return (e1->io.addr_space == e2->io.addr_space && in ipmi_smi_info_same()
2132 e1->io.addr_data == e2->io.addr_data); in ipmi_smi_info_same()
2137 struct smi_info *e, *e2; in init_ipmi_si() local
2172 list_for_each_entry(e2, &smi_infos, link) { in init_ipmi_si()
2173 if (e2 == e) in init_ipmi_si()
2175 if (e2->io.irq && ipmi_smi_info_same(e, e2)) { in init_ipmi_si()
2198 list_for_each_entry(e2, &smi_infos, link) { in init_ipmi_si()
2199 if (!e2->io.irq) in init_ipmi_si()
2201 if (ipmi_smi_info_same(e, e2)) { in init_ipmi_si()
[all …]
/linux/drivers/input/
H A Dff-core.c40 struct ff_effect *e2) in check_effects_compatible() argument
42 return e1->type == e2->type && in check_effects_compatible()
44 e1->u.periodic.waveform == e2->u.periodic.waveform); in check_effects_compatible()
/linux/lib/crypto/powerpc/
H A Daes-tab-4k.S55 .long R(e2, 71, 71, 93), R(ab, d8, d8, 73)
62 .long R(1b, 80, 80, 9b), R(df, e2, e2, 3d)
111 .long R(a7, de, de, 79), R(bc, 5e, 5e, e2)
190 .long R(ab, 73, d3, 23), R(72, 4b, 02, e2)
197 .long R(f3, 07, f2, f0), R(4e, 69, e2, a1)
224 .long R(e2, 93, ba, 0a), R(c0, a0, 2a, e5)
286 .long R(16, 1d, c3, 72), R(bc, e2, 25, 0c)
/linux/lib/crypto/
H A Dpolyval.c86 u64 e2 = -((a >> 2) & 1) & b; in clmul64() local
88 u64 extra_lo = e0 ^ (e1 << 1) ^ (e2 << 2) ^ (e3 << 3); in clmul64()
89 u64 extra_hi = (e1 >> 63) ^ (e2 >> 62) ^ (e3 >> 61); in clmul64()
/linux/drivers/media/dvb-frontends/
H A Ddib0090.c1504 u16 e2, e4; in dib0090_set_EFUSE() local
1507 e2 = dib0090_read_reg(state, 0x26); in dib0090_set_EFUSE()
1511 (state->identity.version == P1G) || (e2 == 0xffff)) { in dib0090_set_EFUSE()
1519 e2 = e4 = (3<<12) | (34<<6) | (n); in dib0090_set_EFUSE()
1522 if (e2 != e4) in dib0090_set_EFUSE()
1523 e2 &= e4; /* Remove the redundancy */ in dib0090_set_EFUSE()
1525 if (e2 != 0xffff) { in dib0090_set_EFUSE()
1526 c = e2 & 0x3f; in dib0090_set_EFUSE()
1527 n = (e2 >> 12) & 0xf; in dib0090_set_EFUSE()
1528 h = (e2 >> 6) & 0x3f; in dib0090_set_EFUSE()
[all …]

1234