Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 1178) sorted by relevance

12345678910>>...48

/linux-6.6.21/lib/
Dinterval_tree.c30 struct interval_tree_node *cur = state->nodes[1]; in interval_tree_span_iter_next_gap()
32 state->nodes[0] = cur; in interval_tree_span_iter_next_gap()
34 if (cur->last > state->nodes[0]->last) in interval_tree_span_iter_next_gap()
35 state->nodes[0] = cur; in interval_tree_span_iter_next_gap()
38 } while (cur && (state->nodes[0]->last >= cur->start || in interval_tree_span_iter_next_gap()
39 state->nodes[0]->last + 1 == cur->start)); 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()
[all …]
Dinterval_tree_test.c24 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()
Drbtree_test.c28 static struct test_node *nodes = NULL; variable
153 nodes[i].key = prandom_u32_state(&rnd); in init()
154 nodes[i].val = prandom_u32_state(&rnd); in init()
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()
277 insert_cached(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()
[all …]
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_mm_test.c251 struct drm_mm_node nodes[2]; in drm_test_mm_debug() local
259 memset(nodes, 0, sizeof(nodes)); in drm_test_mm_debug()
260 nodes[0].start = 512; in drm_test_mm_debug()
261 nodes[0].size = 1024; in drm_test_mm_debug()
262 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[0]), in drm_test_mm_debug()
264 nodes[0].start, nodes[0].size); in drm_test_mm_debug()
266 nodes[1].size = 1024; in drm_test_mm_debug()
267 nodes[1].start = 4096 - 512 - nodes[1].size; in drm_test_mm_debug()
268 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[1]), in drm_test_mm_debug()
270 nodes[0].start, nodes[0].size); in drm_test_mm_debug()
[all …]
/linux-6.6.21/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c25 struct txgbe_nodes *nodes = &txgbe->nodes; in txgbe_swnodes_register() local
32 snprintf(nodes->gpio_name, sizeof(nodes->gpio_name), "txgbe_gpio-%x", id); in txgbe_swnodes_register()
33 snprintf(nodes->i2c_name, sizeof(nodes->i2c_name), "txgbe_i2c-%x", id); in txgbe_swnodes_register()
34 snprintf(nodes->sfp_name, sizeof(nodes->sfp_name), "txgbe_sfp-%x", id); in txgbe_swnodes_register()
35 snprintf(nodes->phylink_name, sizeof(nodes->phylink_name), "txgbe_phylink-%x", id); in txgbe_swnodes_register()
37 swnodes = nodes->swnodes; in txgbe_swnodes_register()
46 nodes->gpio_props[0] = PROPERTY_ENTRY_STRING("pinctrl-names", "default"); in txgbe_swnodes_register()
47 swnodes[SWNODE_GPIO] = NODE_PROP(nodes->gpio_name, nodes->gpio_props); in txgbe_swnodes_register()
48 nodes->gpio0_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 0, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register()
49 nodes->gpio1_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 1, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register()
[all …]
/linux-6.6.21/drivers/media/pci/intel/
Dipu-bridge.c300 struct software_node *nodes = sensor->swnodes; in ipu_bridge_create_fwnode_properties() local
306 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IVSC_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
308 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IVSC_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
310 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
312 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
337 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_IPU_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
339 SOFTWARE_NODE_REFERENCE(&nodes[SWNODE_SENSOR_ENDPOINT]); in ipu_bridge_create_fwnode_properties()
411 struct software_node *nodes = sensor->swnodes; in ipu_bridge_init_swnode_group() local
413 sensor->group[SWNODE_SENSOR_HID] = &nodes[SWNODE_SENSOR_HID]; in ipu_bridge_init_swnode_group()
414 sensor->group[SWNODE_SENSOR_PORT] = &nodes[SWNODE_SENSOR_PORT]; in ipu_bridge_init_swnode_group()
[all …]
/linux-6.6.21/Documentation/sphinx/
DrstFlatTable.py45 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
117 nodes.literal_block(self.block_text, self.block_text),
122 node = nodes.Element() # anonymous container for parsing
156 table = nodes.table()
157 tgroup = nodes.tgroup(cols=len(colwidths))
162 colspec = nodes.colspec(colwidth=colwidth)
176 thead = nodes.thead()
181 tbody = nodes.tbody()
[all …]
Dautomarkup.py7 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 …]
/linux-6.6.21/drivers/md/persistent-data/
Ddm-btree-spine.c128 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()
150 r = bn_read_lock(s->info, new_child, s->nodes + s->count); 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()
[all …]
/linux-6.6.21/mm/
Dmempolicy.c185 int (*create)(struct mempolicy *pol, const nodemask_t *nodes);
186 void (*rebind)(struct mempolicy *pol, const nodemask_t *nodes);
202 static int mpol_new_nodemask(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_nodemask() argument
204 if (nodes_empty(*nodes)) in mpol_new_nodemask()
206 pol->nodes = *nodes; in mpol_new_nodemask()
210 static int mpol_new_preferred(struct mempolicy *pol, const nodemask_t *nodes) in mpol_new_preferred() argument
212 if (nodes_empty(*nodes)) in mpol_new_preferred()
215 nodes_clear(pol->nodes); in mpol_new_preferred()
216 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred()
229 const nodemask_t *nodes, struct nodemask_scratch *nsc) in mpol_set_nodemask() argument
[all …]
/linux-6.6.21/tools/perf/tests/
Dmem2node.c50 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()
/linux-6.6.21/arch/arm/mach-sunxi/
Dmc_smp.c702 int (*get_smp_nodes)(struct sunxi_mc_smp_nodes *nodes);
706 static void __init sunxi_mc_smp_put_nodes(struct sunxi_mc_smp_nodes *nodes) in sunxi_mc_smp_put_nodes() argument
708 of_node_put(nodes->prcm_node); in sunxi_mc_smp_put_nodes()
709 of_node_put(nodes->cpucfg_node); in sunxi_mc_smp_put_nodes()
710 of_node_put(nodes->sram_node); in sunxi_mc_smp_put_nodes()
711 of_node_put(nodes->r_cpucfg_node); in sunxi_mc_smp_put_nodes()
712 memset(nodes, 0, sizeof(*nodes)); in sunxi_mc_smp_put_nodes()
715 static int __init sun9i_a80_get_smp_nodes(struct sunxi_mc_smp_nodes *nodes) in sun9i_a80_get_smp_nodes() argument
717 nodes->prcm_node = of_find_compatible_node(NULL, NULL, in sun9i_a80_get_smp_nodes()
719 if (!nodes->prcm_node) { in sun9i_a80_get_smp_nodes()
[all …]
/linux-6.6.21/security/selinux/ss/
Dconditional.c34 struct cond_expr_node *node = &expr->nodes[i]; in cond_evaluate_expr()
105 avnode = node->true_list.nodes[i]; in evaluate_cond_node()
113 avnode = node->false_list.nodes[i]; in evaluate_cond_node()
142 kfree(node->expr.nodes); in cond_node_destroy()
144 kfree(node->true_list.nodes); in cond_node_destroy()
145 kfree(node->false_list.nodes); in cond_node_destroy()
296 if (other->nodes[i] == node_ptr) { in cond_insertf()
341 list->nodes = kcalloc(len, sizeof(*list->nodes), GFP_KERNEL); in cond_read_av_list()
342 if (!list->nodes) in cond_read_av_list()
348 data.dst = &list->nodes[i]; in cond_read_av_list()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/cpu/
Dcpu-topology.txt20 For instance in a system where CPUs support SMT, "cpu" nodes represent all
22 In systems where SMT is not supported "cpu" nodes represent all cores present
25 CPU topology bindings allow one to associate cpu nodes with hierarchical groups
27 tree nodes.
32 The cpu nodes, as per bindings defined in [4], represent the devices that
35 A topology description containing phandles to cpu nodes that are not compliant
44 nodes are listed.
60 The cpu-map node's child nodes can be:
62 - one or more cluster nodes or
63 - one or more socket nodes in a multi-socket system
[all …]
/linux-6.6.21/drivers/interconnect/qcom/
Dsm8550.c1480 .nodes = { &ebi },
1486 .nodes = { &qxm_crypto },
1494 .nodes = { &qsm_cfg, &qhs_ahb2phy0,
1526 .nodes = { &qhs_display_cfg },
1533 .nodes = { &qxm_nsp, &qns_nsp_gemnoc },
1539 .nodes = { &qnm_lpass_lpinoc, &qns_lpass_aggnoc },
1546 .nodes = { &ebi },
1552 .nodes = { &qns_mem_noc_hf },
1559 .nodes = { &qnm_camnoc_hf, &qnm_camnoc_icp,
1570 .nodes = { &qup0_core_slave },
[all …]
Dsdx55.c650 .nodes = { &ebi },
657 .nodes = { &qns_llcc },
664 .nodes = { &qxm_crypto },
671 .nodes = { &qhm_snoc_cfg },
678 .nodes = { &xm_apps_rdwr },
685 .nodes = { &qns_memnoc_snoc, &qns_sys_pcie },
692 .nodes = { &qns_snoc_memnoc },
699 .nodes = { &qxs_imem },
706 .nodes = { &xm_sdc1 },
713 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
[all …]
Dsdx65.c611 .nodes = { &qxm_crypto },
618 .nodes = { &ebi },
625 .nodes = { &qhm_snoc_cfg,
658 .nodes = { &xm_sdc1 },
665 .nodes = { &qhm_audio, &qhm_spmi_fetcher1 },
672 .nodes = { &qhm_blsp1, &qhm_qpic },
679 .nodes = { &qxm_crypto },
686 .nodes = { &qns_llcc },
693 .nodes = { &qns_memnoc_snoc },
700 .nodes = { &xm_apps_rdwr },
[all …]
Dsm8350.c1362 .nodes = { &ebi },
1369 .nodes = { &qxm_crypto },
1376 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie },
1383 .nodes = { &xm_qdss_dap,
1437 .nodes = { &qhs_lpass_cfg, &qhs_pdm, &qhs_qspi, &qhs_sdc2, &qhs_sdc4 },
1444 .nodes = { &qns_nsp_gemnoc },
1451 .nodes = { &qxm_nsp },
1458 .nodes = { &ebi },
1465 .nodes = { &qns_mem_noc_hf },
1472 .nodes = { &qnm_camnoc_hf, &qxm_mdp0, &qxm_mdp1 },
[all …]
Dsm6350.c1170 .nodes = { &ebi },
1177 .nodes = { &qxm_crypto },
1184 .nodes = { &qnm_snoc,
1232 .nodes = { &xm_emmc,
1245 .nodes = { &qns_cdsp_gemnoc },
1252 .nodes = { &qnm_npu },
1259 .nodes = { &qxm_npu_dsp },
1266 .nodes = { &ebi },
1273 .nodes = { &qns_mem_noc_hf },
1280 .nodes = { &qxm_camnoc_hf0_uncomp,
[all …]
Dsc7280.c1290 .nodes = { &ebi },
1296 .nodes = { &qxm_crypto },
1303 .nodes = { &qnm_gemnoc_cnoc, &qnm_gemnoc_pcie },
1309 .nodes = { &qnm_cnoc3_cnoc2, &xm_qdss_dap,
1337 .nodes = { &qhs_lpass_cfg, &qhs_pdm,
1345 .nodes = { &qns_nsp_gemnoc },
1351 .nodes = { &qxm_nsp },
1358 .nodes = { &ebi },
1365 .nodes = { &qns_mem_noc_hf },
1371 .nodes = { &qxm_camnoc_hf, &qxm_mdp0 },
[all …]
Dsdm670.c1053 .nodes = { &ebi },
1060 .nodes = { &ebi },
1067 .nodes = { &qns_llcc },
1074 .nodes = { &qns_mem_noc_hf },
1081 .nodes = { &qns_apps_io },
1088 .nodes = { &qxm_camnoc_hf0_uncomp,
1102 .nodes = { &qns_memnoc_snoc },
1109 .nodes = { &qns2_mem_noc },
1116 .nodes = { &acm_tcu },
1123 .nodes = { &qxm_camnoc_sf, &qxm_rot, &qxm_venus0, &qxm_venus1, &qxm_venus_arm9 },
[all …]
Dsc7180.c1244 .nodes = { &ebi },
1251 .nodes = { &ebi },
1258 .nodes = { &qns_llcc },
1265 .nodes = { &qns_mem_noc_hf },
1272 .nodes = { &qxm_crypto },
1279 .nodes = { &qnm_snoc,
1334 .nodes = { &qxm_camnoc_hf0_uncomp,
1349 .nodes = { &acm_sys_tcu },
1356 .nodes = { &qns_mem_noc_sf },
1363 .nodes = { &qup_core_master_1, &qup_core_master_2 },
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Dusb-device.yaml17 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.
/linux-6.6.21/fs/btrfs/
Dctree.c217 if (!p->nodes[i]) in btrfs_release_path()
220 btrfs_tree_unlock_rw(p->nodes[i], p->locks[i]); in btrfs_release_path()
223 free_extent_buffer(p->nodes[i]); in btrfs_release_path()
224 p->nodes[i] = NULL; in btrfs_release_path()
1058 mid = path->nodes[level]; in balance_level()
1066 parent = path->nodes[level + 1]; in balance_level()
1109 path->nodes[level] = NULL; in balance_level()
1266 path->nodes[level] = left; in balance_level()
1280 btrfs_node_blockptr(path->nodes[level], path->slots[level])) in balance_level()
1288 if (path->nodes[level] != left) in balance_level()
[all …]
Dinode-item.c102 return btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_lookup_inode_extref()
142 extref = btrfs_find_name_in_ext_backref(path->nodes[0], path->slots[0], in btrfs_del_inode_extref()
150 leaf = path->nodes[0]; in btrfs_del_inode_extref()
211 ref = btrfs_find_name_in_backref(path->nodes[0], path->slots[0], name); in btrfs_del_inode_ref()
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()
296 btrfs_set_inode_extref_name_len(path->nodes[0], extref, name->len); in btrfs_insert_inode_extref()
297 btrfs_set_inode_extref_index(path->nodes[0], extref, index); in btrfs_insert_inode_extref()
298 btrfs_set_inode_extref_parent(path->nodes[0], extref, ref_objectid); in btrfs_insert_inode_extref()
[all …]

12345678910>>...48