Home
last modified time | relevance | path

Searched +full:null +full:- +full:delimited (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/qemu/include/qemu/
H A Doption.h4 * Copyright (c) 2003-2008 Fabrice Bellard
33 * @p: a pointer to the option name, delimited by commas
34 * @value: a non-NULL pointer that will received the delimited options
37 * the delimited options.
51 QEMU_OPT_STRING = 0, /* no parsing (use string as-is) */
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/VirtualMedia/
H A DLegacy.interface.yaml6 - name: Mount
10 - name: ImageURL
15 - name: ReadWrite
17 description: False if the image should be read-only.
18 - name: FileDescriptor
21 File descriptor of named pipe used for passing null-delimited
23 pass `-1` should be passed as `INT`.
25 - name: Status
29 - xyz.openbmc_project.Common.Error.InternalFailure
31 - name: Unmount
[all …]
/openbmc/u-boot/common/eeprom/
H A Deeprom_field.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2009-2016 CompuLab, Ltd.
17 int from = reverse ? field->size - 1 : 0; in __eeprom_field_print_bin()
18 int to = reverse ? 0 : field->size - 1; in __eeprom_field_print_bin()
20 printf(PRINT_FIELD_SEGMENT, field->name); in __eeprom_field_print_bin()
21 for (i = from; i != to; reverse ? i-- : i++) in __eeprom_field_print_bin()
22 printf("%02x%s", field->buf[i], delimiter); in __eeprom_field_print_bin()
24 printf("%02x\n", field->buf[i]); in __eeprom_field_print_bin()
31 int k, j, i = reverse ? len - 1 : 0; in __eeprom_field_update_bin()
36 if (len > field->size * 2) in __eeprom_field_update_bin()
[all …]
/openbmc/openbmc/poky/scripts/
H A Doe-git-proxy3 # oe-git-proxy is a simple tool to be via GIT_PROXY_COMMAND. It uses socat
7 # It uses NO_PROXY to skip using the proxy for a comma delimited list of
17 # SPDX-License-Identifier: GPL-2.0-only
23 set -f
25 if [ $# -lt 2 -o "$1" = '--help' -o "$1" = '-h' ] ; then
26 echo 'oe-git-proxy: error: the following arguments are required: host port'
27 echo 'Usage: oe-git-proxy host port'
29 echo 'OpenEmbedded git-proxy - a simple tool to be used via GIT_PROXY_COMMAND.'
32 echo 'It uses NO_PROXY to skip using the proxy for a comma delimited list'
41 echo ' -h, --help show this help message and exit'
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qga.c24 g_assert(s != -1); in connect_qga()
31 if (ret == -1) { in connect_qga()
36 return -1; in connect_qga()
38 } while (ret == -1); in connect_qga()
48 g_main_loop_quit(fixture->loop); in qga_watch()
55 GError *error = NULL; in fixture_setup()
56 g_autofree char *cwd = NULL; in fixture_setup()
57 g_autofree char *path = NULL; in fixture_setup()
58 g_autofree char *cmd = NULL; in fixture_setup()
59 g_auto(GStrv) argv = NULL; in fixture_setup()
[all …]
/openbmc/linux/Documentation/trace/
H A Dkprobetrace.rst2 Kprobe-based Event Tracing
8 --------
9 These events are similar to tracepoint-based events. Instead of tracepoints,
13 Unlike the tracepoint-based event, this can be added and removed
28 -------------------------
34 -:[GRP/][EVENT] : Clear a probe
50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
56 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4)
67 (\*4) "u" means user-space dereference. See :ref:`user_mem_access`.
72 -----
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_bp.c8 * Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved.
42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype()
45 return kdb_rwtypes[bp->bp_type]; in kdb_bptype()
53 bp->bph_length = 1; in kdb_parsebp()
56 bp->bp_type = BP_ACCESS_WATCHPOINT; in kdb_parsebp()
58 bp->bp_type = BP_WRITE_WATCHPOINT; in kdb_parsebp()
60 bp->bp_type = BP_HARDWARE_BREAKPOINT; in kdb_parsebp()
64 bp->bph_length = 1; in kdb_parsebp()
80 bp->bph_length = len; in kdb_parsebp()
95 if (!bp->bp_installed) in _kdb_bp_remove()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-init.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2017 The Chromium OS Authors <chromium-os-dev@chromium.org>
12 #include <linux/device-mapper.h>
28 …* Format: dm-mod.create=<name>,<uuid>,<minor>,<flags>,<table>[,<table>+][;<name>,<uuid>,<minor>,<f…
31 * dm-mod.waitfor=<device1>[,..,<deviceN>]
33 * See Documentation/admin-guide/device-mapper/dm-init.rst for dm-mod.create="..." format
48 "snapshot-origin",
61 return -EINVAL; in dm_verify_target_type()
70 list_del(&dev->list); in dm_setup_cleanup()
71 for (i = 0; i < dev->dmi.target_count; i++) { in dm_setup_cleanup()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dvar_funcs.py40 The print-out of the resulting var dictionary is:
288 headers[0][0]: content-length
291 headers[1][0]: x-xss-protection
301 [content-length]: 559
302 [x-xss-protection]: 1; mode=block
304 Another example containing a sub-list (see process_indent description below):
313 …Note that the 2 qualifications for containing a sub-list are met: 1) 'Additional Device Support' h…
328 …process_indent This indicates that indented sub-dictionaries and sub-lists are to…
329 … processed as such. An entry may have a sub-dict or sub-list if 1) It has
354 parent_indent = len(key_value_list[0]) - len(key_value_list[0].lstrip())
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DPort.v1_15_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
19 "null",
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
43 "longDescription": "This type shall contain CXL-specific properties for a port.",
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
52 "null",
65 "type": "null"
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DPort.v1_15_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
19 "null",
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
43 "longDescription": "This type shall contain CXL-specific properties for a port.",
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
52 "null",
65 "type": "null"
[all …]
H A DOperatingSystem.v1_0_2.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
19 "null",
28 "description": "The available OEM-specific actions for this resource.",
29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
39 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
46 "null",
55 "format": "uri-reference",
59 "null"
[all …]
/openbmc/linux/fs/afs/
H A Daddr_list.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <keys/rxrpc-type.h>
21 if (alist && refcount_dec_and_test(&alist->usage)) in afs_put_addrlist()
42 return NULL; in afs_alloc_addrlist()
44 refcount_set(&alist->usage, 1); in afs_alloc_addrlist()
45 alist->max_addrs = nr; in afs_alloc_addrlist()
48 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist()
49 srx->srx_family = AF_RXRPC; in afs_alloc_addrlist()
50 srx->srx_service = service; in afs_alloc_addrlist()
51 srx->transport_type = SOCK_DGRAM; in afs_alloc_addrlist()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/nasm/nasm/
H A D0002-Add-debug-prefix-map-option.patch3 Date: Tue, 19 Nov 2019 13:12:17 -0600
4 Subject: [PATCH] Add --debug-prefix-map option
7 analogous to the "-fdebug-prefix-map" option in GCC, and allows files to
10 Upstream-Status: Submitted [https://bugzilla.nasm.us/show_bug.cgi?id=3392635]
11 Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
13 ---
18 output/outas86.c | 4 +++-
19 output/outcoff.c | 4 ++--
20 output/outelf.c | 13 ++++++++-----
21 output/outieee.c | 2 +-
[all …]
/openbmc/qemu/qobject/
H A Djson-parser.c10 * See the COPYING.LIB file in the top-level directory.
25 #include "json-parser-int.h"
63 if (ctxt->err) { in parse_error()
69 error_setg(&ctxt->err, "JSON parse error, %s", message); in parse_error()
79 return -1; in cvt4hex()
83 cp |= s[i] - '0'; in cvt4hex()
85 cp |= 10 + s[i] - 'a'; in cvt4hex()
87 cp |= 10 + s[i] - 'A'; in cvt4hex()
89 return -1; in cvt4hex()
113 * quotation-mark = %x22 ; "
[all …]
H A Djson-lexer.c10 * See the COPYING.LIB file in the top-level directory.
15 #include "json-parser-int.h"
28 * begin-array = ws %x5B ws ; [ left square bracket
29 * begin-object = ws %x7B ws ; { left curly bracket
30 * end-array = ws %x5D ws ; ] right square bracket
31 * end-object = ws %x7D ws ; } right curly bracket
32 * name-separator = ws %x3A ws ; : colon
33 * value-separator = ws %x2C ws ; , comma
48 * false null true
49 * [This lexer accepts [a-z]+, and leaves rejecting unknown literal
[all …]
/openbmc/linux/drivers/parisc/
H A Dpdc_stable.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2005-2006 Thibaut VARENE <varenet@parisc-linux.org>
14 * all) PA-RISC machines should have them. Anyway, for safety reasons, the
19 * Anything above 224 bytes is used for 'osdep2' OS-dependent storage area.
21 * The first OS-dependent area should always be available. Obviously, this is
24 * NOTE: We do not handle the 2 bytes OS-dep area at 0x5D, nor the first
26 * sacrificed: -ETOOLAZY :P
29 * - write: root only
30 * - read: (reading triggers PDC calls) ? root only : everyone
34 * - timer/fastsize write calls
[all …]
/openbmc/linux/tools/perf/util/
H A Ddata-convert-json.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "data-convert.h"
31 #include <traceevent/event-parse.h>
41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped.
96 // Outputs a JSON key-value pair where the value is a string.
106 // Outputs a JSON key-value pair where the value is a printf format string.
125 FILE *out = c->out; in output_sample_callchain_entry()
130 if (al && al->sym && al->sym->namelen) { in output_sample_callchain_entry()
131 struct dso *dso = al->map ? map__dso(al->map) : NULL; in output_sample_callchain_entry()
134 output_json_key_string(out, false, 5, "symbol", al->sym->name); in output_sample_callchain_entry()
[all …]
/openbmc/linux/include/sound/
H A Dcore.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Copyright (c) 1994-2001 by Jaroslav Kysela <perex@perex.cz>
23 #define SNDRV_CARDS 8 /* don't change - minor numbers */
90 char components[128]; /* card components delimited with
92 struct module *module; /* top-level module */
155 return READ_ONCE(card->power_state); in snd_power_get_state()
160 WRITE_ONCE(card->power_state, state); in snd_power_change_state()
161 wake_up(&card->power_sleep); in snd_power_change_state()
165 * snd_power_ref - Take the reference count for power control
174 atomic_inc(&card->power_ref); in snd_power_ref()
[all …]
/openbmc/linux/mm/
H A Dvmpressure.c1 // SPDX-License-Identifier: GPL-2.0-only
27 * rate-limit tunable for the "low" level notification, and also for
58 * prio <= DEF_PRIORITY - 2 : kswapd becomes somewhat overwhelmed
81 return NULL; in vmpressure_parent()
140 pressure = scale - (reclaimed * scale / scanned); in vmpressure_calc_level()
164 mutex_lock(&vmpr->events_lock); in vmpressure_event()
165 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event()
166 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event()
168 if (signalled && ev->mode == VMPRESSURE_NO_PASSTHROUGH) in vmpressure_event()
170 if (level < ev->level) in vmpressure_event()
[all …]
/openbmc/linux/kernel/rcu/
H A Dtasks.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Task-based RCU implementations.
24 * struct rcu_tasks_percpu - Per-CPU component of definition for a Tasks-RCU-like mechanism.
26 * @lock: Lock protecting per-CPU callback list.
29 * @urgent_gp: Number of additional non-lazy grace periods.
30 * @rtp_n_lock_retries: Rough lock-contention statistic.
58 * struct rcu_tasks - Definition for a Tasks-RCU-like mechanism.
61 * @tasks_gp_mutex: Mutex protecting grace period, needed during mid-boot dead zone.
62 * @gp_func: This flavor's grace-period-wait function.
64 * @gp_sleep: Per-grace-period sleep to prevent CPU-bound looping.
[all …]
/openbmc/linux/drivers/media/usb/go7007/
H A Dgo7007-driver.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005-2006 Micronas USA Inc.
22 #include <media/v4l2-common.h>
23 #include <media/v4l2-event.h>
25 #include "go7007-priv.h"
35 go->interrupt_available = 0; in go7007_read_interrupt()
36 go->hpi_ops->read_interrupt(go); in go7007_read_interrupt()
37 if (wait_event_timeout(go->interrupt_waitq, in go7007_read_interrupt()
38 go->interrupt_available, 5*HZ) < 0) { in go7007_read_interrupt()
39 v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); in go7007_read_interrupt()
[all …]
/openbmc/linux/Documentation/cdrom/
H A Dcdrom-standard.rst2 A Linux CD-ROM standard
14 Linux is probably the Unix-like operating system that supports
18 - The large list of hardware devices available for the many platforms
19 that Linux now supports (i.e., i386-PCs, Sparc Suns, etc.)
20 - The open design of the operating system, such that anybody can write a
22 - There is plenty of source code around as examples of how to write a driver.
29 This divergence of behavior has been very significant for CD-ROM
32 their drivers totally inconsistent, the writers of Linux CD-ROM
35 maintain uniform behavior across all the Linux CD-ROM drivers.
38 all the different CD-ROM device drivers for Linux. This document also
[all …]
/openbmc/linux/drivers/firmware/
H A Dqemu_fw_cfg.c7 * sysfs (read-only, under "/sys/firmware/qemu_fw_cfg/...").
46 /* fw_cfg revision attribute, in /sys/firmware/qemu_fw_cfg top-level dir. */
80 u32 ctrl = be32_to_cpu(READ_ONCE(d->control)); in fw_cfg_wait_for_control()
82 /* do not reorder the read to d->control */ in fw_cfg_wait_for_control()
94 struct fw_cfg_dma_access *d = NULL; in fw_cfg_dma_transfer()
99 ret = -ENOMEM; in fw_cfg_dma_transfer()
119 if (be32_to_cpu(READ_ONCE(d->control)) & FW_CFG_DMA_CTL_ERROR) { in fw_cfg_dma_transfer()
120 ret = -EIO; in fw_cfg_dma_transfer()
130 /* read chunk of given fw_cfg blob (caller responsible for sanity-check) */
134 u32 glk = -1U; in fw_cfg_read_blob()
[all …]
/openbmc/docs/designs/
H A Dvirtual-media.md17 system. This document focuses on few redirection options, like in-browser
22 - Virtual Media is going to use Network Block Device as primary disk image
24 - NBDkit is being used, to serve images from remote storages over HTTPS/CIFS.
36 - Proxy mode - works directly from browser and uses JavaScript/HTML5 to
39 - Legacy mode - is initiated from browser using Redfish defined VirtualMedia
46 The component diagram below shows Virtual Media high-level overview
49 +------------------+ +----------------------------------+ +-----------------------+
50 |Remote Device| | |BMC| +------------+ | |HOST| |
51 +-------------/ | +---/ +--Dbus----->+VirtualMedia| | +----/ |
52 | | | v +------------+ | | |
[all …]

123