Home
last modified time | relevance | path

Searched full:node (Results 251 – 275 of 1779) sorted by relevance

1...<<11121314151617181920>>...72

/openbmc/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c91 * If data is available, then blob and node will provide access to it. If
95 * @param node: Node offset to read from
97 static int cros_ec_read_state(const void *blob, int node) in cros_ec_read_state() argument
109 ec->current_image = fdtdec_get_int(blob, node, "current-image", in cros_ec_read_state()
111 prop = fdt_getprop(blob, node, "vbnv-context", &len); in cros_ec_read_state()
115 prop = fdt_getprop(blob, node, "flash-data", &len); in cros_ec_read_state()
131 * The caller will ensure that there is a node ready for the state. The node
135 * @param node: Node to write our state into
137 static int cros_ec_write_state(void *blob, int node) in cros_ec_write_state() argument
142 fdt_setprop_u32(blob, node, "current-image", ec->current_image); in cros_ec_write_state()
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dlicense.py87 def visit_Str(self, node): argument
88 self.licenses.append(node.s)
90 def visit_Constant(self, node): argument
91 self.licenses.append(node.value)
93 def visit_BinOp(self, node): argument
94 if isinstance(node.op, ast.BitOr):
96 left.visit(node.left)
99 right.visit(node.right)
104 self.generic_visit(node)
175 def visit(self, node): argument
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dscan.c37 dbg_scan("not a node"); in scan_padding_bytes()
51 * ubifs_scan_a_node - scan for a node or padding.
91 /* Validate the padding node */ in ubifs_scan_a_node()
95 ubifs_err(c, "bad pad node at LEB %d:%d", in ubifs_scan_a_node()
102 /* Make the node pads to 8-byte boundary */ in ubifs_scan_a_node()
178 * ubifs_add_snod - add a scanned node to LEB scanning information.
181 * @buf: buffer containing node
182 * @offs: offset of node on flash
201 snod->node = buf; in ubifs_add_snod()
281 /* Padding bytes or a valid padding node */ in ubifs_scan()
[all …]
H A Dmaster.c11 /* This file implements reading and writing the master node */
21 * scan_for_master - search the valid master node.
24 * This function scans the master node LEBs and search for the latest master
25 * node. Returns zero in case of success, %-EUCLEAN if there master area is
46 memcpy(c->mst_node, snod->node, snod->len); in scan_for_master()
66 (void *)snod->node + UBIFS_CH_SZ, in scan_for_master()
78 ubifs_err(c, "unexpected node type %d master LEB %d:%d", in scan_for_master()
85 * validate_master - validate master node.
88 * This function validates data which was read from master node. Returns zero
236 ubifs_err(c, "bad master node at offset %d error %d", c->mst_offs, err); in validate_master()
[all …]
/openbmc/qemu/system/
H A Dbootdevice.c161 FWBootEntry *node, *i; in add_boot_device_path() local
172 node = g_new0(FWBootEntry, 1); in add_boot_device_path()
173 node->bootindex = bootindex; in add_boot_device_path()
174 node->suffix = g_strdup(suffix); in add_boot_device_path()
175 node->dev = dev; in add_boot_device_path()
184 QTAILQ_INSERT_BEFORE(i, node, link); in add_boot_device_path()
187 QTAILQ_INSERT_TAIL(&fw_boot_order, node, link); in add_boot_device_path()
366 FWLCHSEntry *node; in add_boot_device_lchs() local
374 node = g_new0(FWLCHSEntry, 1); in add_boot_device_lchs()
375 node->suffix = g_strdup(suffix); in add_boot_device_lchs()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D25552 vm.add_blockdev('file,filename=%s,node-name=base' % (base_path))
53 vm.add_blockdev('throttle,throttle-group=throttle0,file=base,node-name=throttled')
54 vm.add_blockdev('file,filename=%s,node-name=mid-file' % (mid_path))
55 vm.add_blockdev('qcow2,file=mid-file,node-name=mid,backing=throttled')
102 vm.add_blockdev('file,node-name=src-file,filename=%s' % (src_path))
103 vm.add_blockdev('%s,node-name=src,file=src-file' % (iotests.imgfmt))
105 vm.add_blockdev('file,node-name=dst-file,filename=%s' % (dst_path))
106 vm.add_blockdev('%s,node-name=dst,file=dst-file' % (iotests.imgfmt))
108 vm.add_blockdev('throttle,node-name=src-throttled,' +
H A D257.out6 …iver": "qcow2", "file": {"driver": "file", "filename": "TEST_DIR/PID-img"}, "node-name": "drive0"}}
33 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", …
39 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 65536, "name": "bitmap0", "node"…
80 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", …
94 … "bitmap": "bitmap0", "bitmap-mode": "never", "device": "drive0", "filter-node-name": "backup-top"…
218 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", …
232 … "bitmap": "bitmap0", "bitmap-mode": "never", "device": "drive0", "filter-node-name": "backup-top"…
258 {"execute": "block-dirty-bitmap-remove", "arguments": {"name": "bitmap0", "node": "drive0"}}
275 …tate": 2, "state": 1}, {"event": "read_aio", "new-state": 3, "state": 2}]}, "node-name": "drive0"}}
302 {"execute": "blockdev-backup", "arguments": {"device": "drive0", "filter-node-name": "backup-top", …
[all …]
H A D20342 .add_drive(disk0_img_path, 'node-name=drive0-node', interface='none')
43 .add_drive(disk1_img_path, 'node-name=drive1-node', interface='none')
48 node_name='drive0-node', iothread='iothread0',
51 node_name='drive1-node', iothread='iothread0',
H A D24959 _launch_qemu -drive if=none,file="${TEST_IMG}.base",node-name=base,read-only=on \
60 -drive if=none,file="${TEST_IMG}",backing.node-name=int,backing.backing=base
75 echo '=== Run block-commit on base using an invalid filter node name'
79 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int',
80 'filter-node-name': '1234'}}" \
92 echo '=== Run block-commit on base using the default filter node name'
96 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int'}}" \
H A D273.out5node-name=base,filename=TEST_DIR/t.IMGFMT.base -blockdev file,node-name=midf,filename=TEST_DIR/t.I…
58 "node-name": "top",
88 "node-name": "topf",
128 "node-name": "mid",
158 "node-name": "midf",
187 "node-name": "base",
H A D22376 "node-name": "n",
85 "node": "n",
93 "node": "n",
119 "arguments":{"driver":"qcow2", "node-name":"n",
122 "arguments":{"node":"n", "name":"b"}}' "return"
124 "arguments":{"driver":"null-co", "node-name":"null",
127 "arguments":{"node":"null", "name":"b3"}}' "return"
136 "arguments":{"node-name":"n", "iothread":"io0"}}' "return"
151 "arguments":{"device":"nosuch"}}' "error" # Attempt to export missing node
164 "arguments":{"type": "nbd", "node-name":"n", "id":"n3", "name": "n3",
[all …]
/openbmc/qemu/
H A Dreplication.c29 QLIST_INSERT_HEAD(&replication_states, rs, node); in replication_new()
37 QLIST_REMOVE(rs, node); in replication_remove()
50 QLIST_FOREACH_SAFE(rs, &replication_states, node, next) { in replication_start_all()
66 QLIST_FOREACH_SAFE(rs, &replication_states, node, next) { in replication_do_checkpoint_all()
82 QLIST_FOREACH_SAFE(rs, &replication_states, node, next) { in replication_get_error_all()
98 QLIST_FOREACH_SAFE(rs, &replication_states, node, next) { in replication_stop_all()
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dremove-bitmap-from-backing38 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')
46 'node-name': 'base',
61 log('Remove persistent bitmap from base node reopened to RW:')
62 vm.qmp_log('block-dirty-bitmap-remove', node='base', name='bitmap0')
H A Dreopen-file36 # Add format driver node ('format') on top of the file ('file'), then
37 # add another raw node ('raw') on top of 'file' so for the reopen we
42 'node-name': 'format',
45 'node-name': 'file',
51 'node-name': 'raw',
69 'node-name': 'format',
/openbmc/u-boot/drivers/led/
H A Dled_bcm6358.c116 /* Top-level LED node */ in bcm6358_led_probe()
172 ofnode node; in bcm6358_led_bind() local
174 dev_for_each_subnode(node, parent) { in bcm6358_led_bind()
180 label = ofnode_read_string(node, "label"); in bcm6358_led_bind()
182 debug("%s: node %s has no label\n", __func__, in bcm6358_led_bind()
183 ofnode_get_name(node)); in bcm6358_led_bind()
188 ofnode_get_name(node), in bcm6358_led_bind()
189 node, &dev); in bcm6358_led_bind()
/openbmc/u-boot/include/dm/
H A Duclass-internal.h127 * uclass_find_device_by_of_offset() - Find a uclass device by device tree node
130 * device tree node.
135 * @node: Device tree offset to search for (if -ve then -ENODEV is returned)
136 * @devp: Returns pointer to device (there is only one for each node)
139 int uclass_find_device_by_of_offset(enum uclass_id id, int node,
143 * uclass_find_device_by_of_node() - Find a uclass device by device tree node
146 * device tree node.
151 * @node: Device tree offset to search for (if NULL then -ENODEV is returned)
152 * @devp: Returns pointer to device (there is only one for each node)
155 int uclass_find_device_by_ofnode(enum uclass_id id, ofnode node,
[all …]
/openbmc/u-boot/fs/jffs2/
H A Djffs2_nand_1pass.c136 insert_inode(struct b_list *list, struct jffs2_raw_inode *node, u32 offset) in insert_inode() argument
145 new->version = node->version; in insert_inode()
146 new->ino = node->ino; in insert_inode()
147 new->isize = node->isize; in insert_inode()
148 new->csize = node->csize; in insert_inode()
154 insert_dirent(struct b_list *list, struct jffs2_raw_dirent *node, u32 offset) in insert_dirent() argument
163 new->version = node->version; in insert_dirent()
164 new->pino = node->pino; in insert_dirent()
165 new->ino = node->ino; in insert_dirent()
166 new->nhash = full_name_hash(node->name, node->nsize); in insert_dirent()
[all …]
H A Djffs2_1pass.c53 * unneccesary data copies, node scans, etc, I just optimized for the known
241 struct jffs2_unknown_node node; in get_node_mem_nand() local
244 if (NULL == get_fl_mem_nand(off, sizeof(node), &node)) in get_node_mem_nand()
247 if (!(ret = get_fl_mem_nand(off, node.magic == in get_node_mem_nand()
248 JFFS2_MAGIC_BITMASK ? node.totlen : sizeof(node), in get_node_mem_nand()
250 printf("off = %#x magic %#x type %#x node.totlen = %d\n", in get_node_mem_nand()
251 off, node.magic, node.nodetype, node.totlen); in get_node_mem_nand()
340 struct jffs2_unknown_node node; in get_node_mem_onenand() local
343 if (NULL == get_fl_mem_onenand(off, sizeof(node), &node)) in get_node_mem_onenand()
346 ret = get_fl_mem_onenand(off, node.magic == in get_node_mem_onenand()
[all …]
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_fru_test.cpp137 pldm_entity_node* node = in TEST() local
139 EXPECT_TRUE(node != nullptr); in TEST()
141 node = pldm_entity_association_tree_find(entityTree.get(), &chassisEntity); in TEST()
142 ASSERT_TRUE(node != nullptr); in TEST()
143 test_pldm_entity_node* test_node = (test_pldm_entity_node*)node; in TEST()
146 node = in TEST()
148 ASSERT_TRUE(node != nullptr); in TEST()
149 test_node = (test_pldm_entity_node*)node; in TEST()
152 node = pldm_entity_association_tree_find(entityTree.get(), &panelEntity); in TEST()
153 EXPECT_TRUE(node == nullptr); in TEST()
/openbmc/u-boot/lib/efi_loader/
H A Defi_root_node.c3 * Root node for system services
20 * efi_root_node_register() - create root node
22 * Create the root node on which we install all protocols that are
43 /* Fill vendor node */ in efi_root_node_register()
49 /* Fill end node */ in efi_root_node_register()
/openbmc/qemu/hw/xen/
H A Dxen_pvdev.c72 int xenstore_write_str(const char *base, const char *node, const char *val) in xenstore_write_str() argument
76 snprintf(abspath, sizeof(abspath), "%s/%s", base, node); in xenstore_write_str()
83 char *xenstore_read_str(const char *base, const char *node) in xenstore_read_str() argument
87 str = xs_node_read(xenstore, 0, NULL, NULL, "%s/%s", base, node); in xenstore_read_str()
97 int xenstore_write_int(const char *base, const char *node, int ival) in xenstore_write_int() argument
102 return xenstore_write_str(base, node, val); in xenstore_write_int()
105 int xenstore_write_int64(const char *base, const char *node, int64_t ival) in xenstore_write_int64() argument
110 return xenstore_write_str(base, node, val); in xenstore_write_int64()
113 int xenstore_read_int(const char *base, const char *node, int *ival) in xenstore_read_int() argument
118 val = xenstore_read_str(base, node); in xenstore_read_int()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs/
H A Dlibatomic.patch15 |tmp-glibc/work/core2-64-wrs-linux/nodejs/20.13.0/node-v20.13.0/out/Release/node_js2c: error while …
21 node.gyp | 13 ++++++++++++-
25 diff --git a/node.gyp b/node.gyp
27 --- a/node.gyp
28 +++ b/node.gyp
/openbmc/u-boot/board/broadcom/bcmstb/
H A Dbcmstb.c85 int node = 0; in bcmstb_sdhci_address() local
97 node = fdt_path_offset(fdt, "/aliases"); in bcmstb_sdhci_address()
98 if (node < 0) { in bcmstb_sdhci_address()
99 printf("%s: Failed to find /aliases node\n", __func__); in bcmstb_sdhci_address()
104 path = fdt_getprop(fdt, node, sdhci, NULL); in bcmstb_sdhci_address()
110 node = fdt_path_offset(fdt, path); in bcmstb_sdhci_address()
111 if (node < 0) { in bcmstb_sdhci_address()
116 ret = fdt_get_named_resource(fdt, node, "reg", "reg-names", in bcmstb_sdhci_address()
/openbmc/qemu/hw/i3c/
H A Dcore.c117 I3CNode *node = g_new(struct I3CNode, 1); in i3c_target_match_and_add() local
118 node->target = target; in i3c_target_match_and_add()
119 QLIST_INSERT_HEAD(&bus->current_devs, node, next); in i3c_target_match_and_add()
127 I3CNode *node, *next; in i3c_scan_bus() local
130 QLIST_FOREACH_SAFE(node, &bus->current_devs, next, next) { in i3c_scan_bus()
131 QLIST_REMOVE(node, next); in i3c_scan_bus()
132 g_free(node); in i3c_scan_bus()
173 I3CNode *node; in i3c_do_start_transfer() local
190 QLIST_FOREACH(node, &bus->current_devs, next) { in i3c_do_start_transfer()
191 I3CTarget *t = node->target; in i3c_do_start_transfer()
[all …]
/openbmc/google-misc/subprojects/ncsid/doc/
H A Dncsid_arch.dot2 node [shape="box"];
4 node [shape=plaintext];
23 node [shape="note" style="filled"];
31 node [color="magenta"];
38 node [fillcolor="lightblue" style="filled"];

1...<<11121314151617181920>>...72