Home
last modified time | relevance | path

Searched refs:be (Results 1 – 25 of 4215) sorted by relevance

12345678910>>...169

/openbmc/qemu/backends/
H A Diommufd.c26 static const char *iommufd_fd_name(IOMMUFDBackend *be) in iommufd_fd_name() argument
28 return object_get_canonical_path_component(OBJECT(be)); in iommufd_fd_name()
33 IOMMUFDBackend *be = IOMMUFD_BACKEND(obj); in iommufd_backend_init() local
35 be->fd = -1; in iommufd_backend_init()
36 be->users = 0; in iommufd_backend_init()
37 be->owned = true; in iommufd_backend_init()
42 IOMMUFDBackend *be = IOMMUFD_BACKEND(obj); in iommufd_backend_finalize() local
44 if (be->owned) { in iommufd_backend_finalize()
45 close(be->fd); in iommufd_backend_finalize()
46 be->fd = -1; in iommufd_backend_finalize()
[all …]
/openbmc/qemu/host/include/ppc/host/crypto/
H A Daes-round.h25 static inline AESStateVec aes_accel_ld(const AESState *p, bool be) in aes_accel_ld() argument
29 if (be) { in aes_accel_ld()
50 static void aes_accel_st(AESState *p, AESStateVec r, bool be) in aes_accel_st() argument
52 if (be) { in aes_accel_st()
97 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument
101 t = aes_accel_ld(st, be); in aesenc_MC_accel()
104 aes_accel_st(ret, t, be); in aesenc_MC_accel()
109 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
113 t = aes_accel_ld(st, be); in aesenc_SB_SR_AK_accel()
114 k = aes_accel_ld(rk, be); in aesenc_SB_SR_AK_accel()
[all …]
/openbmc/qemu/hw/xen/
H A Dxen_devconfig.c10 char *fe, char *be, int len) in xen_config_dev_dirs() argument
19 snprintf(be, len, "%s/backend/%s/%d/%d", dom, btype, xen_domid, vdev); in xen_config_dev_dirs()
23 xenstore_mkdir(be, XS_PERM_READ); in xen_config_dev_dirs()
27 static int xen_config_dev_all(char *fe, char *be) in xen_config_dev_all() argument
35 xenstore_write_str(fe, "backend", be); in xen_config_dev_all()
38 xenstore_write_str(be, "domain", qemu_name ? qemu_name : "no-name"); in xen_config_dev_all()
39 xenstore_write_int(be, "online", 1); in xen_config_dev_all()
40 xenstore_write_int(be, "state", XenbusStateInitialising); in xen_config_dev_all()
41 xenstore_write_int(be, "frontend-id", xen_domid); in xen_config_dev_all()
42 xenstore_write_str(be, "frontend", fe); in xen_config_dev_all()
[all …]
/openbmc/qemu/chardev/
H A Dchar-fe.c33 int qemu_chr_fe_write(CharBackend *be, const uint8_t *buf, int len) in qemu_chr_fe_write() argument
35 Chardev *s = be->chr; in qemu_chr_fe_write()
44 int qemu_chr_fe_write_all(CharBackend *be, const uint8_t *buf, int len) in qemu_chr_fe_write_all() argument
46 Chardev *s = be->chr; in qemu_chr_fe_write_all()
55 int qemu_chr_fe_read_all(CharBackend *be, uint8_t *buf, int len) in qemu_chr_fe_read_all() argument
57 Chardev *s = be->chr; in qemu_chr_fe_read_all()
98 int qemu_chr_fe_ioctl(CharBackend *be, int cmd, void *arg) in qemu_chr_fe_ioctl() argument
100 Chardev *s = be->chr; in qemu_chr_fe_ioctl()
112 int qemu_chr_fe_get_msgfd(CharBackend *be) in qemu_chr_fe_get_msgfd() argument
114 Chardev *s = be->chr; in qemu_chr_fe_get_msgfd()
[all …]
H A Dchar-mux.c131 CharBackend *be = d->backends[mux_nr]; in mux_chr_send_event() local
133 if (be && be->chr_event) { in mux_chr_send_event()
134 be->chr_event(be->opaque, event); in mux_chr_send_event()
203 CharBackend *be = d->backends[m]; in mux_chr_accept_input() local
205 while (be && d->prod[m] != d->cons[m] && in mux_chr_accept_input()
206 be->chr_can_read && be->chr_can_read(be->opaque)) { in mux_chr_accept_input()
207 be->chr_read(be->opaque, in mux_chr_accept_input()
216 CharBackend *be = d->backends[m]; in mux_chr_can_read() local
222 if (be && be->chr_can_read) { in mux_chr_can_read()
223 return be->chr_can_read(be->opaque); in mux_chr_can_read()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling.patch18 +int be;
19 +static uint16_t read16(uint16_t x, int be)
21 + if (be)
26 +static uint32_t read32(uint32_t x, int be)
28 + if (be)
33 +static uint64_t read64(uint64_t x, int be)
35 + if (be)
48 + be = (elf_header->e_ident[EI_DATA] == ELFDATA2MSB);
50 + if (read16(elf_header->e_type, be) != ET_DYN)
54 + read16(elf_header->e_type, be));
[all …]
H A Dldconfig-handle-.dynstr-located-in-separate-segment.patch41 switch (read32(segment->p_type, be))
45 - loadaddr = read32(segment->p_vaddr, be) - read32(segment->p_offset, be);
66 if (read32(dyn_entry->d_tag, be) == DT_STRTAB)
68 - dynamic_strings = (char *) (file_contents + read32(dyn_entry->d_un.d_val, be) - loadaddr);
77 + i < read16(elf_header->e_phnum, be); i++, segment++)
79 + if (read32(segment->p_type, be) == PT_LOAD
80 + && read32(dyn_entry->d_un.d_val, be) >= read32(segment->p_vaddr, be)
81 + && (read32(dyn_entry->d_un.d_val, be) - read32(segment->p_vaddr, be)
82 + < read32(segment->p_filesz, be)))
84 + loadoff = read32(segment->p_vaddr, be) - read32(segment->p_offset, be);
[all …]
H A Dendian-ness_handling_fix.patch28 dynamic_addr = read64(segment->p_offset, be);
29 - dynamic_size = read32(segment->p_filesz, be);
30 + dynamic_size = read64(segment->p_filesz, be);
38 - if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4)
39 + if (!*osversion && read64(segment->p_filesz, be) >= 32 && read64(segment->p_align, be) >= 4)
42 + read64(segment->p_offset, be));
43 - Elf64_Addr size = read32(segment->p_filesz, be);
44 + Elf64_Xword size = read64(segment->p_filesz, be);
46 while (read32(abi_note [0], be) != 4 || read32(abi_note [1], be) != 16
47 || read32(abi_note [2], be) != 1
/openbmc/qemu/include/chardev/
H A Dchar-fe.h58 Chardev *qemu_chr_fe_get_driver(CharBackend *be);
65 bool qemu_chr_fe_backend_connected(CharBackend *be);
72 bool qemu_chr_fe_backend_open(CharBackend *be);
132 void qemu_chr_fe_accept_input(CharBackend *be);
140 void qemu_chr_fe_disconnect(CharBackend *be);
148 int qemu_chr_fe_wait_connected(CharBackend *be, Error **errp);
159 void qemu_chr_fe_set_echo(CharBackend *be, bool echo);
169 void qemu_chr_fe_set_open(CharBackend *be, bool is_open);
179 void qemu_chr_fe_printf(CharBackend *be, const char *fmt, ...)
218 guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
[all …]
/openbmc/qemu/include/crypto/
H A Daes-round.h30 static inline void aesenc_MC(AESState *r, const AESState *st, bool be) in aesenc_MC() argument
33 aesenc_MC_accel(r, st, be); in aesenc_MC()
34 } else if (HOST_BIG_ENDIAN == be) { in aesenc_MC()
51 const AESState *rk, bool be) in aesenc_SB_SR_AK() argument
54 aesenc_SB_SR_AK_accel(r, st, rk, be); in aesenc_SB_SR_AK()
55 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_AK()
72 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK() argument
75 aesenc_SB_SR_MC_AK_accel(r, st, rk, be); in aesenc_SB_SR_MC_AK()
76 } else if (HOST_BIG_ENDIAN == be) { in aesenc_SB_SR_MC_AK()
90 static inline void aesdec_IMC(AESState *r, const AESState *st, bool be) in aesdec_IMC() argument
[all …]
/openbmc/qemu/include/system/
H A Diommufd.h41 bool iommufd_backend_connect(IOMMUFDBackend *be, Error **errp);
42 void iommufd_backend_disconnect(IOMMUFDBackend *be);
44 bool iommufd_backend_alloc_ioas(IOMMUFDBackend *be, uint32_t *ioas_id,
46 void iommufd_backend_free_id(IOMMUFDBackend *be, uint32_t id);
47 int iommufd_backend_map_file_dma(IOMMUFDBackend *be, uint32_t ioas_id,
50 int iommufd_backend_map_dma(IOMMUFDBackend *be, uint32_t ioas_id, hwaddr iova,
52 int iommufd_backend_unmap_dma(IOMMUFDBackend *be, uint32_t ioas_id,
54 bool iommufd_backend_get_device_info(IOMMUFDBackend *be, uint32_t devid,
57 bool iommufd_backend_alloc_hwpt(IOMMUFDBackend *be, uint32_t dev_id,
62 bool iommufd_backend_set_dirty_tracking(IOMMUFDBackend *be, uint32_t hwpt_id,
[all …]
H A Dcryptodev.h285 #define CryptodevSymStatInc(be, op, bytes) do { \ argument
286 be->sym_stat->op##_bytes += (bytes); \
287 be->sym_stat->op##_ops += 1; \
290 #define CryptodevSymStatIncEncrypt(be, bytes) \ argument
291 CryptodevSymStatInc(be, encrypt, bytes)
293 #define CryptodevSymStatIncDecrypt(be, bytes) \ argument
294 CryptodevSymStatInc(be, decrypt, bytes)
296 #define CryptodevAsymStatInc(be, op, bytes) do { \ argument
297 be->asym_stat->op##_bytes += (bytes); \
298 be->asym_stat->op##_ops += 1; \
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/
H A Dbbcontroller.py23 def __init__(self, be): argument
25 self.connection = bb.server.xmlrpcclient._create_server(be.bbaddress,
26 int(be.bbport))[0]
68 be = BuildEnvironment.objects.filter(Q(**kwargs))[0]
69 if be.betype == BuildEnvironment.TYPE_LOCAL:
70 return LocalhostBEController(be)
72 raise Exception("FIXME: Implement BEC for type %s" % str(be.betype))
94 def __init__(self, be): argument
97 self.be = be
/openbmc/qemu/docs/system/
H A Dgeneric-loader.rst15 The loader device allows memory values to be set from the command line. This
16 can be done by following the syntax below::
19 [,data-be=<data-be>][,cpu-num=<cpu-num>]
25 The value to be written to the address. The maximum size of the data
29 The length of the data in bytes. This argument must be included if
32 ``<data-be>``
33 Set to true if the data to be stored on the guest should be written
37 The number of the CPU's address space where the data should be
42 will be parsed as decimal. To use hex values the user should prefix the number
52 The loader device allows the CPU's PC to be set from the command line. This
[all …]
/openbmc/qemu/host/include/i386/host/crypto/
H A Daes-round.h28 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument
33 if (be) { in aesenc_MC_accel()
47 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
52 if (be) { in aesenc_SB_SR_AK_accel()
65 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument
70 if (be) { in aesenc_SB_SR_MC_AK_accel()
82 aesdec_IMC_accel(AESState *ret, const AESState *st, bool be) in aesdec_IMC_accel() argument
86 if (be) { in aesdec_IMC_accel()
98 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument
103 if (be) { in aesdec_ISB_ISR_AK_accel()
[all …]
/openbmc/qemu/hw/vfio/
H A Dcpr-iommufd.c104 static bool vfio_cpr_supported(IOMMUFDBackend *be, Error **errp) in vfio_cpr_supported() argument
106 if (!iommufd_change_process_capable(be)) { in vfio_cpr_supported()
118 IOMMUFDBackend *be = opaque; in iommufd_cpr_pre_save() local
124 if (!iommufd_change_process_capable(be)) { in iommufd_cpr_pre_save()
134 IOMMUFDBackend *be = opaque; in iommufd_cpr_post_load() local
137 if (!iommufd_change_process(be, &local_err)) { in iommufd_cpr_post_load()
156 bool vfio_iommufd_cpr_register_iommufd(IOMMUFDBackend *be, Error **errp) in vfio_iommufd_cpr_register_iommufd() argument
158 Error **cpr_blocker = &be->cpr_blocker; in vfio_iommufd_cpr_register_iommufd()
160 if (!vfio_cpr_supported(be, cpr_blocker)) { in vfio_iommufd_cpr_register_iommufd()
165 vmstate_register(NULL, -1, &iommufd_cpr_vmstate, be); in vfio_iommufd_cpr_register_iommufd()
[all …]
/openbmc/qemu/ui/
H A Dspice-app.c62 ChardevBackend *be = g_new0(ChardevBackend, 1); in OBJECT_DECLARE_TYPE() local
64 be->type = CHARDEV_BACKEND_KIND_SPICEPORT; in OBJECT_DECLARE_TYPE()
65 be->u.spiceport.data = g_new0(ChardevSpicePort, 1); in OBJECT_DECLARE_TYPE()
67 return be; in OBJECT_DECLARE_TYPE()
76 ChardevBackend *be; in vc_chr_open() local
87 be = chr_spice_backend_new(); in vc_chr_open()
88 be->u.spiceport.data->fqdn = fqdn ? in vc_chr_open()
90 vc->parent_open(chr, be, be_opened, errp); in vc_chr_open()
91 qapi_free_ChardevBackend(be); in vc_chr_open()
193 ChardevBackend *be = chr_spice_backend_new(); in spice_app_display_init() local
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcontrol/management/commands/
H A Dchecksettings.py37 for be in BuildEnvironment.objects.all():
38 be.needs_import = False
43 be.sourcedir = os.environ.get('TOASTER_DIR')
46 if len(be.sourcedir) == 0:
49 if not be.sourcedir.startswith("/"):
54 if be.betype == BuildEnvironment.TYPE_LOCAL:
55 be.needs_import = True
59 be.builddir = os.environ.get('TOASTER_DIR')+"/build"
62 if len(be.builddir) == 0:
65 if not be.builddir.startswith("/"):
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/
H A D0001-Adjust-test-expectations-for-ptest.patch18 …wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party i…
19 …wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before loc…
20 …wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local impor…
21 -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before loc…
22 -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local…
23 -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local im…
24 -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before lo…
25 -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be plac…
26 -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before lo…
27 -wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports…
[all …]
/openbmc/qemu/host/include/aarch64/host/crypto/
H A Daes-round.h85 aesenc_MC_accel(AESState *ret, const AESState *st, bool be) in aesenc_MC_accel() argument
89 if (be) { in aesenc_MC_accel()
101 const AESState *rk, bool be) in aesenc_SB_SR_AK_accel() argument
106 if (be) { in aesenc_SB_SR_AK_accel()
118 const AESState *rk, bool be) in aesenc_SB_SR_MC_AK_accel() argument
123 if (be) { in aesenc_SB_SR_MC_AK_accel()
134 aesdec_IMC_accel(AESState *ret, const AESState *st, bool be) in aesdec_IMC_accel() argument
138 if (be) { in aesdec_IMC_accel()
150 const AESState *rk, bool be) in aesdec_ISB_ISR_AK_accel() argument
155 if (be) { in aesdec_ISB_ISR_AK_accel()
[all …]
/openbmc/u-boot/doc/
H A DREADME.POST17 Also, standalone POST tests shall be supported.
28 2) The results of tests shall be saved so that it will be possible to
31 3) The following POST tests shall be developed for MPC823E-based
45 4) The LWMON board shall be used for reference.
50 The whole project can be divided into two independent tasks:
56 A new optional module will be added to U-Boot, which will run POST
61 The list of available POST tests will be configured at U-Boot build
63 tests. All POST tests will be divided into the following groups:
73 time and can be run on the regular basis (e.g. CPU test)
78 and cannot be run regularly (e.g. strong memory test, I2C test)
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/expect/expect/
H A D0001-configure.in.patch13 - AC_MSG_ERROR([Expect can't be cross compiled])
22 - AC_MSG_ERROR([Expect can't be cross compiled])
33 -, AC_MSG_WARN([Expect can't be cross compiled])
43 - AC_MSG_ERROR([Expect can't be cross compiled])
54 - AC_MSG_ERROR([Expect can't be cross compiled])
65 - AC_MSG_ERROR([Expect can't be cross compiled])
76 - AC_MSG_ERROR([Expect can't be cross compiled])
85 - AC_MSG_ERROR([Expect can't be cross compiled])
94 - AC_MSG_ERROR([Expect can't be cross compiled])
103 - AC_MSG_ERROR([Expect can't be cross compiled])
/openbmc/docs/designs/
H A Dguard-on-bmc.md6 the system downtime can be prevented by isolating the faulty components. This
8 The defective components can be kept isolated until a replacement. Most of the
9 actions required to isolate the parts will be dependant on the architecture and
31 them out of service. The list of faulty but guarded components can be stored in
33 record or manage the record will be decided by the respective component. Some of
35 the fans can be managed by the fan control application, or the guard on the
36 power components can be managed by the power management application.
38 These records will be created when an error is encountered on an element that
39 can be isolated. The decision to create a record is based on the type of error,
42 is named as Guard Record. The guard record will be deleted after a repair action
[all …]
/openbmc/bmcweb/
H A DDEVELOPING.md7 As OpenBMC is intended to be deployed on an embedded system, care should be
13 - Application startup time should be less than 1 second on target hardware
18 Care should be taken to ensure that all code is written to be asynchronous in
21 should be avoided if possible, and instead use async tasks within boost::asio.
25 Secure coding practices should be followed in all places in the webserver
29 - All buffer boundaries must be checked before indexing or using values
30 - All pointers and iterators must be checked for null before dereferencing
31 - All input from outside the application is considered untrusted, and should be
35 - Where applicable, noexcept methods should be preferred to methods that use
37 - Explicitly bounded types should be preferred over implicitly bounded types
[all …]
/openbmc/pldm/tools/fw-update/
H A DREADME.md25 - Provide name for the PLDM FW update package, output will be written to a file
28 - The file path of at least one image file must be provided
29 - In case there are more than one images, they should be specified in the _same
35 Some fields corresponding to the PLDM firmware update package must be specified
38 PLDM firmware update package has to be generated - one or more platform specific
39 metadata JSON files can be reused. The key names used in the metadata JSON
50 - whether those fields need to be specified in the JSON, or are generated by the
58 - PackageHeaderIdentifier: Supported, must be specified in metadata file
59 - PackageHeaderFormatRevision: Supported, must be specified in metadata file
70 - PackageVersionString: Supported, must be specified in metadata file
[all …]

12345678910>>...169