Home
last modified time | relevance | path

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

12345

/openbmc/qemu/target/i386/tcg/
H A Dseg_helper.c161 static inline unsigned int get_seg_limit(uint32_t e1, uint32_t e2) in get_seg_limit() argument
165 limit = (e1 & 0xffff) | (e2 & 0x000f0000); in get_seg_limit()
166 if (e2 & DESC_G_MASK) { in get_seg_limit()
172 static inline uint32_t get_seg_base(uint32_t e1, uint32_t e2) in get_seg_base() argument
174 return (e1 >> 16) | ((e2 & 0xff) << 16) | (e2 & 0xff000000); in get_seg_base()
178 uint32_t e2) in load_seg_cache_raw_dt() argument
180 sc->base = get_seg_base(e1, e2); in load_seg_cache_raw_dt()
181 sc->limit = get_seg_limit(e1, e2); in load_seg_cache_raw_dt()
182 sc->flags = e2; in load_seg_cache_raw_dt()
240 uint32_t e1, e2; in tss_load_seg() local
[all …]
/openbmc/linux/scripts/kconfig/
H A Dexpr.c34 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
39 e->right.expr = e2; in expr_alloc_two()
52 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() argument
55 return e2; in expr_alloc_and()
56 return e2 ? expr_alloc_two(E_AND, e1, e2) : e1; in expr_alloc_and()
59 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() argument
62 return e2; in expr_alloc_or()
63 return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; in expr_alloc_or()
140 #define e2 (*ep2) macro
155 __expr_eliminate_eq(type, &e1->left.expr, &e2); in __expr_eliminate_eq()
[all …]
H A Dexpr.h289 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2);
291 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2);
292 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2);
296 int expr_eq(struct expr *e1, struct expr *e2);
/openbmc/u-boot/scripts/kconfig/
H A Dexpr.c14 static int expr_eq(struct expr *e1, struct expr *e2);
33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
38 e->right.expr = e2; in expr_alloc_two()
51 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() argument
54 return e2; in expr_alloc_and()
55 return e2 ? expr_alloc_two(E_AND, e1, e2) : e1; in expr_alloc_and()
58 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() argument
61 return e2; in expr_alloc_or()
62 return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; in expr_alloc_or()
139 #define e2 (*ep2) macro
[all …]
/openbmc/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 …]
/openbmc/qemu/scripts/coccinelle/
H A Dround.cocci4 expression e2;
7 - ((e1) + e2 - 1) / (e2)
8 + DIV_ROUND_UP(e1,e2)
10 - ((e1) + (e2 - 1)) / (e2)
11 + DIV_ROUND_UP(e1,e2)
16 expression e2;
18 -(DIV_ROUND_UP(e1,e2))
19 +DIV_ROUND_UP(e1,e2)
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dcpuid_test.c75 const struct kvm_cpuid_entry2 *e1, *e2; in compare_cpuids() local
83 e2 = &cpuid2->entries[i]; in compare_cpuids()
85 TEST_ASSERT(e1->function == e2->function && in compare_cpuids()
86 e1->index == e2->index && e1->flags == e2->flags, in compare_cpuids()
89 e2->function, e2->index, e2->flags); in compare_cpuids()
94 TEST_ASSERT(e1->eax == e2->eax && e1->ebx == e2->ebx && in compare_cpuids()
95 e1->ecx == e2->ecx && e1->edx == e2->edx, in compare_cpuids()
99 e2->eax, e2->ebx, e2->ecx, e2->edx); in compare_cpuids()
/openbmc/qemu/bsd-user/i386/
H A Dtarget_arch_cpu.c38 unsigned int e1, e2; in bsd_i386_write_dt() local
41 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in bsd_i386_write_dt()
42 e2 |= flags; in bsd_i386_write_dt()
45 p[1] = tswap32(e2); in bsd_i386_write_dt()
52 uint32_t *p, e1, e2; in set_gate() local
54 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
57 p[1] = tswap32(e2); in set_gate()
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_cpu.c38 unsigned int e1, e2; in bsd_x86_64_write_dt() local
41 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in bsd_x86_64_write_dt()
42 e2 |= flags; in bsd_x86_64_write_dt()
45 p[1] = tswap32(e2); in bsd_x86_64_write_dt()
51 uint32_t *p, e1, e2; in set_gate64() local
53 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate64()
56 p[1] = tswap32(e2); in set_gate64()
/openbmc/linux/tools/perf/tests/
H A Dpmu-events.c285 static int compare_pmu_events(const struct pmu_event *e1, const struct pmu_event *e2) in compare_pmu_events() argument
287 if (!is_same(e1->name, e2->name)) { in compare_pmu_events()
289 e1->name, e1->name, e2->name); in compare_pmu_events()
293 if (!is_same(e1->compat, e2->compat)) { in compare_pmu_events()
295 e1->name, e1->compat, e2->compat); in compare_pmu_events()
299 if (!is_same(e1->event, e2->event)) { in compare_pmu_events()
301 e1->name, e1->event, e2->event); in compare_pmu_events()
305 if (!is_same(e1->desc, e2->desc)) { in compare_pmu_events()
307 e1->name, e1->desc, e2->desc); in compare_pmu_events()
311 if (!is_same(e1->topic, e2->topic)) { in compare_pmu_events()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dcpuid.c191 static int kvm_cpuid_check_equal(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *e2, in kvm_cpuid_check_equal() argument
202 if (e2[i].function != orig->function || in kvm_cpuid_check_equal()
203 e2[i].index != orig->index || in kvm_cpuid_check_equal()
204 e2[i].flags != orig->flags || in kvm_cpuid_check_equal()
205 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal()
206 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal()
431 static int kvm_set_cpuid(struct kvm_vcpu *vcpu, struct kvm_cpuid_entry2 *e2, in kvm_set_cpuid() argument
436 __kvm_update_cpuid_runtime(vcpu, e2, nent); in kvm_set_cpuid()
450 r = kvm_cpuid_check_equal(vcpu, e2, nent); in kvm_set_cpuid()
454 kvfree(e2); in kvm_set_cpuid()
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Dwl.c678 struct ubi_wl_entry *e1, *e2; local
720 e2 = get_peb_for_wl(ubi);
721 if (!e2)
726 dbg_wl("anchor-move PEB %d to PEB %d", e1->pnum, e2->pnum);
737 e2 = get_peb_for_wl(ubi);
738 if (!e2)
741 if (!(e2->ec - e1->ec >= UBI_WL_THRESHOLD)) {
743 e1->ec, e2->ec);
746 wl_tree_add(e2, &ubi->free);
753 e1->pnum, e1->ec, e2->pnum, e2->ec);
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dwl.c652 struct ubi_wl_entry *e1, *e2; local
712 e2 = get_peb_for_wl(ubi);
713 if (!e2)
718 dbg_wl("anchor-move PEB %d to PEB %d", e1->pnum, e2->pnum);
730 e2 = get_peb_for_wl(ubi);
731 if (!e2)
734 if (!(e2->ec - e1->ec >= UBI_WL_THRESHOLD)) {
736 e1->ec, e2->ec);
739 wl_tree_add(e2, &ubi->free);
746 e1->pnum, e1->ec, e2->pnum, e2->ec);
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dstream_test.cpp76 uint16_t e2; in TEST() local
81 stream >> e3 >> e2 >> e4 >> e1; in TEST()
84 EXPECT_EQ(v2, e2); in TEST()
110 uint64_t e2; in TEST() local
112 stream >> e2; in TEST()
114 EXPECT_EQ(v2, e2); in TEST()
/openbmc/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;
/openbmc/qemu/linux-user/i386/
H A Dcpu_loop.c39 unsigned int e1, e2; in write_dt() local
42 e2 = ((addr >> 16) & 0xff) | (addr & 0xff000000) | (limit & 0x000f0000); in write_dt()
43 e2 |= flags; in write_dt()
46 p[1] = tswap32(e2); in write_dt()
54 uint32_t *p, e1, e2; in set_gate64() local
56 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate64()
59 p[1] = tswap32(e2); in set_gate64()
74 uint32_t *p, e1, e2; in set_gate() local
76 e2 = (addr & 0xffff0000) | 0x8000 | (dpl << 13) | (type << 8); in set_gate()
79 p[1] = tswap32(e2); in set_gate()
/openbmc/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()
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c201 const struct nfs4_ff_layout_ds_err *e2) in ff_ds_error_match() argument
205 if (e1->opnum != e2->opnum) in ff_ds_error_match()
206 return e1->opnum < e2->opnum ? -1 : 1; in ff_ds_error_match()
207 if (e1->status != e2->status) in ff_ds_error_match()
208 return e1->status < e2->status ? -1 : 1; in ff_ds_error_match()
209 ret = memcmp(e1->stateid.data, e2->stateid.data, in ff_ds_error_match()
213 ret = memcmp(&e1->deviceid, &e2->deviceid, sizeof(e1->deviceid)); in ff_ds_error_match()
216 if (pnfs_end_offset(e1->offset, e1->length) < e2->offset) in ff_ds_error_match()
218 if (e1->offset > pnfs_end_offset(e2->offset, e2->length)) in ff_ds_error_match()
/openbmc/qemu/target/i386/tcg/user/
H A Dseg_helper.c52 uint32_t e2; in do_interrupt_user() local
61 e2 = cpu_ldl_kernel(env, ptr + 4); in do_interrupt_user()
63 dpl = (e2 >> DESC_DPL_SHIFT) & 3; in do_interrupt_user()
/openbmc/linux/security/selinux/ss/
H A Debitmap.c31 int ebitmap_cmp(const struct ebitmap *e1, const struct ebitmap *e2) in ebitmap_cmp() argument
35 if (e1->highbit != e2->highbit) in ebitmap_cmp()
39 n2 = e2->node; in ebitmap_cmp()
82 int ebitmap_and(struct ebitmap *dst, const struct ebitmap *e1, const struct ebitmap *e2) in ebitmap_and() argument
90 if (ebitmap_get_bit(e2, bit)) { in ebitmap_and()
221 int ebitmap_contains(const struct ebitmap *e1, const struct ebitmap *e2, u32 last_e2bit) in ebitmap_contains() argument
226 if (e1->highbit < e2->highbit) in ebitmap_contains()
230 n2 = e2->node; in ebitmap_contains()
/openbmc/qemu/include/hw/xen/interface/
H A Dxen.h981 #define XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
987 e1, e2, e3, e4, e5, e6}}
990 #define XEN_DEFINE_UUID(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
991 ((xen_uuid_t)XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6))
993 #define XEN_DEFINE_UUID(a, b, c, d, e1, e2, e3, e4, e5, e6) \ argument
994 XEN_DEFINE_UUID_(a, b, c, d, e1, e2, e3, e4, e5, e6)
/openbmc/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()
/openbmc/u-boot/tools/buildman/
H A Dkconfiglib.py1470 def _eval_min(self, e1, e2): argument
1474 e2_eval = self._eval_expr(e2)
1477 def _eval_max(self, e1, e2): argument
1481 e2_eval = self._eval_expr(e2)
3246 def _make_and(e1, e2): argument
3252 return e2
3253 if e2 is None or e2 == "y":
3259 if isinstance(e2, tuple) and e2[0] == AND:
3260 return (AND, e1[1] + e2[1])
3261 return (AND, e1[1] + [e2])
[all …]
/openbmc/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
/openbmc/linux/scripts/coccinelle/tests/
H A Dodd_ptr_err.cocci29 expression x,e1,e2;
36 PTR_ERR@p(\(e1 ? e2 : x\|e1 ? x : e2\))

12345