/openbmc/qemu/tests/unit/ |
H A D | test-interval-tree.c | 41 nodes[0].start = 1; in test_find_one_point() 42 nodes[0].last = 1; in test_find_one_point() 65 nodes[0].start = 1; in test_find_two_point() 66 nodes[0].last = 1; in test_find_two_point() 67 nodes[1] = nodes[0]; in test_find_two_point() 73 g_assert(find0 == &nodes[0] || find0 == &nodes[1]); in test_find_two_point() 76 g_assert(find1 == &nodes[0] || find1 == &nodes[1]); in test_find_two_point() 90 nodes[0].start = 1; in test_find_one_range() 91 nodes[0].last = 8; in test_find_one_range() 116 nodes[0].last = 190; in test_find_one_range_many() [all …]
|
/openbmc/linux/lib/ |
H A D | interval_tree.c | 32 state->nodes[0] = cur; in interval_tree_span_iter_next_gap() 35 state->nodes[0] = cur; in interval_tree_span_iter_next_gap() 40 state->nodes[1] = cur; in interval_tree_span_iter_next_gap() 50 iter->nodes[0] = NULL; in interval_tree_span_iter_first() 51 iter->nodes[1] = in interval_tree_span_iter_first() 53 if (!iter->nodes[1]) { in interval_tree_span_iter_first() 76 iter->nodes[0] = NULL; in interval_tree_span_iter_first() 77 iter->nodes[1] = NULL; in interval_tree_span_iter_first() 84 if (!iter->nodes[0] && !iter->nodes[1]) { in interval_tree_span_iter_next() 101 if (!iter->nodes[1]) { in interval_tree_span_iter_next() [all …]
|
H A D | interval_tree_test.c | 24 static struct interval_tree_node *nodes = NULL; variable 49 nodes[i].start = a; in init() 50 nodes[i].last = b; in init() 68 nodes = kmalloc_array(nnodes, sizeof(struct interval_tree_node), in interval_tree_test_init() 70 if (!nodes) in interval_tree_test_init() 75 kfree(nodes); in interval_tree_test_init() 88 interval_tree_insert(nodes + j, &root); in interval_tree_test_init() 90 interval_tree_remove(nodes + j, &root); in interval_tree_test_init() 102 interval_tree_insert(nodes + j, &root); in interval_tree_test_init() 124 kfree(nodes); in interval_tree_test_init()
|
H A D | rbtree_test.c | 28 static struct test_node *nodes = NULL; variable 248 nodes = kmalloc_array(nnodes, sizeof(*nodes), GFP_KERNEL); in rbtree_test_init() 249 if (!nodes) in rbtree_test_init() 261 insert(nodes + j, &root); in rbtree_test_init() 263 erase(nodes + j, &root); in rbtree_test_init() 279 erase_cached(nodes + j, &root); in rbtree_test_init() 290 insert(nodes + i, &root); in rbtree_test_init() 330 erase(nodes + i, &root); in rbtree_test_init() 337 insert(nodes + j, &root); in rbtree_test_init() 341 erase(nodes + j, &root); in rbtree_test_init() [all …]
|
/openbmc/qemu/docs/sphinx/ |
H A D | qapidoc.py | 30 from docutils import nodes 81 self._top_node = nodes.section() 97 dldef = nodes.definition() 122 doc = nodes.literal('', doc) 126 nodelist = [nodes.Text(' ('), nodes.strong('', 'If: ')] 128 nodelist.append(nodes.Text(')')) 155 term = [nodes.Text(' when '), 157 nodes.Text(' is '), 165 dlnode = nodes.definition_list() 287 snode += nodes.paragraph( [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 259 memset(nodes, 0, sizeof(nodes)); in drm_test_mm_debug() 264 nodes[0].start, nodes[0].size); in drm_test_mm_debug() 267 nodes[1].start = 4096 - 512 - nodes[1].size; in drm_test_mm_debug() 270 nodes[0].start, nodes[0].size); in drm_test_mm_debug() 366 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __drm_test_mm_reserve() 542 nodes = vmalloc(array_size(count, sizeof(*nodes))); in __drm_test_mm_insert() 829 nodes = vzalloc(array_size(count, sizeof(*nodes))); in __drm_test_mm_insert_range() 1407 nodes = vzalloc(array_size(size, sizeof(*nodes))); in drm_test_mm_evict() 1498 nodes = vzalloc(array_size(size, sizeof(*nodes))); in drm_test_mm_evict_range() 1585 nodes = vzalloc(array_size(count, sizeof(*nodes))); in drm_test_mm_topdown() [all …]
|
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 27 struct txgbe_nodes *nodes = &txgbe->nodes; in txgbe_swnodes_register() local 34 snprintf(nodes->gpio_name, sizeof(nodes->gpio_name), "txgbe_gpio-%x", id); in txgbe_swnodes_register() 35 snprintf(nodes->i2c_name, sizeof(nodes->i2c_name), "txgbe_i2c-%x", id); in txgbe_swnodes_register() 36 snprintf(nodes->sfp_name, sizeof(nodes->sfp_name), "txgbe_sfp-%x", id); in txgbe_swnodes_register() 39 swnodes = nodes->swnodes; in txgbe_swnodes_register() 49 swnodes[SWNODE_GPIO] = NODE_PROP(nodes->gpio_name, nodes->gpio_props); in txgbe_swnodes_register() 60 swnodes[SWNODE_I2C] = NODE_PROP(nodes->i2c_name, nodes->i2c_props); in txgbe_swnodes_register() 64 nodes->sfp_props[1] = PROPERTY_ENTRY_REF_ARRAY("i2c-bus", nodes->i2c_ref); in txgbe_swnodes_register() 68 nodes->sfp_props[5] = PROPERTY_ENTRY_REF_ARRAY("los-gpios", nodes->gpio3_ref); in txgbe_swnodes_register() 71 swnodes[SWNODE_SFP] = NODE_PROP(nodes->sfp_name, nodes->sfp_props); in txgbe_swnodes_register() [all …]
|
/openbmc/linux/drivers/media/pci/intel/ |
H A D | ipu-bridge.c | 423 &nodes[SWNODE_IVSC_HID]; in ipu_bridge_init_swnode_group() 425 &nodes[SWNODE_IVSC_SENSOR_PORT]; in ipu_bridge_init_swnode_group() 429 &nodes[SWNODE_IVSC_IPU_PORT]; in ipu_bridge_init_swnode_group() 431 &nodes[SWNODE_IVSC_IPU_ENDPOINT]; in ipu_bridge_init_swnode_group() 455 &nodes[SWNODE_SENSOR_PORT], in ipu_bridge_create_connection_swnodes() 461 &nodes[SWNODE_IPU_PORT], in ipu_bridge_create_connection_swnodes() 470 nodes[SWNODE_IVSC_SENSOR_PORT] = in ipu_bridge_create_connection_swnodes() 472 &nodes[SWNODE_IVSC_HID]); in ipu_bridge_create_connection_swnodes() 477 nodes[SWNODE_IVSC_IPU_PORT] = in ipu_bridge_create_connection_swnodes() 479 &nodes[SWNODE_IVSC_HID]); in ipu_bridge_create_connection_swnodes() [all …]
|
/openbmc/u-boot/Documentation/sphinx/ |
H A D | rstFlatTable.py | 47 from docutils import nodes 106 class rowSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 107 class colSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 168 table = nodes.table() 169 tgroup = nodes.tgroup(cols=len(colwidths)) 188 thead = nodes.thead() 193 tbody = nodes.tbody() 202 row = nodes.row() 213 entry = nodes.entry(**attributes) 335 if (isinstance(child , nodes.comment) [all …]
|
/openbmc/linux/Documentation/sphinx/ |
H A D | rstFlatTable.py | 45 from docutils import nodes 94 class rowSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 95 class colSpan(nodes.General, nodes.Element): pass # pylint: disable=C0103,C0321 156 table = nodes.table() 157 tgroup = nodes.tgroup(cols=len(colwidths)) 176 thead = nodes.thead() 181 tbody = nodes.tbody() 190 row = nodes.row() 201 entry = nodes.entry(**attributes) 323 if (isinstance(child , nodes.comment) [all …]
|
H A D | automarkup.py | 7 from docutils import nodes 110 repl.append(nodes.Text(t[done:m.start()])) 120 repl.append(nodes.Text(t[done:])) 143 target_text = nodes.Text(match.group(0)) 154 lit_text = nodes.literal(classes=['xref', 'c', 'c-func']) 203 target_text = nodes.Text(match.group(0)) 214 lit_text = nodes.literal(classes=['xref', 'c', class_str[match.re]]) 268 return nodes.Text(match.group(0)) 286 if not isinstance(node, nodes.Text) or isinstance(node.parent, nodes.literal): 292 if isinstance(parent, nodes.Referential): [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | mem2node.c | 50 struct memory_node nodes[3]; in test__mem2node() local 52 .memory_nodes = (struct memory_node *) &nodes[0], in test__mem2node() 53 .nr_memory_nodes = ARRAY_SIZE(nodes), in test__mem2node() 58 for (i = 0; i < ARRAY_SIZE(nodes); i++) { in test__mem2node() 59 nodes[i].node = test_nodes[i].node; in test__mem2node() 60 nodes[i].size = 10; in test__mem2node() 63 (nodes[i].set = get_bitmap(test_nodes[i].map, 10))); in test__mem2node() 75 for (i = 0; i < ARRAY_SIZE(nodes); i++) in test__mem2node() 76 zfree(&nodes[i].set); in test__mem2node()
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-btree-spine.c | 128 s->nodes[0] = NULL; in init_ro_spine() 129 s->nodes[1] = NULL; in init_ro_spine() 137 unlock_block(s->info, s->nodes[i]); in exit_ro_spine() 145 unlock_block(s->info, s->nodes[0]); in ro_step() 146 s->nodes[0] = s->nodes[1]; in ro_step() 161 unlock_block(s->info, s->nodes[s->count]); in ro_pop() 169 block = s->nodes[s->count - 1]; in ro_node() 187 unlock_block(s->info, s->nodes[i]); in exit_shadow_spine() 196 unlock_block(s->info, s->nodes[0]); in shadow_step() 197 s->nodes[0] = s->nodes[1]; in shadow_step() [all …]
|
/openbmc/linux/mm/ |
H A D | mempolicy.c | 206 pol->nodes = *nodes; in mpol_new_nodemask() 216 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 274 if (nodes && !nodes_empty(*nodes)) in mpol_new() 338 tmp = *nodes; in mpol_rebind_nodemask() 914 *nodes = p->nodes; in get_policy_nodemask() 2326 int nodes; in alloc_pages_bulk_array_interleave() local 2333 nodes = nodes_weight(pol->nodes); in alloc_pages_bulk_array_interleave() 2469 return !!nodes_equal(a->nodes, b->nodes); in __mpol_equal() 3102 new->nodes = nodes; in mpol_parse_str() 3105 node_set(first_node(nodes), new->nodes); in mpol_parse_str() [all …]
|
/openbmc/linux/arch/arm/mach-sunxi/ |
H A D | mc_smp.c | 708 of_node_put(nodes->prcm_node); in sunxi_mc_smp_put_nodes() 710 of_node_put(nodes->sram_node); in sunxi_mc_smp_put_nodes() 712 memset(nodes, 0, sizeof(*nodes)); in sunxi_mc_smp_put_nodes() 719 if (!nodes->prcm_node) { in sun9i_a80_get_smp_nodes() 726 if (!nodes->cpucfg_node) { in sun9i_a80_get_smp_nodes() 733 if (!nodes->sram_node) { in sun9i_a80_get_smp_nodes() 745 if (!nodes->prcm_node) { in sun8i_a83t_get_smp_nodes() 752 if (!nodes->cpucfg_node) { in sun8i_a83t_get_smp_nodes() 759 if (!nodes->r_cpucfg_node) { in sun8i_a83t_get_smp_nodes() 877 sunxi_mc_smp_put_nodes(&nodes); in sunxi_mc_smp_init() [all …]
|
/openbmc/linux/security/selinux/ss/ |
H A D | conditional.c | 142 kfree(node->expr.nodes); in cond_node_destroy() 341 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNEL); in cond_read_av_list() 342 if (!list->nodes) in cond_read_av_list() 352 kfree(list->nodes); in cond_read_av_list() 353 list->nodes = NULL; in cond_read_av_list() 390 node->expr.nodes = kcalloc(len, sizeof(*node->expr.nodes), GFP_KERNEL); in cond_read_node() 391 if (!node->expr.nodes) in cond_read_node() 612 new->nodes = kcalloc(orig->len, sizeof(*new->nodes), GFP_KERNEL); in cond_dup_av_list() 613 if (!new->nodes) in cond_dup_av_list() 620 if (!new->nodes[i]) in cond_dup_av_list() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/cpu/ |
H A D | cpu-topology.txt | 27 tree nodes. 44 nodes are listed. 62 - one or more cluster nodes or 114 A socket node's child nodes must be one or more cluster nodes. 123 nodes can be contained in parent cluster nodes. 131 - one or more core nodes 139 nodes are leaf nodes, otherwise they become containers of 140 thread nodes. 146 Properties for core nodes that are leaf nodes: 155 child nodes can be: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-device.yaml | 17 Four types of device-tree nodes are defined: "host-controller nodes" 18 representing USB host controllers, "device nodes" representing USB devices, 19 "interface nodes" representing USB interfaces and "combined nodes" 32 description: Device nodes or combined nodes. 46 description: should be 1 for hub nodes with device nodes, 47 should be 2 for device nodes with interface nodes. 56 description: USB interface nodes. 63 description: Interface nodes.
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | sm8550.c | 1480 .nodes = { &ebi }, 1486 .nodes = { &qxm_crypto }, 1546 .nodes = { &ebi }, 1593 .nodes = { &qns_llcc }, 1646 .nodes = { &ebi_disp }, 1652 .nodes = { &ebi_disp }, 1855 .nodes = clk_virt_nodes, 1992 .nodes = gem_noc_nodes, 2071 .nodes = mc_virt_nodes, 2123 .nodes = mmss_noc_nodes, [all …]
|
H A D | sdx55.c | 650 .nodes = { &ebi }, 657 .nodes = { &qns_llcc }, 664 .nodes = { &qxm_crypto }, 699 .nodes = { &qxs_imem }, 706 .nodes = { &xm_sdc1 }, 720 .nodes = { &xs_qdss_stm }, 741 .nodes = { &qxm_crypto }, 748 .nodes = { &xs_pcie }, 769 .nodes = { &qnm_memnoc }, 796 .nodes = mc_virt_nodes, [all …]
|
H A D | sdx65.c | 611 .nodes = { &qxm_crypto }, 618 .nodes = { &ebi }, 625 .nodes = { &qhm_snoc_cfg, 658 .nodes = { &xm_sdc1 }, 679 .nodes = { &qxm_crypto }, 686 .nodes = { &qns_llcc }, 714 .nodes = { &qxs_imem }, 735 .nodes = { &xs_pcie }, 756 .nodes = { &qnm_memnoc }, 783 .nodes = mc_virt_nodes, [all …]
|
H A D | sm8350.c | 1362 .nodes = { &ebi }, 1451 .nodes = { &qxm_nsp }, 1458 .nodes = { &ebi }, 1499 .nodes = { &qns_llcc }, 1520 .nodes = { &chm_apps }, 1590 .nodes = { &ebi_disp }, 1597 .nodes = { &ebi_disp }, 1777 .nodes = dc_noc_nodes, 1817 .nodes = gem_noc_nodes, 1858 .nodes = mc_virt_nodes, [all …]
|
/openbmc/u-boot/fs/btrfs/ |
H A D | ctree.c | 90 p->nodes[i] = NULL; in clear_path() 100 if (p->nodes[i]) in btrfs_free_path() 101 free(p->nodes[i]); in btrfs_free_path() 186 p->nodes[lvl] = buf; in btrfs_search_tree() 211 if (!p.nodes[level]) in jump_leaf() 233 logical = p.nodes[level + 1]->node.ptrs[slot].blockptr; in jump_leaf() 238 if (read_tree_node(physical, &p.nodes[level])) in jump_leaf() 244 p.slots[level] = p.nodes[level]->header.nritems - 1; in jump_leaf() 250 free(path->nodes[i]); in jump_leaf() 258 free(p.nodes[i]); in jump_leaf() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | ctree.c | 217 if (!p->nodes[i]) in btrfs_release_path() 224 p->nodes[i] = NULL; in btrfs_release_path() 1809 eb = path->nodes[0]; in btrfs_find_item() 1898 p->nodes[level] = b; in btrfs_search_slot_get_root() 2580 leaf = p->nodes[0]; in btrfs_search_slot_for_read() 2694 t = path->nodes[i]; in fixup_low_keys() 2720 eb = path->nodes[0]; in btrfs_set_item_key_safe() 3384 if (!path->nodes[1]) in push_leaf_right() 3601 if (!path->nodes[1]) in push_leaf_left() 3797 l = path->nodes[0]; in split_leaf() [all …]
|
H A D | inode-item.c | 150 leaf = path->nodes[0]; in btrfs_del_inode_extref() 217 leaf = path->nodes[0]; in btrfs_del_inode_ref() 279 if (btrfs_find_name_in_ext_backref(path->nodes[0], in btrfs_insert_inode_extref() 291 leaf = path->nodes[0]; in btrfs_insert_inode_extref() 302 btrfs_mark_buffer_dirty(trans, path->nodes[0]); in btrfs_insert_inode_extref() 342 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 351 if (btrfs_find_name_in_backref(path->nodes[0], in btrfs_insert_inode_ref() 360 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref() 367 btrfs_mark_buffer_dirty(trans, path->nodes[0]); in btrfs_insert_inode_ref() 416 leaf = path->nodes[0]; in btrfs_lookup_inode() [all …]
|