| /openbmc/openbmc/poky/meta/recipes-bsp/grub/files/ |
| H A D | CVE-2025-0678_CVE-2025-1125.patch | 47 @@ -244,14 +244,19 @@ hfsplus_open_compressed_real (struct grub_hfsplus_file *node) 50 node->compress_index_size = grub_le_to_cpu32 (index_size); 51 - node->compress_index = grub_malloc (node->compress_index_size 52 - * sizeof (node->compress_index[0])); 53 + node->compress_index = grub_calloc (node->compress_index_size, 54 + sizeof (node->compress_index[0])); 55 if (!node->compress_index) 57 node->compressed = 0; 63 + * The node->compress_index_size * sizeof (node->compress_index[0]) is safe here 66 if (grub_hfsplus_read_file (node, 0, 0, [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | rbtree.h | 44 #define RB_EMPTY_NODE(node) \ argument 45 ((node)->__rb_parent_color == (unsigned long)(node)) 46 #define RB_CLEAR_NODE(node) \ argument 47 ((node)->__rb_parent_color = (unsigned long)(node)) 64 /* Fast replacement of a single node without remove/rebalance/add/rebalance */ 68 static inline void rb_link_node(struct rb_node * node, struct rb_node * parent, in rb_link_node() argument 71 node->__rb_parent_color = (unsigned long)parent; in rb_link_node() 72 node->rb_left = node->rb_right = NULL; in rb_link_node() 74 *rb_link = node; in rb_link_node()
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 247 | 61 "arguments":{"device":"format-4", "top-node": "format-2", "base-node":"format-0", "job-id":"job0"}} 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 \ 73 -blockdev $IMGFMT,node-name=format-1,file=file-1,read-only=on,backing=format-0 \ 74 -blockdev file,node-name=file-2,filename=$TEST_IMG.2,auto-read-only=on \ 75 -blockdev $IMGFMT,node-name=format-2,file=file-2,read-only=on,backing=format-1 \ 76 -blockdev file,node-name=file-3,filename=$TEST_IMG.3,auto-read-only=on \ 77 -blockdev $IMGFMT,node-name=format-3,file=file-3,read-only=on,backing=format-2 \ 78 -blockdev file,node-name=file-4,filename=$TEST_IMG.4,auto-read-only=on \ [all …]
|
| H A D | 307.out | 11 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}} 14 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]} 28 {"execute": "block-export-add", "arguments": {"id": "#invalid", "node-name": "fmt", "type": "nbd"}} 30 {"execute": "block-export-add", "arguments": {"id": "export0", "node-name": "fmt", "type": "nbd"}} 32 {"execute": "block-export-add", "arguments": {"id": "export1", "node-name": "ro", "type": "nbd", "w… 33 {"error": {"class": "GenericError", "desc": "Cannot export read-only node as writable"}} 37 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]} 43 {"return": [{"id": "export0", "node-name": "fmt", "shutting-down": false, "type": "nbd"}]} 59 …nts": {"fixed-iothread": true, "id": "export1", "iothread": "iothread1", "node-name": "null", "typ… 61 …ts": {"fixed-iothread": false, "id": "export1", "iothread": "iothread1", "node-name": "null", "typ… [all …]
|
| H A D | 246 | 50 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 52 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 54 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 56 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 69 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 73 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 86 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 88 vm.qmp_log("block-dirty-bitmap-remove", node="drive0", 96 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 98 vm.qmp_log("block-dirty-bitmap-remove", node="drive0", name="Newtwo") [all …]
|
| H A D | 234 | 21 # Check that block node activation and inactivation works with a block graph 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)) 54 .add_blockdev('%s,file=drive0-file,node-name=drive0' % (iotests.imgfmt)) 55 .add_blockdev('file,filename=%s,node-name=drive0-backing-file' % (backing_path)) 56 .add_blockdev('%s,file=drive0-backing-file,node-name=drive0-backing' % (iotests.imgfmt)) 62 # Add a child node that was created after the parent node. The reverse case [all …]
|
| H A D | 232 | 126 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re… 127 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re… 128 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on 130 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r… 131 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off,auto-r… 132 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=off 134 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=off 135 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,auto-read-only=on 136 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0 144 run_qemu_info_block -blockdev driver=file,filename="$TEST_IMG",node-name=node0,read-only=on,auto-re… [all …]
|
| /openbmc/u-boot/arch/x86/cpu/ivybridge/ |
| H A D | fsp_configs.c | 18 int node; in update_fsp_configs() local 20 node = fdtdec_next_compatible(blob, 0, COMPAT_INTEL_IVYBRIDGE_FSP); in update_fsp_configs() 21 if (node < 0) { in update_fsp_configs() 22 debug("%s: Cannot find FSP node\n", __func__); in update_fsp_configs() 27 fdtdec_get_bool(blob, node, "fsp,enable-ht"); in update_fsp_configs() 29 fdtdec_get_bool(blob, node, "fsp,enable-turbo"); in update_fsp_configs() 31 fdtdec_get_bool(blob, node, "fsp,enable-memory-down"); in update_fsp_configs() 33 fdtdec_get_bool(blob, node, "fsp,enable-fast-boot"); in update_fsp_configs()
|
| /openbmc/u-boot/include/dm/ |
| H A D | of.h | 13 /* integer value within a device tree property which references another node */ 32 * struct device_node: Device tree node 34 * @name: Node name 35 * @type: Node type (value of device_type property) or "<NULL>" if none 37 * @full_name: Full path to node, e.g. "/bus@1/spi@1100" 39 * @parent: Pointer to parent node, or NULL if this is the root node 40 * @child: Pointer to head of child node list, or NULL if no children 41 * @sibling: Pointer to the next sibling node, or NULL if this is the last 70 * Here &node is the phandle of the node 'wibble', i.e. 5. There are three 76 * @np: Node that the phandle refers to [all …]
|
| H A D | util.h | 43 * Check if a dt node should be or was bound before relocation. 52 * it is possible to determine if a node was bound in one of 62 * @offset: node offset 64 * Returns true if node is needed in SPL/TL, false otherwise. 69 * Check if an of node should be or was bound before relocation. 78 * it is possible to determine if a node was bound in one of 87 * @node: of node 89 * Returns true if node is needed in SPL/TL, false otherwise. 91 bool dm_ofnode_pre_reloc(ofnode node);
|
| H A D | lists.h | 48 * lists_bind_fdt() - bind a device tree node 50 * This creates a new device bound to the given device tree node, with 54 * @node: device tree node to bind 61 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp, 78 * device_bind_driver_to_node() - bind a device to a driver for a node 80 * This binds a new device to a driver for a given device tree node. This 81 * should only be needed if the node lacks a compatible strings. 86 * @node: Device tree node 90 const char *dev_name, ofnode node,
|
| /openbmc/u-boot/drivers/usb/musb-new/ |
| H A D | ti-musb.c | 51 static int ti_musb_get_usb_index(int node) in ti_musb_get_usb_index() argument 59 fdt_get_path(fdt, node, path, sizeof(path)); in ti_musb_get_usb_index() 82 int node = dev_of_offset(dev); in ti_musb_ofdata_to_platdata() local 90 phys = fdtdec_lookup_phandle(fdt, node, "phys"); in ti_musb_ofdata_to_platdata() 93 usb_index = ti_musb_get_usb_index(node); in ti_musb_ofdata_to_platdata() 108 musb_config->multipoint = fdtdec_get_int(fdt, node, in ti_musb_ofdata_to_platdata() 117 musb_config->num_eps = fdtdec_get_int(fdt, node, "mentor,num-eps", in ti_musb_ofdata_to_platdata() 124 musb_config->ram_bits = fdtdec_get_int(fdt, node, "mentor,ram-bits", in ti_musb_ofdata_to_platdata() 133 platdata->plat.power = fdtdec_get_int(fdt, node, "mentor,power", -1); in ti_musb_ofdata_to_platdata() 181 int node = dev_of_offset(dev); in ti_musb_host_ofdata_to_platdata() local [all …]
|
| /openbmc/bmcweb/http/routing/ |
| H A D | trie.hpp | 23 struct Node struct 47 void optimizeNode(ContainedType& node) in optimizeNode() argument 49 if (node.stringParamChild != 0U) in optimizeNode() 51 optimizeNode(nodes[node.stringParamChild]); in optimizeNode() 53 if (node.pathParamChild != 0U) in optimizeNode() 55 optimizeNode(nodes[node.pathParamChild]); in optimizeNode() 58 if (node.children.empty()) in optimizeNode() 67 node.children) in optimizeNode() 84 node.children = std::move(merged); in optimizeNode() 92 node.children) in optimizeNode() [all …]
|
| /openbmc/u-boot/drivers/pinctrl/renesas/ |
| H A D | Kconfig | 15 The driver is controlled by a device tree node which contains both 25 The driver is controlled by a device tree node which contains both 35 The driver is controlled by a device tree node which contains both 45 The driver is controlled by a device tree node which contains both 55 The driver is controlled by a device tree node which contains both 65 The driver is controlled by a device tree node which contains both 75 The driver is controlled by a device tree node which contains both 85 The driver is controlled by a device tree node which contains both 95 The driver is controlled by a device tree node which contains both 105 The driver is controlled by a device tree node which contains both
|
| /openbmc/u-boot/drivers/video/exynos/ |
| H A D | exynos_fb.c | 352 unsigned int node; in exynos_fimd_disable_sysmmu() local 360 node = node_list[i]; in exynos_fimd_disable_sysmmu() 361 if (node <= 0) { in exynos_fimd_disable_sysmmu() 362 debug("Can't get device node for fimd sysmmu\n"); in exynos_fimd_disable_sysmmu() 366 sysmmufimd = (u32 *)fdtdec_get_addr(gd->fdt_blob, node, "reg"); in exynos_fimd_disable_sysmmu() 383 unsigned int node; in exynos_fimd_lcd_init() local 385 node = dev_of_offset(dev); in exynos_fimd_lcd_init() 386 if (fdtdec_get_bool(gd->fdt_blob, node, "samsung,disable-sysmmu")) in exynos_fimd_lcd_init() 484 unsigned int node = dev_of_offset(dev); in exynos_fb_ofdata_to_platdata() local 495 priv->vl_col = fdtdec_get_int(blob, node, "samsung,vl-col", 0); in exynos_fb_ofdata_to_platdata() [all …]
|
| H A D | exynos_mipi_dsi.c | 237 int node; in exynos_dsim_config_parse_dt() local 239 node = fdtdec_next_compatible(blob, 0, COMPAT_SAMSUNG_EXYNOS_MIPI_DSI); in exynos_dsim_config_parse_dt() 240 if (node <= 0) { in exynos_dsim_config_parse_dt() 241 printf("exynos_mipi_dsi: Can't get device node for mipi dsi\n"); in exynos_dsim_config_parse_dt() 245 dt->e_interface = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() 248 dt->e_virtual_ch = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() 251 dt->e_pixel_format = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() 254 dt->e_burst_mode = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() 257 dt->e_no_data_lane = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() 260 dt->e_byte_clk = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt() [all …]
|
| /openbmc/u-boot/board/rockchip/evb_rk3328/ |
| H A D | evb-rk3328.c | 37 int node; in board_usb_init() local 42 /* find the usb_otg node */ in board_usb_init() 43 node = fdt_node_offset_by_compatible(blob, -1, in board_usb_init() 46 while (node > 0) { in board_usb_init() 47 mode = fdt_getprop(blob, node, "dr_mode", NULL); in board_usb_init() 53 node = fdt_node_offset_by_compatible(blob, node, in board_usb_init() 61 rk3328_otg_data.regs_otg = fdtdec_get_addr(blob, node, "reg"); in board_usb_init()
|
| /openbmc/u-boot/arch/sandbox/cpu/ |
| H A D | state.c | 102 int node; in sandbox_read_state_nodes() local 109 node = -1; in sandbox_read_state_nodes() 112 node = fdt_node_offset_by_compatible(blob, node, io->compat); in sandbox_read_state_nodes() 113 if (node < 0) in sandbox_read_state_nodes() 115 debug(" - read node '%s'\n", fdt_get_name(blob, node, NULL)); in sandbox_read_state_nodes() 116 ret = io->read(blob, node); in sandbox_read_state_nodes() 126 * node, to set up the global state. in sandbox_read_state_nodes() 192 int node; in sandbox_write_state_node() local 206 node = fdt_node_offset_by_compatible(blob, -1, io->compat); in sandbox_write_state_node() 207 if (node == -FDT_ERR_NOTFOUND) { in sandbox_write_state_node() [all …]
|
| /openbmc/libpldm/src/dsp/ |
| H A D | pdr.c | 663 pldm_entity pldm_entity_extract(pldm_entity_node *node) in pldm_entity_extract() argument 665 assert(node != NULL); in pldm_entity_extract() 667 return node->entity; in pldm_entity_extract() 697 /* Insert after the the last node that matches the input entity type, or in find_insertion_at() 737 pldm_entity node; in pldm_entity_association_tree_add_entity() local 738 node.entity_type = entity->entity_type; in pldm_entity_association_tree_add_entity() 739 node.entity_instance_num = entity_instance_number; in pldm_entity_association_tree_add_entity() 740 if (pldm_is_current_parent_child(parent, &node)) { in pldm_entity_association_tree_add_entity() 748 pldm_entity_node *node = malloc(sizeof(pldm_entity_node)); in pldm_entity_association_tree_add_entity() local 749 if (!node) { in pldm_entity_association_tree_add_entity() [all …]
|
| /openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
| H A D | AutomationNode_v1.xml | 46 …<Annotation Term="OData.Description" String="The `AutomationNode` schema describes a node that car… 47 …Data.LongDescription" String="This resource shall represent an automation node for a Redfish imple… 72 <Annotation Term="OData.Description" String="The node's controller is idle."/> 75 …<Annotation Term="OData.Description" String="The node's controller has reached its destination pos… 78 <Annotation Term="OData.Description" String="The node's controller is waiting to start."/> 81 …<Annotation Term="OData.Description" String="The node's controller has stopped due to a condition … 84 … <Annotation Term="OData.Description" String="The node's controller has stopped due to an error."/> 87 <Annotation Term="OData.Description" String="The node's controller is running."/> 92 <Annotation Term="OData.Description" String="Starts the node."/> 93 …<Annotation Term="OData.LongDescription" String="This action shall transition the node to the `Run… [all …]
|
| /openbmc/phosphor-dbus-interfaces/yaml/com/intel/Control/ |
| H A D | OCOTShutdownPolicy.interface.yaml | 2 An interface for node shutdown policy on multi-node products. It is used by 8 Node shutdown policy on a power supply over current(OC) or over 9 temperature(OT) event, Only available on multi-node products. 20 Do not shutdown node on an OC/OT event. 23 Shutdown node on an OC/OT event.
|
| /openbmc/u-boot/tools/ |
| H A D | image-host.c | 17 * fit_set_hash_value - set hash value in requested has node 19 * @noffset: hash node offset 23 * fit_set_hash_value() attempts to set hash value in a node at offset 37 printf("Can't set hash '%s' property for '%s' node(%s)\n", in fit_set_hash_value() 47 * fit_image_process_hash - Process a single subnode of the images/ node 50 * a hash of the supplised data and store it in the node. 71 printf("Can't get hash algo property for '%s' hash node in '%s' image node\n", in fit_image_process_hash() 77 printf("Unsupported hash algorithm (%s) for '%s' hash node in '%s' image node\n", in fit_image_process_hash() 84 printf("Can't set hash value for '%s' hash node in '%s' image node\n", in fit_image_process_hash() 98 * @noffset: hash node offset [all …]
|
| /openbmc/u-boot/common/spl/ |
| H A D | spl_atf.c | 104 int parent, node, ndepth; in spl_fit_images_find_uboot() local 114 for (node = fdt_next_node(blob, parent, &ndepth); in spl_fit_images_find_uboot() 115 (node >= 0) && (ndepth > 0); in spl_fit_images_find_uboot() 116 node = fdt_next_node(blob, node, &ndepth)) { in spl_fit_images_find_uboot() 120 data = fdt_getprop(blob, node, FIT_OS_PROP, NULL); in spl_fit_images_find_uboot() 125 return node; in spl_fit_images_find_uboot() 131 uintptr_t spl_fit_images_get_entry(void *blob, int node) in spl_fit_images_get_entry() argument 135 val = fdt_getprop_u32(blob, node, "entry-point"); in spl_fit_images_get_entry() 137 val = fdt_getprop_u32(blob, node, "load-addr"); in spl_fit_images_get_entry() 148 int node; in spl_invoke_atf() local [all …]
|
| /openbmc/qemu/hw/acpi/ |
| H A D | pci.c | 75 uint32_t node; member 95 gi->node = MAX_NODES; in OBJECT_DECLARE_SIMPLE_TYPE() 127 error_printf("%s: Invalid NUMA node specified\n", in acpi_generic_initiator_set_node() 132 gi->node = value; in acpi_generic_initiator_set_node() 133 ms->numa_state->nodes[gi->node].has_gi = true; in acpi_generic_initiator_set_node() 141 "PCI device to associate with the node"); in acpi_generic_initiator_class_init() 142 object_class_property_add(oc, "node", "int", NULL, in acpi_generic_initiator_class_init() 144 object_class_property_set_description(oc, "node", in acpi_generic_initiator_class_init() 145 "NUMA node associated with the PCI device"); in acpi_generic_initiator_class_init() 162 if (gi->node >= ms->numa_state->num_nodes) { in build_acpi_generic_initiator() [all …]
|
| /openbmc/qemu/docs/devel/testing/ |
| H A D | qgraph.rst | 29 so the sdhci-test should only care of linking its qgraph node with 31 is changed, only the respective qgraph driver node has to be adjusted. 43 A node can be of four types: 50 instantiated when a node consumes or produces it. 99 Command line is built by using node names and optional arguments 104 - ``in node`` : created from the node name. For example, machines will 107 - ``after node`` : added as additional argument to the node name. 114 after the destination node pointed by 118 - ``before node`` : added as additional argument to the node name. 122 is going to add attributes before the destination node [all …]
|