/openbmc/phosphor-bmc-code-mgmt/common/include/ |
H A D | software_manager.hpp | 6 #include <phosphor-logging/lg2.hpp> 9 #include <sdbusplus/async/context.hpp> 25 SoftwareManager(sdbusplus::async::context& ctx, 32 sdbusplus::async::task<> initDevices( 49 virtual sdbusplus::async::task<bool> initDevice(const std::string& service, 53 sdbusplus::async::context& ctx; 61 // this is appended to the common prefix to construct the dbus name
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | exception.hpp | 3 #include <systemd/sd-bus.h> 38 // properly emitted when `-flto=auto` is used, which is the default in 50 /** Non-templated base for all new errors and events created by the sdbus++ 54 virtual auto to_json() const -> nlohmann::json = 0; 104 SdBusError(int error, const char* prefix, 106 SdBusError(int error, std::string&& prefix, 109 SdBusError(sd_bus_error* error, const char* prefix, 130 * error and the passed in prefix. */ 131 void populateMessage(std::string&& prefix); 191 "An async Sender failed to handle a stop condition."; [all …]
|
/openbmc/linux/Documentation/netlink/ |
H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 36 uapi-header: 37 description: Path to the uAPI header, default is linux/${family-name}.h 51 description: For C-compatible languages, header which already defines this value. [all …]
|
H A D | genetlink-c.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 35 enum: [ genetlink, genetlink-c ] 36 uapi-header: 37 description: Path to the uAPI header, default is linux/${family-name}.h [all …]
|
H A D | genetlink-legacy.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim 36 uapi-header: 37 description: Path to the uAPI header, default is linux/${family-name}.h [all …]
|
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 31 enum: [ netlink-raw ] # Trim 32 # Start netlink-raw 34 description: Protocol number to use for netlink-raw [all …]
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | open_flags.c | 1 // SPDX-License-Identifier: LGPL-2.1 27 const char *prefix = "O_"; in open__scnprintf_flags() local 31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags() 36 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags() 42 P_FLAG(ASYNC); in open__scnprintf_flags() 63 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags() 75 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in open__scnprintf_flags() 82 int flags = arg->val; in syscall_arg__scnprintf_open_flags() 85 arg->mask |= 1 << (arg->idx + 1); /* Mask the mode parm */ in syscall_arg__scnprintf_open_flags() 87 return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_open_flags()
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | util.py | 28 # -------------------------- 30 # -------------------------- 33 async def flush(writer: asyncio.StreamWriter) -> None: 38 the "high-water mark". This function ensures we flush the entire 39 buffer -- by setting the high water mark to 0 and then calling 43 transport = cast( # type: ignore[redundant-cast] 56 def upper_half(func: T) -> T: 58 Do-nothing decorator that annotates a method as an "upper-half" method. 60 These methods must not call bottom-half functions directly, but can 66 def bottom_half(func: T) -> T: [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/pseudo/ |
H A D | pseudo.inc | 3 # BBFETCH2=True PSEUDO_BUILD=1 ../bitbake/bin/bitbake pseudo-native [-c CMD] 10 LICENSE = "LGPL-2.1-only" 13 FILES:${PN} = "${prefix}/lib/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}… 15 INSANE_SKIP:${PN}-dbg += "libdir" 20 MAKEOPTS:class-native = "'RPATH=-Wl,--rpath=XORIGIN/../../../sqlite3-native/usr/lib/'" 29 NO32LIBS:class-nativesdk = "1" 31 PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback --enable-epoll --enable-xattr" 36 …--prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib${SITEINFO_BITS} --with-sqlite-lib=${baselib} … 38 …--prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite-lib=${baselib} --with-sqlite=${… 45 # We probably don't need to build 32-bit binaries. [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | mainloop.hpp | 33 * @brief hwmon-readd main application loop. 47 * @param[in] bus - sdbusplus bus client connection. 48 * @param[in] param - the path parameter provided 49 * @param[in] path - hwmon sysfs instance to manage 50 * @param[in] devPath - physical device sysfs path. 51 * @param[in] prefix - DBus busname prefix. 52 * @param[in] root - DBus sensors namespace root. 53 * @param[in] instanceId - override value to identify instance on d-bus. 59 * the format <prefix>.hwmon<n>. 63 const char* prefix, const char* root, [all …]
|
/openbmc/qemu/include/exec/ |
H A D | cpu-common.h | 6 * SPDX-License-Identifier: LGPL-2.1+ 16 #include "tcg/debug-assert.h" 17 #include "exec/page-protection.h" 19 #define EXCP_INTERRUPT 0x10000 /* async interruption */ 24 #define EXCP_ATOMIC 0x10005 /* stop-the-world and emulate atomic */ 117 * @prefix: prefix to be used as name of address space 122 * convenience pointer cpu->as. 123 * The target-specific code which registers ASes is responsible 127 * cpu->num_ases to the total number of address spaces it needs 133 const char *prefix, MemoryRegion *mr); [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/openssl/ |
H A D | openssl_3.4.0.bb | 7 LICENSE = "Apache-2.0" 10 SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ 11 file://run-ptest \ 12 file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \ 13 file://0001-Configure-do-not-tweak-mips-cflags.patch \ 14 file://0001-Added-handshake-history-reporting-when-test-fails.patch \ 15 file://0001-Fix-builds-on-riscv64-using-musl.patch \ 18 SRC_URI:append:class-nativesdk = " \ 19 file://environment.d-openssl.sh \ 25 MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash" [all …]
|
/openbmc/linux/fs/ |
H A D | fs_context.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 { "async", SB_SYNCHRONOUS }, 67 fc->sb_flags |= token; in vfs_parse_sb_flag() 68 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 74 fc->sb_flags &= ~token; in vfs_parse_sb_flag() 75 fc->sb_flags_mask |= token; in vfs_parse_sb_flag() 79 return -ENOPARAM; in vfs_parse_sb_flag() 83 * vfs_parse_fs_param_source - Handle setting "source" via parameter 90 * Returns 0 on success, -ENOPARAM if this is not "source" parameter, and 91 * -EINVAL otherwise. In the event of failure, supplementary error information [all …]
|
/openbmc/linux/drivers/android/ |
H A D | binder_alloc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2017 Google, Inc. 52 return list_entry(buffer->entry.next, struct binder_buffer, entry); in binder_buffer_next() 57 return list_entry(buffer->entry.prev, struct binder_buffer, entry); in binder_buffer_prev() 63 if (list_is_last(&buffer->entry, &alloc->buffers)) in binder_alloc_buffer_size() 64 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size() 65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size() 71 struct rb_node **p = &alloc->free_buffers.rb_node; in binder_insert_free_buffer() 77 BUG_ON(!new_buffer->free); in binder_insert_free_buffer() 83 alloc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer() [all …]
|
H A D | binder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2008 Google, Inc. 15 * 1) proc->outer_lock : protects binder_ref 18 * 2) node->lock : protects most fields of binder_node. 21 * 3) proc->inner_lock : protects the thread and node lists 22 * (proc->threads, proc->waiting_threads, proc->nodes) 24 * (proc->todo, thread->todo, proc->delivered_death and 25 * node->async_todo), as well as thread->transaction_stack 35 * foo_olocked() : requires node->outer_lock 36 * foo_nlocked() : requires node->lock [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/pysh/ |
H A D | pyshyacc.py | 1 # pyshyacc.py - PLY grammar definition for pysh 123 #------------------------------------------------------------------------------- 125 #------------------------------------------------------------------------------- 143 p[0] = ('async', p[1]) 154 # raise NotImplementedError('AND-OR list asynchronous execution is not implemented') 244 p[0] = ['term', ('async', p[1][1:])] + [p[3]] 463 prefix = get_production(p[1:], 'cmd_prefix') 465 prefix = ['cmd_prefix'] 472 p[0] = prefix + [value] 679 #------------------------------------------------------------------------------- [all …]
|
/openbmc/qemu/backends/ |
H A D | hostmem.c | 4 * Copyright (C) 2013-2014 Red Hat Inc 10 * See the COPYING file in the top-level directory. 17 #include "qapi/qapi-builtin-visit.h" 19 #include "qemu/config-file.h" 21 #include "qemu/mmap-alloc.h" 24 #include "hw/qdev-core.h" 42 if (!backend->use_canonical_path) { in host_memory_backend_get_name() 54 uint64_t value = backend->size; in host_memory_backend_get_size() 81 backend->size = value; in host_memory_backend_set_size() 93 value = find_first_bit(backend->host_nodes, MAX_NODES); in host_memory_backend_get_host_nodes() [all …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 67 ---------------------- 85 -------------------------- 101 ------------------- [all …]
|
/openbmc/linux/Documentation/driver-api/firmware/ |
H A D | fallback-mechanisms.rst | 97 important to re-iterate that no device is created if a direct filesystem lookup 113 ----------------------- 114 .. kernel-doc:: drivers/base/firmware_loader/fallback.c 153 * ASYNC=whether or not the API request was asynchronous 171 in non-traditional paths -- paths outside of the listing documented in the 184 the uevent flag means you want to opt-in for the firmware fallback mechanism 196 The logic behind using MAX_JIFFY_OFFSET for non-uevents is that a custom 212 the peripheral's Linux device-driver needs to access this firmware. 222 .. kernel-doc:: include/linux/efi_embedded_fw.h 225 The EFI embedded-fw code works by scanning all EFI_BOOT_SERVICES_CODE memory [all …]
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | nlspec.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 37 self.ident_name = self.name.replace('-', '_') 119 value_start = self.yaml.get('value-start', 0) 166 self.is_multi = yaml.get('multi-attr', False) 168 self.sub_type = yaml.get('sub-type') 169 self.byte_order = yaml.get('byte-order') 171 self.display_hint = yaml.get('display-hint') 190 self.subset_of = self.yaml.get('subset-of', None) 244 self.byte_order = yaml.get('byte-order') 247 self.display_hint = yaml.get('display-hint') [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | fw_cfg.rst | 5 Guest-side Hardware Interface 15 --------------------------- 19 * Width: 16-bit 20 * Endianness: little-endian (if IOport), or big-endian (if MMIO) 34 the selector value is between 0x4000-0x7fff or 0xc000-0xffff. 38 longer supported, and will be ignored (treated as no-ops)! 49 items are accessed with a selector value between 0x0000-0x7fff, and 51 value between 0x8000-0xffff. 54 ------------- 58 * Width: 8-bit (if IOport), 8/16/32/64-bit (if MMIO) [all …]
|
/openbmc/linux/tools/net/ynl/ |
H A D | ynl-gen-c.py | 2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 16 return name.upper().replace('-', '_') 20 return name.lower().replace('-', '_') 25 return 'ys->family_id' 30 … return f"mnl_cb_run2(ys->rx_buf, len, 0, 0, {cb}, {data},{ind}ynl_cb_array, NLMSG_MIN_TYPE)" 32 return f"mnl_cb_run2(ys->rx_buf, len, ys->seq, ys->portid,{ind}{cb}, {data},{ind}" + \ 47 if 'nested-attributes' in attr: 48 self.nested_attrs = attr['nested-attributes'] 68 if 'name-prefix' in self.attr: 69 enum_name = f"{self.attr['name-prefix']}{self.name}" [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | ipmid-new.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 #include <host-cmd-manager.hpp> 26 #include <ipmid-host/cmd.hpp> 32 #include <phosphor-logging/lg2.hpp> 139 // check for valid NetFn: even; 00-0Ch, 30-3Eh in registerHandler() 231 ipmi::Cc cc = filter->call(request); in filterIpmiCommand() 244 // filter the command first; a non-null message::Response::ptr in executeIpmiCommandCommon() 248 Cmd cmd = request->ct in executeIpmiCommandCommon() 303 ipmi::message::Payload prefix; executeIpmiGroupCommand() local 323 ipmi::message::Payload prefix; executeIpmiOemCommand() local [all...] |
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-4.3.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 7 ------------------------------------ 12 .. _migration-4.3-supported-kernel-versions: 29 .. _migration-4.3-layername-override: 35 :term:`FILE_LAYERNAME` variable and the ``layer-<layername> override``. This is being used 38 from other layers - for example, patches added through such bbappends will now 39 need to have the "Upstream-Status" specified in the patch header. 41 .. _migration-4.3-compiling-changes: 46 - Code on 32 bit platforms is now compiled with largefile support and 64 50 .. _migration-4.3-supported-distributions: [all …]
|
/openbmc/linux/mm/ |
H A D | internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 14 #include <linux/tracepoint-defs.h> 62 #define FOLIO_PAGES_MAPPED (COMPOUND_MAPPED - 1) 76 return atomic_read(&folio->_nr_pages_mapped) & FOLIO_PAGES_MAPPED; in folio_nr_pages_mapped() 81 unsigned long mapping = (unsigned long)folio->mapping; in folio_raw_mapping() 87 * This is a file-backed mapping, and is about to be memory mapped - invoke its 108 vma->vm_ops = &vma_dummy_vm_ops; in mmap_file() 120 if (vma->vm_ops && vma->vm_ops->close) { in vma_close() 121 vma->vm_ops->close(vma); in vma_close() 127 vma->vm_ops = &vma_dummy_vm_ops; in vma_close() [all …]
|