| /openbmc/webui-vue/ |
| H A D | package-lock.json | 2 "name": "webui-vue", 3 "version": "0.1.0", string 8 "name": "webui-vue", 9 "version": "0.1.0", string 11 "@carbon/icons-vue": "10.49.1", 14 "@vue/vue3-jest": "27.0.0", 18 "axios-cache-interceptor": "1.5.1", 20 "bootstrap-vue": "2.23.1", 21 "core-js": "3.23.4", 22 "date-fns": "2.28.0", [all …]
|
| H A D | package.json | 2 "name": "webui-vue", 3 "version": "0.1.0", string 5 "description": "OpenBMC Web UI using the Vue.js front-end framework", 7 "serve": "check-node-version --package && vue-cli-service serve --mode development", 8 "build": "check-node-version --package && vue-cli-service build", 9 "test:unit": "vue-cli-service test:unit", 10 … "test:unit:debugger": "node --inspect-brk ./node_modules/jest/bin/jest.js --no-cache --runInBand", 11 "test:update": "vue-cli-service test:unit -u", 12 "lint": "vue-cli-service lint", 15 …"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/… [all …]
|
| /openbmc/u-boot/scripts/dtc/ |
| H A D | dtc.h | 10 * published by the Free Software Foundation; either version 2 of the 11 * License, or (at your option) any later version. 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 60 extern int auto_label_aliases; /* auto generate labels -> aliases */ 73 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) 99 for (; (m); (m) = (m)->next) 102 if ((m)->type == (t)) 154 struct node { struct 158 struct node *children; argument 160 struct node *parent; argument [all …]
|
| /openbmc/qemu/hw/hyperv/ |
| H A D | hv-balloon-page_range_tree.c | 2 * QEMU Hyper-V Dynamic Memory Protocol driver 4 * Copyright (C) 2020-2023 Oracle and/or its affiliates. 6 * This work is licensed under the terms of the GNU GPL, version 2 or later. 7 * See the COPYING file in the top-level directory. 11 #include "hv-balloon-internal.h" 12 #include "hv-balloon-page_range_tree.h" 16 * too recent Glib version until GLIB_VERSION_MAX_ALLOWED finally reaches 17 * the Glib version with this API 19 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 29 return -1; in page_range_tree_key_compare() [all …]
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | jffs2_nand_1pass.c | 43 static char spinner[] = { '|', '/', '-', '\\' }; 55 while (list->listMemBase != NULL) { in free_nodes() 56 struct mem_block *next = list->listMemBase->next; in free_nodes() 57 free(list->listMemBase); in free_nodes() 58 list->listMemBase = next; in free_nodes() 69 memBase = list->listMemBase; in add_node() 71 index = memBase->index; in add_node() 80 memBase->next = list->listMemBase; in add_node() 84 b = (struct b_node *)&memBase->nodes[size * index]; in add_node() 87 memBase->index = index; in add_node() [all …]
|
| H A D | summary.h | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 33 __u16 nodetype; /* node type */ 38 __u16 nodetype; /* node type */ 40 __u32 version; /* inode version */ member 51 __u32 version; /* dirent version */ member 62 __u32 version; /* version number */ member 64 __u32 totlen; /* node length */ [all …]
|
| H A D | jffs2_1pass.c | 2 ------------------------------------------------------------------------- 4 * Version: $Id: jffs2_1pass.c,v 1.7 2002/01/25 01:56:47 nyet Exp $ 8 *-----------------------------------------------------------------------*/ 13 * JFFS2 -- Journalling Flash File System, Version 2. 23 * License Version 1.1 (the "Licence"); you may not use this file 32 * The Original Code is JFFS2 - Journalling Flash File System, version 2 35 * terms of the GNU General Public License version 2 (the "GPL"), in 37 * above. If you wish to allow the use of your version of this file 39 * version of this file under the RHEPL, indicate your decision by 42 * provisions above, a recipient may use your version of this file [all …]
|
| H A D | jffs2_nand_private.h | 13 u32 version; member 22 u32 version; member 54 hdr_crc(struct jffs2_unknown_node *node) in hdr_crc() argument 57 u32 crc = crc32_no_comp(0, (unsigned char *)node, sizeof(struct jffs2_unknown_node) - 4); in hdr_crc() 60 u32 crc = crc32_no_comp(~0, (unsigned char *)node, sizeof(struct jffs2_unknown_node) - 4); in hdr_crc() 64 if (node->hdr_crc != crc) { in hdr_crc() 72 dirent_crc(struct jffs2_raw_dirent *node) in dirent_crc() argument 74 …if (node->node_crc != crc32_no_comp(0, (unsigned char *)node, sizeof(struct jffs2_raw_dirent) - 8)… in dirent_crc() 82 dirent_name_crc(struct jffs2_raw_dirent *node) in dirent_name_crc() argument 84 if (node->name_crc != crc32_no_comp(0, (unsigned char *)&(node->name), node->nsize)) { in dirent_name_crc() [all …]
|
| /openbmc/qemu/util/ |
| H A D | notify.c | 9 * This work is licensed under the terms of the GNU GPL, version 2. See 10 * the COPYING file in the top-level directory. 12 * Contributions after 2012-01-13 are licensed under the terms of the 13 * GNU GPL, version 2 or (at your option) any later version. 21 QLIST_INIT(&list->notifiers); in notifier_list_init() 26 QLIST_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_list_add() 31 QLIST_REMOVE(notifier, node); in notifier_remove() 38 QLIST_FOREACH_SAFE(notifier, &list->notifiers, node, next) { in notifier_list_notify() 39 notifier->notify(notifier, data); in notifier_list_notify() 45 return QLIST_EMPTY(&list->notifiers); in notifier_list_empty() [all …]
|
| H A D | aio-win32.c | 11 * This work is licensed under the terms of the GNU GPL, version 2. See 12 * the COPYING file in the top-level directory. 14 * Contributions after 2012-01-13 are licensed under the terms of the 15 * GNU GPL, version 2 or (at your option) any later version. 20 #include "qemu/main-loop.h" 26 #include "qemu/error-report.h" 36 QLIST_ENTRY(AioHandler) node; 39 static void aio_remove_fd_handler(AioContext *ctx, AioHandler *node) in aio_remove_fd_handler() argument 47 if (!g_source_is_destroyed(&ctx->source)) { in aio_remove_fd_handler() 48 g_source_remove_poll(&ctx->source, &node->pfd); in aio_remove_fd_handler() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 254 | 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 31 qemu_img_create('-f', iotests.imgfmt, disk, str(size)) 33 vm = iotests.VM().add_drive(disk, opts='node-name=base') 36 vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0') 37 vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap1', 39 vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap2', 45 {'type': 'blockdev-snapshot-sync', 46 'data': {'device': 'drive0', 'snapshot-file': top, 47 'snapshot-node-name': 'snap'}}, [all …]
|
| H A D | 247 | 4 # Test for auto-read-only with commit block job 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 50 echo "=== Try commit to backing file with auto-read-only ===" 60 {"execute":"block-commit", 61 "arguments":{"device":"format-4", "top-node": "format-2", "base-node":"format-0", "job-id":"job0"}} 69 ) | $QEMU -qmp stdio -nographic -nodefaults \ 70 -blockdev file,node-name=file-0,filename=$TEST_IMG.0,auto-read-only=on \ 71 -blockdev $IMGFMT,node-name=format-0,file=file-0,read-only=on \ 72 -blockdev file,node-name=file-1,filename=$TEST_IMG.1,auto-read-only=on \ [all …]
|
| H A D | 133 | 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 44 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 47 echo "=== Check that node-name can't be changed ===" 50 $QEMU_IO -c 'reopen -o node-name=foo' $TEST_IMG 51 $QEMU_IO -c 'reopen -o file.node-name=foo' $TEST_IMG 52 $QEMU_IO -c 'reopen -o backing.node-name=foo' $TEST_IMG 55 echo "=== Check that unchanged node-name is okay ===" 59 $QEMU_IO -c "open -o node-name=foo $TEST_IMG" -c 'reopen -o node-name=foo' 60 $QEMU_IO -c "open -o file.node-name=foo $TEST_IMG" -c 'reopen -o file.node-name=foo' [all …]
|
| H A D | 267 | 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 33 rm -f "$SOCK_DIR/nbd" 44 _require_drivers copy-on-read 48 _unsupported_imgopts 'refcount_bits=1[^0-9]' data_file 50 _require_devices virtio-blk 56 if ! test -t 0; then 62 ) | $QEMU -nographic -monitor stdio -nodefaults "$@" 76 if [ -n "$BACKING_FILE" ]; then 77 _make_test_img -b "$BACKING_FILE" -F $IMGFMT $size [all …]
|
| H A D | 273 | 4 # Test multiple blockdev-snapshot calls with 'backing': null 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 48 $QEMU -nographic -qmp-pretty stdio -nodefaults "$@" 60 TEST_IMG="$TEST_IMG.mid" _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 61 _make_test_img -b "$TEST_IMG.mid" -F $IMGFMT 64 -blockdev file,node-name=base,filename="$TEST_IMG.base" \ 65 -blockdev file,node-name=midf,filename="$TEST_IMG.mid" \ 66 -blockdev '{"driver":"qcow2","node-name":"mid","file":"midf","backing":null}' \ 67 -blockdev file,node-name=topf,filename="$TEST_IMG" \ [all …]
|
| H A D | 246 | 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 33 res = vm.qmp("query-block") 35 .get('dirty-bitmaps', []) for 41 log('--- Preparing image & VM ---\n') 42 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, str(size)) 46 log('--- 1st Boot (Establish Baseline Image) ---\n') 49 log('\n--- Adding bitmaps Small, Medium, Large, and Transient ---\n') 50 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 52 vm.qmp_log("block-dirty-bitmap-add", node="drive0", [all …]
|
| H A D | 234 | 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 21 # Check that block node activation and inactivation works with a block graph 37 iotests.qemu_img_create('-f', iotests.imgfmt, backing_path, '64M') 38 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, '64M') 44 (vm_a.add_blockdev('file,filename=%s,node-name=drive0-file' % (img_path)) 45 .add_blockdev('%s,file=drive0-file,node-name=drive0' % (iotests.imgfmt)) 46 .add_blockdev('file,filename=%s,node-name=drive0-backing-file' % (backing_path)) 47 .add_blockdev('%s,file=drive0-backing-file,node-name=drive0-backing' % (iotests.imgfmt)) 53 (vm_b.add_blockdev('file,filename=%s,node-name=drive0-file' % (img_path)) [all …]
|
| H A D | 208 | 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 22 # blockdev-snapshot-sync. 29 iotests.FilePath('disk-snapshot.img') as disk_snapshot_img_path, \ 34 iotests.qemu_img_create('-f', iotests.imgfmt, disk_img_path, img_size) 37 (vm.add_drive(disk_img_path, 'node-name=drive0-node', interface='none') 41 iotests.log(vm.qmp('nbd-server-start', addr={ 49 iotests.log(vm.qmp('nbd-server-add', device='drive0-node', writable=True)) 52 iotests.log(vm.qmp('blockdev-snapshot-sync', 53 node_name='drive0-node', [all …]
|
| /openbmc/u-boot/fs/ubifs/ |
| H A D | ubifs-media.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2006-2008 Nokia Corporation. 12 * This file describes UBIFS on-flash format and contains definitions of all the 15 * All UBIFS on-flash objects are stored in the form of nodes. All nodes start 16 * with the UBIFS node magic number and have the same common header. Nodes 17 * always sit at 8-byte aligned positions on the media and node header sizes are 18 * also 8-byte aligned (except for the indexing node and the padding node). 24 /* UBIFS node magic number (must not have the padding byte first or last) */ 28 * UBIFS on-flash format version. This version is increased when the on-flash 34 * UBIFS went into mainline kernel with format version 4. The older formats [all …]
|
| /openbmc/openbmc-tools/dbus-vis/ |
| H A D | README.md | 1 # dbus-vis 16 To build and run, a user would first need to install node.js and npm (Node.js 17 package manager), and then checkout `dbus-pcap` to this folder. To install 18 node.js on a Ubuntu/Debian-based system: 20 First, install `npm` and `node.js` using a method that is suitable for your 24 $ node --version 26 $ npm --version 30 Then, with `npm`, `node.js` installed and `dbus-pcap` downloaded to this folder, 44 dbus-monitor outputs) 53 6. If something happens, manual clean-up might be needed, such as stopping [all …]
|
| /openbmc/libbej/src/ |
| H A D | bej_encoder_core.c | 17 RETURN_IF_IERROR(output->recvOutput(&nnintLengthByte, sizeof(uint8_t), in bejEncodeNnint() 18 output->handlerContext)); in bejEncodeNnint() 20 return output->recvOutput(&value, nnintLengthByte, output->handlerContext); in bejEncodeNnint() 29 return output->recvOutput(format, sizeof(struct BejTupleF), in bejEncodeFormat() 30 output->handlerContext); in bejEncodeFormat() 36 static int bejEncodeBejSetOrArray(struct RedfishPropertyParent* node, in bejEncodeBejSetOrArray() argument 40 RETURN_IF_IERROR(bejEncodeNnint(node->metaData.sequenceNumber, output)); in bejEncodeBejSetOrArray() 42 RETURN_IF_IERROR(bejEncodeFormat(&node->nodeAttr.format, output)); in bejEncodeBejSetOrArray() 44 RETURN_IF_IERROR(bejEncodeNnint(node->metaData.vSize, output)); in bejEncodeBejSetOrArray() 46 return bejEncodeNnint(node->nChildren, output); in bejEncodeBejSetOrArray() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/tests/ |
| H A D | qsd-jobs | 4 # Job tests related specifically to qemu-storage-daemon 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 33 rm -f "$SOCK_DIR/nbd.sock" 48 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 57 $QSD --chardev stdio,id=stdio --monitor chardev=stdio \ 58 --blockdev node-name=file0,driver=file,filename="$TEST_IMG" \ 59 --blockdev node-name=fmt0,driver=qcow2,file=file0 <<EOF \ 60 | _filter_qmp | grep -v JOB_STATUS_CHANGE | grep -v BLOCK_JOB_READY 62 {"execute": "block-commit", "arguments": {"device": "fmt0", "job-id": "job0"}} [all …]
|
| H A D | remove-bitmap-from-backing | 9 # the Free Software Foundation; either version 2 of the License, or 10 # (at your option) any later version. 30 qemu_img_create('-f', iotests.imgfmt, base, size) 31 qemu_img_create('-f', iotests.imgfmt, '-b', base, 32 '-F', iotests.imgfmt, top, size) 34 qemu_img('bitmap', '--add', base, 'bitmap0') 36 assert 'bitmaps' in qemu_img_info(base)['format-specific']['data'] 38 vm = iotests.VM().add_drive(top, 'backing.node-name=base') 41 log('Trying to remove persistent bitmap from r-o base node, should fail:') 42 vm.qmp_log('block-dirty-bitmap-remove', node='base', name='bitmap0') [all …]
|
| /openbmc/smbios-mdr/src/ |
| H A D | system.cpp | 4 // Licensed under the Apache License, Version 2.0 (the "License"); 8 // http://www.apache.org/licenses/LICENSE-2.0 29 "xyz.openbmc_project.Software.Version"; 30 static constexpr const char* biosVersionProp = "Version"; 46 stream << std::setw(8) << systemInfo->uuid.timeLow; in uuid() 47 stream << "-"; in uuid() 48 stream << std::setw(4) << systemInfo->uuid.timeMid; in uuid() 49 stream << "-"; in uuid() 50 stream << std::setw(4) << systemInfo->uuid.timeHiAndVer; in uuid() 51 stream << "-"; in uuid() [all …]
|
| /openbmc/u-boot/doc/driver-model/ |
| H A D | livetree.txt | 6 ------------ 8 Traditionally U-Boot has used a 'flat' device tree. This means that it 13 This document describes U-Boot's support for a 'live' device tree, meaning 14 that the tree is loaded into a hierarchical data structure within U-Boot. 18 ---------- 22 - it is the format produced by the device tree compiler, so no translation 25 - it is fairly compact (e.g. there is no need for pointers) 27 - it is accessed by the libfdt library, which is well tested and stable 35 the parent of a node is a slow process. Reading from nodes involves a 38 Driver model scans the entire device tree sequentially on start-up which [all …]
|